Jump to content

Docker Emby Help Please...


Go to solution Solved by wedgekc,

Recommended Posts

showkubii
Posted (edited)
ubuntu 20.04 LTS

 

  emby:

    image: emby/embyserver:beta

    container_name: emby

    environment:

      - PUID=1000

      - PGID=1000

      - GIDLIST=44

      - TZ=Asia/Bangkok

      - UMASK_SET=022

    volumes:

      - /mnt/config/emby:/config

      - /mnt/gmedia:/gmedia:ro

      - /tmp/transcoding:/transcode

    ports:

      - 8096:8096

      - 8920:8920

    devices:

      - /dev/dri:/dev/dri

    restart: unless-stopped

 

Emby Premiere Lifetime

 

No Chose  :angry:  :angry:  :angry:

 

 

5eb6b20896d5c_problem.jpg

 

 

/dev/dri

5eb6b31e73505_problem2.jpg5eb6b4c34d095_problem3.jpg5eb6bc465c4d6_problem4.jpg

Edited by showkubii
mastrmind11
Posted (edited)

I think

   devices:
      - /dev/dri:/dev/dri

might need to be

   device:
      - /dev/dri:/dev/dri

https://hub.docker.com/r/emby/embyserver

 

And make sure your GIDLIST value is correct.

Edited by mastrmind11
showkubii
Posted (edited)

I think

   devices:
      - /dev/dri:/dev/dri

might need to be

   device:
      - /dev/dri:/dev/dri

https://hub.docker.com/r/emby/embyserver

 

And make sure your GIDLIST value is correct.

 

docker 

  - GIDLIST=44

5eb6bd108800d_problem5.jpg

 

correct or wrong ?

 

5eb6cad88eea5_problem6.jpg

Edited by showkubii
Posted

Currently our hardware transcoding support on Docker is only experimental. It will require some setup on your part and at this stage we may not yet have all of the answers.

 

Have you configured the docker container to allow access to the graphics hardware?

showkubii
Posted (edited)

Currently our hardware transcoding support on Docker is only experimental. It will require some setup on your part and at this stage we may not yet have all of the answers.

 

Have you configured the docker container to allow access to the graphics hardware?

 
 emby:
    image: emby/embyserver:beta
    container_name: emby
    environment:
      - PUID=1000
      - PGID=1000
      - GIDLIST=44
      - TZ=Asia/Bangkok
      - UMASK_SET=022
    volumes:
      - /mnt/config/emby:/config
      - /mnt/gmedia:/gmedia:ro
      - /tmp/transcoding:/transcode
    ports:
      - 8096:8096
      - 8920:8920
    devices:
      - /dev/dri:/dev/dri
    restart: unless-stopped
 
5eb79eefd3655_problem7.jpg
Edited by showkubii
  • Solution
wedgekc
Posted

Maybe try adding 109 to GIDLIST in addition to 44.  I'm on 18.04 and it is different.  I also just use the Intel graphics and only get a value for getent group video. I also don't have render as a group owner:

 

ls -l /dev/dri/
drwxr-xr-x  2 root root        80 May  3 10:25 by-path
crw-rw----+ 1 root video 226,   0 May  3 10:25 card0
crw-rw----+ 1 root video 226, 128 May  3 10:25 renderD128

 

docker exec emby ls -l /dev/dri
crw-rw----    1 root     44        226, 128 May  3 03:25 renderD128

 


 

  • Like 1
showkubii
Posted

Maybe try adding 109 to GIDLIST in addition to 44.  I'm on 18.04 and it is different.  I also just use the Intel graphics and only get a value for getent group video. I also don't have render as a group owner:

 

ls -l /dev/dri/

drwxr-xr-x  2 root root        80 May  3 10:25 by-path

crw-rw----+ 1 root video 226,   0 May  3 10:25 card0

crw-rw----+ 1 root video 226, 128 May  3 10:25 renderD128

 

docker exec emby ls -l /dev/dri

crw-rw----    1 root     44        226, 128 May  3 03:25 renderD128

 

 

 

 

Oh!!! working Thank you so much  Thank you so much.  :D  :D  :D

Posted

Great job! What exactly is showing up now?

showkubii
Posted

Great job! What exactly is showing up now?

5ebe38bac2b36_emby.jpg

  • 6 months later...
Posted
On 5/10/2020 at 11:21 AM, wedgekc said:

Maybe try adding 109 to GIDLIST in addition to 44.  I'm on 18.04 and it is different.  I also just use the Intel graphics and only get a value for getent group video. I also don't have render as a group owner:

Where do you get 109 from? 😃
 

 

Posted
40 minutes ago, mopsiptv said:

 

From the following statements, make sure the numbers that are returned are included in the GIDLIST variable for your docker statement.

getent group video | cut -d: -f3
getent group render | cut -d: -f3

Here are the detailed instructions https://hub.docker.com/r/emby/embyserver

Posted
2 minutes ago, wedgekc said:

From the following statements, make sure the numbers that are returned are included in the GIDLIST variable for your docker statement.

getent group video | cut -d: -f3
getent group render | cut -d: -f3

Here are the detailed instructions https://hub.docker.com/r/emby/embyserver

thanks for the reply, but these commands do not work on synology. :( 

I followed this guide too but it still does not work.  https://blog.jpleva.cz/2019/09/emby-enable-hardware-acceleration-in.html

I also tested with "privileged: true" = no hardware acceleration..

Posted
6 minutes ago, mopsiptv said:

thanks for the reply, but these commands do not work on synology. :( 

I followed this guide too but it still does not work.  https://blog.jpleva.cz/2019/09/emby-enable-hardware-acceleration-in.html

I also tested with "privileged: true" = no hardware acceleration..

Well, I haven't used Synology before, so I'm not really sure.  I know some models don't use Intel cpus and thus will not have VAAPI acceleration.  You may also need to install video drivers etc, I just don't know.  What does "vainfo" return?  Also check out other topics..

 

Posted
41 minutes ago, wedgekc said:

Well, I haven't used Synology before, so I'm not really sure.  I know some models don't use Intel cpus and thus will not have VAAPI acceleration.  You may also need to install video drivers etc, I just don't know.  What does "vainfo" return?  Also check out other topics..

 

I tested that also. hardware acceleration works for me in plex.

Posted
3 minutes ago, mopsiptv said:

I tested that also. hardware acceleration works for me in plex.

What do the logs say?

Posted

Yes please attach the emby server log and hardware detection log. Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...