Resizing windows produces artefacts after latest update

Bug #1707893 reported by Amr Ibrahim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Unknown
Medium
xserver-xorg-video-ati-hwe-16.04 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

After updating to 1:7.9.0-0ubuntu1~16.04.1, I noticed that when I resize windows, they produce artefacts. See the attached screencast.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xserver-xorg-video-radeon-hwe-16.04 1:7.9.0-0ubuntu1~16.04.1
ProcVersionSignature: Ubuntu 4.10.0-28.32~16.04.2-generic 4.10.17
Uname: Linux 4.10.0-28-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Aug 1 13:22:33 2017
InstallationDate: Installed on 2017-06-21 (40 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
SourcePackage: xserver-xorg-video-ati-hwe-16.04
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :
Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

Created attachment 133192
GTK3 tooltips are corrupted

After updating to Radeon 7.9.0 in Ubuntu 16.04.3, I noticed that all GTK3 tooltips are corrupted. See the attached screencast. Other tooltips are not affected.

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

Created attachment 133193
Xorg log

Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

Does

 Option "AccelMethod" "EXA"

in /etc/X11/xorg.conf avoid the problem? If not, please attach the corresponding Xorg log file.

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

I don't have this file /etc/X11/xorg.conf.

Please tell me what the content of it would be so I can create a new one.

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

Michel, yes, adding that option fixes the tooltips problem.

It also fixes another bug about artefacts when resizing windows. I attached a screencast. Downstream https://launchpad.net/bugs/1707893

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

Created attachment 133215
Xorg log after Option "AccelMethod" "EXA"

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

Created attachment 133217
Resizing windows artefacts before Option "AccelMethod" "EXA"

This screencast is before the Option "AccelMethod" "EXA". After applying the option, the artefacts are gone.

Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

Please try

 Driver "modesetting"

in xorg.conf and attach the corresponding Xorg log file. Does either of these problems happen in that case as well?

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

Adding Driver "modesetting" made the two problems disappear by making compiz (unity7) go into low graphics mode. Effects and animations are gone. Compiz was using 50% CPU.

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

Created attachment 133224
Xorg log after Driver "modesetting"

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

The whole desktop is much slower after Driver "modesetting". Playing small videos in Totem is slow. Playing big videos crashes the session and brings me back to the login screen. Compiz and Totem together use 100% CPU for switching, moving windows and playing videos.

Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

Ah, you also need to comment out Option "AccelMethod" for testing the modesetting driver.

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

Created attachment 133225
Xorg log after Driver "modesetting" and without Option "AccelMethod"

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

OK, the driver modesetting brings back the two problems.

Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

Given that there haven't seemed to be any similar reports with GCN hardware, I suspect the tooltip issue is a Mesa r600 driver bug. E.g.

https://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/r600?id=e6d7937b86d8f3c7e0605741de8721caf991af05

or something like that might explain it.

The window resizing issue is probably separate and should be tracked separately.

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

Thanks Michel. Should I open a new bug about the window resizing issue?

Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

Does the bug summary change mean you've confirmed that the problem doesn't happen with an older version of Mesa? If so, which version?

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

OK, I have made a mistake and tested some combinations.

radeon 7.9.0 + mesa 12.0.6 is buggy
radeon 7.9.0 + mesa 17.0.7 is buggy
radeon 7.7.0 + mesa 12.0.6 is not buggy
radeon 7.7.0 + mesa 17.0.7 is not buggy

So, I think the bug is still in radeon 7.9.0.

Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

Did you test 7.7.0 with

 Option "AccelMethod" "glamor"

? The default switched from EXA to glamor between 7.7.0 and 7.9.0.

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

Created attachment 133881
Xorg log after Option "AccelMethod" "glamor"

7.7.0 with Option "AccelMethod" "glamor" is buggy.

Revision history for this message
In , Ilia Mirkin (imirkin) wrote :

One quick drive-by observation... does EXA support DRI3? If not, does disabling DRI3 with glamor "fix" things?

Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

(In reply to Ilia Mirkin from comment #20)
> does EXA support DRI3?

DRI3 is disabled by default with EXA due to bug 95475 (probably unfixable with the current EXA design).

> If not, does disabling DRI3 with glamor "fix" things?

Good question; checking the attachment from comment 19 shows that DRI3 is disabled, so the answer is no.

Revision history for this message
In , Gitlab-migration (gitlab-migration) wrote :

-- 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/608.

Changed in xserver-xorg-driver-ati:
status: Confirmed → Unknown
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

16.04 is EOL

Changed in xserver-xorg-video-ati-hwe-16.04 (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.