-
-
Notifications
You must be signed in to change notification settings - Fork 589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terrible latency with compton v6 compared to v5.1 on AMD #139
Comments
|
Adding
Edit:Is this right that adding Edit2:I just installed the old v5.1 Arch package to test and compare and the latency there is much better. So while |
Yes. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
So, I bought a new RX590 just to test out this lag. To me it is pretty much indistinguishable between 5.1 and 6. |
Starting 5.1 like this shows close to no latency for me when moving windows around:
When switching to opengl-swc, I seem to get one frame delay added to the window movement:
I'm testing by grabbing a window with the mouse pointer and moving it around fast so that the mouse pointer jumps a good distance from frame to frame. With "opengl-swc", there's a gap between the current mouse pointer position and the moving window. The distance seems to be about how much the mouse pointer jumps from spot to spot on my 60Hz monitor while moving. That's where my "one frame delay" guess comes from. With "opengl", the window is positioned closer to the current mouse pointer position than the previous mouse pointer position. Trying to think about what I might have tweaked here for me, I vaguely remember something about Mesa's
|
I'm really certain that using |
I just read about this: http://www.phoronix.com/scan.php?page=news_item&px=NVIDIA-KDE-High-CPU-Fix
Edit: Nope, it's a workaround on KWin side. Busy wait still not fixed :( |
should have been addressed by frame pacing. |
// The template below is for reporting bugs. For feature requests and others, feel free to delete irrelevant entries.
Platform
Arch Linux
GPU, drivers, and screen setup
AMD RTX 480, Mesa, one 60Hz monitor
xf86-video-amdgpu = 19.0.1
mesa = 19.0.0
Environment
XFCE, xfwm4 4.12.5
Compton version
Compton configuration:
Steps of reproduction + Expected behavior + Current Behavior
Grabbing a window and moving it around in circles while staring at the mouse pointer, you can see the window following the mouse pointer at a much larger distance compared to how Compton v5.1 behaved.
In v5.1, the moving window and mouse pointer were very close together. There seemed to be less than one frame of distance between the two. I was guessing this "less than one frame" by moving the mouse pointer in circles fast enough that I could see it jump a good distance from frame to frame on a 60 Hz monitor, for example one inch of distance. When grabbing a window while doing those fast circles, the window was closer to the current mouse pointer position than to the previous mouse pointer position, so I'm thinking it was less than a frame of latency.
My guess would be that v6 is now using what was previously the setting
vsync = "opengl-swc"
. In v5.1, using 'opengl-swc' produced a similar degraded latency as what I'm seeing here right now with v6. In v5.1, using 'opengl' had a much better behavior than 'opengl-swc' for me here.The text was updated successfully, but these errors were encountered: