滚动更新后 KDE 出现显示错误

KDE Wayland 用 Grid 网格打开切换桌面的界面时,整个界面都变成了灰色,只能看见窗口图标和标签。并且截图软件 spectacle 也出现了显示错误

查看了一下出错前更新过的包

[2026-03-14T11:56:48+0800] [ALPM] upgraded systemd-libs (259.4-1 -> 259.5-1)
[2026-03-14T11:56:48+0800] [ALPM] upgraded lib32-systemd (259.4-1 -> 259.5-1)
[2026-03-14T11:56:48+0800] [ALPM] upgraded python-fonttools (4.62.0-1 -> 4.62.1-1)
[2026-03-14T11:56:48+0800] [ALPM] upgraded systemd (259.4-1 -> 259.5-1)
[2026-03-14T11:56:49+0800] [ALPM] upgraded systemd-sysvcompat (259.4-1 -> 259.5-1)
[2026-03-14T11:56:49+0800] [ALPM] upgraded uv (0.10.9-1 -> 0.10.10-1)
[2026-03-14T11:56:49+0800] [ALPM] upgraded yt-dlp-ejs (0.5.0-1 -> 0.7.0-1)
[2026-03-14T11:56:49+0800] [ALPM] upgraded yt-dlp (2026.03.03-1 -> 2026.03.13-1)
[2026-03-14T11:57:36+0800] [ALPM] upgraded opencode-bin (1.2.25-1 -> 1.2.26-1)
[2026-03-14T18:42:00+0800] [ALPM] upgraded ell (0.82-1 -> 0.83-1)
[2026-03-14T18:42:00+0800] [ALPM] upgraded iwd (3.11-2 -> 3.12-1)
[2026-03-15T14:20:20+0800] [ALPM] upgraded at-spi2-core (2.58.3-1 -> 2.58.4-1)
[2026-03-15T14:20:20+0800] [ALPM] upgraded jemalloc (1:5.3.0-5 -> 1:5.3.0-7)
[2026-03-15T14:20:20+0800] [ALPM] upgraded llvm-libs (21.1.8-1 -> 22.1.1-1)
[2026-03-15T14:20:20+0800] [ALPM] upgraded compiler-rt (21.1.8-2 -> 22.1.1-1)
[2026-03-15T14:20:20+0800] [ALPM] upgraded clang (21.1.8-1 -> 22.1.1-1)
[2026-03-15T14:20:21+0800] [ALPM] upgraded mesa (1:26.0.1-1 -> 1:26.0.2-1)
[2026-03-15T14:20:21+0800] [ALPM] upgraded harfbuzz (13.1.1-1 -> 13.1.1-2)
[2026-03-15T14:20:21+0800] [ALPM] upgraded openshadinglanguage (1.15.1.0-1 -> 1.15.1.0-2)
[2026-03-15T14:20:21+0800] [ALPM] upgraded shiboken6 (6.10.2-1 -> 6.10.2-2)
[2026-03-15T14:20:21+0800] [ALPM] upgraded pyside6 (6.10.2-1 -> 6.10.2-2)
[2026-03-15T14:20:22+0800] [ALPM] upgraded blender (17:5.0.1-7 -> 17:5.0.1-8)
[2026-03-15T14:20:22+0800] [ALPM] upgraded harfbuzz-icu (13.1.1-1 -> 13.1.1-2)
[2026-03-15T14:20:22+0800] [ALPM] upgraded lib32-harfbuzz (13.1.1-1 -> 13.1.1-2)
[2026-03-15T14:20:22+0800] [ALPM] upgraded lib32-libldap (2.6.12-1 -> 2.6.13-1)
[2026-03-15T14:20:22+0800] [ALPM] upgraded lib32-llvm-libs (1:21.1.8-1 -> 1:22.1.1-1)
[2026-03-15T14:20:22+0800] [ALPM] upgraded lib32-mesa (1:26.0.1-1 -> 1:26.0.2-1)
[2026-03-15T14:20:22+0800] [ALPM] upgraded vulkan-mesa-implicit-layers (1:26.0.1-1 -> 1:26.0.2-1)
[2026-03-15T14:20:22+0800] [ALPM] upgraded lib32-vulkan-mesa-implicit-layers (1:26.0.1-1 -> 1:26.0.2-1)
[2026-03-15T14:20:22+0800] [ALPM] upgraded vulkan-intel (1:26.0.1-1 -> 1:26.0.2-1)
[2026-03-15T14:20:22+0800] [ALPM] upgraded lib32-vulkan-intel (1:26.0.1-1 -> 1:26.0.2-1)
[2026-03-15T14:20:22+0800] [ALPM] upgraded liblphobos (3:1.41.0-2 -> 3:1.42.0-1)
[2026-03-15T14:20:22+0800] [ALPM] upgraded libsrtp (1:2.7.0-1 -> 1:2.8.0-1)
[2026-03-15T14:20:22+0800] [ALPM] upgraded linux-zen (6.19.6.zen1-1 -> 6.19.8.zen1-1)
[2026-03-15T14:20:24+0800] [ALPM] upgraded linux-zen-headers (6.19.6.zen1-1 -> 6.19.8.zen1-1)
[2026-03-15T14:20:24+0800] [ALPM] upgraded lld (21.1.8-1 -> 22.1.1-1)
[2026-03-15T14:20:24+0800] [ALPM] upgraded llvm (21.1.8-1 -> 22.1.1-1)
[2026-03-15T14:20:24+0800] [ALPM] upgraded simdjson (1:4.3.1-1 -> 1:4.4.0-1)
[2026-03-15T14:20:24+0800] [ALPM] upgraded nodejs (25.7.0-1 -> 25.7.0-2)
[2026-03-15T14:20:24+0800] [ALPM] upgraded obs-studio (32.0.4-1 -> 32.1.0-1)
[2026-03-15T14:20:24+0800] [ALPM] upgraded openmp (21.1.8-1 -> 22.1.1-1)
[2026-03-15T14:20:24+0800] [ALPM] upgraded postgresql-libs (18.3-1 -> 18.3-2)
[2026-03-15T14:20:24+0800] [ALPM] upgraded qt6-tools (6.10.2-1 -> 6.10.2-3)
[2026-03-15T14:20:24+0800] [ALPM] upgraded rime-pinyin-moegirl (20260310-1 -> 20260315-1)
[2026-03-15T14:20:24+0800] [ALPM] upgraded rime-wanxiang-data (15.2.2-1 -> 15.2.3-1)
[2026-03-15T14:20:24+0800] [ALPM] upgraded rime-wanxiang-dict (15.2.2-1 -> 15.2.3-1)
[2026-03-15T14:20:24+0800] [ALPM] upgraded rime-wanxiang-dict-pinyin (15.2.2-1 -> 15.2.3-1)
[2026-03-15T14:20:24+0800] [ALPM] upgraded rime-wanxiang-pinyin (15.2.2-1 -> 15.2.3-1)
[2026-03-15T14:21:56+0800] [ALPM] upgraded google-chrome (146.0.7680.75-1 -> 146.0.7680.80-1)
[2026-03-15T17:44:12+0800] [ALPM] upgraded containerd (2.2.1-1 -> 2.2.2-1)
[2026-03-15T17:44:12+0800] [ALPM] upgraded python-firewall (2.4.0-6 -> 2.4.0-7)
[2026-03-15T17:44:12+0800] [ALPM] upgraded firewalld (2.4.0-6 -> 2.4.0-7)
[2026-03-15T17:44:12+0800] [ALPM] upgraded poppler (26.02.0-2 -> 26.03.0-1)
[2026-03-15T17:44:12+0800] [ALPM] upgraded poppler-glib (26.02.0-2 -> 26.03.0-1)
[2026-03-15T17:44:12+0800] [ALPM] upgraded inkscape (1.4.3-4 -> 1.4.3-6)
[2026-03-15T17:44:12+0800] [ALPM] upgraded libplacebo (7.360.0-2 -> 7.360.1-1)
[2026-03-15T17:44:12+0800] [ALPM] upgraded openshadinglanguage (1.15.1.0-2 -> 1.15.2.0-1)
[2026-03-15T17:44:12+0800] [ALPM] upgraded poppler-qt6 (26.02.0-2 -> 26.03.0-1)
[2026-03-15T17:44:13+0800] [ALPM] upgraded telegram-desktop (6.6.2-1 -> 6.6.3-1)
[2026-03-15T18:24:33+0800] [ALPM] upgraded qt6-tools (6.10.2-1 -> 6.10.2-3)
journalctl -b | grep -i plasma

的运行结果

3月 15 18:38:38 windust sddm-greeter-qt6[1141]: Reading from "/usr/local/share/wayland-sessions/plasma.desktop"
3月 15 18:38:38 windust sddm-greeter-qt6[1141]: Reading from "/usr/share/wayland-sessions/plasma.desktop"
3月 15 18:38:38 windust dbus-broker-launch[1144]: Service file '/usr/share//dbus-1/services/org.kde.plasma.Notifications.service' is not named after the D-Bus name 'org.freedesktop.Notifications'.
3月 15 18:38:41 windust sddm-greeter-qt6[1141]: Reading from "/usr/share/wayland-sessions/plasma.desktop"
3月 15 18:38:41 windust sddm[1112]: Reading from "/usr/share/wayland-sessions/plasma.desktop"
3月 15 18:38:41 windust sddm[1112]: Session "/usr/share/wayland-sessions/plasma.desktop" selected, command: "/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" for VT 1
3月 15 18:38:42 windust sddm-helper[1164]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session" "/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
3月 15 18:38:42 windust dbus-broker-launch[1254]: Service file '/usr/share//dbus-1/services/org.kde.plasma.Notifications.service' is not named after the D-Bus name 'org.freedesktop.Notifications'.
3月 15 18:38:42 windust systemd[1170]: Reload requested from client PID 1194 ('startplasma-way')...
3月 15 18:38:44 windust systemd[1170]: Starting KDE Plasma Workspace...
3月 15 18:38:44 windust systemd[1170]: Started KDE Plasma Workspace.
3月 15 18:38:44 windust systemd[1170]: Reached target KDE Plasma Workspace Core.
3月 15 18:38:44 windust systemd[1170]: Started Proxies GTK DBus menus to a Plasma readable format.
3月 15 18:38:45 windust systemd[1170]: plasma-ksplash.service: Consumed 760ms CPU time over 2.197s wall clock time, 92.6M memory peak.
3月 15 18:38:45 windust kded6[1420]: QDBusObjectPath: invalid path "/modules/plasma-session-shortcuts"
3月 15 18:38:45 windust kded6[1420]: The kded module name "plasma-session-shortcuts" is invalid!
3月 15 18:38:45 windust NetworkManager[993]: <info>  [1773571125.4939] agent-manager: agent[7e9712730eb1870e,:1.36/org.kde.plasma.networkmanagement/1000]: agent registered
3月 15 18:38:51 windust systemd[1170]: Reached target KDE Plasma Workspace.
3月 15 18:38:51 windust systemd[1170]: Reached target plasma-workspace-wayland.target.
3月 15 18:38:51 windust systemd[1170]: Starting Plasma Session Restore...
3月 15 18:38:51 windust systemd[1170]: Started Plasma Session Restore.
3月 15 18:38:51 windust plasmashell[1431]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
3月 15 18:38:51 windust plasmashell[1431]: error creating screencast "无法找到窗口 ID {d592c686-e64a-48e1-a624-48bc2ba3daf3}"
3月 15 18:40:11 windust plasmashell[1431]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.activitypager/" should be QList("ui/main.qml")
3月 15 18:40:11 windust plasmashell[1431]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.icontasks/" should be QList("ui/main.qml")
3月 15 18:40:11 windust plasmashell[1431]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.kickerdash/" should be QList("ui/main.qml")
3月 15 18:40:11 windust plasmashell[1431]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.minimizeall/" should be QList("ui/main.qml")
3月 15 18:40:12 windust plasmashell[1431]: render glyph failed err=62 face=0x555cea87a950, glyph=36
3月 15 18:40:12 windust plasmashell[1431]: KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2
3月 15 18:40:12 windust systemd-coredump[2625]: Process 1431 (plasmashell) of user 1000 terminated abnormally with signal 11/SEGV, processing...
3月 15 18:40:13 windust systemd-coredump[2626]: Process 1431 (plasmashell) of user 1000 dumped core.
                                                 #44 0x0000555cd0f10169 n/a (/usr/bin/plasmashell + 0x28169)
                                                 #47 0x0000555cd0f10725 n/a (/usr/bin/plasmashell + 0x28725)
3月 15 18:40:13 windust systemd[1170]: plasma-plasmashell.service: Main process exited, code=dumped, status=11/SEGV
3月 15 18:40:13 windust systemd[1170]: plasma-plasmashell.service: Failed with result 'core-dump'.
3月 15 18:40:13 windust systemd[1170]: plasma-plasmashell.service: Consumed 4.485s CPU time over 1min 28.864s wall clock time, 609.2M memory peak.
3月 15 18:40:13 windust systemd[1170]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 1.
3月 15 18:40:13 windust drkonqi-coredump-processor[1450]: "/usr/bin/plasmashell" 1431 "/var/lib/systemd/coredump/core.plasmashell.1000.64a32575d08b4bf4bc5be0b2e108c8bc.1431.1773571212000000.zst"
3月 15 18:40:13 windust drkonqi-coredump-processor[2627]: "/usr/bin/plasmashell" 1431 "/var/lib/systemd/coredump/core.plasmashell.1000.64a32575d08b4bf4bc5be0b2e108c8bc.1431.1773571212000000.zst"
3月 15 18:40:13 windust systemd[1170]: Starting KDE Plasma Workspace...
3月 15 18:40:13 windust systemd[1170]: Started KDE Plasma Workspace.
3月 15 18:40:16 windust plasmashell[2635]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.activitypager/" should be QList("ui/main.qml")
3月 15 18:40:16 windust plasmashell[2635]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.icontasks/" should be QList("ui/main.qml")
3月 15 18:40:16 windust plasmashell[2635]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.kickerdash/" should be QList("ui/main.qml")
3月 15 18:40:16 windust plasmashell[2635]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.minimizeall/" should be QList("ui/main.qml")
3月 15 18:40:16 windust plasmashell[2635]: render glyph failed err=62 face=0x564585831840, glyph=36
3月 15 18:40:16 windust plasmashell[2635]: KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2
3月 15 18:40:16 windust systemd-coredump[2716]: Process 2635 (plasmashell) of user 1000 terminated abnormally with signal 11/SEGV, processing...
3月 15 18:40:17 windust systemd-coredump[2717]: Process 2635 (plasmashell) of user 1000 dumped core.
                                                 #44 0x0000564583572169 n/a (/usr/bin/plasmashell + 0x28169)
                                                 #47 0x0000564583572725 n/a (/usr/bin/plasmashell + 0x28725)
3月 15 18:40:17 windust systemd[1170]: plasma-plasmashell.service: Main process exited, code=dumped, status=11/SEGV
3月 15 18:40:17 windust drkonqi-coredump-processor[2718]: "/usr/bin/plasmashell" 2635 "/var/lib/systemd/coredump/core.plasmashell.1000.64a32575d08b4bf4bc5be0b2e108c8bc.2635.1773571216000000.zst"
3月 15 18:40:20 windust systemd[1170]: plasma-plasmashell.service: Failed with result 'core-dump'.
3月 15 18:40:20 windust systemd[1170]: plasma-plasmashell.service: Consumed 2.144s CPU time over 6.788s wall clock time, 468.4M memory peak.
3月 15 18:40:20 windust systemd[1170]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 2.
3月 15 18:40:20 windust systemd[1170]: Starting KDE Plasma Workspace...
3月 15 18:40:20 windust systemd[1170]: Started KDE Plasma Workspace.
3月 15 18:40:23 windust plasmashell[2749]: qrc:/qt/qml/plasma/applet/org/kde/plasma/brightness/PopupDialog.qml:96: TypeError: Value is null and could not be converted to an object
3月 15 18:40:38 windust plasmashell[2749]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.activitypager/" should be QList("ui/main.qml")
3月 15 18:40:38 windust plasmashell[2749]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.icontasks/" should be QList("ui/main.qml")
3月 15 18:40:38 windust plasmashell[2749]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.kickerdash/" should be QList("ui/main.qml")
3月 15 18:40:38 windust plasmashell[2749]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.minimizeall/" should be QList("ui/main.qml")
3月 15 18:40:38 windust plasmashell[2749]: render glyph failed err=62 face=0x5574e19b0220, glyph=36
3月 15 18:40:38 windust plasmashell[2749]: KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2
3月 15 18:40:38 windust systemd-coredump[2926]: Process 2749 (plasmashell) of user 1000 terminated abnormally with signal 11/SEGV, processing...
3月 15 18:40:39 windust systemd-coredump[2927]: Process 2749 (plasmashell) of user 1000 dumped core.
                                                 #44 0x00005574b4485169 n/a (/usr/bin/plasmashell + 0x28169)
                                                 #47 0x00005574b4485725 n/a (/usr/bin/plasmashell + 0x28725)
3月 15 18:40:39 windust systemd[1170]: plasma-plasmashell.service: Main process exited, code=dumped, status=11/SEGV
3月 15 18:40:39 windust systemd[1170]: plasma-plasmashell.service: Failed with result 'core-dump'.
3月 15 18:40:39 windust systemd[1170]: plasma-plasmashell.service: Consumed 2.487s CPU time over 19.831s wall clock time, 508.7M memory peak.
3月 15 18:40:40 windust systemd[1170]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 3.
3月 15 18:40:40 windust systemd[1170]: Starting KDE Plasma Workspace...
3月 15 18:40:40 windust systemd[1170]: Started KDE Plasma Workspace.
3月 15 18:40:40 windust drkonqi-coredump-processor[2928]: "/usr/bin/plasmashell" 2749 "/var/lib/systemd/coredump/core.plasmashell.1000.64a32575d08b4bf4bc5be0b2e108c8bc.2749.1773571238000000.zst"
3月 15 18:40:42 windust plasmashell[2938]: qrc:/qt/qml/plasma/applet/org/kde/plasma/brightness/PopupDialog.qml:96: TypeError: Value is null and could not be converted to an object

添加桌面组件或者显示面板配置 plasma 会崩溃重启

[QtQuickRendererSettings]
SceneGraphBackend=software

排查了很久发现是 ~/.config/kdeglobals这个文件里的这个选项的问题,我也不知道是在哪改过这个选项,删掉就正常了