This forum has been archived. All content is frozen. Please use KDE Discuss instead.

X11 desktop login fails with qxl and xcb errors

Tags: None
(comma "," separated)
Mr Spleen
Registered Member
Posts
3
Karma
0
I upgraded from Leap 15.3 to 15.4. The desktop was flaky at first but now doesn't log in at all. I can log in with Wayland but the screen freezes for seconds at a time so that's unusable. The other two options, IceWM and TWM both work. This is a VM to which I'm connecting with Spice and the Windows virt-viewer.

kcminit_startup: The X11 connection broke (error 1). Did the X11 server die?

kded5: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.


Here's the journal for a failed X login:

Code: Select all
root@opensuse /root: uname -r
5.14.21-150400.24.55-default
root@opensuse /root: journalctl -f
Apr 08 04:10:20 opensuse sddm-greeter[25340]: qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:807:9: QML QQuickItem: Binding loop detected for property "width"
Apr 08 04:10:27 opensuse sddm-greeter[25340]: Reading from "/usr/share/xsessions/plasma5.desktop"
Apr 08 04:10:27 opensuse sddm[2670]: Message received from greeter: Login
Apr 08 04:10:27 opensuse sddm[2670]: Reading from "/usr/share/xsessions/plasma5.desktop"
Apr 08 04:10:27 opensuse sddm-helper[25401]: gkr-pam: unable to locate daemon control file
Apr 08 04:10:27 opensuse sddm[2670]: Reading from "/usr/share/xsessions/plasma5.desktop"
Apr 08 04:10:27 opensuse sddm-helper[25401]: gkr-pam: stashed password to try later in open session
Apr 08 04:10:27 opensuse sddm[2670]: Session "/usr/share/xsessions/plasma5.desktop" selected, command: "/usr/bin/startplasma-x11"
Apr 08 04:10:27 opensuse sddm-helper[25401]: [PAM] Starting...
Apr 08 04:10:27 opensuse sddm-helper[25401]: [PAM] Authenticating...
Apr 08 04:10:27 opensuse sddm-helper[25401]: [PAM] Preparing to converse...
Apr 08 04:10:27 opensuse sddm-helper[25401]: [PAM] Conversation with 1 messages
Apr 08 04:10:27 opensuse sddm-helper[25401]: [PAM] returning.
Apr 08 04:10:27 opensuse sddm[2670]: Authenticated successfully
Apr 08 04:10:27 opensuse systemd-logind[807]: New session 27 of user temp.
Apr 08 04:10:27 opensuse systemd[1]: Started Session 27 of User temp.
Apr 08 04:10:27 opensuse sddm-helper[25401]: pam_unix(sddm:session): session opened for user temp by (uid=0)
Apr 08 04:10:27 opensuse sddm-greeter[25340]: Message received from daemon: LoginSucceeded
Apr 08 04:10:27 opensuse sddm-helper[25401]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Apr 08 04:10:27 opensuse sddm-helper[25401]: Starting: "/etc/X11/xdm/Xsession \"/usr/bin/startplasma-x11\""
Apr 08 04:10:27 opensuse sddm-helper[25407]: Adding cookie to "/run/user/1000/xauth_oWgZOj"
Apr 08 04:10:27 opensuse sddm[2670]: Session started
Apr 08 04:10:27 opensuse sddm-helper[25330]: [PAM] Closing session
Apr 08 04:10:27 opensuse sddm-helper[25330]: pam_unix(sddm-greeter:session): session closed for user sddm
Apr 08 04:10:27 opensuse sddm-helper[25330]: [PAM] Ended.
Apr 08 04:10:27 opensuse sddm[2670]: Auth: sddm-helper exited successfully
Apr 08 04:10:27 opensuse sddm[2670]: Greeter stopped.
Apr 08 04:10:27 opensuse systemd[1]: session-25.scope: Deactivated successfully.
Apr 08 04:10:27 opensuse systemd-logind[807]: Session 25 logged out. Waiting for processes to exit.
Apr 08 04:10:27 opensuse systemd-logind[807]: Removed session 25.
Apr 08 04:10:30 opensuse systemd[2730]: Reloading.
Apr 08 04:10:30 opensuse klauncher[25531]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Apr 08 04:10:30 opensuse kcminit_startup[25535]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_style.so"
Apr 08 04:10:37 opensuse systemd[1]: Stopping User Manager for UID 472...
Apr 08 04:10:37 opensuse systemd[25332]: Stopped target Main User Target.
Apr 08 04:10:37 opensuse systemd[25332]: Stopping D-Bus User Message Bus...
Apr 08 04:10:37 opensuse systemd[25332]: Stopped D-Bus User Message Bus.
Apr 08 04:10:37 opensuse systemd[25332]: Stopped target Basic System.
Apr 08 04:10:37 opensuse systemd[25332]: Stopped target Paths.
Apr 08 04:10:37 opensuse systemd[25332]: Stopped target Sockets.
Apr 08 04:10:37 opensuse systemd[25332]: Stopped target Timers.
Apr 08 04:10:37 opensuse systemd[25332]: Closed D-Bus User Message Bus Socket.
Apr 08 04:10:37 opensuse systemd[25332]: Closed PipeWire Multimedia System Socket.
Apr 08 04:10:37 opensuse systemd[25332]: Closed Sound System.
Apr 08 04:10:37 opensuse systemd[25332]: Removed slice User Application Slice.
Apr 08 04:10:37 opensuse systemd[25332]: Reached target Shutdown.
Apr 08 04:10:37 opensuse systemd[25332]: Finished Exit the Session.
Apr 08 04:10:37 opensuse systemd[25332]: Reached target Exit the Session.
Apr 08 04:10:37 opensuse systemd[1]: user@472.service: Deactivated successfully.
Apr 08 04:10:37 opensuse systemd[1]: Stopped User Manager for UID 472.
Apr 08 04:10:37 opensuse systemd[1]: Stopping User Runtime Directory /run/user/472...
Apr 08 04:10:37 opensuse systemd[1]: run-user-472.mount: Deactivated successfully.
Apr 08 04:10:37 opensuse systemd[1]: user-runtime-dir@472.service: Deactivated successfully.
Apr 08 04:10:37 opensuse systemd[1]: Stopped User Runtime Directory /run/user/472.
Apr 08 04:10:37 opensuse systemd[1]: Removed slice User Slice of UID 472.
Apr 08 04:10:46 opensuse kernel: qxl 0000:00:02.0: object_init failed for (339968, 0x00000001)
Apr 08 04:10:46 opensuse kernel: [drm:qxl_gem_object_create [qxl]] *ERROR* Failed to allocate GEM object (339220, 1, 4096, -12)
Apr 08 04:10:46 opensuse kernel: [drm:qxl_alloc_ioctl [qxl]] *ERROR* qxl_alloc_ioctl: failed to create gem ret=-12
Apr 08 04:10:46 opensuse ksplashqml[25504]: The X11 connection broke: I/O error (code 1)
Apr 08 04:10:46 opensuse kdeinit5[25530]: kdeinit5: Fatal IO error: client killed
Apr 08 04:10:46 opensuse kdeinit5[25530]: kdeinit5: sending SIGHUP to children.
Apr 08 04:10:46 opensuse kdeinit5[25530]: kdeinit5: sending SIGTERM to children.
Apr 08 04:10:46 opensuse kdeinit5[25530]: kdeinit5: Exit.
Apr 08 04:10:46 opensuse systemd[1]: Started Getty on tty2.
Apr 08 04:10:46 opensuse sddm[2670]: Display server stopped.
Apr 08 04:10:46 opensuse sddm[2670]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Apr 08 04:10:46 opensuse sddm[2670]: Socket server stopping...
Apr 08 04:10:46 opensuse sddm[2670]: Socket server stopped.
Apr 08 04:10:46 opensuse sddm[2670]: Removing display ":0" ...
Apr 08 04:10:46 opensuse sddm[2670]: Adding new display on vt 7 ...
Apr 08 04:10:46 opensuse sddm[2670]: Loading theme configuration from ""
Apr 08 04:10:46 opensuse sddm[2670]: Display server starting...
Apr 08 04:10:46 opensuse sddm[2670]: Running: /usr/bin/X -nolisten tcp -auth /run/sddm/{f6caea52-ac3e-4048-b62d-73515070c231} -background none -noreset -displayfd 18 -seat seat0 vt7
Apr 08 04:10:46 opensuse sddm[2670]: Setting default cursor
Apr 08 04:10:46 opensuse sddm[2670]: Running display setup script  "/etc/X11/xdm/Xsetup"
Apr 08 04:10:46 opensuse sddm[2670]: Display server started.
Apr 08 04:10:46 opensuse sddm[2670]: Socket server starting...
Apr 08 04:10:46 opensuse sddm[2670]: Socket server started.
Apr 08 04:10:46 opensuse sddm[2670]: Loading theme configuration from "/usr/share/sddm/themes/breeze-openSUSE/theme.conf"
Apr 08 04:10:46 opensuse sddm[2670]: Greeter starting...
Apr 08 04:10:46 opensuse sddm[2670]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Apr 08 04:10:46 opensuse systemd-logind[807]: Session 27 logged out. Waiting for processes to exit.
Apr 08 04:10:46 opensuse sddm-helper[25577]: [PAM] Starting...
Apr 08 04:10:46 opensuse sddm-helper[25577]: [PAM] Authenticating...
Apr 08 04:10:46 opensuse sddm-helper[25577]: [PAM] returning.
Apr 08 04:10:46 opensuse systemd[1]: Created slice User Slice of UID 472.
Apr 08 04:10:46 opensuse systemd[1]: Starting User Runtime Directory /run/user/472...
Apr 08 04:10:46 opensuse systemd-logind[807]: New session 28 of user sddm.
Apr 08 04:10:46 opensuse systemd[1]: Finished User Runtime Directory /run/user/472.
Apr 08 04:10:46 opensuse systemd[1]: Starting User Manager for UID 472...
Apr 08 04:10:46 opensuse systemd[25579]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
Apr 08 04:10:46 opensuse systemd[25579]: Queued start job for default target Main User Target.
Apr 08 04:10:46 opensuse systemd[25579]: Created slice User Application Slice.
Apr 08 04:10:46 opensuse systemd[25579]: Reached target Paths.
Apr 08 04:10:46 opensuse systemd[25579]: Reached target Timers.
Apr 08 04:10:46 opensuse systemd[25579]: Starting D-Bus User Message Bus Socket...
Apr 08 04:10:46 opensuse systemd[25579]: Listening on PipeWire Multimedia System Socket.
Apr 08 04:10:46 opensuse systemd[25579]: Listening on Sound System.
Apr 08 04:10:46 opensuse systemd[25579]: Listening on D-Bus User Message Bus Socket.
Apr 08 04:10:46 opensuse systemd[25579]: Reached target Sockets.
Apr 08 04:10:46 opensuse systemd[25579]: Reached target Basic System.
Apr 08 04:10:46 opensuse systemd[25579]: Reached target Main User Target.
Apr 08 04:10:46 opensuse systemd[25579]: Startup finished in 105ms.
Apr 08 04:10:46 opensuse systemd[1]: Started User Manager for UID 472.
Apr 08 04:10:46 opensuse systemd[1]: Started Session 28 of User sddm.
Apr 08 04:10:46 opensuse sddm-helper[25577]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Apr 08 04:10:46 opensuse sddm[2670]: Greeter session started successfully
Apr 08 04:10:46 opensuse sddm-greeter[25587]: High-DPI autoscaling Enabled
Apr 08 04:10:46 opensuse sddm-greeter[25587]: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
Apr 08 04:10:46 opensuse sddm-greeter[25587]: Reading from "/usr/share/xsessions/icewm.desktop"
Apr 08 04:10:46 opensuse sddm-greeter[25587]: Reading from "/usr/share/xsessions/plasma5.desktop"
Apr 08 04:10:46 opensuse sddm-greeter[25587]: Reading from "/usr/share/xsessions/twm.desktop"
Apr 08 04:10:46 opensuse sddm-greeter[25587]: Loading theme configuration from "/usr/share/sddm/themes/breeze-openSUSE/theme.conf"
Apr 08 04:10:46 opensuse systemd[25579]: Started D-Bus User Message Bus.
Apr 08 04:10:46 opensuse sddm-greeter[25587]: Connected to the daemon.
Apr 08 04:10:46 opensuse sddm-greeter[25587]: QFont::fromString: Invalid description '(empty)'
Apr 08 04:10:46 opensuse sddm[2670]: Message received from greeter: Connect
Apr 08 04:10:46 opensuse sddm-greeter[25587]: Loading file:///usr/share/sddm/themes/breeze-openSUSE/Main.qml...
Apr 08 04:10:46 opensuse sddm-greeter[25587]: QObject: Cannot create children for a parent that is in a different thread.
                                              (Parent is QGuiApplication(0x7fff8a17e6d0), parent's thread is QThread(0x5639ae33e340), current thread is QThread(0x5639ae708190)
Apr 08 04:10:46 opensuse sddm-greeter[25587]: QObject: Cannot create children for a parent that is in a different thread.
                                              (Parent is QGuiApplication(0x7fff8a17e6d0), parent's thread is QThread(0x5639ae33e340), current thread is QThread(0x5639ae708190)
Apr 08 04:10:46 opensuse sddm-greeter[25587]: QObject: Cannot create children for a parent that is in a different thread.
                                              (Parent is QGuiApplication(0x7fff8a17e6d0), parent's thread is QThread(0x5639ae33e340), current thread is QThread(0x5639ae708190)
Apr 08 04:10:46 opensuse sddm-greeter[25587]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
Apr 08 04:10:47 opensuse sddm-greeter[25587]: Adding view for "Virtual-0" QRect(0,0 1600x1280)
Apr 08 04:10:47 opensuse sddm-greeter[25587]: Message received from daemon: Capabilities
Apr 08 04:10:47 opensuse sddm-greeter[25587]: Message received from daemon: HostName
Apr 08 04:10:49 opensuse kcminit_startup[25535]: The X11 connection broke (error 1). Did the X11 server die?
Apr 08 04:10:49 opensuse plasma_session[25525]: org.kde.plasma.session: process job  "kcminit_startup" finished with exit code  0
Apr 08 04:10:49 opensuse kded5[25625]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Apr 08 04:10:49 opensuse kded5[25625]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

                                       Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Apr 08 04:10:53 opensuse dbus-daemon[2863]: [session uid=1000 pid=2863] Activating service name='org.freedesktop.Notifications' requested by ':1.170' (uid=1000 pid=25540 comm="fcitx -d ")
Apr 08 04:11:54 opensuse plasma_waitforname[25630]: org.kde.knotifications: WaitForName: Service was not registered within timeout
Apr 08 04:11:54 opensuse dbus-daemon[2863]: [session uid=1000 pid=2863] Activated service 'org.freedesktop.Notifications' failed: Process org.freedesktop.Notifications exited with status 1


"The X11 connection broke (error 1). Did the X11 server die?"
Xorg log errors:
Code: Select all
temp@opensuse /home/temp: tail -f /var/log/Xorg.0.log
[167053.475] (**) VirtualPS/2 VMware VMMouse: (accel) acceleration factor: 2.000
[167053.475] (**) VirtualPS/2 VMware VMMouse: (accel) acceleration threshold: 4
[167053.476] (II) event1  - VirtualPS/2 VMware VMMouse: is tagged by udev as: Mouse
[167053.476] (II) event1  - VirtualPS/2 VMware VMMouse: device is a pointer
[167053.476] (II) config/udev: Adding input device VirtualPS/2 VMware VMMouse (/dev/input/mouse0)
[167053.477] (II) No input driver specified, ignoring this device.
[167053.477] (II) This device may have been added with another device file.
[167053.477] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[167053.477] (II) No input driver specified, ignoring this device.
[167053.477] (II) This device may have been added with another device file.

[171498.024] (EE) qxl(0): error doing QXL_ALLOC
[171498.024] (EE)
[171498.024] (EE) Backtrace:
[171498.024] (EE) 0: /usr/bin/X (xorg_backtrace+0x65) [0x55bd7183c5b5]
[171498.024] (EE) 1: /usr/bin/X (0x55bd7168a000+0x1b6289) [0x55bd71840289]
[171498.024] (EE) 2: /lib64/libpthread.so.0 (0x7f02420df000+0x168c0) [0x7f02420f58c0]
[171498.024] (EE) 3: /usr/lib64/xorg/modules/drivers/qxl_drv.so (0x7f023f4e0000+0x83eb) [0x7f023f4e83eb]
[171498.024] (EE) 4: /usr/lib64/xorg/modules/drivers/qxl_drv.so (0x7f023f4e0000+0x9bd8) [0x7f023f4e9bd8]
[171498.024] (EE) 5: /usr/lib64/xorg/modules/drivers/qxl_drv.so (0x7f023f4e0000+0x1626c) [0x7f023f4f626c]
[171498.024] (EE) 6: /usr/lib64/xorg/modules/drivers/qxl_drv.so (0x7f023f4e0000+0x1cf69) [0x7f023f4fcf69]
[171498.024] (EE) 7: /usr/bin/X (0x55bd7168a000+0x1396a6) [0x55bd717c36a6]
[171498.024] (EE) 8: /usr/bin/X (0x55bd7168a000+0xe7502) [0x55bd71771502]
[171498.024] (EE) 9: /usr/bin/X (0x55bd7168a000+0xe7fa8) [0x55bd71771fa8]
[171498.024] (EE) 10: /usr/bin/X (0x55bd7168a000+0xe840f) [0x55bd7177240f]
[171498.024] (EE) 11: /usr/bin/X (ProcessWorkQueue+0x21) [0x55bd716ebb51]
[171498.024] (EE) 12: /usr/bin/X (WaitForSomething+0x7b) [0x55bd71839ddb]
[171498.024] (EE) 13: /usr/bin/X (0x55bd7168a000+0x5cb33) [0x55bd716e6b33]
[171498.025] (EE) 14: /usr/bin/X (0x55bd7168a000+0x60d8c) [0x55bd716ead8c]
[171498.025] (EE) 15: /lib64/libc.so.6 (__libc_start_main+0xef) [0x7f0241f1f24d]
[171498.025] (EE) 16: /usr/bin/X (_start+0x2a) [0x55bd716d4a2a]
[171498.025] (EE)
[171498.025] (EE) Segmentation fault at address 0x0
[171498.025] (EE)
Fatal server error:
[171498.025] (EE) Caught signal 11 (Segmentation fault). Server aborting
[171498.025] (EE)
[171498.025] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[171498.025] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[171498.025] (EE)
[171498.038] (EE) Server terminated with error (1). Closing log file.


"qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found."
Following other suggestions I checked the libraries for /usr/lib64/qt5/plugins/platforms/libqxcb.so with ldd (all were present) and reinstalled the package with that file: libQt5Gui5-5.15.2+kde294-150400.6.3.1.x86_64.

I also added debug output like this but it didn't add anything useful that I could spot.
Code: Select all
temp@opensuse /home/temp: cat /home/temp/.config/plasma-workspace/env/debug.sh
export QT_DEBUG_PLUGINS=1


Any ideas what's wrong?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]