Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlasmaShell segfaults on boot #50393

Closed
OoLunar opened this issue May 17, 2024 · 10 comments
Closed

PlasmaShell segfaults on boot #50393

OoLunar opened this issue May 17, 2024 · 10 comments
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@OoLunar
Copy link
Contributor

OoLunar commented May 17, 2024

Is this a new report?

Yes

System Info

Void 6.6.30_1 x86_64 AuthenticAMD uptodate rrrmFFFFFF

Package(s) Affected

Unknown

Does a report exist for this bug with the project's home (upstream) and/or another distro?

None found.

Expected behaviour

  • I successfully boot up my laptop
  • SDDM's login screen appears
  • I successfully login
  • My desktop appears (fails)

Actual behaviour

Once I login through SDDM, my desktop appears for 1-3 seconds before crashing. KCrash appears to try to launch plasmashell again as my desktop will appear one more time for another half second before crashing once more. Once everything settles, I am left with a black screen, completely unable to access my system tray or any of my desktop applications.

I am currently able to access my applications through a desktop shortcut. I launch flameshot and take a screenshot of my black desktop, attempt to save the file. Once nemo prompts me where to save the file, I click "Open location" via the right click menu. Once nemo fully launches, I'm able to open up gnome-terminal and start firefox or whatever other applications I may need.

Ctrl+C and Ctrl+V (copy and paste) are still very unreliable (may be unrelated).
When any application attempts to use libnotify (or presumably attempts to send a desktop notification in any sense), the application will freeze before it's forced to be killed by me.
Alt+Tab still works as expected.

Steps to reproduce

  1. Update from KDE5 to KDE6
  2. While I did not take any explicit actions, there may be other steps that were performed without my knowledge. While I was upgrading, a lot of packages failed to upgrade due to package conflicts caused by the Void packaging servers not having certain versions of packages available, such as plasma-nm. Additionally a lot of packages were removed without my prior knowledge, such as NetworkManager and dialog. I personally believe this may have significantly contributed to the problem, though I have no proof.

Please let me know if any additional information is required. I am considering switching away from Void to Arch, however I happen to very much enjoy using Void and would prefer to resolve this issue first.

@OoLunar OoLunar added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels May 17, 2024
@OoLunar
Copy link
Contributor Author

OoLunar commented May 17, 2024

@OoLunar
Copy link
Contributor Author

OoLunar commented May 17, 2024

Possibly related: https://www.reddit.com/r/voidlinux/comments/1csvd8e/problems_with_plasma_6/

Edit: Removing all entries containing systemtray did allow my system to boot.

Here's my new plasmashell.log:

[lunar@J-Laptop ~]$ plasmashell --replace
kf.plasma.quick: Applet preload policy set to 1
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.dbus.integration: Could not connect "org.kde.Solid.PowerManagement.PolicyAgent" to inhibitionsChanged(QList<InhibitionInfo>, QStringList)
error connecting to inhibition changes via dbus
org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" 0x55ad79a18210
org.kde.plasma.kicker: Entry is not valid "org.kde.dolphin.desktop" 0x55ad79a17b30
org.kde.plasma.kicker: Entry is not valid "ktp-contactlist.desktop" 0x55ad79a17b30
org.kde.plasma.kicker: Entry is not valid "org.kde.discover.desktop" 0x55ad79a17b30
org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" 0x55ad799ef280
org.kde.plasma.kicker: Entry is not valid "org.kde.dolphin.desktop" 0x55ad799ef320
org.kde.plasma.kicker: Entry is not valid "ktp-contactlist.desktop" 0x55ad799ef320
org.kde.plasma.kicker: Entry is not valid "org.kde.discover.desktop" 0x55ad799ef320
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile

@TheDoubleB
Copy link

Can confirm that systemtray widget does not work in any way. The plasma-desktop update from 5.27.* to 6.0.4 today broke configurations on my desktop, laptop, and in a virtual machine. Only after removing every configuration file relating to plasma-desktop (~/.config/plasma*) I was able to log into Plasma session, but the moment I tried to add systemtray to anything, the entire desktop environment crashes, goes blank, and sets up again.

As a side note, I'm wondering whether the lack of systemtray widget is preventing volume up, volume down, and mute multimedia buttons from working or the visual volume slider from appearing.

@TheDoubleB
Copy link

Had a quick glance at the log file for #voidlinux Libera.Chat IRC channel and saw a debate from yesterday between two users for whom systemtray does not work either. There were mentions of missing icons in systemtray from a few days prior, but this one from yesterday mentions specifically systemtray not working at all, so we are definitely not alone.

@bvdeenen
Copy link

I found a fix/cause! plasma 6 depends on kpipewire, but my system did not have pipewire installed (kpipewire apparently does not require pipewire). Installing pipewire fixes the problem with the system tray. See the reddit thread.

@sgn
Copy link
Member

sgn commented May 19, 2024

Added pipewire to kpipewire's dependencies.

@OoLunar
Copy link
Contributor Author

OoLunar commented May 19, 2024

Added pipewire to kpipewire's dependencies.

Why does plasma rely on pipe wire in the first place? I personally use pulse audio and have no need for pipe wire. An I misunderstanding something?

@classabbyamp
Copy link
Member

classabbyamp commented May 19, 2024

kpipewire allows qt applications to interface with pipewire for screensharing and recording in wayland, and now that plasma is wayland by default, it probably needs kpipewire for various components

@TheDoubleB
Copy link

Confirmed, installing pipewire package solved crashing systemtray widget. It also solved my issue of volume up, volume down, and mute multimedia buttons not working — I assume that was due to missing systemtray widget. Thank you, @bvdeenen.

@OoLunar
Copy link
Contributor Author

OoLunar commented May 19, 2024

Closing as resolved

@OoLunar OoLunar closed this as completed May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
Development

No branches or pull requests

5 participants