Jellyfin Forum
SOLVED: Enable Hardware Acceleration on ASRock J5040-ITX Board - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Enable Hardware Acceleration on ASRock J5040-ITX Board (/t-solved-enable-hardware-acceleration-on-asrock-j5040-itx-board)



Enable Hardware Acceleration on ASRock J5040-ITX Board - Iceman8080 - 2023-09-25

Hi,

I am a absolutly Newby on Jellyfin as Media Server.

Jellyfin runs as a Docker Container on Ubuntu 20.04. I use the Motherboard ASRock J5040-ITX CPU Intel Pentium Silver J5040 (Gemini-Lake Refresh) with 8GB RAM and as Receiver/Player I have a Anrdoid TV from Sony.

So all works fine without Hardware Acceleration but sometimes it Bugs when more then one Player access to the Server. So I want zu use the Hardware Acceleration for transcoding. At first enabled the VAAPI mode in Jellyfin and I added the render Group into the docker-compose.yml.

Code:
version: '3.9'
services:
  jellyfin_stack:
    image: jellyfin/jellyfin:latest
    container_name: jellyfin
    user: 1000:1000
    group_add:
      - 109    # Group ID of render on my System getent group render| cut -d: -f3
....



The used Grafic Driver on Ubunutu is:

Code:
lshw -c video
  *-display
      description: VGA compatible controller
      product: UHD Graphics 605
      vendor: Intel Corporation
      physical id: 2
      bus info: pci@0000:00:02.0
      version: 06
      width: 64 bits
      clock: 33MHz
      capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
      configuration: driver=i915 latency=0
      resources: irq:130 memory:a0000000-a0ffffff memory:90000000-9fffffff ioport:f000(size=64) memory:c0000-dffff


But after it ist enable, the Clients does not accept the Streams from the Server. 

Can anybody helps me to fix this Problem?


RE: Enable Hardware Acceleration on ASRock J5040-ITX Board - TheDreadPirate - 2023-09-25

You didn't include your entire compose file, but in your docker compose file did you include your GPU?

https://jellyfin.org/docs/general/administration/hardware-acceleration/intel/#configure-with-linux-virtualization

Code:
devices:
      - /dev/dri/renderD128:/dev/dri/renderD128



RE: Enable Hardware Acceleration on ASRock J5040-ITX Board - Iceman8080 - 2023-09-25

Many Thanks TheDreadPirate. That solved the Problem!