barnum 5 Posted November 16, 2021 Posted November 16, 2021 (edited) Since the last version of emby (I think 4.6), trancoding woth AMD GPU is not working. There is an error during the detection of the GPU card : Error VaapiCodecProvider: Timeout while running ffdetect for vaencdec 2021-11-16 15:19:44.853 Info VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Execute: /opt/emby-server/bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 vaencdec -print_format json 2021-11-16 15:19:55.363 Error VaapiCodecProvider: Timeout while running ffdetect for vaencdec - args: -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 vaencdec -print_format json 2021-11-16 15:19:55.364 Error VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Error Output: ffdetect version 4.3.0-emby_2021_02_27 Copyright (c) 2018-2021 softworkz for Emby LLC built with gcc 8.3.0 (crosstool-NG 1.24.0) configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-chromaprint --enable-fontconfig --enable -gnutls --enable-gpl --enable-iconv --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enab le-libzvbi --enable-pic --enable-version3 --enable-libx265 --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --enable-opencl --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_ 64 --target-os=linux --enable-shared --disable-static --pkg-config=pkg-config --pkg-config-flags=--static --extra-libs='-lm -lstdc++ -pthread' libavutil 56. 36.100 / 56. 36.100 Begin GetVaAdapterInfo Found 26 device entries Begin get_nodes Found 3 drm entries End GetVaAdapterInfo if I launch manually, I have no error/timeout : root@openmediavault:/var/lib/emby-server/logs# sudo -u emby /opt/emby-server/bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 vaencdec -print_format json ffdetect version 4.3.0-emby_2021_02_27 Copyright (c) 2018-2021 softworkz for Emby LLC built with gcc 8.3.0 (crosstool-NG 1.24.0) configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-chromaprint --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libzvbi --enable-pic --enable-version3 --enable-libx265 --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --enable-opencl --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --enable-shared --disable-static --pkg-config=pkg-config --pkg-config-flags=--static --extra-libs='-lm -lstdc++ -pthread' WARNING: library configuration mismatch avutil configuration: --prefix=/usr --extra-version='0york0~18.04' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libzimg --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 36.100 / 56. 51.100 { "ProgramVersion": { "Version": "4.3.0-emby_2021_02_27", "Copyright": "Copyright (c) 2018-2021 softworkz for Emby Llc", "Compiler": "gcc 8.3.0 (crosstool-NG 1.24.0)", "Configuration": "--cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-chromaprint --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libzvbi --enable-pic --enable-version3 --enable-libx265 --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --enable-opencl --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --enable-shared --disable-static --pkg-config=pkg-config --pkg-config-flags=--static --extra-libs='-lm -lstdc++ -pthread'" }, "Devices": [ Begin GetVaAdapterInfo Found 26 device entries Begin get_nodes Found 3 drm entries End GetVaAdapterInfo { "DeviceIndex": 0, "DeviceInfo": { "VendorName": "Advanced Micro Devices, Inc. [AMD/ATI]", "DeviceName": "Baffin [Radeon RX 550 640SP / RX 560/560X]", "SubsytemVendorName": "Sapphire Technology Limited", "SubsytemDeviceName": "Radeon RX 550 640SP", "VendorId": 4098, "DeviceId": 26623, "SubsytemVendorId": 7586, "SubsytemDeviceId": 58215, "DevPath": "/sys/bus/pci/devices/0000:01:00.0", "DrmCard": "/dev/dri/card0", "DrmRender": "/dev/dri/renderD128", "IsEnabled": 1, /dev/dri/renderD128: VA-API version: 1.8 (libva 1.12.0) "IsBootVga": 1, "ApiVersionMajor": 1, /dev/dri/renderD128: Driver version: Mesa Gallium driver 21.3.0-devel for Radeon RX 550 Series (POLARIS11, DRM 3.43.0, 5.8.18-050818-generic, LLVM 12.0.1) "ApiVersionMinor": 8, "Driver": "Mesa Gallium driver 21.3.0-devel for Radeon RX 550 Series (POLARIS11, DRM 3.43.0, 5.8.18-050818-generic, LLVM 12.0.1)" }, "Decoders": [ { "CodecName": "MPEG2VIDEO", "CodecProfile": "MPEG2_SIMPLE", "CodecId": 2, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "MPEG2VIDEO", "CodecProfile": "MPEG2_MAIN", "CodecId": 2, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "WMV3", "CodecProfile": "VC1_SIMPLE", "CodecId": 71, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "VC1", "CodecProfile": "VC1_SIMPLE", "CodecId": 70, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "WMV3", "CodecProfile": "VC1_MAIN", "CodecId": 71, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "VC1", "CodecProfile": "VC1_MAIN", "CodecId": 70, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "WMV3", "CodecProfile": "VC1_COMPLEX", "CodecId": 71, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "WMV3", "CodecProfile": "VC1_ADVANCED", "CodecId": 71, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "VC1", "CodecProfile": "VC1_COMPLEX", "CodecId": 70, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "VC1", "CodecProfile": "VC1_ADVANCED", "CodecId": 70, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "H264", "CodecProfile": "H264_CONSTRAINED_BASELINE", "CodecId": 27, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "H264", "CodecProfile": "H264_MAIN", "CodecId": 27, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "H264", "CodecProfile": "H264_HIGH", "CodecId": 27, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "HEVC", "CodecProfile": "HEVC_MAIN", "CodecId": 173, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 }, { "CodecName": "HEVC", "CodecProfile": "HEVC_MAIN_10", "CodecId": 173, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 P010 ", "RTFormat": 259 }, { "CodecName": "MJPEG", "CodecProfile": "MJPEG_HUFFMAN_BASELINE_DCT", "CodecId": 7, "MaxWidth": 4096, "MaxHeight": 4096, "ColorFormats": "NV12 ", "RTFormat": 3 } ], "Encoders": [ { "CodecName": "H264", "CodecProfile": "H264_CONSTRAINED_BASELINE", "CodecId": 27, "MaxWidth": 4096, "MaxHeight": 2304, "ColorFormats": "NV12 P010 ", "RTFormat": 1, "RateControl": 22, "EncPackedHeaders": 1, "EncMaxRefFrames": 1, "EncRateControlExt": 0 }, { "CodecName": "H264", "CodecProfile": "H264_MAIN", "CodecId": 27, "MaxWidth": 4096, "MaxHeight": 2304, "ColorFormats": "NV12 P010 ", "RTFormat": 1, "RateControl": 22, "EncPackedHeaders": 1, "EncMaxRefFrames": 1, "EncRateControlExt": 0 }, { "CodecName": "H264", "CodecProfile": "H264_HIGH", "CodecId": 27, "MaxWidth": 4096, "MaxHeight": 2304, "ColorFormats": "NV12 P010 ", "RTFormat": 1, "RateControl": 22, "EncPackedHeaders": 1, "EncMaxRefFrames": 1, "EncRateControlExt": 0 }, { "CodecName": "HEVC", "CodecProfile": "HEVC_MAIN", "CodecId": 173, "MaxWidth": 4096, "MaxHeight": 2304, "ColorFormats": "NV12 P010 ", "RTFormat": 1, "RateControl": 22, "EncPackedHeaders": 1, "EncMaxRefFrames": 1, "EncRateControlExt": 0 } ], "Filters": [ { "FilterId": 2, "FilterName": "Deinterlacing filter", "Properties": [ { "DeinterlacingType": 1 }, { "DeinterlacingType": 2 }, { "DeinterlacingType": 3 } ], "IsSupported": 1 } ] } ], "Log": [ { "Level": 40, "Category": 0, "Message": "Found 26 device entries" }, { "Level": 40, "Category": 0, "Message": "/dev/dri/renderD128: VA-API version: 1.8 (libva 1.12.0)" }, { "Level": 40, "Category": 0, "Message": "/dev/dri/renderD128: Driver version: Mesa Gallium driver 21.3.0-devel for Radeon RX 550 Series (POLARIS11, DRM 3.43.0, 5.8.18-050818-generic, LLVM 12.0.1)" } ] } The AMD pro driver are installed and uptodate any idea embyserver.txt hardware_detection-63772672806.txt Edited November 16, 2021 by barnum
Luke 42078 Posted November 16, 2021 Posted November 16, 2021 Hi @barnum please try the new Emby Server 4.6.5 release and let us know if that helps. Thanks.
barnum 5 Posted November 17, 2021 Author Posted November 17, 2021 I'll try when it'll release for ubuntu/debian Barnum
barnum 5 Posted November 17, 2021 Author Posted November 17, 2021 Do you know when it'll be available ?
Solution Luke 42078 Posted November 17, 2021 Solution Posted November 17, 2021 4.6.6 is rolling out now. Thanks.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now