catsout / wallpaper-engine-kde-plugin

A kde wallpaper plugin integrating wallpaper engine
https://store.kde.org/p/1475528/
GNU General Public License v2.0
1.68k stars 71 forks source link

Kernel lockups on KDE 5.27 #284

Open zany130 opened 1 year ago

zany130 commented 1 year ago

Describe the bug
causes kernel lockups ( system completely frozen can't ssh, use sysrq keys etc)

System Information Operating System: Garuda Linux KDE Plasma Version: 5.27.3 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.7-273-tkg-bmq (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: AMD Radeon RX 6700 XT

Additional context
possibly related to my previous issues https://github.com/catsout/wallpaper-engine-kde-plugin/issues/218 https://github.com/catsout/wallpaper-engine-kde-plugin/issues/244

Jelgnum commented 1 year ago

Interesting, I'm on the same hardware, even the same ram amount, but I build from source instead of chaotic aur. I know a lockup can happen if you try to use wallpapers with HDR, #250 for reference, and I don't think there is a fix for it. I would recommend checking your wallpaper library for HDR wallpapers. If that isn't the issue you could try cleaning the shader cache ~/.cache/wescene-renderer and restarting to remove any possible corrupted shaders.

zany130 commented 1 year ago

No none of my wallpapers are HDR. Achtually I tried that same wallpaper from the issue https://steamcommunity.com/sharedfiles/filedetails/?id=2826681794 and couldn't even repoduce the crash on my system. The wallpaper just shows as white but my system continues functioning correctly

this is probably the same issue I been having for a while ever since KDE 5.25. Though before it would just crash kde not my whole system (i know my whole system crashed because sysrq keys don't work (i have them enabled) and journal does not log anything after the point my system becomes unresponsive also I can't ssh into my system. Only thing I can do is pull the power plug.

so that tells me that somehow it's locking up the kernel

Jelgnum commented 1 year ago

Have you tried a different kernel? It could be a kernel setting I know tkg has a lot of edits to it. The zen kernel and arch kernel work.

They may have fixed the kernel freeze issue for HDR in mesa, I will check when I get back to my main machine.

zany130 commented 1 month ago

EDIT: for refrence these are my wallpaper engine settings I am still getting this same issue on bazzite (on plasma 6.1) now @catsout image

image

it may be the low randomize timer

Interestingly, I was able to reproduce a similar lockup (plasma, not kernel, though) by rapidly cycling between my wallpapers. All wallpapers used work flawlessly on wallpaper engine ( I test each wall paper then "favorite it" and then apply a favorite only filter so I only use wallpapers that work)

It seems sometimes, when switching between different wallpaper types (scene, video, etc.) plasma gets stuck, and you can even cause it to lockup of if you continue cycling wallpaper

Here are the last two wallpapers I loaded. it locked up after that.

Jul 19 11:52:43 bazzite plasmashell[6317]: qrc:/qt/qml/org/kde/desktop/ComboBox.qml:173:13: QML ListView: Binding loop detected for property "clip"
Jul 19 11:52:44 bazzite plasmashell[6317]: INFO source: /home/zany130/.local/share/Steam/steamapps/workshop/content/431960/3162808469/scene.json
Jul 19 11:52:44 bazzite plasmashell[6317]: INFO loading scene: /home/zany130/.local/share/Steam/steamapps/workshop/content/431960/3162808469/scene.json
Jul 19 11:52:44 bazzite plasmashell[6317]: INFO pkg version: PKGV0020
Jul 19 11:52:44 bazzite plasmashell[6317]: INFO cache folder: /home/zany130/.cache/wescene-renderer
Jul 19 11:52:44 bazzite plasmashell[6317]: INFO read json "angles" not a key at FromJson(WPImageObject.cpp:126)
Jul 19 11:52:44 bazzite plasmashell[6317]: INFO read json "scale" not a key at FromJson(WPImageObject.cpp:127)
Jul 19 11:52:44 bazzite plasmashell[6317]: ERROR WPSceneParser.cpp:244 unknown tex "_rt_shadowAtlas"
Jul 19 11:52:44 bazzite plasmashell[6317]: ERROR WPSceneParser.cpp:340 _rt_shadowAtlas not found in render targes
Jul 19 11:52:44 bazzite plasmashell[6317]: ERROR VFS.h:71 not found "/assets/materials/_alias_lightCookie.tex" in vfs
Jul 19 11:52:44 bazzite plasmashell[6317]: INFO new buffer block(0x7fa76c040b90), size: 2097152, index: 0 / 1
Jul 19 11:52:44 bazzite plasmashell[6317]: INFO new buffer block(0x7fa76c0d10e0), size: 2097152, index: 0 / 1
Jul 19 11:52:50 bazzite plasmashell[6317]: qrc:/qt/qml/org/kde/desktop/ComboBox.qml:173:13: QML ListView: Binding loop detected for property "clip"
Jul 19 11:52:53 bazzite plasmashell[6317]: INFO source: /home/zany130/.local/share/Steam/steamapps/workshop/content/431960/3161309858/scene.json
Jul 19 11:52:53 bazzite plasmashell[6317]: INFO loading scene: /home/zany130/.local/share/Steam/steamapps/workshop/content/431960/3161309858/scene.json
Jul 19 11:52:53 bazzite plasmashell[6317]: INFO pkg version: PKGV0019
Jul 19 11:52:53 bazzite plasmashell[6317]: INFO cache folder: /home/zany130/.cache/wescene-renderer
Jul 19 11:52:53 bazzite plasmashell[6317]: INFO read json "angles" not a key at FromJson(WPImageObject.cpp:126)
Jul 19 11:52:53 bazzite plasmashell[6317]: INFO read json "scale" not a key at FromJson(WPImageObject.cpp:127)
Jul 19 11:52:53 bazzite plasmashell[6317]: INFO new buffer block(0x7fa76c040b90), size: 2097152, index: 0 / 1
Jul 19 11:52:53 bazzite plasmashell[6317]: INFO new buffer block(0x7fa76c0d10e0), size: 2097152, index: 0 / 1
Jul 19 11:52:55 bazzite plasmashell[6317]: qrc:/qt/qml/org/kde/desktop/ComboBox.qml:173:13: QML ListView: Binding loop detected for property "clip"
Jul 19 11:52:56 bazzite plasmashell[6317]: qml: load backend: backend/Mpv.qml
Jul 19 11:52:56 bazzite plasmashell[6317]: file:///usr/share/plasma/wallpapers/com.github.catsout.wallpaperEngineKde/contents/ui/backend/Mpv.qml:47:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Jul 19 11:52:56 bazzite plasmashell[6317]: Cannot load libcuda.so.1
Jul 19 11:52:56 bazzite flatpak[7717]: [11:52:56.452] [DBG] PwPipelineManager::on_registry_global: Stream/Output/Audio 114 mpv with serial 592 has been added
Jul 19 11:52:56 bazzite flatpak[7717]: [11:52:56.453] [DBG] AppConfig::isAppBlocked: mpv is not blocked
Jul 19 11:52:56 bazzite flatpak[7717]: [11:52:56.458] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 114, target.object, Spa:Id, 105
Jul 19 11:52:56 bazzite flatpak[7717]: [11:52:56.458] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 114, target.node, Spa:Id, 85
Jul 19 11:52:56 bazzite flatpak[7717]: [11:52:56.460] [DBG] PwPipelineManager::on_registry_global: mpv port 110 is connected to jamesdsp_sink port 86
Jul 19 11:52:56 bazzite flatpak[7717]: [11:52:56.460] [DBG] PwPipelineManager::on_registry_global: mpv port 116 is connected to jamesdsp_sink port 88
Jul 19 11:52:56 bazzite rtkit-daemon[3751]: Successfully made thread 56981 of process 6317 (/usr/bin/plasmashell) owned by '1000' RT at priority 20.
Jul 19 11:52:56 bazzite plasmashell[6317]: wekde.scene: Destroy sceneobject
Jul 19 11:52:56 bazzite plasmashell[6317]: wekde.scene: Destroy texnode
Jul 19 11:52:56 bazzite plasmashell[6317]: INFO render handler deleted
Jul 19 11:52:56 bazzite plasmashell[6317]: INFO render looper stopped
Jul 19 11:52:56 bazzite plasmashell[6317]: INFO main looper stopped
Jul 19 11:52:56 bazzite plasmashell[6317]: INFO uninit sound device
Jul 19 11:53:21 bazzite NetworkManager[4923]: <info>  [1721404401.7986] device (wlp8s0): set-hw-addr: set MAC address to BE:33:99:9B:55:50 (scanning)
Jul 19 11:53:24 bazzite kdeconnectd[6662]: 2024-07-19T11:53:24 kdeconnect.plugin.sendnotifications: Unimplemented conversation of type 'r' 114

full journal here https://bpa.st/36GA

system specs :

 inxi -b
System:
  Host: bazzite Kernel: 6.9.8-204.fsync.fc40.x86_64 arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.1.2 Distro: Bazzite 40.20240717.0 (Kinoite)
    Holographic
Machine:
  Type: Desktop Mobo: ASRock model: X470 Taichi serial: <superuser required>
    UEFI: American Megatrends v: P5.10 date: 10/20/2022
CPU:
  Info: 6-core AMD Ryzen 5 5600X [MT MCP] speed (MHz): avg: 3973
    min/max: 550/4651
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    driver: amdgpu v: kernel
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.0
    compositor: kwin_wayland driver: N/A resolution: 1: 2048x864 2: 1536x864
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.2 renderer: AMD
    Radeon RX 6700 XT (radeonsi navi22 LLVM 18.1.6 DRM 3.57
    6.9.8-204.fsync.fc40.x86_64)
Network:
  Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
  Device-2: Intel I211 Gigabit Network driver: igb
Drives:
  Local Storage: total: 5.46 TiB used: 5.66 TiB (103.6%)
Info:
  Memory: total: 32 GiB available: 31.25 GiB used: 14.57 GiB (46.6%)
  Processes: 533 Uptime: 1h 4m Shell: fish inxi: 3.3.34