Bug 439401 - System freezes while changing wallpaper
Summary: System freezes while changing wallpaper
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Image & Slideshow wallpaper plugins (show other bugs)
Version: 5.19.5
Platform: Kubuntu Linux
: NOR major
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-02 11:39 UTC by Hubert depesz Lubaczewski
Modified: 2021-08-06 18:13 UTC (History)
2 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 Hubert depesz Lubaczewski 2021-07-02 11:39:20 UTC
SUMMARY

This is basically the same as bug 209152, but is in much newer plasma.
I made desktoip background to be slideshow, added directory with 192 files, totaling 694MB of data, and whenever new background fades-in precessing of other things stops briefly.


STEPS TO REPRODUCE
1. Change wallpaper type to slideshow
2. Add to folders some folder with images
3. Start konsole, and in it run bash -c "while true; do time sleep 0.02; done" 2>&1 | grep real
4. while it's running, right click on desktop, and click "next wallpaper image"

observe that times shown in konsole stop scrolling for a brief moment.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Hubert depesz Lubaczewski 2021-07-02 12:04:55 UTC
Based on comment on IRC, I'm changing product to plasmashell.
Comment 2 David Edmundson 2021-07-02 12:19:24 UTC
So we skip some frames, but not completely
Can you move the mouse fluidly during this time?
Comment 3 Hubert depesz Lubaczewski 2021-07-02 12:22:57 UTC
Yes. Only terminal actions are paused, as far as I can tell.
Comment 4 Hubert depesz Lubaczewski 2021-07-05 11:25:14 UTC
Today the problem is more severe. Mouse also starts to skip when wallpaper changes, and other apps (specifically: game written in java) temporarily freeze while wallpaper change is happening.
Comment 5 Bug Janitor Service 2021-07-20 04:33:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Nate Graham 2021-08-04 19:59:36 UTC
What graphics hardware are you using?
Comment 7 Hubert depesz Lubaczewski 2021-08-05 08:53:22 UTC
Some MSI card with Nvidia GTX 1070 chip.

lspci -v for this card:

01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Micro-Star International Co., Ltd. [MSI] GP104 [GeForce GTX 1070]
        Flags: bus master, fast devsel, latency 0, IRQ 156
        Memory at de000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at d0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at e000 [size=128]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nvidia

Also, please note. Since I reported it, and it didn't work well for me, I upgraded system, and then, for unrelated reasons, had to reinstall. The problem does not occur now.
Comment 8 Nate Graham 2021-08-06 18:13:14 UTC
I had a feeling it was NVIDIA. I suspect that a driver update fixed the issue. Let us know if it happens again and we can re-investigate.