Bug 435673 - Wayland session on Nvidia doesn't start
Summary: Wayland session on Nvidia doesn't start
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: git master
Platform: Other Linux
: VHI normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-04-12 21:08 UTC by Nicolas Fella
Modified: 2021-05-05 12:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
wayland-session.log (354.32 KB, text/x-log)
2021-04-12 21:09 UTC, Nicolas Fella
Details
Screen photo (2.28 MB, image/jpeg)
2021-04-18 13:34 UTC, Nicolas Fella
Details

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