wallpaper-engine-kde-plugin icon indicating copy to clipboard operation
wallpaper-engine-kde-plugin copied to clipboard

Any scene wallpaper will crash plasmashell on Wallpaper Engine 2.7

Open barraIhsan opened this issue 3 months ago • 18 comments

Describe the bug
After updating Wallpaper Engine to 2.7, I can't seem to set any scene wallpaper without getting any crashes.

Workshop link
Any scene wallpaper, e.g. 3129087373

System Information

  • Kde: 6.4.4
  • Qt: 6.9.2
  • OS: Arch Linux x86_64
  • Installation Source: git (AUR)
  • Wallpaper Engine version: 2.7

Additional context
-

barraIhsan avatar Sep 05 '25 15:09 barraIhsan

I confirm having this too. fedora 42, kde plasma shell crashing on (almost) all wallpaper engine 2.7 wallpapers

madmagic007 avatar Sep 05 '25 16:09 madmagic007

Same issue on CachyOS (Arch) Plasma/Wayland. If anyone figures out a good way to revert to 2.6 please let me know.

evertinker avatar Sep 05 '25 17:09 evertinker

Same issue on CachyOS (Arch) Plasma/Wayland. If anyone figures out a good way to revert to 2.6 please let me know.

Wallpaper Engine's properties (on Steam) > Betas > Select previous in Beta Participation

Says its always the preceding version so it should be good until the next update

JM-Enthusiast avatar Sep 05 '25 18:09 JM-Enthusiast

Same issue on CachyOS (Arch) Plasma/Wayland. If anyone figures out a good way to revert to 2.6 please let me know.

Wallpaper Engine's properties (on Steam) > Betas > Select previous in Beta Participation

Says its always the preceding version so it should be good until the next update

Thanks! Rolled back to previous in Beta Participation and my wallpapers are working again!

evertinker avatar Sep 05 '25 18:09 evertinker

Same issue on CachyOS (Arch) Plasma/Wayland. If anyone figures out a good way to revert to 2.6 please let me know.

Wallpaper Engine's properties (on Steam) > Betas > Select previous in Beta Participation

Says its always the preceding version so it should be good until the next update

Can confirm that this workaround solves the issue for me too

janlothar avatar Sep 05 '25 18:09 janlothar

Same issue on CachyOS (Arch) Plasma/Wayland. If anyone figures out a good way to revert to 2.6 please let me know.

Wallpaper Engine's properties (on Steam) > Betas > Select previous in Beta Participation

Says its always the preceding version so it should be good until the next update

Thank you, this solve the issue. Until the next update ...

Homura-Ak avatar Sep 05 '25 23:09 Homura-Ak

Windows 7 version also works, would recommend swapping to that as the previous version beta may break next update.

catsgomoo avatar Sep 06 '25 00:09 catsgomoo

I co

Same issue on CachyOS (Arch) Plasma/Wayland. If anyone figures out a good way to revert to 2.6 please let me know.

Wallpaper Engine's properties (on Steam) > Betas > Select previous in Beta Participation

Says its always the preceding version so it should be good until the next update

I am also on KDE 6.4.4. I confirm this rollback solution fix my wallpaper. I also checked the crash log. It say that some std::vector has no element but the plugin are trying to get the first element of it. I think that is the the vector for plugin to get new frame from WE. That may mean the WE 2.7 changed something that make it output not match the previous version. Hence, it cause KDE plugin to crash when try to retrieve the frame because nothing is there. Here is the crash log. Hope it help #7 0x00007f12206091b4 in __gnu_cxx::__verbose_terminate_handler() [clone .cold] () from /lib64/libstdc++.so.6 #8 0x00007f122061eb9c in __cxxabiv1::__terminate(void (*)()) () from /lib64/libstdc++.so.6 #9 0x00007f1220608d3a in std::terminate() () from /lib64/libstdc++.so.6 #10 0x00007f122061ee48 in __cxa_throw () from /lib64/libstdc++.so.6 #11 0x00007f122060c5fd in std::__throw_out_of_range_fmt(char const*, ...) () from /lib64/libstdc++.so.6 #12 0x00007f11d3803f7c in std::vector<wallpaper::SpriteFrame, std::allocator<wallpaper::SpriteFrame> >::_M_range_check (this=0x7f11d89fd618, __n=0) at /usr/include/c++/15/bits/stl_vector.h:1293 #13 std::vector<wallpaper::SpriteFrame, std::allocator<wallpaper::SpriteFrame> >::at (this=0x7f11d89fd618, __n=0) at /usr/include/c++/15/bits/stl_vector.h:1334 #14 wallpaper::SpriteAnimation::GetCurFrame (this=0x7f11d89fd608) at /home/user/wallpaper-engine-kde-plugin/src/backend_scene/src/./SpriteAnimation.hpp:36 #15 (anonymous namespace)::LoadMaterial (vfs=..., wpmat=..., pScene=<optimized out>, pMaterial=pMaterial@entry=0x7f11d89fdb10, pSvData=pSvData@entry=0x7f11d89fda20, pWPShaderInfo=<optimized out>, pWPShaderInfo@entry=0x7f11d89fdbb0, pNode=0x7f11b80ecd50) at /home/user/wallpaper-engine-kde-plugin/src/backend_scene/src/WPSceneParser.cpp:374 #16 0x00007f11d383ad7f in (anonymous namespace)::ParseParticleObj (context=..., wppartobj=..., child_ptr=...) at /home/user/wallpaper-engine-kde-plugin/src/backend_scene/src/WPSceneParser.cpp:988 #17 0x00007f11d3843f5c in operator() (__closure=<optimized out>, obj=...) at /home/user/wallpaper-engine-kde-plugin/src/backend_scene/src/WPSceneParser.cpp:1160

trantran-automation avatar Sep 06 '25 14:09 trantran-automation

Image

It's still crash for me even when using previous and windows_7_support branch. But the crash isn't like the one where I had with 2.7, where the taskbar would also gone. It'd just crash a lot but plasmashell is fine. Any idea? This is the crash:

plasmashell-20250905-224212.kcrash

barraIhsan avatar Sep 06 '25 14:09 barraIhsan

Image It's still crash for me even when using `previous` and `windows_7_support` branch. But the crash isn't like the one where I had with 2.7, where the taskbar would also gone. It'd just crash a lot but plasmashell is fine. Any idea? This is the crash:

plasmashell-20250905-224212.kcrash

You are having the same problem as i which is the plugin meet <std::out_of_range::~out_of_range()>) at line 657 of your crash file. My assumption is that the plugin are trying to get a frame, sprite or something from WE but the WE are not return it in the old way. That make the vector hold it empty. I am on KDE 6.4.4 and Fedora. The rollback solution of @JM-Enthusiast helped me fixed this. Hope you can find your solution.

trantran-automation avatar Sep 06 '25 14:09 trantran-automation

You are having the same problem as i which is the plugin meet <std::out_of_range::~out_of_range()>) at line 657 of your crash file. My assumption is that the plugin are trying to get a frame, sprite or something from WE but the WE are not return it in the old way. That make the vector hold it empty. I am on KDE 6.4.4 and Fedora. The rollback solution of @evertinker helped me fixed this. Hope you can find your solution.

yea im on previous and even launch the WE to do the rollback properly.

Image

barraIhsan avatar Sep 06 '25 15:09 barraIhsan

i confirm that using win 7 version or 2.6 beta fixes it for me as well. @barraIhsan did you try deleting all downloaded wallpapers from disk, then re-download them from the workshop? you dont need to un/resubscribe, only delete from disk. thats what i did as well

madmagic007 avatar Sep 06 '25 15:09 madmagic007

i confirm that using win 7 version or 2.6 beta fixes it for me as well. @barraIhsan did you try deleting all downloaded wallpapers from disk, then re-download them from the workshop? you dont need to un/resubscribe, only delete from disk. thats what i did as well

ahh okay, I'll try this, thanks!

barraIhsan avatar Sep 06 '25 19:09 barraIhsan

i confirm that using win 7 version or 2.6 beta fixes it for me as well. @barraIhsan did you try deleting all downloaded wallpapers from disk, then re-download them from the workshop? you dont need to un/resubscribe, only delete from disk. thats what i did as well

I want to something. Is that this extension have it's own rendering service that it only require the wallpaper file to run or do it use the original WE to render ? I am confuse why switch WE from 2.7 to 2.6 can fix the problem if my wallpaper file didn't change anything ?

trantran-automation avatar Sep 07 '25 03:09 trantran-automation

Yes, this plugin simply render the scene wallpaper on its own, some sort of reverse engineering ig. That's why not all scene works for now

barraIhsan avatar Sep 07 '25 05:09 barraIhsan

On the same version as the author and the workaround worked, i choose the win7 support version to give me more time in case a new WE version is released and the previous becomes the borked version, thanks for everyone's input in this thread

Gater73 avatar Sep 08 '25 18:09 Gater73

Had the same happen to me today , i managed to fix it by cleaning stuff :

removed WallpaperSource line in ~/.config/plasma-org.kde.plasma.desktop-appletsrc rm -Rf /home/$USER/.cache/wescene-renderer/* rm ~/.local/share/Steam/steamapps/workshop/content/431960/* uninstalling and reinstalling Wallpaper engine from steam ( without downgrading version , i'm on 2.7 atm )

Operating System: CachyOS Linux KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.17.0 Qt Version: 6.9.2 Kernel Version: 6.16.6-3-cachyos (64-bit) Graphics Platform: Wayland

mignat avatar Sep 11 '25 14:09 mignat

Same on NixOS

mrdev023 avatar Sep 14 '25 09:09 mrdev023

Had the same happen to me today , i managed to fix it by cleaning stuff :

removed WallpaperSource line in ~/.config/plasma-org.kde.plasma.desktop-appletsrc rm -Rf /home/$USER/.cache/wescene-renderer/* rm ~/.local/share/Steam/steamapps/workshop/content/431960/* uninstalling and reinstalling Wallpaper engine from steam ( without downgrading version , i'm on 2.7 atm )

Operating System: CachyOS Linux KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.17.0 Qt Version: 6.9.2 Kernel Version: 6.16.6-3-cachyos (64-bit) Graphics Platform: Wayland

Tried what you did but unfortunately didn't work fully. Only some scenes worked after cleaning the cache and clean installing 2.7. Other scenes still crashed Plasma until I cleaned everything again and clean installed the "[previous] beta" of Wallpaper Engine. Now it works like it did before the 2.7 update.

P.S. I also made sure to remove the WallpaperSource line in ~/.config/plasma-org.kde.plasma.desktop-appletsrc before trying each version

Operating System: Arch Linux KDE Plasma Version: 6.4.5 KDE Frameworks Version: 6.18.0 Qt Version: 6.9.2 Kernel Version: 6.16.8-arch3-1 (64-bit) Graphics Platform: Wayland

B00mstomp avatar Sep 30 '25 10:09 B00mstomp