[Bug 110659] pageflipping seems to cause jittering on mouse input when running Hitman 2 in Wine/DXVK with amdgpu.dc=1

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 29 20:56:40 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110659

--- Comment #20 from tempel.julian at gmail.com ---
I forgot that I patched this PR into my Xserver:
https://gitlab.freedesktop.org/xorg/xserver/merge_requests/36
It is responsible for the blocked gamma adjustment and the better desktop
window performance of the modesetting Xorg driver with the experimental atomic
modesetting kernel patches vs. the xf86-video-amdgpu driver.

So, since everything got a bit messy, let me recap the results and add a few
more details:

-The experimental atomic modesetting kernel patches actually improve the
performance for desktop window usage for one aspect: When I open
www.vsynctester.com in Chromium and quickly hover the mouse cursor over my
system tray to trigger popup windows, this doesn't result in stuttering
anymore. The same applies to little text popups (e.g. URLs of links) during
regular web browsing. This is the case with both modesetting and
xf86-video-amdgpu, window compositing is enabled and 100% free of tearing at
the same time.

-But there is still stutter on www.vsynctester.com in Chromium (please don't
use Firefox for this, it even stutters on MS Windows when doing this...) when I
hide and show any other window, e.g. of running Dolphin file browser by
clicking its starter icon in the taskbar. It's just the window that is shown
and hidden, the program itself continues running all the time. This applies to
both modesetting and xf86-video-amdgpu driver.

-But when I apply the aforementioned "WIP: modesetting: Use atomic more
atomically" patch to Xserver (additionally to the experimental atomic
modesetting kernel patches), the modesetting driver is also 100% free of
stutter in this situation, while the xf86-video-amdgpu-driver is not.
Question is: Can this also be incorporated into the xf86-video-amdgpu driver?
This would be a VAST improvement, the stuttering during gamma adjustments imho
is not close to being as important.

-Now back to the stutter in games when moving the mouse: This is completely
untouched by all this. The xf86-video-amdgpu driver always show stuttering in
the mentioned games (as long as amdgpu.dc=1), while modesetting and also
xwayland don't.


Oof, I hope I didn't forget anything. ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190529/090c91bc/attachment.html>


More information about the dri-devel mailing list