Discussion:
[Bug 107485] New: TearFree no longer functional
b***@freedesktop.org
2018-08-04 14:40:54 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=107485

Bug ID: 107485
Summary: TearFree no longer functional
Product: xorg
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/AMDgpu
Assignee: xorg-driver-***@lists.x.org
Reporter: ***@kupulau.com
QA Contact: xorg-***@lists.x.org

With the latest git, I am now seeing a great deal of tearing.

Possibly useful: my monitor is rotated.

The card is an Rx550.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-08-06 09:13:43 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=107485

--- Comment #1 from Michel DÀnzer <***@daenzer.net> ---
Please attach the corresponding Xorg log file and the output of xrandr --prop.

Which Git commit are you using exactly?
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-08-06 09:51:18 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=107485

--- Comment #2 from Greg White <***@kupulau.com> ---
Created attachment 140972
--> https://bugs.freedesktop.org/attachment.cgi?id=140972&action=edit
xorg.0.log
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-08-06 09:51:44 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=107485

--- Comment #3 from Greg White <***@kupulau.com> ---
Created attachment 140973
--> https://bugs.freedesktop.org/attachment.cgi?id=140973&action=edit
xrandr --prop
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-08-06 09:52:21 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=107485

--- Comment #4 from Greg White <***@kupulau.com> ---
Git is at 08c4d42f43f80baa4bbc2ff9d0a422202cdc3538 (head as of now.)
Logs/props attached.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-08-16 14:38:20 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=107485

--- Comment #5 from Michel DÀnzer <***@daenzer.net> ---
Does https://patchwork.freedesktop.org/patch/244860/ fix it?

If not, can you bisect which commit introduced the problem?
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-08-16 16:48:14 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=107485

--- Comment #6 from Greg White <***@kupulau.com> ---
I just rebuilt from git (with HEAD at
f6cd72e64e85896b6d155bee0930e59771dcb701 / Use correct FB handle in
amdgpu_do_pageflip) and TearFree seems to be working. I also only see this in
Xorg.0.log:

[ 2843.868] (WW) AMDGPU(0): get vblank counter failed: Invalid argument
[ 2843.910] (WW) AMDGPU(0): get vblank counter failed: Invalid argument
[ 2844.064] (WW) AMDGPU(0): get vblank counter failed: Invalid argument
[ 2844.566] (II) AMDGPU(0): EDID vendor "GSM", prod id 23305
[ 2844.566] (II) AMDGPU(0): Using hsync ranges from config file
[ 2844.566] (II) AMDGPU(0): Using vrefresh ranges from config file
[ 2844.566] (II) AMDGPU(0): Printing DDC gathered Modelines:
[ 2844.566] (II) AMDGPU(0): Modeline "3840x2160"x0.0 533.25 3840 3888 3920
4000 2160 2214 2219 2222 +hsync -vsync (133.3 kHz eP)
[ 2844.566] (II) AMDGPU(0): Modeline "3840x2160"x0.0 266.64 3840 3848 3992
4000 2160 2214 2219 2222 +hsync -vsync (66.7 kHz e)
[ 2844.566] (II) AMDGPU(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052
2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[ 2844.566] (II) AMDGPU(0): Modeline "2560x1440"x0.0 241.50 2560 2608 2640
2720 1440 1443 1448 1481 +hsync -vsync (88.8 kHz e)
[ 2844.566] (II) AMDGPU(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430
1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[ 2844.566] (II) AMDGPU(0): Modeline "720x480"x0.0 27.00 720 736 798 858
480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 2844.566] (II) AMDGPU(0): Modeline "640x480"x0.0 25.18 640 656 752 800
480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 2844.566] (II) AMDGPU(0): Modeline "800x600"x0.0 40.00 800 840 968 1056
600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 2844.566] (II) AMDGPU(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184
1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 2844.566] (II) AMDGPU(0): Modeline "1152x864"x60.0 81.75 1152 1216 1336
1520 864 867 871 897 -hsync +vsync (53.8 kHz e)
[ 2844.566] (II) AMDGPU(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440
1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 2844.566] (II) AMDGPU(0): Modeline "1600x900"x59.9 118.25 1600 1696 1856
2112 900 903 908 934 -hsync +vsync (56.0 kHz e)
[ 2844.566] (II) AMDGPU(0): Modeline "1280x800"x0.0 83.50 1280 1352 1480
1680 800 803 809 831 -hsync +vsync (49.7 kHz e)
[ 2847.020] (WW) AMDGPU(0): flip queue failed: Device or resource busy
[ 2847.020] (WW) AMDGPU(0): Page flip failed: Device or resource busy
[ 2847.020] (EE) AMDGPU(0): present flip failed
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-08-17 08:10:09 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=107485

Michel DÀnzer <***@daenzer.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED

--- Comment #7 from Michel DÀnzer <***@daenzer.net> ---
Thanks for the report, fixed in Git master:

commit f6cd72e64e85896b6d155bee0930e59771dcb701
Author: Michel DÀnzer <***@amd.com>
Date: Thu Aug 16 16:31:01 2018 +0200

Use correct FB handle in amdgpu_do_pageflip
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...