<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - pageflipping seems to cause jittering on mouse input when running Hitman 2 in Wine/DXVK with amdgpu.dc=1"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110659#c19">Comment # 19</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - pageflipping seems to cause jittering on mouse input when running Hitman 2 in Wine/DXVK with amdgpu.dc=1"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110659">bug 110659</a>
from <span class="vcard"><a class="email" href="mailto:nicholas.kazlauskas@amd.com" title="Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>"> <span class="fn">Nicholas Kazlauskas</span></a>
</span></b>
<pre>(In reply to tempel.julian from <a href="show_bug.cgi?id=110659#c18">comment #18</a>)
<span class="quote">> Huh, with modesetting driver, those patches eliminate the stutter when new
> windows are shown. Does the xf86-video-amdgpu driver need adjustments for
> this?</span >
It should eliminate stuttering for that case in xf86-video-amdgpu if it's the
problem I think it is (double buffering the cursor).
<span class="quote">>
> However, turning on nightlight in Plasma Wayland still causes stutter, which
> is not there with amdgpu.dc=0.</span >
1. Gamma updates are slow updates that do a lot of register programming.
Nightlight and RedShift issue a lot of these updates.
2. Gamma updates, like everything that isn't a cursor update, currently target
the next vblank period.
3. If the pageflip is in a separate commit or update than the gamma update,
then it'll need to wait for the gamma update to finish and for the next vblank
interval. If this takes too long then we might miss the next vblank interval
and have to wait for the one after that.
I think it's a combination of these 3 issues. Even though it's Wayland and
should be using the full atomic API, I'm not sure if plasma is actually issuing
all that state in the same commit or not.
My guess would be no, since you're seeing the stuttering. We do have a bug with
(2) for legacy gamma updates, since there isn't really any reason those should
be waiting for the next flip / vblank other than to be consistent with the rest
of the atomic commit framework.
<span class="quote">> RedShift btw. is completely broken with amdgpu.dc=1 + modesetting DDX, it
> simply has no effect anymore (not related to the experimental atomic
> modesetting patches).</span >
Not sure what the issue here would be. Gamma seems to work fine for legacy and
atomic on amdgpu (we pass the IGT tests for this) and it works fine in legacy
desktops like GNOME on Xorg with the xf86-video-amdgpu DDX.
Was this still on Plasma, but on X?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>