Bug 474780 - Window switching is slow
Summary: Window switching is slow
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.27.8
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-22 03:31 UTC by Jerry Quinn
Modified: 2023-10-11 17:46 UTC (History)
1 user (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 Jerry Quinn 2023-09-22 03:31:47 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
I just installed KDE to try it out.  Most things seem to respond quickly.  But when I use Alt-Tab to switch windows, it is quite slow.

It takes about 2 seconds to either switch immediately to a new window, or about 2 seconds to bring up the window list.  
When I bring up the list, the delay is in displaying the list.  Once I choose a new window and release the keys, the new window is selected quickly.

I'm using the compact switcher, but I'm seeing the delay with different switchers too.




STEPS TO REPRODUCE
1. Press Alt-Tab
2. Wait about 2 seconds for the new window to be selected, or window list to be displayed
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Graphics Platform: X11
Fedora 38 x86_64


ADDITIONAL INFORMATION

Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.4.15-200.fc38.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-7700 CPU @ 3.60GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1050/PCIe/SSE2
Manufacturer: LENOVO
Product Name: 10MNS38000
System Version: ThinkCentre M910t
Comment 1 Nate Graham 2023-09-22 20:48:43 UTC
I suspect NVIDIA issues. Are you using the proprietary NVIDIA driver, or the Nouveau driver?

Also, does the same thing happen in the Wayland session too? Or is it only reproducible in the X11 session?
Comment 2 Jerry Quinn 2023-09-26 21:56:13 UTC
I won't be able to answer until next week, sorry.
Comment 3 Jerry Quinn 2023-10-04 18:35:46 UTC
I'm running the NVidia driver.  Nouveau just doesn't work well enough to use for me.

I have since updated and rebooted my machine and am not currently seeing the slow delay.

Is there any useful info I can provide to possibly track down an intermittent glitch like this?
Comment 4 Nate Graham 2023-10-11 17:46:53 UTC
Sounds like something in the update may have fixed it!