Skip to contentSkip to conversation

Graphical artifacts on unresposible surfaces on AMD Radeon RX 570

Bug 105910 [email protected] 1 participant 14 messages Apr 5, 2018 – Jan 4, 2019

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 105910
Summary: Graphical artifacts on unresposible surfaces on AMD
Radeon RX 570
Product: Mesa
Version: 17.3
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 138627
--> https://bugs.freedesktop.org/attachment.cgi?id=138627&action=edit
Example of artifacts

Hello,

I want to report some graphical artifacts with AMD Radeon RX 570 card.

I've been noticing some random artifacts when I open/resize/close windows. I was able to narrow down this problem to mesa surfaces updating. For instance if i suspend program with such surface and try to resize it, I will see these artifacts. So I think there is a moment between receiving resize event and updating surface when driver somehow render those artifacts.

I'm using Arch Linux with i3, but I was able to reproduce this bug on wayland by resizing alacritty terminal emulator.

Versions:
Kernel:

4.15.14-1-ARCH

Mesa:

libva-mesa-driver 17.3.7-1
mesa 17.3.7-1
mesa-vdpau 17.3.7-1
xf86-video-amdgpu 18.0.1-1

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=105910

--- Comment #1 from Ivan Chebykin <[email protected]> --- Created attachment 138628
--> https://bugs.freedesktop.org/attachment.cgi?id=138628&action=edit
Artifacts when window is opening

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

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Ivan Chebykin <[email protected]> --- Created attachment 138629
--> https://bugs.freedesktop.org/attachment.cgi?id=138629&action=edit
Xeyes render artifacts instead of background

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=105910

--- Comment #3 from Ivan Chebykin <[email protected]> --- Created attachment 138630
--> https://bugs.freedesktop.org/attachment.cgi?id=138630&action=edit
dmesg full log

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=105910

--- Comment #4 from Ivan Chebykin <[email protected]> --- Created attachment 138631
--> https://bugs.freedesktop.org/attachment.cgi?id=138631&action=edit
glxinfo

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

#5 lore raw
In reply to [email protected]

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

--- Comment #5 from Ivan Chebykin <[email protected]> --- Created attachment 138632
--> https://bugs.freedesktop.org/attachment.cgi?id=138632&action=edit
Xorg log

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

#6 lore raw

[Bug 105910] Graphical artifacts on unresponsible surfaces on AMD Radeon RX 570

In reply to [email protected]

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

Ivan Chebykin <[email protected]> changed:

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

            Summary|Graphical artifacts on      |Graphical artifacts on
                   |unresposible surfaces on    |unresponsible surfaces on
                   |AMD Radeon RX 570           |AMD Radeon RX 570
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

#7 lore raw

[Bug 105910] Graphical artifacts on unresponsible surfaces on AMD Radeon RX 570

In reply to [email protected]

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

Ivan Chebykin <[email protected]> changed:

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

         QA Contact|[email protected] |
                   |.org                        |
            Version|17.3                        |DRI git
            Product|Mesa                        |DRI
          Component|Drivers/Gallium/radeonsi    |DRM/AMDgpu

--- Comment #6 from Ivan Chebykin <[email protected]> --- I think it's not just mesa, but some drivers issue.

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

#8 lore raw

[Bug 105910] Graphical artifacts on unresponsible surfaces on AMD Radeon RX 570

In reply to [email protected]

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

--- Comment #7 from Ivan Chebykin <[email protected]> --- Also still happens on linux 4.16 and mesa 18.0.2.

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

#9 lore raw

[Bug 105910] Graphical artifacts on unresponsible surfaces on AMD Radeon RX 570

In reply to [email protected]

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

Ivan Chebykin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |major

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

#10 lore raw

[Bug 105910] Graphical artifacts on unresponsible surfaces on AMD Radeon RX 570

In reply to [email protected]

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

--- Comment #8 from [email protected] ---
I'm also having graphical artifacts with i3. I have an amd rx 580. Here's a thread with the issues I was getting:
https://bbs.archlinux.org/viewtopic.php?id=242727

I have also tried taking out my rx 580 card out of my computer and uninstalled AMDGPU and tried running i3 through my iGPU, i7-7700k CPU. I still had graphical artifacts when I tried that.

Here is a vid of the artifacting:
https://streamable.com/yg3us
https://my.mixtape.moe/bdxwtc.ogv

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

#11 lore raw

[Bug 105910] Graphical artifacts on unresponsible surfaces on AMD Radeon RX 570

In reply to [email protected]

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

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

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

 Attachment #138632|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

#12 lore raw

[Bug 105910] Graphical artifacts on unresponsible surfaces on AMD Radeon RX 570

In reply to [email protected]

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

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

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #9 from Michel Dänzer <[email protected]> ---
At least with xeyes, this is expected with i3, see
https://github.com/i3/i3/issues/2742#issuecomment-433304928 and later comments.

I suspect it could be similar with VirtualBox.

The issue with alacritty on Wayland is probably different, maybe in Xwayland, or if it uses the Wayland protocol directly, maybe one of the known issues described on https://github.com/jwilm/alacritty =>
https://github.com/tomaka/winit/issues/306 .

Anyway, I don't see clear evidence of a driver bug here.

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

#13 lore raw

[Bug 105910] Graphical artifacts on unresponsible surfaces on AMD Radeon RX 570

In reply to [email protected]

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

--- Comment #10 from Michel Dänzer <[email protected]> ---
Things are increasingly pointing to this being an i3 bug. It creates a cairo surface with cairo_xcb_surface_create and copies from that to its parent window. But according to /usr/include/cairo/cairo.h, cairo doesn't initialize the contents of a surface created with cairo_xcb_surface_create, so i3 needs to initialize them explicitly.

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