Aylur / ags

A customizable and extensible shell
GNU General Public License v3.0
2.08k stars 108 forks source link

Laggy transitions #184

Open PoSayDone opened 10 months ago

PoSayDone commented 10 months ago

Hi, I have this issue: If I use transitions on windows with a large number of widgets, window opening animations are incredibly laggy, but the window closing animations don't lag. This problem does not occur on windows with a small number of widgets, such as OSD. Also this problem does not show up on my full hd monitor, but only on my laptop screen, with a resolution of 2880x1800@90. It does not matter what type of animation to use: crossfade or slide, the problem occurs in any case. I also tried to put the maximum frequency for my GPU, but it did not help much.

PoSayDone commented 10 months ago

A video demonstrating the issue (it's only 60fps, but on 90hz screen it much more laggy):

https://github.com/Aylur/ags/assets/29358657/b9dbf201-3610-4a14-8e58-a645355a86af

its-darsh commented 10 months ago

what is your system specs and what graphic drivers you're using?

PoSayDone commented 10 months ago

what is your system specs and what graphic drivers you're using?

I7 1360p with IGPU

its-darsh commented 10 months ago

I7 1360p with IGPU

what graphics drivers you're in and what is your hyprland version

PoSayDone commented 10 months ago

I7 1360p with IGPU

what graphics drivers you're in and what is your hyprland version

Mesa 23.1.9 Hyprland latest git (646f4bc63861e03b01fed3833bb65d1d014e1bf3)

its-darsh commented 10 months ago

what graphics drivers you're in and what is your hyprland version

Mesa 23.1.9 Hyprland latest git (646f4bc63861e03b01fed3833bb65d1d014e1bf3)

downgrading to 0.28.0 fix's that?

daUnknownCoder commented 10 months ago

I also have a same issue

Kooha-2023-11-28-20-49-52.webm

the transitions of workspaces is laggy... hyprland 0.30.0-1 [pacman]

image

neofetch data [system data]

PoSayDone commented 9 months ago

I've tried to disable scaling on my laptop monitor and now animations are buttery smooth. But when I set my previous scale value (1.8) or 2.0 It's lagging as before. (my monitor resolution is 2880x1800 if needed)

Aylur commented 9 months ago

this might be a limitation with gtk3, not sure what might be causing this

daUnknownCoder commented 9 months ago

I've tried to disable scaling on my laptop monitor and now animations are buttery smooth.

how can we do that?

PoSayDone commented 9 months ago

I've tried to disable scaling on my laptop monitor and now animations are buttery smooth.

how can we do that?

I was using 1.8 scale in my hyprland config cause I've got HIDPI monitor

PoSayDone commented 8 months ago

what graphics drivers you're in and what is your hyprland version

Mesa 23.1.9 Hyprland latest git (646f4bc63861e03b01fed3833bb65d1d014e1bf3)

downgrading to 0.28.0 fix's that?

can't test, 0.28.0 version not starting on my laptop with: [CRITICAL] m_sWLRRenderer was NULL