I’m trying to launch wayland session, but the display goes blank for a couple of seconds and then returns to logon screen.
I have installed plasma-wayland-protocols, plasma-wayland-session and egl-wayland. Other wayland packages are installed by default. Using nVidia latest drivers (470.42.01). Is there anything I missed?
maybe also explaining about the different ways of doing it in a laptop vs desktop and a mention about optimus-manager not supporting Wayland for the moment.
Here are the contents of my ~/.local/share/sddm/wayland-session.log file, which is written when trying to start the “Plasma (Wayland)” session from SDDM:
(kwin_wayland:2556): Gtk-WARNING **: 15:48:22.031: cannot open display:
KWin exited with code 1
startplasmacompositor: Shutting down...
startplasmacompositor: Done.
I have:
Nvidia GTX 1080 Ti
Nvidia proprietary driver version 470.42.01
Manjaro unstable branch with the latest available package versions
everything KDE-and-Wayland-related installed that I could find in research
Here is the output of yay -Qs wayland (meaning packages that are wayland-related that are installed on my machine):
local/egl-wayland 1.1.7-1
EGLStream-based Wayland external platform
local/kodi 19.1-5
A software media player and entertainment hub for digital media
local/kwayland 5.84.0-1 (kf5)
Qt-style Client and Server library wrapper for the Wayland libraries
local/kwayland-integration 5.22.3-1 (plasma)
Provides integration plugins for various KDE frameworks for the wayland
windowing system
local/kwayland-server 5.22.3-1 (plasma)
Wayland server components built on KDE Frameworks
local/layer-shell-qt 5.22.3-1 (plasma)
Qt component to allow applications to make use of the Wayland wl-layer-shell
protocol
local/lib32-wayland 1.19.0-1
A computer display server protocol
local/libva 2.12.0-1
Video Acceleration (VA) API for Linux
local/plasma-wayland-protocols 1.3.0-1
Plasma Specific Protocols for Wayland
local/plasma-wayland-session 5.22.3-1
Plasma Wayland session
local/qt5-wayland 5.15.2+kde+r29-1 (qt qt5)
Provides APIs for Wayland
local/sddm 0.19.0-6
QML based X11 and Wayland display manager
local/wayland 1.19.0-1
A computer display server protocol
local/wayland-protocols 1.21-1
Specifications of extended Wayland protocols
local/waylandpp 0.2.8-1
Wayland C++ bindings
local/wrapland 0.522.0-1
Qt/C++ library that wraps and mediates the libwayland client and server API
local/xorg-xwayland 21.1.2-1 (xorg)
run X clients under wayland
I’ve tried researching this online extensively and haven’t been able to find a solution. I really want to try Plasma with Wayland. Any help, including asking me for things to try, would be greatly appreciated. Thanks for reading!
I did a clean install with open source drivers and tried wayland session, but it doesn’t work, the screen just goes blanks, so no point continuing these tests for now. Guess KDE isn’t wayland-ready yet.
The right-click context menu can appear and show a context menu.
The context menu is different depending on different invisible (black) elements, like desktop icons, behind the cursor wherever I clicked.
There are panels that I had set up with the X11 Plasma session a while back, but they are invisible (black), and the blackness overlaps something if I open it.
I was able to see a Nemo file manager window and interact with it, so I could navigate manually to /usr/share/applications/ and open the KDE System Settings application.
The KDE System Settings application in this mode was an utter garbage mess, where it would only show black panels most of the time, and often not update the tab list on the left side, but the title bar would always update, so I could somewhat see where I was navigating.
Since I couldn’t see any contents in the right side, though, this was useless.
So, I don’t know. KDE Plasma with Wayland is utterly broken here. I don’t know how to make it work in any normal way, no matter what I do. How can people use it at all? It’s baffling.
Thnaks for the info. I was able to start a KDE/Wayland/nvidia session on openSUSE Tumbleweed. It kind of works, but not yet good enough. Firefox, for example, displays garbage and is totally unusable. I will continue watching this and update.
Current status on my machine: Wayland session starts, speed not too bad, but window decorations invisible and system tray tooltips not refreshing when moving between icons. Also, Windows game under wine starts and makes the right noises, but the screen is completely blanks. Still far from usable.
On openSuse Tumbleweed things look better: window decoration is OK and Windows game plays well. But this is no surprise, as it updates much more frequently.