Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [Solved] new install - can't start plasma - Qt version incompatability (Read 606 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Solved] new install - can't start plasma - Qt version incompatability

I just installed artix from artix-plasma-openrc-20240923-x86_64.iso onto a newly partitioned drive.  The install seemed fine, and the system boots, but attempting to start plasma(x11) from sddm gives me
Code: [Select]
Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

$DISPLAY is not set or cannot connect to the X server.
I think I actaully tried Wayland first, but still have only an empty .Xauthority file.  Trying to start plasma(wayland) gives
Code: [Select]
dbus-daemon[7782]: [session uid=1000 pid=7782] Activating service name='org.kde.KSplash' requested by ':1.0' (uid=1000 pid=7783 comm="/usr/bin/startplasma-wayland")
dbus-daemon[7782]: [session uid=1000 pid=7782] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.4' (uid=1000 pid=7799 comm="/usr/bin/kcminit_startup")
dbus-daemon[7782]: [session uid=1000 pid=7782] Activating service name='org.freedesktop.portal.Documents' requested by ':1.5' (uid=1000 pid=7802 comm="/usr/lib/xdg-desktop-portal")
dbus-daemon[7782]: [session uid=1000 pid=7782] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.6' (uid=1000 pid=7808 comm="/usr/lib/xdg-document-portal")
dbus-daemon[7782]: [session uid=1000 pid=7782] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[7782]: [session uid=1000 pid=7782] Successfully activated service 'org.freedesktop.portal.Documents'
dbus-daemon[7782]: [session uid=1000 pid=7782] Activating service name='org.freedesktop.impl.portal.desktop.kde' requested by ':1.5' (uid=1000 pid=7802 comm="/usr/lib/xdg-desktop-portal")
Cannot mix incompatible Qt library (6.7.2) with this library (6.7.3)
Cannot mix incompatible Qt library (6.7.2) with this library (6.7.3)
Cannot mix incompatible Qt library (6.7.2) with this library (6.7.3)
Cannot mix incompatible Qt library (6.7.2) with this library (6.7.3)
Cannot mix incompatible Qt library (6.7.2) with this library (6.7.3)
Cannot mix incompatible Qt library (6.7.2) with this library (6.7.3)
Cannot mix incompatible Qt library (6.7.2) with this library (6.7.3)
Cannot mix incompatible Qt library (6.7.2) with this library (6.7.3)
Cannot mix incompatible Qt library (6.7.2) with this library (6.7.3)
Cannot mix incompatible Qt library (6.7.2) with this library (6.7.3)
Cannot mix incompatible Qt library (6.7.2) with this library (6.7.3)
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 tqt.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
he environment variable QT_WAYLAND_SHELL_INTEGRATION
qt.qpa.wayland: Loading shell integration failed.
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: Attempted to load the following shells QList("xdg-shell", "wl-shell", "ivi-shell", "qt-shell")
org.kde.startup: "kdeinit5_shutdown" QList() exited with code 255
startplasma-wayland: Shutting down...
startplasmacompositor: Shutting down...
startplasmacompositor: Done.
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
qt.qpa.xcb: could not connect to display :1
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb, offscreen, linuxfb, minimal, minimalegl, vkkhrdisplay, wayland, wayland-egl, eglfs, vnc.
Those are the log files from ~/.local/share/sddm.  I've done "pacman -Syu" and it says everything is up to date.  I have nothing installed (yet) from AUR.  My assumption is there is some package which has just not bee rebuilt against Qt 6.7.3, but I have no idea how to find it.  I'd love any advice on how to further troubleshoot, other than just waiting for updates.

Re: new install - can't start plasma - Qt version incompatability

Reply #1
Pls run pacman -Q|grep '6\.7\.2' to see if there are any packages still on the previous version.

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons

Re: new install - can't start plasma - Qt version incompatability

Reply #2
Thanks for the response, but that command returns nothing.  Remember, this is a fresh clean install from a week old iso.
I had been thinking something was still incorrectly linked against some 6.7.2 library, but that would give me a missing/notfound rather than an incompatible.  I have this sneaking suspicion I'm missing something obvious.

Re: new install - can't start plasma - Qt version incompatability

Reply #3
Can you try updating and seeing if it works? qt6gtk2 was probably missed and that might be the culprit for you.

Re: new install - can't start plasma - Qt version incompatability

Reply #4
I'm currently fighting to get the Windows 10 on the same disk to boot, and all the multitude of posts about those errors are about as helpful as ...... (I don't want to preach to the choir here) so I'll try another update as soon as I do reboot that box into Artix.

Re: new install - can't start plasma - Qt version incompatability

Reply #5
Well, that package did need the respin, and the incompatibility messages are gone, but still no starting either X or Wayland.  Before I try to paste full logs somewhere, here are three lines from the middle of .login/share/sddm/wayland-session.org, in case they trigger any thoughts.
Code: [Select]
(kwin_wayland:2482): Gtk-WARNING **: 17:32:58.941: cannot open display: 
org.kde.startup: "kdeinit5_shutdown" QList() exited with code 255
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
Adding nomodeset to the boot command line didn't help.  (I believe I had that with a previous installation on this laptop.)

Before I go much further, should I just start over with a new installation?  There's no data to lose, so I'm willing, if it's likely to end up quicker to a working system.

Re: new install - can't start plasma - Qt version incompatability

Reply #6
Looks like it can't open a display for some reason. Not sure why that's happening to you. You could try starting it from another tty instead of sddm and seeing if that gives any different outcomes or maybe a more helpful error message.

 

Re: new install - can't start plasma - Qt version incompatability

Reply #7
Most perplexing.  Starting X11 from sddm gives me a black screen with mouse pointer.  Starting wayland from sddm blanks the screen for a bit and returns to the sddm screen.  Copying .xinitrc and .winitrc (modified for wayland) from my desktop system (where I don't use sddm,) and starting starting X11 with startx works.  Starting wayland with ~/.winitrc fails with nothing obvious to me in the output.

I think I'm going to mark this thread as SOLVED for the rebuilding of qt6gtk2, and I'll start a new thread If I can't solve this and run out of steam troubleshooting on my own.