https://bugs.kde.org/show_bug.cgi?id=506288
Bug ID: 506288
Summary: kde-plasma/kwin-6.4.1 is not working with drm (from
unpriveleged user) (on nvidia?)
Classification: Plasma
Product: kwin
Version First 6.4.1
Reported In:
Platform: Gentoo Packages
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Gentoo bug:
https://bugs.gentoo.org/959144
I am not able to login within wayland session after upgrade to
>kde-plasma/kwin-6.4.0 (kde 6.4.0 generally).
I can launch KDE (kwin) with X11.
I can launch KDE (kwin) on wayland with root user.
I can't launch KDE (kwin) on wayland with normal user.
The issue is reproduced on any unpriveleged user both from tty
(dbus-run-session kwin_wayland) or from SDDM.
But launching KDE (or kwin) session with root user works just fine!
All the normal users (elwe) within video group.
I have no other running wayland compositor.
Also a lot of information is provided in gentoo bug
https://bugs.gentoo.org/959144
I will provide any related information if you tell what is needed.
STEPS TO REPRODUCE
Ether:
1. Launch kwin_wayland --drm
Or:
2. Launch dbus-run-session startplasma-wayland (or kwin_wayland directly)
3. Launch it with SDDM
OBSERVED RESULT
THE LOG FROM SDDM:
elwe@RarogCmexDell ~ $ cat ~/.local/share/sddm/wayland-session.log
org.kde.startup: not a reply org.freedesktop.locale1 QDBusMessage(type=Error,
service="", 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") )
dbus-daemon[30986]: [session uid=1005 pid=30986 pidfd=5] Activating service
name='org.kde.KSplash' requested by ':1.0' (uid=1005 pid=30987
comm="/usr/bin/startplasma-wayland")
dbus-daemon[30986]: [session uid=1005 pid=30986 pidfd=5] Activating service
name='org.freedesktop.portal.Desktop' requested by ':1.4' (uid=1005 pid=31004
comm="/usr/bin/kcminit_startup")
dbus-daemon[30986]: [session uid=1005 pid=30986 pidfd=5] Activating service
name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.5'
(uid=1005 pid=31007 comm="/usr/libexec/xdg-desktop-portal")
dbus-daemon[30986]: [session uid=1005 pid=30986 pidfd=5] Successfully activated
service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[30986]: [session uid=1005 pid=30986 pidfd=5] Activating service
name='org.freedesktop.portal.Documents' requested by ':1.5' (uid=1005 pid=31007
comm="/usr/libexec/xdg-desktop-portal")
dbus-daemon[30986]: [session uid=1005 pid=30986 pidfd=5] Successfully activated
service 'org.freedesktop.portal.Documents'
fusermount3: failed to access mountpoint /run/user/1005/doc: Permission denied
error: fuse init failed: Can't mount path /run/user/1005/doc
(/usr/libexec/xdg-desktop-portal:31007): xdg-desktop-portal-WARNING **:
21:45:04.326: Document portal fuse mount point unknown:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.8 was not
provided by any .service files
dbus-daemon[30986]: [session uid=1005 pid=30986 pidfd=5] Activating service
name='org.freedesktop.impl.portal.desktop.kde' requested by ':1.5' (uid=1005
pid=31007 comm="/usr/libexec/xdg-desktop-portal")
No backend specified, automatically choosing drm
kwin_core: Failed to activate /org/freedesktop/login1/session/_321 session.
Maybe another compositor is running?
kwin_wayland_drm: failed to open drm device at "/dev/dri/card0"
kwin_wayland_drm: failed to open drm device at "/dev/dri/card1"
kwin_wayland_drm: No suitable DRM devices have been found
No backend specified, automatically choosing drm
...
(long spam of the same error with "Failed to activate")
The following errors is probably unrelated and there only because from
qt.qpa.wayland: "wl-shell" is a deprecated shell extension, prefer using
"xdg-shell" if supported by the compositor by setting the environment variable
QT_WAYLAND_SHELL_INTEGRATION
qt.qpa.wayland: "wl-shell" is a deprecated shell extension, prefer using
"xdg-shell" if supported by the compositor by setting the environment variable
QT_WAYLAND_SHELL_INTEGRATION
qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells QList("xdg-shell",
"wl-shell", "ivi-shell", "qt-shell")
qt.qpa.wayland: "wl-shell" is a deprecated shell extension, prefer using
"xdg-shell" if supported by the compositor by setting the environment variable
QT_WAYLAND_SHELL_INTEGRATION
qt.qpa.wayland: Loading shell integration failed.
org.kde.startup: "kdeinit5_shutdown" QList() exited with code 255
qt.qpa.wayland: Attempted to load the following shells QList("xdg-shell",
"wl-shell", "ivi-shell", "qt-shell")
qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells QList("xdg-shell",
"wl-shell", "ivi-shell", "qt-shell")
startplasma-wayland: Shutting down...
startplasmacompositor: Shutting down...
startplasmacompositor: Done.
---------------
LOGS FROM X11
>From X11 session (unpriveleged user) issue can be reproduced:
elwe@RarogCmexDell ~ $ kwin_wayland --drm
kwin_core: Failed to activate /org/freedesktop/login1/session/_322 session.
Maybe another compositor is running?
Accepting client connections on sockets: QList("wayland-0")
kwin_wayland_drm: failed to open drm device at "/dev/dri/card0"
kwin_wayland_drm: failed to open drm device at "/dev/dri/card1"
kwin_wayland_drm: No suitable DRM devices have been found.
X11 backend of kwin_wayland is working (with some unrelated errors):
elwe@RarogCmexDell ~ $ kwin_wayland
No backend specified, automatically choosing X11 because DISPLAY is set
Accepting client connections on sockets: QList("wayland-0")
kwin_wayland_x11windowed: X server supports SHM extension but not shared
pixmaps
kf.globalaccel.kglobalacceld: Failed to register service org.kde.kglobalaccel
kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated. <image> and
<target> are incompatible
kwin_scene_opengl: Invalid framebuffer status:
"GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
EXPECTED RESULT
It simply works
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux with gentoo-kernel 6.15.3 and nvidia-drivers
575.64
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version:
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.