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.

Adding same GPU device to multiple running containers

Featured Replies

I have an AMD APU that I can pass through to Jellyfin or Emby docker containers but it seems like I cannot pass it through to both at once. Can anyone else confirm if this is supposed to work or if it's possible to share the same GPU with multiple docker containers for hardware acceleration?

Edited by Econaut

I don't think that's possible. Only one of them can use it at any given time. That said, I too have an AMD APU (Ryzen 5 5600G). I've given up getting hardware transcoding in Plex, but Jellyfin should work, right? Problem is that all I get is errors if I try to use hardware transcoding. I'm running Unraid 6.10.0-rc1 with the AMDGPU drivers installed. I tried with the "Jellyfin AMD Intel Nvidia" docker image. What are you doing? 

  • Author

Yup that one worked for me. Also used the Emby docker (official) and used the same Device passthrough /dev/dri - select VAAPI in server config. Both worked great for me. Using a 5700G. Tried with official Plex docker and that was a failure.

  • 3 months later...
On 9/23/2021 at 7:57 PM, Econaut said:

Yup that one worked for me. Also used the Emby docker (official) and used the same Device passthrough /dev/dri - select VAAPI in server config. Both worked great for me. Using a 5700G. Tried with official Plex docker and that was a failure.

@econaut could you share in full the steps required to get this working in emby for HW transcoding on a 5700?

  • Author
21 hours ago, TheGrownUpGeek said:

@econaut could you share in full the steps required to get this working in emby for HW transcoding on a 5700?

 

I can share what I remember:

 

Use official Emby docker. Put this in the config:

I recall it just working essentially. If it's not for you, share some of your details and I can compare.

image.png

56 minutes ago, Econaut said:

 

I can share what I remember:

 

Use official Emby docker. Put this in the config:

I recall it just working essentially. If it's not for you, share some of your details and I can compare.

image.png

I get the following error when starting the container. Did you need to do anything in advance to isolate the APU or add drivers or did it just work?

 

docker: Error response from daemon: error gathering device information while adding custom device "/dev/dri": no such file or directory.
 

Edited by TheGrownUpGeek

5 hours ago, TheGrownUpGeek said:

docker: Error response from daemon: error gathering device information while adding custom device "/dev/dri": no such file or directory.

Your iGPU isn't enabled.

Install the Radeon TOP plugin from the CA App and it should work after you've installed the plugin.

Thanks rich and econaut, thats solved it transcoding is seamless now and cpu usage has dropped right down so it appears to be working.  Thanks very much for the help.

  • Author

I did also install that plugin though I thought it wasn't necessary above 6.10.

 

Glad you got it working.

  • 10 months later...

Reviving this old thread as transcoding and conversions when downloading to an ipad has reverted to using the CPU rather than GPU.  is anyone else seeing this behaviour?  Does anyone know what might be causing this as the GPU is now not utilised and CPU is being maxed out again.

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.