Jump to content

Docker can't see hardware acceleration intel gen 13


Recommended Posts

Posted

i install emby server with docker-compose 

My Set:

  • intel i5 13500
  • gigabyte B760m ds3h (FW version F11)
  • ubuntu server 22.04 OS (kernel 5.19.0-46-generic)
  • Emby server Version 4.8.0.39 beta

    my docker-compose.yml
    version: "2.3"
    services:
      emby:
        image: emby/embyserver:beta
        container_name: embyserver
        network_mode: host # Enable DLNA and Wake-on-Lan
        environment:
          - UID=1000 # The UID to run emby as (default: 2)
          - GID=1000 # The GID to run emby as (default 2)
          - GIDLIST=44 # A comma-separated list of additional GIDs to run emby as (default: 2)
        volumes:
          - /programdata:/config # Configuration directory
          - /movies:/mnt/share1 # Media directory
        ports:
          - 8096:8096 # HTTP port
          - 8920:8920 # HTTPS port
    	devices:
          - /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes
        restart: on-failure

 

  • i ran getent passwd <user> | cut -d: -f3 and getent group <group> | cut -d: -f3 , i got 1000 
  • i ran getent group video | cut -d: -f3 , i got 44
  • i ran " ls -l /dev/dri ", it return 

drwxr-xr-x 2 root root         80 Jul 22 10:07 by-path
crw-rw---- 1 root video  226,   0 Jul 22 10:07 card0
crw-rw---- 1 root render 226, 128 Jul 22 10:07 renderD128




so, i ran " intel_gpu_top ", it return intel-gpu-top: Intel Alderlake_s (Gen12) @ /dev/dri/card0 -
but i don't know this is bug or something , i update bios version uptodate

What did i miss ?

(i sorry my english isn't good)

 

hardware_detection-63825619855.txt embyserver.txt

Q-Droid
Posted

Add the render group ID to the GIDLIST and recreate the container. It's a comma separated list.

 

Posted

i add 1000 to GIDLIST
 

environment:
      - UID=1000 # The UID to run emby as (default: 2)
      - GID=1000 # The GID to run emby as (default 2)
      - GIDLIST=44,1000 # A comma-separated list of additional GIDs to run emby as (default: 2)

and docker compose down ,then docker compose up -d

i got
image.png.e59cc19d6f0fda847587578fa9a0c77b.png

so, do i correct ? ,i sorry if i do incorrect

hardware_detection-63825623612.txt

Q-Droid
Posted

The render group ID.

$ getent group render | cut -d: -f3

 

  • Thanks 1
Posted

Thanks you , I can see Enable hardware acceleration

image.png.804b053cba9261b14d30d33bcf175409.png

  • Like 1
Posted

Are you all set now?

Posted

Yes, i can use transcoding now with emby premiere, so that great 😀

  • Thanks 1

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