https://bugs.kde.org/show_bug.cgi?id=455521

--- Comment #22 from breakingsp...@gmail.com ---
Hey all! I've tested using neon-testing-20220816-1836.iso and found some
things. The changes to the Windowheap duration are there and match up precisely
with the rest of Kwin on my desktop and laptop at default config. To note, my
desktop has AMDGPU and laptop has a basic Intel chip, but neither GPU or their
driver made a difference in Kwin... until I started playing with Vsync:

Bypassing Vsync with env variables seems to cause at least one effect (the
older Slide Back) to animate at the unlocked rate. It's only *slightly* faster
and much less noticeable on the embedded Intel (~50-60fps), while it's close to
instant and horrible on the AMD desktop (Kwin FPS meter reports 144 but seems
like 300+fps on that effect). The new Windowheap effects (and 9 out of 10 other
effects I tried like Minimize/Open/Close) are not affected by this, and respect
the duration regardless of sync/refresh rate. 

I narrowed down this Vsync variable for testing, and can replicate the behavior
to a T by logging in again after setting and enabling Slide Back. Reloading
plasmashell + kwin_x11 in the same session doesn't apply it, only a full
logoff/logon:

echo "export KWIN_X11_NO_SYNC_TO_VBLANK=1" >
$HOME/.config/plasma-workspace/env/vsync.sh

Not sure yet which all effects are affected, or if other vsync parameters could
cause others to be thrown off, but it's evident some portion of Kwin may be
tied to Vsync/refresh rate and indirectly touching durations/timings. I'm
interested in digging deeper and finding out what's going on in detail. 

How does this factor in with y'alls setups and animations? Vsync on or off in
your day-to-day, and does it make a difference if you toggle? I've always set
Vsync on using xorg.conf (TearFree in AMDGPU driver and
ForceFullCompositionPipeline in Nvidia for years previous), but i'm sure
hundreds if not thousands of users have a vsync preference that this might
affect.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to