Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] feederbox826/stash-s6 - Alternative stash container

Featured Replies

2 minutes ago, feederbox826 said:

Hm everything looks correct, try removing the Jellyfin Driver selector and Driver Selector variables in the config

So i removed the variables from the container:

image.png

But same message: [InitHWSupport] Supported HW codecs [0]:

and cpu going crazy:
image.png

  • Author

Let me add some more debugging for AUTO_AVGID, I have a feeling your --device flags are throwing it off, don't pass in /dev/dri after passing in /dev/dri/card0 and /dev/dri/render128, or just pass in the entirety of /dev/dri

2 minutes ago, feederbox826 said:

Let me add some more debugging for AUTO_AVGID, I have a feeling your --device flags are throwing it off, don't pass in /dev/dri after passing in /dev/dri/card0 and /dev/dri/render128, or just pass in the entirety of /dev/dri

Right so just like this? (still doesnt work btw)

image.png

  • Author

You might need to remove the LIBVA_DRIVER_NAME and LIBVA_DRIVER_NAME_JELLYFIN, im not sure if the driver is interpreting empty strings correctly. That's the end of my theories, will have to wait for the debug script to deploy

1 minute ago, feederbox826 said:

You might need to remove the LIBVA_DRIVER_NAME and LIBVA_DRIVER_NAME_JELLYFIN, im not sure if the driver is interpreting empty strings correctly. That's the end of my theories, will have to wait for the debug script to deploy

Omg that worked!

image.png

It doesnt show up as an icon in the gpu monitoring plugin, but it shows processes:1

image.png

and my cpu has much less load

image.png

  • Author

Phew! Glad I could help!

3 minutes ago, feederbox826 said:

Phew! Glad I could help!

Thank you so much for taking the time and troubleshooting it with me! I'm shocked im the first person to run into this problem since it's a standard variable when you create the container

  • Author

default should be "" (empty), you might've had an old version that has the default set to iHD, but your system is using i965. Will probably remove it as Jellyfin is much more reliable with driver selector

2 minutes ago, feederbox826 said:

default should be "" (empty), you might've had an old version that has the default set to iHD, but your system is using i965. Will probably remove it as Jellyfin is much more reliable with driver selector

Ahh, i manually set the value to "iHD" when i couldnt get it to work based on some posts i read elsewhere but it didnt work regardless

btw, i thought my system was using i915
image.png

I have this up and running on my system, but am having trouble getting it to recognize my Nvidia GPU. I have an RTX5090 and am using the open source drivers (v. 580.95.05). Plex and other dockers are able to see and use the card without issue. Any ideas on what I'm doing wrong?

The log output shows the InitHWSupport line but with no devices.

INFO[2025-11-26 14:29:26] [InitHWSupport] Supported HW codecs [0]:     
INFO[2025-11-26 14:29:26] stash version: v0.29.3-60-gd14053b5 - Official Build - 2025-11-26 01:17:35 
INFO[2025-11-26 14:29:26] stash is listening on 0.0.0.0:9999           
INFO[2025-11-26 14:29:26] stash is running at http://localhost:9999/   

Here is the config I am currently using. I've tried --gpus=all and with/without the specific NVIDIA_XYZ variables. Still no luck.

docker run
  -d
  --name='stash-s6'
  --net='proxynet'
  --pids-limit 2048
  -e TZ="America/Chicago"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Tower"
  -e HOST_CONTAINERNAME="stash-s6"
  -e 'PUID'='911'
  -e 'PGID'='911'
  -e 'AVGID'='22'
  -e 'AUTO_AVGID'='FALSE'
  -e 'TZ'='US/ET'
  -e 'MIGRATE'='FALSE'
  -e 'STASH_STASH'='/data/'
  -e 'STASH_GENERATED'='/generated/'
  -e 'STASH_CACHE'='/cache/'
  -e 'STASH_METADATA'='/metadata/'
  -e 'NVIDIA_VISIBLE_DEVICES'='all'
  -e 'NVIDIA_DRIVER_CAPABILITIES'='all'
  -e 'CUSTOM_CERT_PATH'='/config/certs'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:9999]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/feederbox826/stash-s6/main/docs/icon/favicon.png'
  -p '9999:9999/tcp'
  -v '/mnt/user/Storage/Beach Fam/[RAW VIDEO]/':'/data':'rw'
  -v '/mnt/disks/1936E21CD262/Stash/config/':'/config':'rw'
  -v '/mnt/user/appdata/stash-s6/pip-install':'/pip-install':'rw'
  -v '/mnt/disks/1936E21CD262/Stash/generated/':'/generated':'rw'
  --runtime=nvidia 'ghcr.io/feederbox826/stash-s6:hwaccel-develop'

Edited by lepetitprince

  • Author

Another user also reported issues with NVIDIA, I sold off my 1060 in my server so I don't have the hardware available atm. I'll try to do some more testing on windows and will try to remember to update here as well as on github.

Edited by feederbox826
fix linking

  • Author
18 hours ago, lepetitprince said:

I have this up and running on my system, but am having trouble getting it to recognize my Nvidia GPU. I have an RTX5090 and am using the open source drivers (v. 580.95.05). Plex and other dockers are able to see and use the card without issue. Any ideas on what I'm doing wrong?

The log output shows the InitHWSupport line but with no devices.

INFO[2025-11-26 14:29:26] [InitHWSupport] Supported HW codecs [0]:     
INFO[2025-11-26 14:29:26] stash version: v0.29.3-60-gd14053b5 - Official Build - 2025-11-26 01:17:35 
INFO[2025-11-26 14:29:26] stash is listening on 0.0.0.0:9999           
INFO[2025-11-26 14:29:26] stash is running at http://localhost:9999/   

Here is the config I am currently using. I've tried --gpus=all and with/without the specific NVIDIA_XYZ variables. Still no luck.

docker run
  -d
  --name='stash-s6'
  --net='proxynet'
  --pids-limit 2048
  -e TZ="America/Chicago"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Tower"
  -e HOST_CONTAINERNAME="stash-s6"
  -e 'PUID'='911'
  -e 'PGID'='911'
  -e 'AVGID'='22'
  -e 'AUTO_AVGID'='FALSE'
  -e 'TZ'='US/ET'
  -e 'MIGRATE'='FALSE'
  -e 'STASH_STASH'='/data/'
  -e 'STASH_GENERATED'='/generated/'
  -e 'STASH_CACHE'='/cache/'
  -e 'STASH_METADATA'='/metadata/'
  -e 'NVIDIA_VISIBLE_DEVICES'='all'
  -e 'NVIDIA_DRIVER_CAPABILITIES'='all'
  -e 'CUSTOM_CERT_PATH'='/config/certs'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:9999]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/feederbox826/stash-s6/main/docs/icon/favicon.png'
  -p '9999:9999/tcp'
  -v '/mnt/user/Storage/Beach Fam/[RAW VIDEO]/':'/data':'rw'
  -v '/mnt/disks/1936E21CD262/Stash/config/':'/config':'rw'
  -v '/mnt/user/appdata/stash-s6/pip-install':'/pip-install':'rw'
  -v '/mnt/disks/1936E21CD262/Stash/generated/':'/generated':'rw'
  --runtime=nvidia 'ghcr.io/feederbox826/stash-s6:hwaccel-develop'

Chased down some wild geese, try adding the environment variable STASH_HW_TEST_TIMEOUT and setting the value to 10

3 hours ago, feederbox826 said:

Chased down some wild geese, try adding the environment variable STASH_HW_TEST_TIMEOUT and setting the value to 10

That fixed it - thank you!

  • 3 months later...

RESOLVED: @feederbox826 Thank you for the quick responses, it is appreciated along with all you other work sharing templates! I've got the version of the overlay-info that you shared installed and that resolved the issue.

Do you know if the codec overlay will be functional again? It's a feature I would downgrade the version if needed to keep. Thank you in advance for your time!

Edited by Grrrreg
Tagging issue as resolved

  • Author

Do you know if the codec overlay will be functional again? It's a feature I would downgrade the version if needed to keep. Thank you in advance for your time!

I have put in my own patch to stash and it works against the latest development build https://discourse.stashapp.cc/t/overlay-info/1602. If you're not on development then the old version should still work, if you're on development just update

  • Author
Just now, Grrrreg said:

My container is set to: ghcr.io/feederbox826/stash-s6:hwaccel It's not showing an update available. Is there a better tag to use? Thank you!

v0.30.1

Build hash: b23b0267

Build time: 2025-12-18 04:50:05

then you should be good! the development build is for bleeding edge stash pre-release builds. IIRC the breakage only occurred on development and patched in a later version. If you updated to 0.2 you can grab version one [here](https://github.com/feederbox826/plugins/tree/15194fbf20802e2b603340ae7fec2b9787171d17/plugins/overlay-info)

Hello, I've been struggling to get hardware acceleration working for generation with my Intel Arc A310 for few days now. I've got the correct supported codecs showing up in the logs


26-03-20 17:17:26Info [InitHWSupport] Supported HW codecs [4]: H264 Intel Quick Sync Video (QSV) - h264_qsv H264 Intel Quick Sync Video (QSV) Compatibility profile - h264_qsv H264 VAAPI - h264_vaapi VP9 VAAPI - vp9_vaapi
2026-03-20 17:17:24Info Version v0.30.1 (b23b0267) is already the latest released

2026-03-20 17:17:24Info stash is running at http://localhost:9999/

2026-03-20 17:17:24Info stash is listening on 0.0.0.0:9999

2026-03-20 17:17:24Info stash version: v0.30.1 (b23b0267) - Official Build - 2025-12-18 04:56:47

2026-03-20 17:17:24Info using config file: /config/config.yml

Here's my docker command:


docker run
  -d
  --name='stash-s6'
  --net='bridge'
  --pids-limit 2048
  -e TZ="America/New_York"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="mediasvr"
  -e HOST_CONTAINERNAME="stash-s6"
  -e 'PUID'='911'
  -e 'PGID'='911'
  -e 'AVGID'='22'
  -e 'AUTO_AVGID'='TRUE'
  -e 'TZ'='Etc/UTC'
  -e 'MIGRATE'='FALSE'
  -e 'STASH_STASH'='/data/'
  -e 'CUSTOM_CERT_PATH'='/config/certs'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:9999]'
  -l net.unraid.docker.icon=''"
  -p '6969:9999/tcp'
  -v '/mnt/user/data/media/extra/':'/data':'rw'
  -v '/mnt/user/appdata/stash-s6':'/config':'rw'
  -v '/mnt/user/appdata/stash-s6/pip-install':'/pip-install':'rw'
  --device='/dev/dri' 'ghcr.io/feederbox826/stash-s6:hwaccel'


dcf4b203b6284be58bf894dc41aeaa93cc7ec7c9cdd88a344fa0c29a45394f5f

The command finished successfully!

But when I go to generate files, it's still loading my CPU instead of my GPU

image.png
image.png

Thanks for any help!

Edited by Radioman0

  • Author

Generate doesn't use hwaccel

4 hours ago, feederbox826 said:

Generate doesn't use hwaccel

Ahh my mistake, I missed your reply to someone earlier that stated that. Thanks for the quick reply.

  • 2 months later...

I’m having trouble here, too.

My card is an RTX 3050. Here’s my command:

docker run
  -d
  --name='Stash'
  --net='bridge'
  --pids-limit 2048
  -e TZ="America/Chicago"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="tun"
  -e HOST_CONTAINERNAME="Stash"
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'NVIDIA_VISIBLE_DEVICES'='all'
  -e 'NVIDIA_DRIVER_CAPABILITIES'=' compute,video,utility'
  -e 'STASH_HW_TEST_TIMEOUT'='10'
  -e 'STASH_CACHE'='/cache/'
  -e 'STASH_METADATA'='/metadata/'
  -e 'STASH_GENERATED'='/generated/'
  -e 'STASH_STASH'='/data/'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:9999]'
  -l net.unraid.docker.icon='…'
  -p '9999:9999/tcp'
  -v '/mnt/user/multimedia/n0rp/':'/data':'rw'
  -v '/mnt/user/appdata/stash/config':'/root/.stash':'rw'
  -v '/mnt/user/appdata/stash/metadata':'/metadata':'rw'
  -v '/mnt/user/appdata/stash/cache':'/cache':'rw'
  -v '/mnt/user/ted/stash/generated/':'/generated':'rw'
  -v '/mnt/user/appdata/stash/blobs':'/blobs':'rw' 'ghcr.io/feederbox826/stash-s6:hwaccel'

Here’s the log, seems it doesn’t recognize the card or has trouble loading drivers?

euv: attempting to install with uv-pip 0.2
duv: Running uv pip install from requirements file with target /pip-install/install
Using CPython 3.13.13 interpreter at: /usr/local/bin/python
× No solution found when resolving dependencies:
╰─ Because you require stashapp-tools==0.2.40 and stashapp-tools>=0.2.58,
we can conclude that your requirements are unsatisfiable.
DEBU[2026-06-09 19:58:17] Running as root, disabling desktop features
INFO[2026-06-09 19:58:17] using config file: /root/.stash/config.yml
DEBU[2026-06-09 19:58:17] Reading plugin configs from /root/.stash/plugins
DEBU[2026-06-09 19:58:18] Reading scraper configs from /root/.stash/scrapers
DEBU[2026-06-09 19:58:19] Proxy is valid, using it
DEBU[2026-06-09 19:58:19] Proxy is valid, using it
DEBU[2026-06-09 19:58:19] Proxy is valid, using it
INFO[2026-06-09 19:58:19] Using HTTP proxy
DEBU[2026-06-09 19:58:19] using ffmpeg: /usr/bin/ffmpeg
DEBU[2026-06-09 19:58:19] using ffprobe: /usr/bin/ffprobe
DEBU[2026-06-09 19:58:19] FFMpeg version 7.1.4 detected
DEBU[2026-06-09 19:58:19] FFProbe version 7.1.4 detected
DEBU[2026-06-09 19:58:19] Serving embedded UI
INFO[2026-06-09 19:58:19] stash version: v0.31.1 (4de2351e) - Official Build - 2026-04-13 01:44:30
INFO[2026-06-09 19:58:19] stash is listening on 0.0.0.0:9999
INFO[2026-06-09 19:58:19] stash is running at http://localhost:9999/
DEBU[2026-06-09 19:58:19] Github API request: https://api.github.com/repos/stashapp/stash/releases/latest
DEBU[2026-06-09 19:58:19] [InitHWSupport] Codec {H264 NVENC HQ profile h264_nvenc} not supported. Error output:
Please use -profile:a or -profile:v, -profile is ambiguous
Last message repeated 1 times
[AVHWDeviceContext @ 0x5602b07b17c0] Cannot load libcuda.so.1
[AVHWDeviceContext @ 0x5602b07b17c0] Could not dynamically load CUDA
[AVFilterGraph @ 0x5602b07b14c0] Error initializing filters
Error opening output file -.
Error opening output files: Operation not permitted
DEBU[2026-06-09 19:58:19] [InitHWSupport] Codec {H264 NVENC h264_nvenc} not supported. Error output:
[AVHWDeviceContext @ 0x55c3d9a1f840] Cannot load libcuda.so.1
[AVHWDeviceContext @ 0x55c3d9a1f840] Could not dynamically load CUDA
[AVFilterGraph @ 0x55c3d9a1eec0] Error initializing filters
Error opening output file -.
Error opening output files: Operation not permitted
DEBU[2026-06-09 19:58:19] [InitHWSupport] Codec {H264 Intel Quick Sync Video (QSV) h264_qsv} not supported. Error output:
Device creation failed: -542398533.
Failed to set value 'qsv=hw' for option 'init_hw_device': Generic error in an external library
Error parsing global options: Generic error in an external library
DEBU[2026-06-09 19:58:19] [InitHWSupport] Codec {H264 Intel Quick Sync Video (QSV) Compatibility profile h264_qsv} not supported. Error output:
Device creation failed: -542398533.
Failed to set value 'qsv=hw' for option 'init_hw_device': Generic error in an external library
Error parsing global options: Generic error in an external library
DEBU[2026-06-09 19:58:19] [InitHWSupport] Codec {H264 VAAPI h264_vaapi} not supported. Error output:
[AVHWDeviceContext @ 0x5651b334b4c0] No VA display found for device /dev/dri/renderD128.
Device creation failed: -22.
Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Invalid argument
Error parsing global options: Invalid argument
DEBU[2026-06-09 19:58:20] [InitHWSupport] Codec {H264 V4L2M2M h264_v4l2m2m} not supported. Error output:
[h264_v4l2m2m @ 0x563abc64cb00] Could not find a valid device
[h264_v4l2m2m @ 0x563abc64cb00] can't configure encoder
[vost#0:0/h264_v4l2m2m @ 0x563abc64fd40] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0x563abc650380] Error sending frames to consumers: Invalid argument
[vf#0:0 @ 0x563abc650380] Task finished with error code: -22 (Invalid argument)
[vf#0:0 @ 0x563abc650380] Terminating thread with return code -22 (Invalid argument)
[vost#0:0/h264_v4l2m2m @ 0x563abc64fd40] Could not open encoder before EOF
[vost#0:0/h264_v4l2m2m @ 0x563abc64fd40] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_v4l2m2m @ 0x563abc64fd40] Terminating thread with return code -22 (Invalid argument)
[out#0/null @ 0x563abc64f600] Nothing was written into output file, because at least one of its streams received no packets.
DEBU[2026-06-09 19:58:20] [InitHWSupport] Codec {H264 Rockchip MPP (rkmpp) h264_rkmpp} not supported. Error output:
Device creation failed: -12.
Failed to set value 'rkmpp=rk' for option 'init_hw_device': Cannot allocate memory
Error parsing global options: Cannot allocate memory
DEBU[2026-06-09 19:58:20] [InitHWSupport] Codec {VP9 Intel Quick Sync Video (QSV) vp9_qsv} not supported. Error output:
Device creation failed: -542398533.
Failed to set value 'qsv=hw' for option 'init_hw_device': Generic error in an external library
Error parsing global options: Generic error in an external library
DEBU[2026-06-09 19:58:20] [InitHWSupport] Codec {VP9 VAAPI vp9_vaapi} not supported. Error output:
[AVHWDeviceContext @ 0x561d734ed4c0] No VA display found for device /dev/dri/renderD128.
Device creation failed: -22.
Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Invalid argument
Error parsing global options: Invalid argument
DEBU[2026-06-09 19:58:20] [InitHWSupport] Codec {H264 VideoToolbox h264_videotoolbox} not supported. Error output:
Unrecognized option 'realtime'.
Error splitting the argument list: Option not found
INFO[2026-06-09 19:58:20] [InitHWSupport] Supported HW codecs [0]:

Greatly appreciate any insight you may have! Thank you for your hard work on this project!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.