v21.1: Alt-Tab slow to start at 200%

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
endlisnis
Level 2
Level 2
Posts: 61
Joined: Tue Jan 27, 2015 10:59 am

v21.1: Alt-Tab slow to start at 200%

Post by endlisnis »

Ever since I upgraded from Mint v21.0 to v21.1, I noticed a delay when pressing alt-tab.

I know there is an intentional (configurable) delay before the app list shows up, but even when I set that to "0", I still get the same behaviour.

Here is my behaviour: After pressing Alt+Tab, it can take about half a second before the list of apps shows up. Oddly, this delay only happens after a new window (of any application) is opened or closed. It's as if it has the list of windows cached or something. If I press Alt+Tab again (without opening or closing a window), then the app list pops up with no obvious delay.

I've tried all the settings in "System Settings" / "Alt-Tab"; including every single "Alt-Tab switcher style". They all suffer the exact same delay.

I have my "monitor scale" set to "200%" and I have two 4k screens.

If I remove one screen, then I still see a similar problem.

If I just have a single 1080p screen with no scaling, then the delay is mostly gone.

https://termbin.com/rfwq
Last edited by LockBot on Fri Jul 14, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
endlisnis
Level 2
Level 2
Posts: 61
Joined: Tue Jan 27, 2015 10:59 am

Re: v21.1: Alt-Tab slow to start

Post by endlisnis »

If anything, this seems to be getting worse over time.
Sometimes, it now takes 3 or 4 seconds for the Alt+Tab window to show up.

I also noticed that the Ctrl+Alt+Down option has an equal delay before it starts showing all the windows.
mikeflan
Level 17
Level 17
Posts: 7114
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: v21.1: Alt-Tab slow to start

Post by mikeflan »

Switching between desktops slowed down a little for me, but a computer restart and applying all the updates I had been putting off for a month fixed the problem. Is your swap file 2.0 GB and essentially all of it is being used? After fixing my problem is am at 340M / 2.0 G.
Last edited by mikeflan on Wed Mar 29, 2023 7:21 am, edited 1 time in total.
endlisnis
Level 2
Level 2
Posts: 61
Joined: Tue Jan 27, 2015 10:59 am

Re: v21.1: Alt-Tab slow to start

Post by endlisnis »

I have all updates applied. I've rebooted several times with no change.

I have 17GB of swap space, and I'm currently using 2.7GB.

I have 16GB of RAM, and I'm only using 10GB right now.

It seems independent of the amount of CPU usage, or memory usage.

I'm tempted to try a reinstall, except the normal live USB images don't work on my system which makes it tricky to install (I have an nVidia video card, and I have my internal Intel video chipset disabled -- because it was causing trouble).
motoryzen
Level 10
Level 10
Posts: 3474
Joined: Sun Dec 08, 2019 12:25 am

Re: v21.1: Alt-Tab slow to start

Post by motoryzen »

endlisnis...have you tried just setting the scaling back to default/stock/100% ..just to see if there is a performance difference? I'm not saying stick with that if your monitor's are of a size that is ..in your opinion big enough to warrant such a much different zoom/visual scaling level.

Just to rule it out.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
endlisnis
Level 2
Level 2
Posts: 61
Joined: Tue Jan 27, 2015 10:59 am

Re: v21.1: Alt-Tab slow to start

Post by endlisnis »

motoryzen wrote: Tue Mar 28, 2023 11:02 pm endlisnis...have you tried just setting the scaling back to default/stock/100% ..just to see if there is a performance difference? I'm not saying stick with that if your monitor's are of a size that is ..in your opinion big enough to warrant such a much different zoom/visual scaling level.

Just to rule it out.
Hrrm... I had not tried that out, thanks for the suggestion. That has a very big impact on this bug. When I set it back to 100%, there is almost no delay.

Unfortunately, I use that scaling factor because (without it) many of my applications are challenging to use (the fonts and controls are SO SMALL that they are hard to see).
motoryzen
Level 10
Level 10
Posts: 3474
Joined: Sun Dec 08, 2019 12:25 am

Re: v21.1: Alt-Tab slow to start at 200%

Post by motoryzen »

Unfortunately, I use that scaling factor because (without it) many of my applications are challenging to use (the fonts and controls are SO SMALL that they are hard to see).
I can definitely empathize with that. When I went from my acer 144hz 1440p 27 inch monitor to my now 32" UHD 144hz Viewsonic. I had to figure something out fast for Openshot

Then I stumbled on to it... I forgot the site off memory but using the following text file turned to bashscript and made executable.... problem solved

Code: Select all

#!/bin/sh
# Batch file to call OpenShot

# Enable High DPI Scaling
export QT_ENABLE_HIGHDPI_SCALING=1
# Set the Scale Factor
export QT_SCALE_FACTOR=1.33

# Launch OpenShot in the environment
/usr/bin/openshot-qt
Beyond openshot, sorry I haven't any ideas yet without knowing what software you referred to.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
endlisnis
Level 2
Level 2
Posts: 61
Joined: Tue Jan 27, 2015 10:59 am

Re: v21.1: Alt-Tab slow to start at 200%

Post by endlisnis »

motoryzen wrote: Wed Mar 29, 2023 6:28 pm
Beyond openshot, sorry I haven't any ideas yet without knowing what software you referred to.
Well, the first one I run into is Cinnamon's own system tray. The system icons icons are so small that I can barely see them.
motoryzen
Level 10
Level 10
Posts: 3474
Joined: Sun Dec 08, 2019 12:25 am

Re: v21.1: Alt-Tab slow to start at 200%

Post by motoryzen »

Well, the first one I run into is Cinnamon's own system tray. The system icons icons are so small that I can barely see them.
Ok. Well unless you easily have more than 22 panel items imo ).... you can always increase the size of the panel to around 48 ( I think 47 makes is noticeably differently sized than 48)

** ( and ymmv given your monitor's screen size versus resolution ..remember. I'm on a 32 inch 3840x2160p screen with 100% User interface scaling aka stock in the Display settings application and 1.0 Text scaling factor in the Fonts Selection settings application, but have Segoe UI regular 14 as my Desktop font type and size ..IF..that matters ) ***
Last edited by SMG on Thu Mar 30, 2023 5:46 pm, edited 1 time in total.
Reason: Changed c tags to quote tags so post does not require horizontal scoll bars.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
endlisnis
Level 2
Level 2
Posts: 61
Joined: Tue Jan 27, 2015 10:59 am

Re: v21.1: Alt-Tab slow to start at 200%

Post by endlisnis »

you can always increase the size of the panel to around 48
Yes, I've been able to resize the panel itself, but not the icons in the system tray. Like the one that shows the audio volume, or the network stat, or that updates are waiting. Those are still tiny.
Locked

Return to “Cinnamon”