Hardware acceleration in unraid - Pentium Gold 8505

Im running stash-s6 in Unraid, and some of the tasks can take a very long time which i hope/think can be improved with hardware acceleration.

  • I have added a device: “/dev/dri:/dev/dri”
  • Added some args (suggested from ChatGPT) like: -vaapi_device, -hwaccel_output_format vaapi, -vcoded h264_vaapi ..

Any help is appreciated!

ps. I have hw acceleration working in Plex, no problems.

Thanks

EDIT: swapped to this one and it worked out the box: Package stash · GitHub

did you add LIBVA_DRIVER_NAME and AUTO_AVGID

Not AUTO_AVGID, but the other.

You’ve switched off but here’s the explanation

hotio runs with root permissions, even with PUID/PGID set and adds the video group automatically stash/root/etc/s6-overlay/s6-rc.d/init-setup-app/run at release · hotio/stash · GitHub

stash-s6 drops down to user permissions as soon as possible, and therefore misses out on video group setting, which is controlled by AUTO_AVGID stash-s6/stash/root/opt/entrypoint.sh at main · feederbox826/stash-s6 · GitHub

Just a difference in design philosophies! Hope this helps the next person who comes along

1 Like