Bug 442172 - Black window content of mpv with Nvidia Wayland EGLStreams
Summary: Black window content of mpv with Nvidia Wayland EGLStreams
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: core (other bugs)
Version First Reported In: 5.22.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-08 12:46 UTC by tempel.julian
Modified: 2021-09-14 21:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
SDDM Wayland log (31.33 KB, text/x-log)
2021-09-08 12:46 UTC, tempel.julian
Details

Note You need to log in before you can comment on or make changes to this bug.
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