Bug 102013 - GTK3 tooltips are corrupted after updating to mesa 17.0.7
Summary: GTK3 tooltips are corrupted after updating to mesa 17.0.7
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-02 10:08 UTC by Amr Ibrahim
Modified: 2019-09-18 19:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
GTK3 tooltips are corrupted (2.67 MB, video/ogg)
2017-08-02 10:08 UTC, Amr Ibrahim
Details
Xorg log (38.17 KB, text/plain)
2017-08-02 10:14 UTC, Amr Ibrahim
Details
Xorg log after Option "AccelMethod" "EXA" (34.27 KB, text/plain)
2017-08-02 22:16 UTC, Amr Ibrahim
Details
Resizing windows artefacts before Option "AccelMethod" "EXA" (13.56 MB, video/ogg)
2017-08-02 22:27 UTC, Amr Ibrahim
Details
Xorg log after Driver "modesetting" (33.76 KB, text/plain)
2017-08-03 08:28 UTC, Amr Ibrahim
Details
Xorg log after Driver "modesetting" and without Option "AccelMethod" (32.88 KB, text/x-log)
2017-08-03 09:41 UTC, Amr Ibrahim
Details
Xorg log after Option "AccelMethod" "glamor" (40.58 KB, text/plain)
2017-08-30 14:33 UTC, Amr Ibrahim
Details

Description Amr Ibrahim 2017-08-02 10:08:47 UTC
Created attachment 133192 [details]
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.
Comment 1 Amr Ibrahim 2017-08-02 10:14:58 UTC
Created attachment 133193 [details]
Xorg log
Comment 2 Michel Dänzer 2017-08-02 14:09:14 UTC
Does

 Option "AccelMethod" "EXA"

in /etc/X11/xorg.conf avoid the problem? If not, please attach the corresponding Xorg log file.
Comment 3 Amr Ibrahim 2017-08-02 15:26:42 UTC
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.
Comment 4 Amr Ibrahim 2017-08-02 22:13:50 UTC
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
Comment 5 Amr Ibrahim 2017-08-02 22:16:44 UTC
Created attachment 133215 [details]
Xorg log after Option "AccelMethod" "EXA"
Comment 6 Amr Ibrahim 2017-08-02 22:27:49 UTC
Created attachment 133217 [details]
Resizing windows artefacts before Option "AccelMethod" "EXA"

This screencast is before the Option "AccelMethod" "EXA". After applying the option, the artefacts are gone.
Comment 7 Michel Dänzer 2017-08-03 01:07:03 UTC
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?
Comment 8 Amr Ibrahim 2017-08-03 08:27:25 UTC
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.
Comment 9 Amr Ibrahim 2017-08-03 08:28:44 UTC
Created attachment 133224 [details]
Xorg log after Driver "modesetting"
Comment 10 Amr Ibrahim 2017-08-03 08:42:28 UTC
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.
Comment 11 Michel Dänzer 2017-08-03 09:24:31 UTC
Ah, you also need to comment out Option "AccelMethod" for testing the modesetting driver.
Comment 12 Amr Ibrahim 2017-08-03 09:41:55 UTC
Created attachment 133225 [details]
Xorg log after Driver "modesetting" and without Option "AccelMethod"
Comment 13 Amr Ibrahim 2017-08-03 09:43:02 UTC
OK, the driver modesetting brings back the two problems.
Comment 14 Michel Dänzer 2017-08-07 07:34:44 UTC
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.
Comment 15 Amr Ibrahim 2017-08-07 17:50:38 UTC
Thanks Michel. Should I open a new bug about the window resizing issue?
Comment 16 Michel Dänzer 2017-08-30 01:54:37 UTC
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?
Comment 17 Amr Ibrahim 2017-08-30 12:43:21 UTC
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.
Comment 18 Michel Dänzer 2017-08-30 13:47:04 UTC
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.
Comment 19 Amr Ibrahim 2017-08-30 14:33:47 UTC
Created attachment 133881 [details]
Xorg log after Option "AccelMethod" "glamor"

7.7.0 with Option "AccelMethod" "glamor" is buggy.
Comment 20 Ilia Mirkin 2017-08-30 14:55:07 UTC
One quick drive-by observation... does EXA support DRI3? If not, does disabling DRI3 with glamor "fix" things?
Comment 21 Michel Dänzer 2017-08-30 15:01:39 UTC
(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.
Comment 22 GitLab Migration User 2019-09-18 19:24:04 UTC
-- 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.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.