After a few more hours chasing this bug, I was able to trigger it under my freshly installed ubuntu running unity by disabling the sync to vblank option in the OpenGL compiz plugin.
In my opinion, that option makes redrawings happen a little bit later (because they have to sync to vblank) and thus it makes it less likely that the bug would trigger. However, it's enabled in my other faulty installation, and I still get the bug, so I strongly believe that whatever introduces delays in the redraws makes the bug less likely but it's not really fixing anything. And there are other issues that might make the bug more likely (which I haven't yet found). The best reproduction case I've found is to run a weechat session inside a tmux inside an ssh session in gnome-terminal, and scrolling up and down the content of this weechat log. When the setup is in the 'quite likely' state for reproducing the bug, it will happen within 2 or 3 minutes of scrolling up and down. When it's less likely, it can take a while until it happens. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-graphics-drivers in Ubuntu. https://bugs.launchpad.net/bugs/861268 Title: text corruption in terminals (xterm, urxvt) and emacs Status in Compiz: Confirmed Status in Compiz Core: Confirmed Status in “compiz” package in Ubuntu: Confirmed Status in “nvidia-graphics-drivers” package in Ubuntu: Confirmed Bug description: Using tmux with urxvt results in frequent screen corruption. I am running tmux as "tmux -2" to enable 256 colour mode and my .tmux.conf contains: set-option -g default-terminal "screen-256color" ... to enable 256 colours for apps running inside tmux. When corruption occurs, neither clearing the screen with "clear" or "tput clear" helps. What does seem to help is switching to another tmux window and back to the problematic one. This configuration used to work fine in natty. --- .proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0' .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.version: 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.support.test.0: ApportVersion: 1.23-0ubuntu4 Architecture: i386 CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,resize,fade,unitymtgrabhandles,scale,session,unityshell] CompositorRunning: compiz DistUpgraded: Log time: 2011-09-25 10:58:52.659181 DistroCodename: oneiric DistroRelease: Ubuntu 11.10 DistroVariant: ubuntu GraphicsCard: nVidia Corporation GT218 [NVS 3100M] [10de:0a6c] (rev a2) (prog-if 00 [VGA controller]) Subsystem: Lenovo ThinkPad T410 [17aa:2142] InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007) JockeyStatus: xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Enabled, In use) xorg:nvidia_current_updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Disabled, Not in use) MachineType: LENOVO 2516CTO NonfreeKernelModules: nvidia Package: unity 4.24.0-0ubuntu2b1 PackageArchitecture: i386 PlymouthDebug: Error: [Errno 13] Permission denied: '/var/log/plymouth-debug.log' ProcEnviron: PATH=(custom, user) LANG=en_GB.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic-pae root=UUID=7ad192e9-7b26-49d1-8e1c-fefc7dc495cb ro acpi_sleep=nonvs quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4 Tags: oneiric running-unity ubuntu compiz-0.9 oneiric running-unity oneiric running-unity oneiric running-unity ubuntu compiz-0.9 Uname: Linux 3.0.0-12-generic-pae i686 UpgradeStatus: Upgraded to oneiric on 2011-09-25 (43 days ago) UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare sbuild dmi.bios.date: 08/27/2010 dmi.bios.vendor: LENOVO dmi.bios.version: 6IET72WW (1.32 ) dmi.board.name: 2516CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6IET72WW(1.32):bd08/27/2010:svnLENOVO:pn2516CTO:pvrThinkPadT410:rvnLENOVO:rn2516CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2516CTO dmi.product.version: ThinkPad T410 dmi.sys.vendor: LENOVO version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu5 version.libdrm2: libdrm2 2.4.26-1ubuntu1 version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3 version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1 To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/861268/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp