terminal doesn't refresh properly with nvidia-current drivers
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | gnome-shell (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
after upgrading from 11.04 to 11.10, the terminal doesn't refresh properly. It's hard to describe, but I can take a video if needed. If I am editing a file with vim, when I jump to the bottom with crtg+G, it doesn't refresh the window. Each line will refresh as I move my cursor up, one line at a time. There are other oddities within the terminal as well. When I use apt-get to install, I sometimes don't see the last line asking me for my password, etc.
Thinkpad R61 with the following graphics card:
01:00.0 VGA compatible controller: nVidia Corporation G84M [Quadro NVS 140M] (rev a1)
This doesn't happen with the nouveau or nvidida-173 driver. only the current driver.
$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
$ apt-cache policy nvidia-current
nvidia-current:
Installed: 280.13-0ubuntu6
Candidate: 280.13-0ubuntu6
Version table:
*** 280.13-0ubuntu6 0
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nvidia-current 280.13-0ubuntu6
ProcVersionSign
Uname: Linux 3.0.0-12-generic i686
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86 Kernel Module 280.13 Wed Jul 27 16:55:43 PDT 2011
GCC version: gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
.tmp.unity.
ApportVersion: 1.23-0ubuntu4
Architecture: i386
CompizPlugins: No value set for `/apps/
CompositorRunning: None
Date: Thu Nov 10 11:17:31 2011
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroVariant: ubuntu
DkmsStatus:
nvidia-173, 173.14.30, 3.0.0-12-generic, i686: installed
nvidia-
nvidia-current, 280.13, 3.0.0-12-generic, i686: installed
GraphicsCard:
nVidia Corporation G84M [Quadro NVS 140M] [10de:0429] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Lenovo ThinkPad T61 [17aa:20d8]
JockeyStatus:
xorg:nvidia_173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)
xorg:nvidia_
xorg:nvidia_
xorg:nvidia_
MachineType: LENOVO 7742CTO
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: nvidia-
UpgradeStatus: No upgrade log present (probably fresh install)
XorgConf:
Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
EndSection
dmi.bios.date: 02/20/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 7LETB2WW (2.12 )
dmi.board.name: 7742CTO
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: 7742CTO
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.6+
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
version.
| Gregory Gleason (gsgleason) wrote : | #1 |
| Gregory Gleason (gsgleason) wrote : | #2 |
| Gregory Gleason (gsgleason) wrote : | #3 |
I just changed this from nvidia-current to gnome-shell. This issue only happens when using the new nvidia drivers with gnome-shell. It doesn't happen with the current drivers in unity. I think there is an issue with a combination of my graphics card, drivers, and the mutter compositioning manager.
| affects: | nvidia-graphics-drivers (Ubuntu) → gnome-shell (Ubuntu) |
| Launchpad Janitor (janitor) wrote : | #4 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in gnome-shell (Ubuntu): | |
| status: | New → Confirmed |
| Gregory Gleason (gsgleason) wrote : | #5 |
I opened a bug report on the gnome bugzilla as well:
https:/
| George V. Reilly (georgevreilly) wrote : | #6 |
I'm having the same problems in gnome-terminal and gvim on Ubuntu 11.10. Gvim just randomly fails to redraw parts of its window, particularly down in the : command area when I hit Tab to complete filenames or buffer names.
In gnome-terminal, if the line I'm typing wraps onto a second line, it typically doesn't render properly until I hit Enter a couple of times. This is more likely to happen when I've got more than a screen's worth of text and the cursor is at the bottom of the window.
I updated the NVIDIA accelerated graphics driver from "version current" to "version current-updates", but it didn't help. I removed the NVIDIA drivers, but it didn't help either.
I have two laptops running Ubuntu 11.10 which have no such problems.
$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation G86 [Quadro NVS 290] (rev a1)
$ sudo lshw -C video
*-display
description: VGA compatible controller
product: G86 [Quadro NVS 290]
vendor: nVidia Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
resources: irq:16 memory:
| Owen Williams (ywwg) wrote : | #7 |
I'm seeing this bug, and I see it in Konsole, not just gnome-terminal. It makes the terminals nearly unusable. Also note these other bugs that are duplicates: bug #876055 and bug #880695. It also isn't limited to ubuntu: http://
This has been reported enough that I'd say there's definitely a problem with terminals and nvidia drivers. All of these bugs show no activity whatsoever, but it's clearly a widespread problem that needs attention.
| Owen Williams (ywwg) wrote : | #8 |
Hm, I think this goes away when I switch to metacity from compiz, so it might be a compiz bug.
| Gregory Gleason (gsgleason) wrote : | #9 |
The following gnome bug is for this same issue in gnome-shell. https:/
I'm also experiencing this issue. To test for the issue, I just open a file in vim (I used /etc/courier/
I can also confirm that this is a problem when using the NVidia proprietary drivers. The issue goes away when you remove the drivers and fall back on Nouveau (As the bugreport Gregory Gleason referred to points out).
I find gnome-shell causes audio stutters and lag when using Nouveau, which is why I prefer to use the NVidia drivers.
sudo lshw -C video
*-display
description: VGA compatible controller
product: G86 [Quadro NVS 290]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
resources: irq:16 memory:
Just the same issue with gnome-terminal, but still everything works with xterm.
MacBook Pro 7.1 (Nvidia 320M) + 12.04 default install + nvidia-current
export __GL_YIELD=
I tried Timur's __GL_YIELD=
| Lorenzo (deodato-art) wrote : | #15 |
The Gnome bug report in the upstream link does not show any progress. Are there any news on the Ubuntu side?
| tags: |
added: precise removed: oneiric |
| Tim O'Brien (timob) wrote : | #16 |
You can fix this problem by setting:
"Force complete redraw on initial damage"
"Force fullscreen redraws (buffer swap) on repaint"
http://
| Collin Stocks (collinstocks) wrote : | #17 |
That's nice, but not everybody uses compiz. Specifically, I don't, and I still see this bug.
In related news, this bug is not limited to Ubuntu. It also presents itself on LMDE.
| James Hunt (jamesodhunt) wrote : | #18 |
This bug looks like a dup of bug 861268.
| Mateusz Gryzzli (gryzzli) wrote : | #19 |
For all nvidia users, you could try to remove the GL cache:
rm ~/.nv (driver <346)
rm ~/.cache/.nv (driver 346)
Then disable the cache completely:
echo -e 'export __GL_SHADER_
Restart / relogin afterwards. This fixed the issue for me.
| Jeremy Bicha (jbicha) wrote : | #20 |
Thank you for reporting this bug to Ubuntu. Ubuntu 12.04 LTS reached End of Life in April. See this document for currently supported Ubuntu releases: https:/
Please upgrade to Ubuntu 16.04 LTS and re-test. If the bug is still reproducible, increase the verbosity of the steps to recreate it so we can try again.
I apologize that we are not always to respond to bug reports promptly. Do feel free to report any other bugs you may find.
| Changed in gnome-shell (Ubuntu): | |
| status: | Confirmed → Invalid |


I just figured out this only happens when using gnome-shell which uses mutter. This doesn't happen with unity, which uses compiz.
So perhaps this is a mutter issue.