Hello,
I continue to buid my new vdrbox : Mint 19.3 / Desktop Cinnamon 3840x2160 @ 60 Hz / intel gpu / vaapi plugin / vdr-2.4.1
Driver seems to be OK : vainfo libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_1 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.1 (libva 2.1.0) vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 2.1.0 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple : VAEntrypointEncSlice VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointEncSliceLP VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264High : VAEntrypointEncSliceLP VAProfileH264MultiviewHigh : VAEntrypointVLD VAProfileH264MultiviewHigh : VAEntrypointEncSlice VAProfileH264StereoHigh : VAEntrypointVLD VAProfileH264StereoHigh : VAEntrypointEncSlice VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc VAProfileJPEGBaseline : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointEncPicture VAProfileVP8Version0_3 : VAEntrypointVLD VAProfileVP8Version0_3 : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain10 : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointEncSlice VAProfileVP9Profile0 : VAEntrypointVLD VAProfileVP9Profile0 : VAEntrypointEncSlice VAProfileVP9Profile2 : VAEntrypointVLD
Running mpv from a terminal is OK :
mpv -vo=vaapi --hwdec=vaapi /DATA/file1080p.mkv Playing: /DATA/file1080p.mkv (+) Video --vid=1 (*) (h264 1920x800 24.000fps) (+) Audio --aid=1 --alang=fre (*) (dts 6ch 48000Hz) (+) Subs --sid=1 --slang=fre (*) 'Forced' (subrip) AO: [pulse] 48000Hz 5.1(side) 6ch float Using hardware decoding (vaapi). VO: [vaapi] 1920x800 vaapi[nv12] AV: 00:00:09 / 01:27:44 (0%) A-V: 0.000
I have some issues with VDR and vaapi-plugin : - pictures are extremely slow on every channels (dvbt and dvbs) - no sound on dvbt (beause eac3 ?) , picture and sound out of sync on dvbs
I found many errors in syslog (see below) , but I don't know what's wrong. Could you please help me to fix this isssue ?
Thanks a lot. Karim
syslog
Jan 25 12:03:03 pctest vdr: [2546] VDR version 2.4.1 started Jan 25 12:03:03 pctest vdr: [2546] switched to user 'test' Jan 25 12:03:03 pctest vdr: [2546] codeset is 'UTF-8' - known Jan 25 12:03:03 pctest vdr: [2546] found 28 locales in /usr/local/src/vdr-2.4.1/locale Jan 25 12:03:03 pctest vdr: [2546] loading plugin: /usr/local/src/vdr/PLUGINS/lib/libvdr-femon.so.2.4.1 Jan 25 12:03:03 pctest vdr: [2546] loading plugin: /usr/local/src/vdr/PLUGINS/lib/libvdr-mpv.so.2.4.1 Jan 25 12:03:03 pctest vdr: [2546] loading plugin: /usr/local/src/vdr/PLUGINS/lib/libvdr-vaapidevice.so.2.4.1 Jan 25 12:03:03 pctest vdr: [2546] loading plugin: /usr/local/src/vdr/PLUGINS/lib/libvdr-skinsoppalusikka.so.2.4.1 Jan 25 12:03:03 pctest vdr: [2546] loading /DATA/configVDR/setup.conf ... Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display buffer empty, duping frame (1/0) 0 Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display buffer empty, duping frame (2/0) 0 Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display buffer empty, duping frame (3/0) 0 Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display buffer empty, duping frame (4/0) 0 Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display buffer empty, duping frame (5/0) 0 Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display buffer empty, duping frame (6/0) 0 Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display buffer empty, duping frame (7/0) 0 Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display buffer empty, duping frame (8/0) 0 Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display buffer empty, duping frame (9/0) 0 Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display buffer empty, duping frame (10/0) 0 ... Jan 25 12:03:06 pctest vdr: [2577] VAAPI-ERROR: video: display buffer empty, duping frame (38/0) 4 Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: supports video processing Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: noise reduction supported Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: 0,00 - 1,00 ++ 0,03 = 0,50 Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: enabling denoise filter (pos = 0) Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: deinterlacing supported Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: bob deinterlace supported Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: motion adaptive deinterlace supported Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: motion compensated deinterlace supported Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: enabling deinterlacing (pos = 1) Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: sharpening supported Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: 0,00 - 1,00 ++ 0,03 = 0,50 Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: enabling sharpening filter (pos = 0) Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: enabling color balance filters Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: supported color balance filter count: 4 Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: hue (-180,00 - 180,00 ++ 1,00 = 0,00) (pos = 2) Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: saturation (0,00 - 10,00 ++ 0,10 = 1,00) (pos = 2) Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: brightness (-100,00 - 100,00 ++ 1,00 = 0,00) (pos = 2) Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: contrast (0,00 - 10,00 ++ 0,10 = 1,00) (pos = 2) Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: skin tone enhancement supported Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: 0,00 - 4,00 ++ 1,00 = 0,00 Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: enabling skin tone filter (pos = 3) Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: allocating 1 forward reference surfaces for postprocessing Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: allocating 0 backward reference surfaces for postprocessing Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video/vaapi: changing to 0 forward reference surfaces for postprocessing Jan 25 12:03:06 pctest vdr: [2577] VAAPI-ERROR: video/vaapi: black surface displayed Jan 25 12:03:06 pctest vdr: [2577] VAAPI-ERROR: video: decoder buffer empty, duping frame (1087892848/0) 0 v-buf Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video: --:--:--.--- +0 0 0/\ms 0+1 v-buf Jan 25 12:03:06 pctest vdr: [2577] VAAPI: video: 4:50:57.552+8888 0 0/\ms 0+5 v-buf Jan 25 12:03:07 pctest vdr: [2555] changing name of channel 509 from 'Eurosport,;SMR6' to 'Eurosport OBSOLETE,;OBSOLETE SMR6' Jan 25 12:03:07 pctest vdr: [2555] changing name of channel 510 from 'LCI,;SMR6' to 'LCI OBSOLETE,;OBSOLETE SMR6' Jan 25 12:03:17 pctest vdr: [2570] VAAPI: audio/alsa: using device 'hw:0,7' Jan 25 12:03:17 pctest vdr: [2570] VAAPI-ERROR: audio/alsa: set params error: Argument invalide Jan 25 12:03:17 pctest vdr: [2570] VAAPI-ERROR: audio: can't set channels 0 sample-rate 0Hz Jan 25 12:03:17 pctest vdr: [2574] ERROR: 1 TS packet(s) not accepted in Transfer Mode Jan 25 12:03:17 pctest vdr: [2577] VAAPI-ERROR: video: initial slow down video, frame 99 Jan 25 12:03:17 pctest vdr: [2577] VAAPI-ERROR: video: decoder buffer empty, duping frame (1087892848/0) 0 v-buf Jan 25 12:03:17 pctest vdr: [2577] VAAPI: video: --:--:--.--- +0 0 0/\ms 0+1 v-buf Jan 25 12:03:19 pctest vdr: [2577] VAAPI: video: 4:51:10.152+8888 0 0/\ms 1+5 v-buf Jan 25 12:03:32 pctest vdr: [2570] VAAPI: audio/alsa: using device 'hw:0,7' Jan 25 12:03:32 pctest vdr: [2570] VAAPI-ERROR: audio/alsa: set params error: Argument invalide Jan 25 12:03:32 pctest vdr: [2570] VAAPI-ERROR: audio: can't set channels 0 sample-rate 0Hz Jan 25 12:03:32 pctest vdr: [2577] VAAPI-ERROR: video: initial slow down video, frame 98 Jan 25 12:03:32 pctest vdr: [2577] VAAPI-ERROR: video: decoder buffer empty, duping frame (1087892848/0) 0 v-buf Jan 25 12:03:32 pctest vdr: [2577] VAAPI: video: --:--:--.--- +0 0 0/\ms 0+1 v-buf Jan 25 12:03:33 pctest vdr: [2577] VAAPI: video: 4:51:23.512+8888 0 0/\ms 1+5 v-buf ... Jan 25 12:03:44 pctest vdr: [2570] VAAPI: audio/alsa: using device 'hw:0,7' Jan 25 12:03:44 pctest vdr: [2570] VAAPI-ERROR: audio/alsa: set params error: Argument invalide Jan 25 12:03:44 pctest vdr: [2570] VAAPI-ERROR: audio: can't set channels 0 sample-rate 0Hz Jan 25 12:03:44 pctest vdr: [2577] VAAPI-ERROR: video: initial slow down video, frame 99 Jan 25 12:03:44 pctest vdr: [2577] VAAPI-ERROR: video: decoder buffer empty, duping frame (1087892848/0) 0 v-buf Jan 25 12:03:44 pctest vdr: [2577] VAAPI: video: --:--:--.--- +0 0 0/\ms 0+1 v-buf Jan 25 12:03:45 pctest vdr: [2577] VAAPI: video: 4:51:36.032+8888 0 0/\ms 1+5 v-buf