pesintta / vdr-plugin-vaapidevice

VDR VAAPIDevice Plug-in
9 stars 12 forks source link

Problems on displaying still pictures #127

Open UEckhardt opened 5 years ago

UEckhardt commented 5 years ago

After changing the hardware from NVIDIA to Intel/vaapidevice the still picture of the radio-plugin is not displayed. When the VDR is started with a radio program, either some strange green picture or just a black picture is displayed. Information via the OSD is displayed correctly. After switching to a TV program and then back to radio the still picture is mostly displayed correctly.

When displaying a still picture lots of "video: display buffer empty" message are logged. After starting the vdr the following is logged:

Jun 22 10:29:27 vdr vdr[930]: [930] VAAPI: audio: 'alsa' output module used
Jun 22 10:29:27 vdr vdr[930]: [930] VAAPI: audio/alsa: supports pause: yes
Jun 22 10:29:27 vdr vdr[930]: [930] VAAPI: audio:  44100Hz supports 2 2 2 2 2 2 2 2 channels
Jun 22 10:29:27 vdr vdr[930]: [930] VAAPI: audio:  48000Hz supports 2 2 2 2 2 2 2 2 channels
Jun 22 10:29:27 vdr vdr[930]: [930] VAAPI: audio: 192000Hz supports 2 2 2 2 2 2 2 2 channels
Jun 22 10:29:27 vdr vdr[930]: [930] VAAPI: video/vaapi: supports unscaled osd
Jun 22 10:29:27 vdr vdr[930]: [930] VAAPI: Device ready
Jun 22 10:29:27 vdr vdr[930]: [955] VAAPI-ERROR: video: display buffer empty, duping frame (1/0) 0
Jun 22 10:29:27 vdr vdr[930]: [955] VAAPI-ERROR: video: display buffer empty, duping frame (2/0) 0
Jun 22 10:29:27 vdr vdr[930]: [955] VAAPI-ERROR: video: display buffer empty, duping frame (3/0) 0
Jun 22 10:29:27 vdr vdr[930]: [955] VAAPI-ERROR: video: display buffer empty, duping frame (4/0) 0
Jun 22 10:29:27 vdr vdr[930]: [955] VAAPI-ERROR: video: display buffer empty, duping frame (5/0) 0
Jun 22 10:29:27 vdr vdr[930]: [955] VAAPI-ERROR: video: display buffer empty, duping frame (6/0) 0
Jun 22 10:29:27 vdr vdr[930]: [955] VAAPI-ERROR: video: display buffer empty, duping frame (7/0) 0
Jun 22 10:29:27 vdr vdr[930]: [955] VAAPI-ERROR: video: display buffer empty, duping frame (8/0) 0
Jun 22 10:29:27 vdr vdr[930]: [955] VAAPI-ERROR: video: display buffer empty, duping frame (9/0) 0
Jun 22 10:29:27 vdr vdr[930]: [955] VAAPI-ERROR: video: display buffer empty, duping frame (10/0) 0
....

inxi -F

System:    Host: vdr Kernel: 5.1.12-ue-desktop x86_64 bits: 64 Desktop: FVWM2 2.6.8 
           Distro: Ubuntu 19.04 (Disco Dingo) 
Machine:   Type: Desktop Mobo: ASRock model: J4105B-ITX serial: M80-B8017800193 
           UEFI: American Megatrends v: P1.30 date: 05/04/2018 
CPU:       Topology: Quad Core model: Intel Celeron J4105 bits: 64 type: MCP L2 cache: 4096 KiB 
           Speed: 1398 MHz min/max: 800/2500 MHz Core speeds (MHz): 1: 1094 2: 1164 3: 1106 4: 1133 
Graphics:  Device-1: Intel driver: i915 v: kernel 
           Display: tty server: X.Org 1.20.3 driver: intel resolution: 2560x1440~60Hz, 1280x1024~60Hz 
           OpenGL: renderer: N/A v: N/A 
Audio:     Device-1: Intel driver: snd_hda_intel 
           Device-2: Digital Devices Octopus DVB Adapter driver: ddbridge 
           Sound Server: ALSA v: k5.1.12-ue-desktop

vainfo

libva info: VA-API version 1.4.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_4
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.4 (libva 2.4.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Gemini Lake - 2.3.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      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