xtknight/vdpau-va-driver-vp9

Black screen with youtube

xswqaz opened this issue · 0 comments

Hardware decode is on, But screen is black in chrome browser

Decoder Name VDAVideoDecoder
Hardware decoder true

$ ldd ./nvidia_drv_video.so
linux-vdso.so.1 (0x00007ffe2f735000)
libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f2809283000)
libvdpau.so.1 => /lib/x86_64-linux-gnu/libvdpau.so.1 (0x00007f280927d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2809055000)
libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f280902b000)
libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f2809016000)
/lib64/ld-linux-x86-64.so.2 (0x00007f28093f0000)
libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f280900e000)
libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f2809006000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f2808fee000)
libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f2808fe1000)

$ vainfo
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.12.0)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG4Simple : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD

[17914:17914:0428/215455.930786:ERROR:vaapi_wrapper.cc(2516)] vaPutSurface failed, VA error: operation failed
[17914:17914:0428/215455.931411:ERROR:vaapi_video_decode_accelerator.cc(288)] Failed putting surface into pixmap