Bug 483480 - Desktop effects (Including Cube) become unstable after using super high quality images as the Skybox in the Cube effect on older/weakerhardware
Summary: Desktop effects (Including Cube) become unstable after using super high quali...
Status: CONFIRMED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Cube (show other bugs)
Version: 6.0.1
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-13 20:04 UTC by Ali
Modified: 2024-07-25 09:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ali 2024-03-13 20:04:30 UTC
SUMMARY
Using a high quality / large sized image (for reference, I was using this image: https://unsplash.com/photos/galaxy-digital-wallpaper-rCbdp8VCYhQ) as a skybox on the Cube effect seems to make the effect unstable, make the screen go black, distort and cause some other freaky visual glitches, including not render on both monitors if a second display is connected. Even if you recover back to desktop from a broken Cube effect being used, this seems to also break some other desktop effects (most notably Overview) resulting in the screen going black and distorting until clicked back onto the desktop.
This can result in a full system lockup, and in some cases, Cube can render correctly but will delay a decent amount of seconds before appearing, in this delay, the screen goes black till Cube correctly appears.

STEPS TO REPRODUCE
1. Enable and configure Cube to use a large sized image as a Skybox on weaker hardware
2. press Meta+C 

OBSERVED RESULT
Various visual glitches are caused by Cube leading either to a system lockup or if recovered from, causing most desktop effects to make the screen black out until the session is restarted.

EXPECTED RESULT
Cube either renders correctly with no / little delay or warns the user that the effect may be unstable with the image provided for the skybox. (maybe entirely prevents the image and falls back to a plain colour?)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40 KDE Plasma PreRelease
(available in About System)
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Additional Hardware Information for "older / lower end hardware":
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6267U CPU @ 2.90GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Graphics 550
Manufacturer: Apple Inc.
Product Name: MacBookPro13,2
System Version: 1.0
Comment 1 Ali 2024-03-13 20:20:00 UTC
https://youtu.be/pc2_gMYasjs 
video of the bug, playing back the screen recording on VLC caused it to hang a fair few amount of times midplayback which was.... unique to say the least
Comment 2 VesperLlama 2024-07-25 09:10:05 UTC
I have newer hardware than OP and I also notice this but It's not as severe as the video. The Cube only takes some time to open while everything else freezes.

For 1080p images, it takes around 0.5s to open, ~1s for 1440p images 1.5-2s for 2160p images, etc.

ADDITIONAL INFORMATION:
Operating System: Arch Linux 
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics