Skip to contentSkip to conversation

screen distortion under KDE when running without compositor

Bug 97119 [email protected] 1 participant 19 messages Aug 24, 2016 – Sep 25, 2019 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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

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

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

          Component|Driver/AMDgpu               |Drivers/Gallium/radeonsi
         QA Contact|[email protected]       |[email protected]
                   |                            |.org
            Product|xorg                        |Mesa
           Assignee|[email protected] |[email protected]
                   |                            |.org

--- Comment #5 from Michel Dänzer <[email protected]> --- Since it happens with modesetting as well, it's more likely a Mesa issue.

I wonder if this might be a duplicate of bug 97029. Maybe try if setting the environment variable R600_DEBUG=nodma for the kwin process avoids the problem.

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 a message not in the archive

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

--- Comment #6 from Michel Dänzer <[email protected]> --- Actually, it's better to set the environment variable for the Xorg process as well, since that might perform the corrupted rendering.

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 a message not in the archive

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

--- Comment #7 from Johannes Hirte <[email protected]> --- (In reply to Michel Dänzer from comment #5)

Quoted 5 lines

Since it happens with modesetting as well, it's more likely a Mesa issue.

I wonder if this might be a duplicate of bug 97029. Maybe try if setting the environment variable R600_DEBUG=nodma for the kwin process avoids the problem.

Yes, seems this fixes the distortions as well as the flickering. I've set R600_DEBUG globally, so kwin and Xorg are affected both.

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 a message not in the archive

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

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

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

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

*** This bug has been marked as a duplicate of bug 97029 ***

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 a message not in the archive

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

Johannes Hirte <[email protected]> changed:

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

             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |---

--- Comment #9 from Johannes Hirte <[email protected]> --- Reopening for tracking flickering separately from 97029.

Flickering is happening mostly with amdgpu driver. Sometimes I've observed this with modesetting too, but I can't trigger it reliable with this driver.

With amdgpu I can trigger this easily by starting a video with mpv and putting it into fullscreen. Ending the video or the fullscreen mode causes the flickering around newly created windows. I'll add a screencast how this look like.

The flickering can be stopped by starting again a video in fullscreen. As long as the video is on one virtual desktop, everything works like expected. It doesn't matter if xv, opengl, vdpau or vaapi output is used.

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
In reply to a message not in the archive

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

--- Comment #10 from Johannes Hirte <[email protected]> --- Created attachment 126033
--> https://bugs.freedesktop.org/attachment.cgi?id=126033&action=edit
screencast with flickering

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
In reply to a message not in the archive

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

--- Comment #11 from Johannes Hirte <[email protected]> --- It seems the flickering is related to the repaint rate of the screen. With video playback it's more heavy than by typing some text. The faster the typing is, the heavier the flickering becomes.

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
In reply to a message not in the archive

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

--- Comment #12 from [email protected] ---
The video resembles kwin bug: https://bugs.kde.org/show_bug.cgi?id=361154 which was fixed in plasma 5.7.4.

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
In reply to a message not in the archive

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

--- Comment #13 from Johannes Hirte <[email protected]> --- (In reply to network723 from comment #12)

Quoted 2 lines

The video resembles kwin bug: https://bugs.kde.org/show_bug.cgi?id=361154
which was fixed in plasma 5.7.4.

I'm running plasma 5.7.4 here and still have the problem. Additionally it's only affecting amdgpu systems like Carrizo. I don't see this on a Sumo system (radeon/r600). Tomorrow I can try if I can trigger this on Kabini too.

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 97119] screen flickerin under KDE when compositor was dis- and reenabled

In reply to a message not in the archive

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

Johannes Hirte <[email protected]> changed:

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

            Summary|screen distortion under KDE |screen flickerin under KDE
                   |when running without        |when compositor was dis-
                   |compositor                  |and reenabled
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 97119] screen flickerin under KDE when compositor was dis- and reenabled

In reply to a message not in the archive

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

--- Comment #14 from Michel Dänzer <[email protected]> ---
Which 'Tearing prevention ("vsync")' mode are you using in the kwin compositor settings? Maybe attach a screenshot of that settings page.

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 97119] screen flickerin under KDE when compositor was dis- and reenabled

In reply to a message not in the archive

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

--- Comment #15 from Johannes Hirte <[email protected]> --- (In reply to Michel Dänzer from comment #14)

Quoted 2 lines

Which 'Tearing prevention ("vsync")' mode are you using in the kwin compositor settings? Maybe attach a screenshot of that settings page.

Was "Automatic" , but test with "Never" shows the same behavior. I've suspected glamor to be related here, but a test on Sumo with AccelMethod glamor doesn't reproduce the error.

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 97119] screen flickerin under KDE when compositor was dis- and reenabled

In reply to a message not in the archive

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

--- Comment #16 from Christoph Haag <[email protected]> --- I've seen similar flickering with kwin 5.7.4 from archlinux:
https://www.youtube.com/watch?v=EnzI7dmjihI

With latest kwin git it does not happen anymore. So if anyone wants to try it an confirm whether kwin git fixes it: you only need kwayland git, the rest of kde plasma can stay on the latest release version.

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

#14 lore raw

[Bug 97119] screen flickerin under KDE when compositor was dis- and reenabled

In reply to a message not in the archive

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

--- Comment #17 from Johannes Hirte <[email protected]> --- Flickering seems to be gone for me too, but I didn't update kwin or related. The parts I've updated last weekend:

llvm
drm
mesa
xf86-video-amdgpu

I have some distortions in the top frame of the window (screenshot of chromium appended). I will test an update of kwin, if it will fix this.

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

#15 lore raw

[Bug 97119] screen flickerin under KDE when compositor was dis- and reenabled

In reply to a message not in the archive

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

--- Comment #18 from Johannes Hirte <[email protected]> --- Created attachment 126230
--> https://bugs.freedesktop.org/attachment.cgi?id=126230&action=edit
distortion in window after leaving fullscreen in mpv

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

#16 lore raw

[Bug 97119] screen flickerin under KDE when compositor was dis- and reenabled

In reply to a message not in the archive

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

--- Comment #19 from Christoph Haag <[email protected]> --- Discard that. It still happens with kwin git.

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

#17 lore raw

[Bug 97119] screen flickerin under KDE when compositor was dis- and reenabled

In reply to a message not in the archive

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

--- Comment #20 from Johannes Hirte <[email protected]> --- (In reply to Johannes Hirte from comment #17)

Quoted 3 lines

Flickering seems to be gone for me too, but I didn't update kwin or related. The parts I've updated last weekend:

No it isn't. The one time I've thought it was gone, it was restricted to the title bar, where the distortions happened. After reboot it's back as before.

I've tested on a Kabini system, cause I thought it's using amdgpu too. But I was wrong, it's only using radeonsi from mesa. On kernel and ddx side it's still the radeon driver. I will update everything to current git and re-test with amdgpu.

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

#18 lore raw

[Bug 97119] screen flickerin under KDE when compositor was dis- and reenabled

In reply to a message not in the archive

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

--- Comment #21 from [email protected] ---
This also happens with intel gpu, but no flickering, black areas stand still, until something causes update of that part of the screen.

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

#19 lore raw

[Bug 97119] screen flickerin under KDE when compositor was dis- and reenabled

In reply to a message not in the archive

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

GitLab Migration User <[email protected]> changed:

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

             Status|REOPENED                    |RESOLVED
         Resolution|---                         |MOVED

--- Comment #22 from GitLab Migration User <[email protected]> --- -- 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/mesa/mesa/issues/1236.

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