Hi,

In our team, we've been doing some testing through the plugin that shows
compiz redraws.  The main result that our testing got was that compiz
*is redrawing* the window when the bug occurs.  This means that compiz
is getting the "redraw" signal correctly, but when it redraws, the
buffer still contains the old or partially old content.  Doing any
change in the environment but not the content, like moving the window
affected, triggers another redraw and this time with the right content.

We also found that unaffected programs, like terminator or konsole, do
more redraws.  So it's possible that the first redraw is corrupted (it
flashes way too fast to tell) but then the second one is not corrupted.

Current working hypothesis:
Certain programs (gnome-terminal, gvim, xterm) when being used in a compositing 
environment send the "please redraw" signal before they have finished drawing 
to their buffer and so the compositing window manager draws a partially/totally 
corrupted screen.

We've found that we can reproduce this bug with 1 or 2 monitors, running
under several different environments (unity, gnome, cinnamon), in our
case always with nVidia cards.

When using Unity, the current workaround is to enable "Force full screen
redraws (buffer swap) on repaint" through ccsm.   When using cinnamon
we've tried the workaround listed in the previous post (CLUTTER_PAINT
=disable-clipped-redraws:disable-culling <command>) helps but doesn't
solve it 100%.

-- 
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

Reply via email to