After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728385 - Portions of some windows (XTerm, VLC) do not show when maximized
Portions of some windows (XTerm, VLC) do not show when maximized
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: general
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2014-04-17 00:45 UTC by Mike Henning (drawoc)
Modified: 2021-07-05 13:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot1: XTerm first maximized, but not rendered correctly (651.56 KB, image/jpeg)
2014-04-17 02:31 UTC, Mike Henning (drawoc)
Details
screenshot2: partial redraw of screen (645.81 KB, image/jpeg)
2014-04-17 02:33 UTC, Mike Henning (drawoc)
Details
screenshot3: full redraw of screen (16.97 KB, image/png)
2014-04-17 02:33 UTC, Mike Henning (drawoc)
Details

Description Mike Henning (drawoc) 2014-04-17 00:45:07 UTC
At first, when you maximize certain windows in gnome-shell 3.12.0, portions of them do not render.

Steps to reproduce in gnome-shell:
1. Open xterm. It should not be maximized.

2. Maximize xterm by dragging the window to the top of the screen. Do not pause at the top of the screen long enough for the blue rectangle animation to appear. 

3. At this point, the xterm window is fully maximized, but only a portion of the window and its titlebar are shown properly. The portion of the window correctly displayed happens to be the same size as the original window. (screenshot1.png)

4. Partial redraws of the window contents can cause some portions of the window to show up. (screenshot2.png)

5. Triggering a full redraw (switching workspaces, etc) makes the remainder of the window display properly. (screenshot3.png)

This happens with xterm and vlc (With vlc, only the window borders have this issue, not the main application.) I cannot reproduce the issue with gedit or firefox.

I filed this against mutter because it seems like a compositor issue.

This is new in Gnome 3.12.

Versions:
 * Gnome shell 3.12.0
 * Mutter 3.12.0
 * Mesa 10.1.0, using the open source drivers on an AMD/ATI Radeon HD 6770
Comment 1 Mike Henning (drawoc) 2014-04-17 02:31:39 UTC
Created attachment 274552 [details]
screenshot1: XTerm first maximized, but not rendered correctly
Comment 2 Mike Henning (drawoc) 2014-04-17 02:33:09 UTC
Created attachment 274553 [details]
screenshot2: partial redraw of screen
Comment 3 Mike Henning (drawoc) 2014-04-17 02:33:46 UTC
Created attachment 274554 [details]
screenshot3: full redraw of screen
Comment 4 Alad Wenter 2014-09-01 10:47:35 UTC
I can confirm this bug under Arch Linux, GNOME 3.12.2. Only GTK2 and Qt applications seem affected, GTK3 works fine.
Comment 6 Jasper St. Pierre (not reading bugmail) 2014-09-01 18:49:48 UTC
Can you reproduce it on other graphics cards or other drivers? I can't reproduce this with xterm here.
Comment 7 Mike Henning (drawoc) 2014-09-01 20:04:33 UTC
I can also reproduce this on the intel mesa driver (mesa 10.2.6).
Comment 8 Andreas Hermann 2014-09-01 20:47:41 UTC
I can also confirm this bug using gnome shell 3.12.2 and the open source radeon driver. Exporting

CLUTTER_PAINT=disable-clipped-redraws:disable-culling

makes the issue disappear for me, but apparently not for other users (i posted my temporary fix also on the linked Arch Forum thread from comment 5).
Comment 9 Jasper St. Pierre (not reading bugmail) 2014-09-01 20:54:30 UTC
We were seeing this under Intel / SNA somewhat, but that was a driver bug:

https://bugs.freedesktop.org/show_bug.cgi?id=81551
https://bugzilla.gnome.org/show_bug.cgi?id=733397

Perhaps Radeon needs something similar? I'm not sure myself. I'd like to hear if anybody who has Intel / NVIDIA can reproduce after those patches have been applied.
Comment 10 Mike Henning (drawoc) 2014-09-01 20:57:45 UTC
I can confirm that, as in comment 8, the issue disappears when I set CLUTTER_PAINT=disable-clipped-redraws:disable-culling
Comment 11 Andreas Hermann 2014-09-01 21:49:00 UTC
(In reply to comment #9)
> We were seeing this under Intel / SNA somewhat, but that was a driver bug:
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=81551
> https://bugzilla.gnome.org/show_bug.cgi?id=733397
> 
> Perhaps Radeon needs something similar? I'm not sure myself. I'd like to hear
> if anybody who has Intel / NVIDIA can reproduce after those patches have been
> applied.

This bug only applies for DRI3 on intel, isn't it? I thought, the radeon driver does not implement this on DDX side yet?
Comment 12 Alad Wenter 2014-09-02 00:03:37 UTC
I've tried to:

- enable dri3 in xf86-video-intel (disabled by default in Arch Linux), and apply the patch from https://bugs.freedesktop.org/show_bug.cgi?id=81551#c7
- change from SNA to UXA and Glamor
- use my Radeon HD 6450 with xf86-video-ati

And I could confirm the issue in each case. However, exporting CLUTTER_PAINT=disable-clipped-redraws:disable-culling -before- gnome-session starts solved the problem for me.
Comment 13 Jasper St. Pierre (not reading bugmail) 2015-07-27 03:44:13 UTC
Following up here. I've spent some more time trying to reproduce this, and still couldn't. It sounds like damage rectangles aren't being sent or processed correctly. Do you still see this, on Intel and Radeon?
Comment 14 GNOME Infrastructure Team 2021-07-05 13:48:38 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/mutter/-/issues/

Thank you for your understanding and your help.