Skip to contentSkip to conversation

New: In xterm, some rectangles are not redrawn when the window is partly covered

Bug 49786 [email protected] 1 participant 23 messages May 11, 2012 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Bug #: 49786
Summary: In xterm, some rectangles are not redrawn when the
window is partly covered
Classification: Unclassified
Product: xorg
Version: 7.6 (2010.12)
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

Created attachment 61438
--> https://bugs.freedesktop.org/attachment.cgi?id=61438
file "text" used in the command to reproduce the bug

When an xterm window is partly covered by another window, not everything is redrawn. The problem can be reproduced in the following way (this is tested on a Debian/unstable machine). Run the following command:

$ xterm -geometry 80x60 -e 'sleep 10; cat text; sleep 999'

(with the file "text" that will be attached), then put a smaller window covering the middle of the right part, and wait for the text (after "sleep 10" terminates).

I'll also attach 2 snapshots showing the problem: the first one being what I obtain after the above steps (corrupt output), the second one being what I obtain after a full redraw (the correct output), e.g. when switching the desktop and going back (one can also move a window over the xterm window).

The corresponding Debian bug report:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640464

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-49786-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

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

--- Comment #1 from Vincent Lefevre <[email protected]> 2012-05-11 03:27:17 PDT --- Created attachment 61439
--> https://bugs.freedesktop.org/attachment.cgi?id=61439
snapshot showing the corrupt display (see the top part of the window)

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #2 from Vincent Lefevre <[email protected]> 2012-05-11 03:28:10 PDT --- Created attachment 61440
--> https://bugs.freedesktop.org/attachment.cgi?id=61440
snapshot showing the correct contents after a full redraw

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #3 from Vincent Lefevre <[email protected]> 2012-05-11 03:34:16 PDT --- If I disable acceleration with an xorg.conf file containing

Section "Device"

        Identifier      "Device0"
        Driver          "nouveau"
        Option          "NoAccel" "true"

EndSection

this display problem doesn't occur.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #4 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Can you confirm that this happens with the latest DDX (1.0.9)? If so, we'll need a bit more information -- please attach both a dmesg + Xorg.0.log for your system. (Even if there are no errors, they contain information that describes your system.)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #5 from Vincent Lefevre <[email protected]> --- Created attachment 84379
--> https://bugs.freedesktop.org/attachment.cgi?id=84379&action=edit
dmesg output (2013-08-21)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #6 from Vincent Lefevre <[email protected]> --- Created attachment 84380
--> https://bugs.freedesktop.org/attachment.cgi?id=84380&action=edit
Xorg.0.log (2013-08-21)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #7 from Vincent Lefevre <[email protected]> --- Created attachment 84381
--> https://bugs.freedesktop.org/attachment.cgi?id=84381&action=edit
Shell script to reproduce the bug (needs xterm and base64)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

Vincent Lefevre <[email protected]> changed:

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

  Attachment #84381|0                           |1

is obsolete| |

--- Comment #8 from Vincent Lefevre <[email protected]> --- Created attachment 84383
--> https://bugs.freedesktop.org/attachment.cgi?id=84383&action=edit
Shell script to reproduce the bug (needs xterm and base64)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#10 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #9 from Vincent Lefevre <[email protected]> --- (In reply to comment #4)

Quoted 4 lines

Can you confirm that this happens with the latest DDX (1.0.9)? If so, we'll need a bit more information -- please attach both a dmesg + Xorg.0.log for your system. (Even if there are no errors, they contain information that describes your system.)

The problem still occurs. I don't know what is the DDX, but Xorg.0.log says:

[    47.996] (II) Module nouveau: vendor="X.Org Foundation"
[    47.996]    compiled for 1.12.4, module version = 1.0.9
[    47.996]    Module class: X.Org Video Driver
[    47.996]    ABI class: X.Org Video Driver, version 12.1

I've attached both dmesg output and the Xorg.0.log file after rebooting the machine and testing.

I've also attached a new shell script to test: it automatically opens the xterm windows at the right place (bitmap fonts may need to be enabled, otherwise I don't know if the bug still occurs). It needs the base64 utility (from the coreutils) to output the data to the first xterm window. Just wait for a few seconds for the second xterm then the text to appear.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#11 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

Vincent Lefevre <[email protected]> changed:

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

  Attachment #84379|dmesg output (2013-08-21)   |dmesg output - DELL
        description|                            |Latitude E6400 (2013-08-21)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#12 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

Vincent Lefevre <[email protected]> changed:

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

  Attachment #84380|Xorg.0.log (2013-08-21)     |Xorg.0.log - DELL Latitude
        description|                            |E6400 (2013-08-21)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#13 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #10 from Vincent Lefevre <[email protected]> --- Some other thing: the dmesg and Xorg.0.log I've attached correspond to the DELL Latitude E6400. The bug also occurs on a different machine (not with me here); I'll try to attach information in the next few days.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#14 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #11 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Great repro script! Bug confirmed on my NV96, and disconfirmed on NV18. I see that your card is a NV98, so this is probably a bug in the nv50 exa logic.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#15 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #12 from Vincent Lefevre <[email protected]> --- FYI, the other machine where the bug occurs also has a NV98 chipset. The exact card is the following:

NVIDIA Corporation G98 [Quadro NVS 295] (rev a1)

according to lspci. The one on the DELL Latitude is:

NVIDIA Corporation G98M [Quadro NVS 160M] (rev a1)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#16 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #13 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- And as I suspected, if you run a compositor, the issue goes away (e.g. with xcompmgr).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#17 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #14 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Also tested on NV42, doesn't happen there either. Further points to something in the nv50 exa rather than something generic...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#18 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

Tobias Klausmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #15 from Tobias Klausmann <[email protected]> --- still a problem with recent xf86-video-nouveau? Imirkin, maybe you could test
this and just provide a status update

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#19 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #16 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to Tobias Klausmann from comment #15)

Quoted 2 lines

still a problem with recent xf86-video-nouveau? Imirkin, maybe you could test this and just provide a status update

Nothing has been changed relevant to this, so I don't see why it wouldn't be.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#20 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #17 from Vincent Lefevre <[email protected]> --- (In reply to Tobias Klausmann from comment #15)

Quoted 1 line

still a problem with recent xf86-video-nouveau?

This still occurs in Debian/unstable (xserver-xorg-video-nouveau 1:1.0.11-1).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#21 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #18 from Vincent Lefevre <[email protected]> --- (In reply to Vincent Lefevre from comment #17)

Quoted 1 line

This still occurs in Debian/unstable (xserver-xorg-video-nouveau 1:1.0.11-1).

But in November 2013, I noticed that this bug did not occur every time (after killing the compositor):

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640464#150

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#22 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

--- Comment #19 from Vincent Lefevre <[email protected]> --- The bug still occurs with the xserver-xorg-video-nouveau 1:1.0.12-1 Debian package and the NVD9 chipset. The video card is:

NVIDIA Corporation GF119 [NVS 315] (rev a1)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#23 lore raw

[Bug 49786] In xterm, some rectangles are not redrawn when the window is partly covered

In reply to a message not in the archive

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

Martin Peres <[email protected]> changed:

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

             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |MOVED

--- Comment #20 from Martin Peres <[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/xorg/driver/xf86-video-nouveau/issues/23.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau