All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 103317] Tearing in WQHD, but not in FHD
@ 2017-10-17 19:19 bugzilla-daemon
  2017-10-17 19:20 ` bugzilla-daemon
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-17 19:19 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1606 bytes --]

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

            Bug ID: 103317
           Summary: Tearing in WQHD, but not in FHD
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: torkes94@gmail.com

Created attachment 134888
  --> https://bugs.freedesktop.org/attachment.cgi?id=134888&action=edit
X server log

Hi all,

I'm using Arch Linux with kernel 4.13.5-1-ARCH, Xorg 1.19.5 and the amdgpu
driver, version 1.4. My GPU is a R9 390. I attached the X server log.
My window manager is i3.

Entries in xorg.conf.d:

20-amdgpu.conf

Section "Device"
        Identifier "AMD R9 390"
        Driver "amdgpu"
        Option "DRI" "3"
        Option "TearFree" "true"
EndSection

With this setup I experience screen tearing and flickering on a WQHD monitor.
Enabling a compositor like compton makes these effects worse.
I can reproduce this issue on the same machine with KDE instead of i3.
To give you an idea of my problem, I captured a scene from the RTS 0ad:

https://youtu.be/ZhjPpB7djyk

The same kind of flickering and tearing also happens in desktop mode. It seems
to appear randomly.
However, the problem disappears when I'm using the radeonsi driver or changing
the resolution to FHD. In both cases everything is fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3114 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 103317] Tearing in WQHD, but not in FHD
  2017-10-17 19:19 [Bug 103317] Tearing in WQHD, but not in FHD bugzilla-daemon
@ 2017-10-17 19:20 ` bugzilla-daemon
  2017-10-18 13:47 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-17 19:20 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 309 bytes --]

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

--- Comment #1 from Torsten Kessler <torkes94@gmail.com> ---
Created attachment 134889
  --> https://bugs.freedesktop.org/attachment.cgi?id=134889&action=edit
Dmesg output

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1174 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 103317] Tearing in WQHD, but not in FHD
  2017-10-17 19:19 [Bug 103317] Tearing in WQHD, but not in FHD bugzilla-daemon
  2017-10-17 19:20 ` bugzilla-daemon
@ 2017-10-18 13:47 ` bugzilla-daemon
  2017-10-18 13:47 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-18 13:47 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 427 bytes --]

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #134888|text/x-log                  |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1076 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 103317] Tearing in WQHD, but not in FHD
  2017-10-17 19:19 [Bug 103317] Tearing in WQHD, but not in FHD bugzilla-daemon
  2017-10-17 19:20 ` bugzilla-daemon
  2017-10-18 13:47 ` bugzilla-daemon
@ 2017-10-18 13:47 ` bugzilla-daemon
  2017-10-18 13:54 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-18 13:47 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 427 bytes --]

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #134889|text/x-log                  |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1076 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 103317] Tearing in WQHD, but not in FHD
  2017-10-17 19:19 [Bug 103317] Tearing in WQHD, but not in FHD bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-10-18 13:47 ` bugzilla-daemon
@ 2017-10-18 13:54 ` bugzilla-daemon
  2017-10-18 17:03 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-18 13:54 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 419 bytes --]

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

--- Comment #2 from Michel Dänzer <michel@daenzer.net> ---
Please attach the output of

 xrandr --verbose

while the problem occurs (i.e. while e.g. 0ad is running and showing
flickering).

Does not enabling TearFree or

 Option "EnablePageFlip" "off"

avoid the problem?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1187 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 103317] Tearing in WQHD, but not in FHD
  2017-10-17 19:19 [Bug 103317] Tearing in WQHD, but not in FHD bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-10-18 13:54 ` bugzilla-daemon
@ 2017-10-18 17:03 ` bugzilla-daemon
  2017-10-19  8:48 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-18 17:03 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 664 bytes --]

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

--- Comment #3 from Torsten Kessler <torkes94@gmail.com> ---
Created attachment 134912
  --> https://bugs.freedesktop.org/attachment.cgi?id=134912&action=edit
Output of xrandr --verbose

As suggested I turned EnablePageFlip off:

Section "Device"
        Identifier "AMD R9 390"
        Driver "amdgpu"
        Option "DRI" "3"
        Option "EnablePageFlip" "off"
#       Option "TearFree" "true"
EndSection

But this doesn't avoid the problem. As before, everything works fine when I
switch to FHD or radeonsi.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1647 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 103317] Tearing in WQHD, but not in FHD
  2017-10-17 19:19 [Bug 103317] Tearing in WQHD, but not in FHD bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-10-18 17:03 ` bugzilla-daemon
@ 2017-10-19  8:48 ` bugzilla-daemon
  2017-10-19  8:56 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-19  8:48 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 427 bytes --]

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #134912|text/x-log                  |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1076 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 103317] Tearing in WQHD, but not in FHD
  2017-10-17 19:19 [Bug 103317] Tearing in WQHD, but not in FHD bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-10-19  8:48 ` bugzilla-daemon
@ 2017-10-19  8:56 ` bugzilla-daemon
  2017-10-20 18:32 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-19  8:56 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 838 bytes --]

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

--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Torsten Kessler from comment #3)
> As suggested I turned EnablePageFlip off:
[...]
> But this doesn't avoid the problem.

Please attach the corresponding Xorg log file.


> As before, everything works fine when I switch to FHD or radeonsi.

You cannot "switch to radeonsi", I assume you mean when you use the radeon
kernel driver instead of amdgpu. The Mesa radeonsi driver is used in both
cases.

You might want to try a kernel built from the amd-staging-drm-next branch of
https://cgit.freedesktop.org/~agd5f/linux/ with CONFIG_DRM_AMD_DC=y at build
time and amdgpu.dc=1 at runtime, to see if that works better.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1786 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 103317] Tearing in WQHD, but not in FHD
  2017-10-17 19:19 [Bug 103317] Tearing in WQHD, but not in FHD bugzilla-daemon
                   ` (6 preceding siblings ...)
  2017-10-19  8:56 ` bugzilla-daemon
@ 2017-10-20 18:32 ` bugzilla-daemon
  2017-10-22 15:49 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-20 18:32 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 608 bytes --]

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

--- Comment #5 from Torsten Kessler <torkes94@gmail.com> ---
Created attachment 134943
  --> https://bugs.freedesktop.org/attachment.cgi?id=134943&action=edit
Second Xorg log with EnablePageFlip turned off

You're right. I was mixing things up. I meant loading the radeon module and
blacklisting the amdgpu module solves the issue.
I'm just downloading the kernel from the amd-staging-drm-next branch. I will
see tomorow if it helps. Thank you for your help so far!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1541 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 103317] Tearing in WQHD, but not in FHD
  2017-10-17 19:19 [Bug 103317] Tearing in WQHD, but not in FHD bugzilla-daemon
                   ` (7 preceding siblings ...)
  2017-10-20 18:32 ` bugzilla-daemon
@ 2017-10-22 15:49 ` bugzilla-daemon
  2017-10-23  9:48 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-22 15:49 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 614 bytes --]

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

--- Comment #6 from Torsten Kessler <torkes94@gmail.com> ---
The new display engine (amdgpu.dc=1) definitely helps. It nearly eliminates the
flickering during videos or browsing. It has no effect on 3D applications, for
example 0ad.
There seems to be a bug in the amd-staging-drm-next branch. Rotating the screen
with xrandr results in a blackscreen. But this will be a different bug report.
That's why I using the kernel from the amd-staging-4.13 branch with
amdgpu.dc=1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1363 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 103317] Tearing in WQHD, but not in FHD
  2017-10-17 19:19 [Bug 103317] Tearing in WQHD, but not in FHD bugzilla-daemon
                   ` (8 preceding siblings ...)
  2017-10-22 15:49 ` bugzilla-daemon
@ 2017-10-23  9:48 ` bugzilla-daemon
  2017-10-23  9:50 ` bugzilla-daemon
  2019-11-19  8:24 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-23  9:48 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 427 bytes --]

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #134943|text/x-log                  |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1076 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 103317] Tearing in WQHD, but not in FHD
  2017-10-17 19:19 [Bug 103317] Tearing in WQHD, but not in FHD bugzilla-daemon
                   ` (9 preceding siblings ...)
  2017-10-23  9:48 ` bugzilla-daemon
@ 2017-10-23  9:50 ` bugzilla-daemon
  2019-11-19  8:24 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-23  9:50 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 873 bytes --]

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harry.wentland@amd.com,
                   |                            |jordan.lazare@amd.com

--- Comment #7 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Torsten Kessler from comment #6)
> The new display engine (amdgpu.dc=1) definitely helps. It nearly eliminates
> the flickering during videos or browsing. It has no effect on 3D
> applications, for example 0ad.

Adding DC developers to Cc. I'm afraid at this point it's unlikely that this
issue will be fixed in the non-DC code.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 103317] Tearing in WQHD, but not in FHD
  2017-10-17 19:19 [Bug 103317] Tearing in WQHD, but not in FHD bugzilla-daemon
                   ` (10 preceding siblings ...)
  2017-10-23  9:50 ` bugzilla-daemon
@ 2019-11-19  8:24 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-11-19  8:24 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 805 bytes --]

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

Martin Peres <martin.peres@free.fr> changed:

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

--- Comment #8 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/246.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2317 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-11-19  8:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-17 19:19 [Bug 103317] Tearing in WQHD, but not in FHD bugzilla-daemon
2017-10-17 19:20 ` bugzilla-daemon
2017-10-18 13:47 ` bugzilla-daemon
2017-10-18 13:47 ` bugzilla-daemon
2017-10-18 13:54 ` bugzilla-daemon
2017-10-18 17:03 ` bugzilla-daemon
2017-10-19  8:48 ` bugzilla-daemon
2017-10-19  8:56 ` bugzilla-daemon
2017-10-20 18:32 ` bugzilla-daemon
2017-10-22 15:49 ` bugzilla-daemon
2017-10-23  9:48 ` bugzilla-daemon
2017-10-23  9:50 ` bugzilla-daemon
2019-11-19  8:24 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.