Artix Linux Forum

Artix Linux => Package management => Topic started by: MorsMortium on 16 October 2024, 00:40:16

Title: plasmashell not starting
Post by: MorsMortium on 16 October 2024, 00:40:16
Did the upgrade to plasma 6.2, plasmashell didn't  start. Starting from terminal got me this:
Code: [Select]
plasmashell: symbol lookup error: /usr/lib/libLayerShellQtInterface.so.6: undefined symbol: _ZN15QtWaylandClient14QWaylandWindow9wlSurfaceEv, version Qt_6_PRIVATE_API
Title: Re: plasmashell not starting
Post by: slimypotato on 16 October 2024, 03:17:58
I think it's a bug in Qt this also happened to me after the 6.8.0 update. Luckily I still had the previous 6.7.3 version of the qt6 packages, did a downgrade, rebooted and it's working fine.

I hope someone has already reported it and that the Qt devs fix it in the next update.

EDIT: You should downgrade every qt6 related package if you can. Sorry for the bad advice. Also, the morphing tooltips effect (or whatever it's called) isn't working, that's the only weird thing I got after downgrading.
Title: Re: plasmashell not starting
Post by: MorsMortium on 16 October 2024, 05:07:32
Thanks! That worked.
Code: [Select]
pacman -Q | grep ^qt6- | cut -d ' ' -f 1
lists all needed packages, which you can then find with the correct versions in /var/cache/pacman/pkg and do
Code: [Select]
sudo pacman -U filename
Or if you have downgrade from AUR, you can do
Code: [Select]
sudo downgrade `pacman -Q | grep ^qt6- | cut -d ' ' -f 1`
and write 6.7.3 repeatedly, until it finishes
Title: Re: plasmashell not starting
Post by: Dju on 16 October 2024, 09:45:39
 hi,
same here this morning.
sddm screen frozen with X11,, or black screen with wayland.
i started by the obvious, downgrading the kernel to 6.11.2 and nvidia drivers  :P  but no luck
thanks for the suggestion, i downgraded all qt6 packages (to version 6.7.3xxx instead of 6.8xx), and it works again :)
Title: Re: plasmashell not starting
Post by: x_x on 16 October 2024, 13:45:12
Same issue. Sadly I deleted my pacman cache while trying to downgade via the archive, only to see that the archive is broken and 404s when requesting qt6-tools (and possibly others) :\

Any other way I can downgrade? Or maybe fixed packages are already in the testing repos so I can try them out?
Title: Re: plasmashell not starting
Post by: x_x on 16 October 2024, 14:20:51
Yep, after upgrading with the gremlins repos the k* suite of packages is updated to fix the issue.
Title: Re: plasmashell not starting
Post by: Artist on 16 October 2024, 14:30:46
Some pkgs are still in the build queue for gremlins. Once all are done they will be moved to stable/world.

artist
Title: Re: plasmashell not starting
Post by: nous on 16 October 2024, 14:34:35
https://archive.artixlinux.org/packages/q/qt6-tools/
https://archive2.artixlinux.org/packages/q/qt6-tools/

The former contains 6.7.2, the  latter also 6.7.3...
Title: Re: plasmashell not starting
Post by: TheBestKmanEver on 16 October 2024, 15:11:24
having issues with plasma aswell, i can use applications (that happen to start on login) but my desktop is black and i cant really do anything, tried downgrading, rebooted, same issue   https://pastebin.com/Damm4K9T most recent system upgrade
Title: Re: plasmashell not starting
Post by: Artist on 16 October 2024, 16:57:32
The KDE packages are being moved to world/stable now. Running pacman -Syu after the mirrors have synced should fix the issue. If not then pls report details and log files.

artist
Title: Re: plasmashell not starting
Post by: x_x on 16 October 2024, 17:00:31
https://archive.artixlinux.org/packages/q/qt6-tools/
https://archive2.artixlinux.org/packages/q/qt6-tools/

The former contains 6.7.2, the  latter also 6.7.3...

What I tried was pointing my artix mirror to https://archive.artixlinux.org/repos/2024/10/15/ (and earlier, which also failed due to other missing packages). Is this not the way you downgrade packages?
Title: Re: plasmashell not starting
Post by: HokariKanae on 16 October 2024, 18:49:39
Now that the packages are moved to stable i can log in x11 but not in wayland, te monitors do not output anything. This is the "cat ~/.local/share/sddm/wayland-session.log":
Could not create wayland socket

Works now
Title: Re: plasmashell not starting
Post by: TheBestKmanEver on 16 October 2024, 18:53:17
having issues with plasma aswell, i can use applications (that happen to start on login) but my desktop is black and i cant really do anything, tried downgrading, rebooted, same issue   https://pastebin.com/Damm4K9T most recent system upgrade
last update solved for me
Title: Re: plasmashell not starting
Post by: Artist on 16 October 2024, 19:24:03
HokariKanae and TheBestKmanEver, thank you for reporting back.

artist
Title: Re: plasmashell not starting
Post by: Renegade on 16 October 2024, 21:12:58
For anyone equally screwed as I was:
On boot, in GRUB, highlight your Artix entry and press e to edit the boot line.
Find the row that begins with "linux" and append init=/bin/sh at the end to drop to shell on boot.
Press Ctrl+X to boot.

If that shell is functional for you, run an upgrade to salvage your system.
In my case, I have multiple partitions and those weren't mounted, so the shell wasn't a good one.

In that case, cd /etc/xdg/autostart/ and use the editor of your choice (or echo/cat, strings and >>) to create a new file "emergency-terminal.desktop" with the following contents:
Code: [Select]
[Desktop Entry]
Type=Application
Name=Autostart Terminal for Emergencies
TryExec=xterm
Exec=xterm
StartupNotify=false

X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-phase=1
Reboot the system.
In my shell, even the reboot was f*cked - if you have magic enabled, you can do
Code: [Select]
echo _reisub > /proc/sysrq-trigger
to trigger the reboot via shell. Otherwise: Power/Reset button.

Let it boot normally and log in at the Plasma login.
It will still be broken, but there should now be a terminal that autostarted on login.
Since you booted and logged in properly, this terminal will be in a coherent state and you can use it to upgrade the system as normal/as directed in previous posts in this thread.

Reboot again after the upgrade, and Plasma should be working again.

Since the terminal will come up again anyway, go ahead and
Code: [Select]
sudo mv /etc/xdg/autostart/emergency-terminal.desktop /etc/xdg/autostart/emergency-terminal.bak
That should disable the autostart, according to the Internet. I haven't rebooted since, so I haven't verified that.
If it still comes up, just delete the file.
Title: Re: plasmashell not starting
Post by: MorsMortium on 16 October 2024, 21:19:57
Not sure of your circumstances, but couldn't you use ctrl + alt + F1 (or 3, 4, 5, 6), to get into a tty?
Btw, did the upgrade with the new packages, everything works, thanks Artix team!
Title: Re: plasmashell not starting
Post by: Renegade on 16 October 2024, 21:38:14
Not sure of your circumstances, but couldn't you use ctrl + alt + F1 (or 3, 4, 5, 6), to get into a tty?
Btw, did the upgrade with the new packages, everything works, thanks Artix team!
One would think that, but for some reason, I could not.

It may be related to the fact that this is a compact keyboard where some idiot designer put the media keys as the primary assignment and one has to press FN to get the actual F-keys.
Since Plasma was broken, maybe the keyboard handling was, too.
I don't know.
All I know is that I had no alternative TTY, no live medium at hand, GRUB's fallback entry was broken as well and using sh as init was barely functional.

Not a good place to be in. XD
Title: Re: plasmashell not starting
Post by: Dju on 17 October 2024, 01:55:10
with new updates, the issue seems solved now :)