gvim display corruption

Bug #572863 reported by ntupel
82
This bug affects 16 people
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: vim

The gvim text window is showing display corruptions which make it unusable to work with. I am using gvim on an external monitor but it was always showing fine before I upgraded to 10.04.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: vim-gnome 2:7.2.330-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat May 1 10:34:19 2010
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: vim

Revision history for this message
ntupel (ntupel) wrote :
Revision history for this message
ntupel (ntupel) wrote :

Sometimes a small gvim window renders fine for some time. Maximizing it (1900x1200 resolution) triggers the problem quickly. And sometimes restoring the original size also removes the display artifacts. Sometimes, sometimes not.

Revision history for this message
Joe Holloway (jholloway7) wrote :

I am able to recreate consistently with visual effects (compiz) enabled. With visual effects disabled the problem seems to go away. Hope that information helps, will be glad to provide other troubleshooting if needed.

Revision history for this message
LeGreffier (ylamouroux) wrote :

I see the same problem here.
The same problem affect OpenOffice when its antialiasing is enabled.

I tried playing with the "workarounds" configuration of compiz, which don't fix it.

Switching to metacity fix it.

Revision history for this message
JKF (jeff-francis) wrote :

I am also experiencing this problem. It only happens with effects turned on under System, Preferences, Appearance, Visual Effects. Minimizing or Maximizing the window will wipe away all the corrupted lines, but moving the view or scrolling the cursor will corrupt any text that is new. Sometimes minimizing will fix the problem and it will not re-occur until a new file is opened.

Changed in vim (Ubuntu):
status: New → Confirmed
Revision history for this message
dessaya (dessaya) wrote :

Same here. I've just upgraded to 10.10, switched to compiz and encountered this bug. Below is some relevant info about my system. Let me know if anything else is needed:

My nvidia card:
00:05.0 VGA compatible controller: nVidia Corporation C51PV [GeForce 6150] (rev a2)

My installed nvidia packages:
ii nvidia-173-modaliases 173.14.28-0ubuntu1 Modaliases for the NVIDIA binary X.Org driver
ii nvidia-96-modaliases 96.43.18-0ubuntu1 Modaliases for the NVIDIA binary X.Org driver
ii nvidia-common 0.2.24 Find obsolete NVIDIA drivers
ii nvidia-current 260.19.06-0ubuntu1 NVIDIA binary Xorg driver, kernel module and VDPAU library
ii nvidia-current-modaliases 260.19.06-0ubuntu1 Modaliases for the NVIDIA binary X.Org driver
ii nvidia-glx-185 260.19.06-0ubuntu1 Transitional package for nvidia-glx-185
ii nvidia-settings 260.19.06-0ubuntu1 Tool of configuring the NVIDIA graphics driver

Revision history for this message
Kiwi (kiwi-franka) wrote :

You can work around this issue by setting

  set ttyscroll=0

in your .vimrc

Revision history for this message
Ozeuss (ozeuss) wrote :

Happens to me with gvim+compiz+nvidia as well.
Fixes mentioned in duplicate like changing font rendering does not help.

Revision history for this message
Paul Bredbury (brebs) wrote :

Workaround: change the font.

e.g. add to ~/.vimrc
set guifont=liberationmono

Revision history for this message
Alan Jackson (alan-ajackson) wrote :

Kiwi, you're brilliant! set ttyscroll=0 worked for me, and I don't see any of the other symptoms noted in the "duplicate".
I should mention I'm running Nvidia on 10.04 with twin screens. When I was running kubuntu I saw this problem in Claws, so I switched to Gnome, and it cleared up everywhere except for gvim.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.