FS#58782 - [xorg-server] Crippling performance regressions in combination with xf86-video-amdgpu and TearFree

Attached to Project: Arch Linux
Opened by Aaron Muir Hamilton (microcode) - Tuesday, 29 May 2018, 16:53 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 11 July 2019, 12:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
I noticed a considerable regression in performance, causing window drags and damage repaints to lag more than a second behind, when I upgraded to xorg-server-1.20.0-2 from xorg-server-1.19.6-2.

I looked into it, and isolated the problem to xserver/xorg-server. I then tried to bisect, but when I tried building the tagged 1.20 release, I could not find the same issue. The main difference seems to be that the official archlinux package uses meson instead of autotools (which I used to try this). I think there may be issues with the way the meson build is set up, similar to what happened with the switch to meson for Mesa.

Additional info:
* xorg-server-1.20.0-2

This xorg config section is used to enable TearFree

Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "TearFree" "true"
EndSection

Steps to reproduce:
Open an Xorg server with TearFree enabled (but no compositing window manager) on xf86-video-amdgpu.
Open two windows.
Move one window over the other.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Thursday, 11 July 2019, 12:33 GMT
Reason for closing:  Upstream
Comment by loqs (loqs) - Wednesday, 30 May 2018, 15:07 GMT Comment by Aaron Muir Hamilton (microcode) - Saturday, 02 June 2018, 15:45 GMT
Still present with xorg-server-1.20-5
Comment by Aaron Muir Hamilton (microcode) - Saturday, 09 June 2018, 21:40 GMT
Still present with xorg-server-1.20-6
Comment by Aaron Muir Hamilton (microcode) - Monday, 11 June 2018, 21:12 GMT
Still present with xorg-server-1.20-7
Comment by Aaron Muir Hamilton (microcode) - Monday, 18 June 2018, 22:36 GMT
Still present with xorg-server-1.20-8
Comment by Aaron Muir Hamilton (microcode) - Saturday, 19 January 2019, 13:29 GMT
Still present on xorg-server-1.20.3-1, and now I've confirmed the same issue on Radeon RX Vega 64, as well as my other machine (where I found this issue first) which has a Radeon WX 7100.
Comment by Darek (blablo) - Sunday, 27 January 2019, 10:30 GMT Comment by Darek (blablo) - Friday, 01 February 2019, 17:13 GMT Comment by Andreas Radke (AndyRTR) - Thursday, 11 July 2019, 12:32 GMT
https://bugs.freedesktop.org/show_bug.cgi?id=108917 investigation still ongoing. >Upstream

Loading...