SOLVED: Hardware acceleration on docker Intel arc a380 - 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: Hardware acceleration on docker Intel arc a380 (/t-solved-hardware-acceleration-on-docker-intel-arc-a380) |
Hardware acceleration on docker Intel arc a380 - sthtyekujetyk - 2024-01-12 I have been following this guide My setup: proxmox ve --> debian VM --> docker --> jellyfin Output of lshw -C display in debian host: Code: *-display Output of ls -l /dev/dri in debian host: Code: total 0 Container creation (yes 105 is my render group): Code: docker run -d \ Output of docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/vainfo: Code: rying display: drm Output of docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va -init_hw_device opencl@va: Look at the last few lines Code: ffmpeg version 5.1.4-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers Transcoding settings: (i am not entirely sure what to enable or disable nor where to get that information, if anyone can clarify this it would be great) Playback doesn't work trying to transcode a 4k AV1: Transcoding logs Jellyfin logs RE: Hardware acceleration on docker Intel arc a380 - TheDreadPirate - 2024-01-12 What kernel is proxmox and debian running? You've setup GPU passthrough from Proxmox to Debian? Pretty sure you did this if the Debian VM can see the devices. RE: Hardware acceleration on docker Intel arc a380 - sthtyekujetyk - 2024-01-12 Proxmox kernel is 6.5.11-4-pve Debian kernel is 6.5.0-0.deb12.4-amd64 Yes I setup gpu passtrough RE: Hardware acceleration on docker Intel arc a380 - TheDreadPirate - 2024-01-12 Do you have an Intel CPU in your system? RE: Hardware acceleration on docker Intel arc a380 - sthtyekujetyk - 2024-01-12 Ryzen 9 7900, if you want to try to passthrough the other GPU it's a no-go. Proxmox host crashes immediately RE: Hardware acceleration on docker Intel arc a380 - TheDreadPirate - 2024-01-12 Enable Low Power Encoding in the jellyfin settings. The docs say it is required by Arc. https://jellyfin.org/docs/general/administration/hardware-acceleration/intel/#lp-mode-hardware-support RE: Hardware acceleration on docker Intel arc a380 - sthtyekujetyk - 2024-01-13 It still crashes Jellyfin log Transcode log RE: Hardware acceleration on docker Intel arc a380 - tmsrxzar - 2024-01-13 give this link a read https://www.reddit.com/r/homelab/comments/z7d6a8/proxmox_arc_a380_passthrough_jellyfin_hardware RE: Hardware acceleration on docker Intel arc a380 - sthtyekujetyk - 2024-01-13 I did everything in that guide until the driver installation section Since i am running linux 6.5 I think there is no need to install additional drivers right? Are the last few lines of the last code section in my first message normal/expected? RE: Hardware acceleration on docker Intel arc a380 - sthtyekujetyk - 2024-01-14 Solved it myself! The solution was to: - Install firmware-linux-nonfree from non-free apt repository - Download dg2_huc_gsc.bin from here and copy it in /lib/firmware/i915/dg2_huc_gsc.bin I have no idea why was this missing - Instead of running docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va -init_hw_device opencl@va I ran docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@va Now it transcodes correctly |