View previous topic :: View next topic |
Author |
Message |
MaDDeePee Guru
Joined: 18 Aug 2004 Posts: 393 Location: Germany
|
Posted: Sun Jul 28, 2024 6:49 pm Post subject: SDDM missing Plasma (Wayland) |
|
|
Hello,
i like to give wayland a try.
Operating System: Gentoo Linux 2.15
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.116.0
Qt Version: 5.15.14
Kernel Version: 6.6.38-gentoo (64-bit)
Graphics Platform: X11
unfortunately, my sddm "greeter" only shows Plasma X11 on the bottom left corner. There isn't even a "wayland" to choose that i could try.
Code: | cat /etc/sddm.conf
[General]
InputMethod=
[Theme]
DisableAvatarsThreshold=7
EnableAvatars=true
FacesDir=/usr/share/sddm/faces
ThemeDir=/usr/share/sddm/themes
[Users]
DefaultPath=/usr/local/bin:/usr/bin:/bin
HideShells=
HideUsers=
RememberLastSession=true
RememberLastUser=true
ReuseSession=false
[Wayland]
EnableHiDPI=true
SessionCommand=/usr/share/sddm/scripts/wayland-session
SessionDir=/usr/share/wayland-sessions
SessionLogFile=.local/share/sddm/wayland-session.log
[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
EnableHiDPI=true
MinimumVT=7
ServerPath=/usr/bin/X
SessionCommand=/usr/share/sddm/scripts/Xsession
SessionDir=/usr/share/xsessions
SessionLogFile=.local/share/sddm/xorg-session.log
UserAuthFile=.Xauthority
XauthPath=/usr/bin/xauth
XephyrPath=/usr/bin/Xephyr
|
Quote: |
...
USE="-initramfs libvirt sound-server -bindist -nepomuk networkmanager vdpau vaapi kdesu vlc xinerama hidpi geolocation -qt4 qt5 vaapi speech widevine elogind -systemd -consolekit gtk4 heif wayland"
...
|
could anyone tell me what i am missing?
Tanks! |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 421
|
Posted: Mon Jul 29, 2024 4:15 am Post subject: |
|
|
It is really hard to say what is going on without more information about your system.
You need to verify that Wayland is actually installed.
Can you verify whether or not the following packages are installed?
Code: | * dev-libs/plasma-wayland-protocols
Latest version available: 1.13.0
Latest version installed: 1.13.0
* dev-libs/wayland
Latest version available: 1.22.0
Latest version installed: 1.22.0
* dev-libs/wayland-protocols
Latest version available: 1.36
Latest version installed: 1.36
* dev-qt/qtwayland
Latest version available: 6.7.2-r3
Latest version installed: 6.7.2-r3
* dev-qt/qtwaylandscanner
Latest version available: 5.15.14
Latest version installed: 5.15.14
* dev-util/wayland-scanner
Latest version available: 1.22.0
Latest version installed: 1.22.0
* gui-libs/egl-wayland
Latest version available: 1.1.13
Latest version installed: 1.1.13
* kde-plasma/kwayland
Latest version available: 5.116.0
Latest version installed: 5.116.0
* kde-plasma/kwayland-integration
Latest version available: 5.27.11
Latest version installed: 5.27.11
* x11-base/xwayland
Latest version available: 23.2.6
Latest version installed: 23.2.6 |
Also, switch to a virtual terminal and see if you can run a plasma wayland session manually:
Code: | /usr/bin/startplasma-wayland |
|
|
Back to top |
|
|
MaDDeePee Guru
Joined: 18 Aug 2004 Posts: 393 Location: Germany
|
Posted: Mon Jul 29, 2024 2:46 pm Post subject: |
|
|
rab0171610 wrote: | It is really hard to say what is going on without more information about your system.
You need to verify that Wayland is actually installed.
|
i got them all:
Quote: | * app-misc/wayland-utils
Latest version available: 1.2.0
Latest version installed: [ Not Installed ]
* dev-cpp/waylandpp
Latest version available: 1.0.0-r1
Latest version installed: [ Not Installed ]
* dev-libs/plasma-wayland-protocols
Latest version available: 1.13.0
Latest version installed: 1.13.0
* dev-libs/wayland
Latest version available: 1.22.0
Latest version installed: 1.22.0
* dev-libs/wayland-protocols
Latest version available: 1.36
Latest version installed: 1.36
* dev-qt/qtwayland
Latest version available: 6.7.2-r3
Latest version installed: 6.7.2-r3
* dev-qt/qtwaylandscanner
Latest version available: 5.15.14
Latest version installed: 5.15.14
* dev-util/wayland-scanner
Latest version available: 1.22.0
Latest version installed: 1.22.0
* gui-libs/egl-wayland
Latest version available: 1.1.13
Latest version installed: 1.1.13
* kde-plasma/kwayland
Latest version available: 5.116.0
Latest version installed: 5.116.0
* kde-plasma/kwayland-integration
Latest version available: 5.27.11
Latest version installed: 5.27.11
* x11-base/xwayland
Latest version available: 23.2.6
Latest version installed: 23.2.6
|
within Plasma-X11, i get this:
Quote: |
startplasma-wayland
org.kde.startup: not a reply org.freedesktop.locale1 QDBusMessage(type=Error, service="org.freedesktop.DBus", error name="org.freedesktop.DBus.Error.ServiceUnknown", error message="The name org.freedesktop.locale1 was not provided by any .service files", signature="s", contents=("The name org.freedesktop.locale1 was not provided by any .service files") )
kdeinit5: preparing to launch '/usr/lib64/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 13434, result = 0
No backend specified, automatically choosing X11 because DISPLAY is set
kwin_wayland_x11windowed: X server supports SHM extension but not shared pixmaps
kf.globalaccel.kglobalacceld: Failed to register service org.kde.kglobalaccel
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 2080/PCIe/SSE2
OpenGL version string: 3.1.0 NVIDIA 550.100
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 550.100
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
Linux kernel version: 6.6.38
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
Virtual Machine: no
kwin_scene_opengl: Creating the OpenGL rendering failed: "query surface failed"
kwin_core: The used windowing system requires compositing
kwin_core: We are going to quit KWin now as it is broken
XIO: fatal IO error 2 (Datei oder Verzeichnis nicht gefunden) on X server ":0"
after 174 requests (172 known processed) with 0 events remaining.
No backend specified, automatically choosing X11 because DISPLAY is set
kwin_wayland_x11windowed: X server supports SHM extension but not shared pixmaps
kf.globalaccel.kglobalacceld: Failed to register service org.kde.kglobalaccel
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 2080/PCIe/SSE2
OpenGL version string: 3.1.0 NVIDIA 550.100
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 550.100
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
Linux kernel version: 6.6.38
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
Virtual Machine: no
kwin_scene_opengl: Creating the OpenGL rendering failed: "query surface failed"
kwin_core: The used windowing system requires compositing
kwin_core: We are going to quit KWin now as it is broken
XIO: fatal IO error 2 (Datei oder Verzeichnis nicht gefunden) on X server ":0"
after 174 requests (172 known processed) with 0 events remaining.
...
..
. |
|
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 421
|
Posted: Mon Jul 29, 2024 3:43 pm Post subject: |
|
|
Please post your "emerge --info".
SDDM sets environment variables when logging in. To make sure none of those are set from the x session, creating a conflict (i.e. XDG_SESSION_TYPE=x11, etc.) disable the SDDM service.
Reboot.
When you are in the virtual terminal, log in as your user.
There are two things you can test. See if kwin is working:
Code: | XDG_SESSION_TYPE=wayland dbus-run-session kwin_wayland --exit-with-session=konsole |
You will see a black box in the middle of the screen. This will also give you some output.
The other command is similar to the one that you already tried, but will launch a dbus session first and set environment variable:
Code: | XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland |
(You can save the above commands in a bash file in your home directory and run them that way rather than trying to type them.)
If you are using grub, make sure /etc/default/grub has the option "nvidia_drm.modeset=1". Example:
Code: |
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=0 nvidia_drm.modeset=1" |
Update grub and reboot. |
|
Back to top |
|
|
|