Jump to content

Missing /dev/dri after installing amdgpu-install


Recommended Posts

EliteArmedForce
Posted

Recently tried getting docker emby working in my minipc. Deployed it following the guide from docker hub, and it worked absouletely fine, before that i did look up emby hardware transcoding page and added lines "/dev/dri", and it ran without problem.
Docker compose for emby:

version: "2.3"
services:
  emby:
    image: emby/embyserver
    container_name: embyserver
    # runtime: nvidia # Expose NVIDIA GPUs
    network_mode: host # Enable DLNA and Wake-on-Lan
    environment:
      - UID=1000 # The UID to run emby as (default: 2)
      - GID=100 # The GID to run emby as (default 2)
      - GIDLIST=100 # A comma-separated list of additional GIDs to run emby as (default: 2)
    volumes:
      - /home/minipc/Programs/emby:/config # Configuration directory
      # local
      - /home/$user/Videos/media:/local
      # ssd
      - /media/$user/ssd:/ssd
    ports:
      - 8096:8096 # HTTP port
      - 8920:8920 # HTTPS port
    devices:
      - /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes
    restart: always

 

Few days later, I checked Emby server transcoding section that it was using software transcoding rather than hardware. So i wont through this hardware acceleration page again, and tried installing amd hardware for linux. After the installation, rebooted my pc which lead to crash of Emby, as it wasn't able to find "/dev/dri", had to comment it now. Tried launching it again and it worked, but still at software transcoding. 

Specs:

  • miniPC: Beelink minipc GTR 7 Pro
  • CPU: AMD Ryzen 9 7940HS
  • GPU: AMD Radeon 780M
  • OS: Ubuntu 22.04 LTS

 

Please help, i tried looking online for many solution, sadly noting is working.

Posted
4 hours ago, EliteArmedForce said:

Recently tried getting docker emby working in my minipc. Deployed it following the guide from docker hub, and it worked absouletely fine, before that i did look up emby hardware transcoding page and added lines "/dev/dri", and it ran without problem.
Docker compose for emby:

version: "2.3"
services:
  emby:
    image: emby/embyserver
    container_name: embyserver
    # runtime: nvidia # Expose NVIDIA GPUs
    network_mode: host # Enable DLNA and Wake-on-Lan
    environment:
      - UID=1000 # The UID to run emby as (default: 2)
      - GID=100 # The GID to run emby as (default 2)
      - GIDLIST=100 # A comma-separated list of additional GIDs to run emby as (default: 2)
    volumes:
      - /home/minipc/Programs/emby:/config # Configuration directory
      # local
      - /home/$user/Videos/media:/local
      # ssd
      - /media/$user/ssd:/ssd
    ports:
      - 8096:8096 # HTTP port
      - 8920:8920 # HTTPS port
    devices:
      - /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes
    restart: always

 

Few days later, I checked Emby server transcoding section that it was using software transcoding rather than hardware. So i wont through this hardware acceleration page again, and tried installing amd hardware for linux. After the installation, rebooted my pc which lead to crash of Emby, as it wasn't able to find "/dev/dri", had to comment it now. Tried launching it again and it worked, but still at software transcoding. 

Specs:

  • miniPC: Beelink minipc GTR 7 Pro
  • CPU: AMD Ryzen 9 7940HS
  • GPU: AMD Radeon 780M
  • OS: Ubuntu 22.04 LTS

 

Please help, i tried looking online for many solution, sadly noting is working.

Do you have Emby Premier? Just double checking because it's required for HW transcoding. If so, you could also try /dev/dri/card1 to see if that helps... may force it to the GPU. 

EliteArmedForce
Posted
On 10/17/2023 at 5:23 AM, sross44 said:

Do you have Emby Premier? Just double checking because it's required for HW transcoding. If so, you could also try /dev/dri/card1 to see if that helps... may force it to the GPU. 

I do have Emby Premier. I tried ur suggestion crashed my docker for emby immediately.

Posted

Did you try gpus all?

EliteArmedForce
Posted
10 hours ago, Luke said:

Did you try gpus all?

I didn't quite get you. If you mean by try gpus, `/dev/gpu.....`, I just tried in case, or u meant try in it docker compose. Sadly didnt work

Little update, I went to terminal command history, to grab the command that I install amdgpu `amdgpu-install --usecase=graphics,opencl,multimedia --vulkan=amdvlk --opencl=rocr`. I used all the open source options.

Here is list of /dev

image.thumb.png.fdf9644dad464621158275fd402b5968.png

 

  • 2 weeks later...
Posted

Please attach the emby server and hardware detection log files. Also an ffmpeg transcode log would be great too. 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...