Jump to content

Docker Emby Help Please...


showkubii
Go to solution Solved by wedgekc,

Recommended Posts

showkubii
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
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

showkubii

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
Link to comment
Share on other sites

  • Solution
wedgekc

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
Link to comment
Share on other sites

showkubii

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

Link to comment
Share on other sites

  • 6 months later...
lundblad
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? 😃
 

 

Link to comment
Share on other sites

lundblad
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..

Link to comment
Share on other sites

wedgekc
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..

 

Link to comment
Share on other sites

lundblad
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.

Link to comment
Share on other sites

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...