Skip to content

hwaccel not invoking gpu (intel arc380) #361

@cgram23

Description

@cgram23

I'm running sabnzbd in unraid 7. I have my intel arc380 passed through (similarly to how I pass it through to my plex docker). I can see the /dev/dri/renderD128 in the sabnzbd docker, and I have elevated permissions just in case that was causing issues.

When I download an h264 file with sma set to transcode to hevc/265 using vaapi, it fails with the following errors:

[AVHWDeviceContext @ 0x153c42280f80] Failed to initialise VAAPI connection: -1 (unknown libva error).
Device creation failed: -5.
No device available for decoder: device type vaapi needed for codec h264.
[vist#0:0/h264 @ 0x153c4160b800] Hardware device setup failed for decoder: I/O error
[vost#0:0/libx265 @ 0x153c46d2b7c0] Error initializing a simple filtergraph
Error opening output file /data/usenet/complete/tv/Ghosts.US.S04E12.Its.the.End.of.the.World.as.We.Know.It.and.What.Were.We.Talking.About.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb-Scrambled.2/Ghosts.US.S04E12.Its.the.End.of.the.World.as.We.Know.It.and.What.Were.We.Talking.About.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb-Scrambled.mkv.
Error opening output files: I/O error

my sma.ini for the converter is:

[Converter]
ffmpeg = ffmpeg
ffprobe = ffprobe
threads = 0
hwaccels = vaapi
hwaccel-decoders = vaapi
hwdevices = /dev/dri/renderD128
hwaccel-output-format = vaapi:vaapi
output-directory =
output-format = mkv
output-extension = mkv
temp-extension =
minimum-size = 0
ignored-extensions = nfo, ds_store
copy-to =
move-to =
delete-original = True
process-same-extensions = True
bypass-if-copying-all = False
force-convert = True
post-process = False
wait-post-process = False
detailed-progress = False
opts-separator = ,
preopts = -fflags,+genpts
postopts =
regex-directory-replace = [^\w\-_\. ]
output-directory-space-ratio = 0.0

Any idea what I'm doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions