2024-05-20, 04:46 PM
(This post was last modified: 2024-05-20, 04:49 PM by TheDreadPirate. Edited 1 time in total.)
Nvidia dropped support for that generation of GPU. You are SOL. VAAPI MIGHT work, definitely not V4L2. But don't expect much from the 770 if VAAPI does work.
The 4770k could also work, also only with VAAPI. Of the two, I would choose your iGPU over the 770.
In your docker compose you need to pass in the render group into the container. My docker compose as an example.
On the host system you need to add the user the container is running as, looks like your user, to the render group.
The 4770k could also work, also only with VAAPI. Of the two, I would choose your iGPU over the 770.
(2024-05-20, 04:35 PM)zjeffer Wrote: I tested Intel QSV and now the following happens:
Code:ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
[AVHWDeviceContext @ 0x5d01da5ddec0] libva: /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so init failed
[AVHWDeviceContext @ 0x5d01da5ddec0] Failed to initialise VAAPI connection: 1 (operation failed).
Device creation failed: -5.
Failed to set value 'vaapi=va:,kernel_driver=i915,driver=iHD' for option 'init_hw_device': Input/output error
In docker-compose, I deleted the nvidia stuff and added this:
Code:devices:
- /dev/dri:/dev/dri
---
Setting hardware acceleration to use VAAPI instead of Intel QSV throws this error in the ffmpeg logs:
Code:[AVHWDeviceContext @ 0x5b9c63522580] Failed to initialise VAAPI connection: -1 (unknown libva error).
Device creation failed: -5.
No device available for decoder: device type vaapi needed for codec hevc.
Stream mapping:
In your docker compose you need to pass in the render group into the container. My docker compose as an example.
Code:
services:
jellyfin:
image: jellyfin/jellyfin:10.9.2
container_name: jellyfin-stable-testing
user: 105:104
group_add:
- "993" # Intel render group
network_mode: 'host'
volumes:
- ./jellyfin-data/config:/config
- ./jellyfin-data/cache:/cache
- /media/library:/media/library:ro
- /media/storage2:/media/testLibrary:ro
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
restart: 'unless-stopped'
extra_hosts:
- "host.docker.internal:host-gateway"
On the host system you need to add the user the container is running as, looks like your user, to the render group.
Code:
sudo usermod -aG render <insert your username here>