Bug 442172

Summary: Black window content of mpv with Nvidia Wayland EGLStreams
Product: [Plasma] kwin Reporter: tempel.julian
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate, walktmp+s3q7a
Priority: NOR    
Version First Reported In: 5.22.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: SDDM Wayland log

Description tempel.julian 2021-09-08 12:46:38 UTC
Created attachment 141387 [details]
SDDM Wayland log

SUMMARY

Unlike the window of Firefox with GPU accelerated Webrender, the native OpenGL Wayland window of mpv just stays black.

STEPS TO REPRODUCE
1. Open any video in mpv with native OpenGL Wayland (should be the default setting) on Nvidia Wayland session.


OBSERVED RESULT

Window just stays black. It works with AMD & Intel with KWin Wayland GBM.


EXPECTED RESULT

It probably should also work with mpv on Nvidia when Firefox does so.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.13.14
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Happens on both 465 and 470 Nvidia driver and with mpv 0.33.1 from Arch repo or latest git-master build.
Comment 1 walktmp+s3q7a 2021-09-14 21:32:04 UTC
This is Nvidias fault. You will get the same problem with Gnome and any other compositor running Nvidia Wayland.

To use native Wayland mpv you have to use gpu-context=wayland vo=gpu hwdec=nvdec opengl-es=yes