Bug 380040

Summary: Can't get plasma (wayland) to start because of a fatal error
Product: [Plasma] plasmashell Reporter: Munzir Taha <munzirtaha>
Component: generic-waylandAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: munzirtaha, notuxius
Priority: NOR    
Version: 5.9.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: journalctl -ab

Description Munzir Taha 2017-05-20 20:23:44 UTC
Created attachment 105652 [details]
journalctl -ab

When I try to login via sddm, I get black screen. journalctl shows this error:

plasmashell[815]: The Wayland connection experienced a fatal error (Protocol error)

Tried a nested setup:
$ export $(dbus-launch)
$ kwin_wayland --xwayland
No backend specified through command line argument, trying auto resolution
kwin_core: choose config failed
kwin_core: Creating egl surface failed
kwin_core: Failed to initialize compositing, compositing disabled
kwin_core: The used windowing system requires compositing
kwin_core: We are going to quit KWin now as it is broken
Segmentation fault (core dumped)

My hardware is the HP Spectre 15" with intel/nvidia
> lspci -nn
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5916] (rev 02)
00:13.0 Non-VGA unclassified device [0000]: Intel Corporation Device [8086:9d35] (rev 21)
01:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 940MX] [10de:134d] (rev ff)

However, my nvidia is disabled as can be verified by:
> cat /proc/acpi/bbswitch 
0000:01:00.0 OFF


The full journalctl log is attached
Comment 1 Alexander Mentyu 2017-08-17 15:10:46 UTC
Maybe this article can help to investigate it further:
https://blog.martin-graesslin.com/blog/2016/07/why-does-kwin_wayland-not-start/