Skip to contentSkip to conversation

Flicker/tearing on MacBook Pro 11.5 Ubuntu 18.04

Bug 107053 [email protected] 1 participant 5 messages Jun 27, 2018 – Jun 29, 2018

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 107053
Summary: Flicker/tearing on MacBook Pro 11.5 Ubuntu 18.04
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: [email protected]
Reporter: [email protected]

Created attachment 140366
--> https://bugs.freedesktop.org/attachment.cgi?id=140366&action=edit
xorg log

Symptom: flicker or tearing (not sure what to call it) at the bottom of the screen as seen in this videos:
Fedora 28 (old install): https://www.youtube.com/watch?v=q9tHH2LdYOc
Ubuntu 18.04 (currently installed, with glxgears info in description):
https://youtu.be/CsFHt74HY3A

Tested on: Debian Jessie KDE, Kubuntu 18.04, Fedora 28, Elementary OS Loki, Ubuntu 18.04, all exact same symptom.

Hardware: Macbook Pro 11.5

lshw:
*-display
description: VGA compatible controller
product: Venus XT [Radeon HD 8870M / R9 M270X/M370X]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: 83
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=radeon latency=0
resources: irq:51 memory:80000000-8fffffff memory:b0c00000-b0c3ffff
ioport:3000(size=256) memory:b0c40000-b0c5ffff

Added TearFree, DRI3 and glamor to try to remedy the symptom, nothing changed:
cat /usr/share/X11/xorg.conf.d/20-radeon.conf
Section "Device"
Identifier "Radeon"
Driver "radeon"
Option "TearFree" "on"
Option "DRI" "3"
Option "AccelMethod" "glamor"
EndSection

Xorg log attached. Some device busy errors seen at the bottom, not sure if it has any relation.

Nothing really interesting in dmesg.

Symptop appears even at single monitor, however, my current setup is triple external plus native hidpi:
xrandr --fbmm 11520x4200 --output eDP --pos 4320x2400 --mode 2880x1800 --scale 1x1 --primary --output DisplayPort-1 --pos 0x0 --mode 1920x1200 --scale 2x2 --output DisplayPort-0 --pos 3840x0 --mode 1920x1200 --scale 2x2 --output HDMI-0 --pos 7680x0 --mode 1920x1200 --scale 2x2

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #140366|text/x-log                  |text/plain
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

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

--- Comment #2 from [email protected] ---
Created attachment 140367
--> https://bugs.freedesktop.org/attachment.cgi?id=140367&action=edit
dmesg

attached dmesg

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

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

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         QA Contact|                            |[email protected]
            Product|DRI                         |xorg
           Assignee|[email protected] |[email protected]
                   |.org                        |
            Version|unspecified                 |git
          Component|DRM/Radeon                  |Server/Ext/DRI

--- Comment #3 from Michel Dänzer <[email protected]> ---

Quoted 1 line

From the Xorg log file:

[   158.424] (WW) RADEON(0): flip queue failed: Device or resource busy
[   158.424] (WW) RADEON(0): Page flip failed: Device or resource busy
[   158.424] (EE) RADEON(0): present flip failed

This looks like a page flip is attempted while another one is still pending. Unfortunately, handling that better turns out to be a surprisingly tricky problem, but I think the best place would be xserver/present/present_scmd.c, delaying the page flip until the previous one has completed.

Meanwhile, if you can try a GNOME on Wayland session, that might work better.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel