Garbled chars in xterm
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | compiz (Ubuntu) |
Undecided
|
Loïc Minier | ||
| | Maverick |
Undecided
|
Loïc Minier | ||
| | xorg (Ubuntu) |
Undecided
|
Unassigned | ||
| | Maverick |
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: xserver-
Hi
Since the move from compiz 0.8.4 to 0.8.6, end pf July, I've had corrupted chars in xterm as in the attached picture: some vertical bars clutter the chars.
I checked with the compiz folks who told me this was triggered by a compiz change, but was a xorg bug in my video card's driver (intel).
During Debconf I mentioned the bug to keithp who told me that this was a known issue with a couple of patches in xorg-server 1.9.0 fixing it. We were still in 1.8.x in Ubuntu.
Now we're at 1.9.x+ and I still get the issue; I think it wasn't the one keithp thought of back then.
If I drag the window around, the content gets fixed.
GNOME Terminal doesn't show the issue.
Cheers,
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xserver-
ProcVersionSign
Uname: Linux 2.6.35-20-generic x86_64
Architecture: amd64
DRM.card0.
status: disconnected
enabled: disabled
dpms: On
modes:
edid-base64:
DRM.card0.
status: disconnected
enabled: disabled
dpms: On
modes:
edid-base64:
DRM.card0.
status: disconnected
enabled: disabled
dpms: On
modes:
edid-base64:
DRM.card0.LVDS.1:
status: connected
enabled: enabled
dpms: On
modes: 1440x900
edid-base64: AP/////
DRM.card0.VGA.1:
status: disconnected
enabled: disabled
dpms: On
modes:
edid-base64:
Date: Fri Sep 10 21:28:28 2010
MachineType: LENOVO 2777CTO
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=fr_FR.UTF-8
SHELL=/bin/zsh
SourcePackage: xserver-
dmi.bios.date: 03/12/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 6EET27WW (1.08 )
dmi.board.name: 2777CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 2777CTO
dmi.product.
dmi.sys.vendor: LENOVO
system:
distro: Ubuntu
codename: maverick
architecture: x86_64
kernel: 2.6.35-20-generic
| Loïc Minier (lool) wrote : | #1 |
| Loïc Minier (lool) wrote : | #2 |
| tags: | added: corruption |
| Stephane Epardaud (stef-inforealm) wrote : | #3 |
The same bug is filed against xterm: https:/
| Didier Roche (didrocks) wrote : | #4 |
from the other bug report:
- it seems to happen only with compiz (just to confirm, despite Loic talked to compiz upstream)
- it seems however to appears on both nvidia and intel. So not related to intel only
| Didier Roche (didrocks) wrote : | #5 |
redirecting to xserver-xorg right now, as it's not related to intel or nvidia hardware (can reliably reproduce it there). Will try to ping compiz guy again.
| affects: | xserver-xorg-video-intel (Ubuntu) → xorg (Ubuntu) |
| Charles Cox (chuck-chezcox) wrote : | #6 |
I'm getting the same behavior since upgrading from 10.04 to 10.10. This is on an HP laptop with Intel graphics.
| robertjlee (ubuntubrainstorm) wrote : | #7 |
I get the same problem with emacs, so it looks like this affects any application using bitmap fonts.
From the look of it, single characters are more affected than large areas (even on normal repaints where nothing has changed, eg switching desktops), so my guess would be that something isn't properly clearing bitmaps at their edges before copying them.
Using Maverick + compiz + gnome. Worked fine in 10.04
I've got the same problem since upgrading to Maverick. wmbattery also has similar corruption. Happens for me using intel, radeon, or fglrx drivers with compiz/emerald. Does not happen if I switch to enlightenment. I've only tried 64-bit Ubuntu, so it may be a 64-bit issue.
I believe this is the same problem as well:
https:/
The bug appears to have been introduced by:
http://
The bug is fixed either by reverting that commit or changing the added lines to:
w->width = attr.width + (attr.border_width * 2);
w->height = attr.height + (attr.border_width * 2);
I'm currently unable to get to http://
| tags: | added: patch |
Patch has been committed upstream:
http://
| Launchpad Janitor (janitor) wrote : | #13 |
This bug was fixed in the package compiz - 1:0.8.6-0ubuntu10
---------------
compiz (1:0.8.6-0ubuntu10) natty; urgency=low
* New patch, 635258-
0f95c41a0aa
Paul Donohue; LP: #635258.
-- Loic Minier <email address hidden> Sun, 17 Oct 2010 22:02:58 +0200
| Changed in compiz (Ubuntu): | |
| status: | New → Fix Released |
| Paul Smith (psmith-gnu) wrote : | #14 |
I'm not sure what it means that this bug is marked "fixed released"... it seems to have been fixed on Oct 17 but it's not Oct 21 and there's still no package available (for Maverick) containing this fix. I do have all my Ubuntu repos enabled including proposed.
What's the relationship between a bug being marked as "fixed released" and a package showing up available for download? Is there some kind of extra state that is set or comment added to launchpad when the package is available?
This bug is just killing me; the borderWidth change discussed in the Red Hat bug doesn't work reliably, and having to resize each of my windows when I create them (esp. given the other long-standing Ubuntu bug about resize handles being impossibly thin) is very frustrating; I use xterm exactly because my workflow tends to create/destroy a LOT of terminal windows, all the time.
Thanks for the quick work on this and I can't wait to get access to the fix!
| Changed in xorg (Ubuntu): | |
| status: | New → Invalid |
| Changed in xorg (Ubuntu Maverick): | |
| status: | New → Invalid |
| Steve Newcomb (srn-coolheads) wrote : | #15 |
Curiously, I have the "cursor droppings" on xterm screens -- the little vertical bars before each typed character -- but this NEVER happens in emacs 22 or emacs 23.
FYI, I launch xterm with a red blinking cursor as follows; the little vertical lines are red, so it's obvious that it has to do with the cursor.
xterm -cr red -ah -bc -si -sl 10000 -sb -l -fn 7x13
A pretty good display of the problem can be seen at:
| Loïc Minier (lool) wrote : | #16 |
It's Fix Released because it was fixed in the development version of Ubuntu (natty, which you may now recognize in the changelog message copied to this bug).
I've just approved the bug for a maverick update now, and also pushed an upload to maverick; would you test it when it's published in -proposed? This bug will receive a notification when that happens
| Changed in compiz (Ubuntu Maverick): | |
| status: | New → In Progress |
| assignee: | nobody → Loïc Minier (lool) |
| Changed in compiz (Ubuntu): | |
| assignee: | nobody → Loïc Minier (lool) |
| Kalle Valo (kvalo) wrote : | #17 |
I just installed compiz 1:0.8.6-0ubuntu12 from natty to my maverick laptop and I can confirm that the problem in xterm is now fixed.
Thank you for fixing this.
Accepted compiz into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https:/
| Changed in compiz (Ubuntu Maverick): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| Marc Gariépy (mgariepy) wrote : | #19 |
I just tested by updating compiz package from maverick-proposed and it work.
Thanks for fixing this :)
| tags: |
added: verification-done removed: verification-needed |
| Launchpad Janitor (janitor) wrote : | #20 |
This bug was fixed in the package compiz - 1:0.8.6-0ubuntu9.1
---------------
compiz (1:0.8.
* New patch, 635258-
0f95c41a0aa
Paul Donohue; LP: #635258.
-- Loic Minier <email address hidden> Sun, 17 Oct 2010 22:02:58 +0200
| Changed in compiz (Ubuntu Maverick): | |
| status: | Fix Committed → Fix Released |
| Albert Chin (bugs-ubuntu-vendor) wrote : | #21 |
Any plans to backport 0.8.6-0ubuntu9.1 to Lucid?
This patch does not fix the emacs problem! Emacs (emacs23-snapshot and emacs23) still has a garbled screen. I am on an Intel Corporation Mobile 945GM video card.
| John Clemens (clemej) wrote : | #23 |
Its baaack in Onieric Beta 1, intel 4500, unity 3d. To reproduce, just open xterm and start typing.... what you type will be garbles, but the output will be fine. Similar corruption to before, with a white box covering the first part of any letter typed, and scrolling leaving a few pixels of the fonts on the left side of the terminal window. Now to figure out how to re-open this bug against Onieric...
Also, since this has now come back at least twice, and xterm has uncovered other previously unknown bugs (like nouveau w/ 3d support crashing Xorg with fixed width fonts) can we get the ubuntu QA team to add 'xterm' to a test case somewhere? xterm is a basic application, and problems like this with it often indicate real issues that other applications will eventually hit. Just run it, make sure you can type into the window, and that all the fonts look right on both the input and output text, and that it's white text on a black background. Its a simple 30 second test, and will catch issues like this.
| Loïc Minier (lool) wrote : | #24 |
See bug #841103 for the re-occurrence.


Note that the number of bars increases as I type chars towards the right. This seems relative to the window position, wherever it is on the screen.