Hallo, i have problems to get thiks to work.
Ive search in this forum for. i know there are a lot of tuts for Plex. But nothinmg will work. I will install the Restreamer Docker V2
It has Intel VAAP Support.
But if i try to Test in the Container the ffmpeg i get some erros:
i run this
ffmpeg -init_hw_device vaapi=foo:/dev/dri/renderD128
and get this erros
ffmpeg version 5.1.3-datahrei Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration: --extra-version=datahrei --prefix=/usr/local --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-vaapi --enable-libv4l2 --enable-libfreetype --enable-alsa --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --disable-ffplay --disable-ffprobe --disable-debug --disable-doc
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
[AVHWDeviceContext @ 0x55899bac9980] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
[AVHWDeviceContext @ 0x55899bac9980] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
[AVHWDeviceContext @ 0x55899bac9980] Failed to initialise VAAPI connection: -1 (unknown libva error).
Device creation failed: -5.
Failed to set value 'vaapi=foo:/dev/dri/renderD128' for option 'init_hw_device': Input/output error
Error parsing global options: Input/output error
The same also in Restreamer that uses ffmpeg.
My Steps:
1. i had do this
mkdir -p /boot/config/modprobe.d
echo "options i915 enable_fbc=1 enable_guc=3" > /boot/config/modprobe.d/i915.conf
2.
modprobe i915
chmod -R 777 /dev/dri
..added to /boot/config/go
But nothing will work. Whats wrong? Please can anybody help?