Bug 435673

Summary: Wayland session on Nvidia doesn't start
Product: [Plasma] kwin Reporter: Nicolas Fella <nicolas.fella>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: alex765, kde, nate, xaver.hugl
Priority: VHI Keywords: regression
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: wayland-session.log
Screen photo

Description Nicolas Fella 2021-04-12 21:08:52 UTC
With current master the Wayland session does not start at all. I had it working at some point (during the Wayland sprint).

modesetting is enabled.

All KDE stuff is from master, Qt from the KDE patch collection.

The wayland-session.log is full of "kwin_wayland_drm: Failed to acquire EGL stream frame"

Full file is attached
Comment 1 Nicolas Fella 2021-04-12 21:09:12 UTC
Created attachment 137546 [details]
wayland-session.log
Comment 2 David Edmundson 2021-04-18 13:27:55 UTC
>ith current master the Wayland session does not start at all.

Can you clarify, it must have started as you got some logs. 

Did you get a mouse moving? 
Do raster windows (i.e dolphin) work? 

Is it just the one nvidia graphic card (i.e no prime stuff)
Comment 3 Nicolas Fella 2021-04-18 13:32:52 UTC
After logging in in SDDM the screen flashes shortly and then I see the text log (see photo).

It is a single video card (a GTX 1050 Ti) connected to a single monitor
Comment 4 Nicolas Fella 2021-04-18 13:34:18 UTC
Created attachment 137683 [details]
Screen photo
Comment 5 Nicolas Fella 2021-04-18 13:39:17 UTC
So it appears that kwin_wayland is running, but fails to render anything
Comment 6 Vlad Zahorodnii 2021-04-23 12:25:38 UTC
Is the issue present with 5.21 branch?
Comment 7 Vlad Zahorodnii 2021-04-23 12:25:51 UTC
in 5.21*
Comment 8 Nicolas Fella 2021-04-24 00:13:44 UTC
With kwin and kwayland-server from 5.21 branch it works
Comment 9 David Edmundson 2021-05-05 10:54:45 UTC
[11:51] <nicofee> That's not what I meant
[11:51] <nicofee> 5.21 works but master is broken
Comment 10 Nicolas Fella 2021-05-05 12:25:45 UTC
I retested current master and the session does start. There are a couple of things not working right, but this bug in particular seems to be resolved