xtknight / vdpau-va-driver-vp9

Experimental VP9 codec support for vdpau-va-driver (NVIDIA VDPAU-VAAPI wrapper) and chromium-vaapi
http://www.andrewmatteson.name/
GNU General Public License v2.0
75 stars 11 forks source link

Black screen while suspended #4

Open Paimon2 opened 4 years ago

Paimon2 commented 4 years ago

Hi Andrew,

I just wanted to thank you so much for your work on getting VP9 hardware acceleration working on YouTube with my GTX 1060. While I needed to apply a patch with makepkg (I can share more info on this), everything works absolutely perfectly. 

However, there is one small issue that troubles me. I'm unsure if you're able to fix this, but this is also an issue with H.264 video. When I leave a video paused for a while and it enters a pipeline state of kSuspended (chrome://media-internals), the video screen goes black.

Are there any possible solutions to remedy this? Again, thank you so much for your great work.

https://imgur.com/a/g6kdpCB https://imgur.com/a/6mulf77

Paimon2 commented 4 years ago

These errors are also repeatedly printed before the screen goes black:

VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 440.44 Sun Dec 8 03:27:26 UTC 2019 VDPAU nvidia: Error detected 0 7402 VDPAU nvidia: Backtrace: --: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f668bc39000] DSO load base 00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f668bc404ff] 01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f668bc4ea7a] 02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f668bc3fb62] 03: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f668bc41581] 04: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f668bc43bd6]

xtknight commented 4 years ago

Sorry for the long delay in replying. Glad the patch is working somewhat though. Is this still an issue? It looks to me like most of these issues would be with the underlying vdpau-libva wrapper code (as you stated, it also happens in H.264). When the stack traces mention libvdpau_nvidia there's not a whole lot we can do other than check whether we're calling the library properly.