-
-
Notifications
You must be signed in to change notification settings - Fork 105
HW acceleration va-api -> timeout #1451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The go-vod container should have additional logs that say what went wrong |
Where can i find those logs? |
ok found it
|
Same error here. Has always worked in the past until i updated to the latest. |
any update to this problem pls? |
Describe the bug
Hi, it looks like my configuration is correct but still face transcoder timeouts 408 when va-api is activated.
my environment is a docker nextcloud container on a synology dsm
render device accessible and available for user www-data
root@3b8771f42665:/var/www/html# ls -l /dev/dri/renderD128 crw-rw---- 1 root videodriver 226, 128 May 13 11:05 /dev/dri/renderD128
root@3b8771f42665:/var/www/html# cat /etc/group |grep -i video video:x:44: videodriver:x:937:www-data
vainfo shows no issues to me. X-Server error is irrelevant right?
vainfo error: XDG_RUNTIME_DIR is invalid or not set in the environment. error: can't connect to X server! libva info: VA-API version 1.17.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_17 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.17 (libva 2.12.0) vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 () vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSliceLP VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSliceLP VAProfileJPEGBaseline : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointEncPicture VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP VAProfileVP8Version0_3 : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointVLD VAProfileVP9Profile0 : VAEntrypointVLD
running ffmpeg with hw acceleration via cli works
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /var/www/html/data/Ralf/files/ich_stehe.mp4 -f null - ffmpeg version 5.1.6-0+deb12u1 Copyright (c) 2000-2024 the FFmpeg developers built with gcc 12 (Debian 12.2.0-14) configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared 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 Input #0, avi, from '/var/www/html/data/Ralf/files/ich_stehe.mp4': Duration: 00:03:02.12, start: 0.000000, bitrate: 1003 kb/s Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 352x288 [SAR 1:1 DAR 11:9], 867 kb/s, 13.50 fps, 13.50 tbr, 13.50 tbn Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 32000 Hz, stereo, fltp, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native)) Stream #0:1 -> #0:1 (mp3 (mp3float) -> pcm_s16le (native)) Press [q] to stop, [?] for help Output #0, null, to 'pipe:': Metadata: encoder : Lavf59.27.100 Stream #0:0: Video: wrapped_avframe, vaapi(progressive), 352x288 [SAR 1:1 DAR 11:9], q=2-31, 200 kb/s, 13.50 fps, 13.50 tbn Metadata: encoder : Lavc59.37.100 wrapped_avframe Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Metadata: encoder : Lavc59.37.100 pcm_s16le frame= 2459 fps=0.0 q=-0.0 Lsize=N/A time=00:03:02.29 bitrate=N/A speed= 197x video:1133kB audio:22640kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Steps To Reproduce
Activate/Deactivate Acceleration via memeories setings
Platform
Screenshots
No response
Additional context
The text was updated successfully, but these errors were encountered: