Jump to content


Photo

Hardaware encoders / decoders

harwarde docker

  • Please log in to reply
9 replies to this topic

#1 xontik OFFLINE  

xontik

    Newbie

  • Members
  • 9 posts
  • Local time: 09:12 AM

Posted 26 March 2019 - 09:37 AM

Hi Everyone,

 

I'm using emby inside the official docker container, v4.0.2.0 on Ubuntu Server 18.04.2

 

I don't understand why I'm seeing my GT430 (old card I know :'(  ) as decoder but not as encoder :/

5c9a2a0db04ac_Capturedu20190326143158.pn

Tell me if I need to share some log or anything ?

 

Thanks in advance !



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 03:12 AM

Posted 26 March 2019 - 02:33 PM

Hi, at this point, hardware acceleration in Docker is only experimental, so we may not have all the answers yet.

 

But at the very least you most likely will need to install hardware drivers into the container. Have you done that?



#3 xontik OFFLINE  

xontik

    Newbie

  • Members
  • 9 posts
  • Local time: 09:12 AM

Posted 27 March 2019 - 03:18 AM

Yes, I've done that.

But I think i found the issue here : I have a GT430 and nvenc is only available since nvidia gt 600 series, so I guess my card just can't encode :)

 

I'll try to find a new Graphic card and I'll keep you updated

 

Thanks for your time and awesome job man ;)



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 03:12 AM

Posted 27 March 2019 - 12:02 PM

Thanks for the feedback !



#5 skijbal OFFLINE  

skijbal

    Newbie

  • Members
  • 4 posts
  • Local time: 08:12 AM

Posted 28 March 2019 - 01:04 PM

Just piggybacking on this. How do I install the drivers in the docker container. I set /dev/dri as a volume in the container but how do I install the drivers.

#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 03:12 AM

Posted 28 March 2019 - 01:09 PM

This article may help:

https://www.funkypen...-docker-nvidia/



#7 skijbal OFFLINE  

skijbal

    Newbie

  • Members
  • 4 posts
  • Local time: 08:12 AM

Posted 28 March 2019 - 01:10 PM

I have followed that for Nvidia but didn’t know if there was a way for quick sync.


Sent from my iPhone using Tapatalk

#8 aptalca OFFLINE  

aptalca

    Advanced Member

  • Members
  • 204 posts
  • Local time: 03:12 AM

Posted 01 April 2019 - 01:55 PM

I have followed that for Nvidia but didn’t know if there was a way for quick sync.


Sent from my iPhone using Tapatalk

 

For quicksync, you don't need to install drivers inside the container. You just need to pass the /dev/dri device and make sure the permissions are correct



#9 skijbal OFFLINE  

skijbal

    Newbie

  • Members
  • 4 posts
  • Local time: 08:12 AM

Posted 01 April 2019 - 02:06 PM

This is my volume setup in portainer. Is this correct since the emby container is built on arch.


f1077a1f291ac1a07f48f898677c01d5.jpg


Sent from my iPhone using Tapatalk

#10 skijbal OFFLINE  

skijbal

    Newbie

  • Members
  • 4 posts
  • Local time: 08:12 AM

Posted 01 April 2019 - 02:19 PM

For quicksync, you don't need to install drivers inside the container. You just need to pass the /dev/dri device and make sure the permissions are correct


See below


Sent from my iPhone using Tapatalk





Also tagged with one or more of these keywords: harwarde, docker

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users