Screen tearing at top of screen with VSync enabled on Compiz with fullscreen OpenGL programs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
Invalid
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: compiz
I am noticing a problem when I have Sync to VBlank enabled for applications which involve OpenGL, particularly when in fullscreen. If there is consistent fast scrolling action at the very top of the screen, then screen tearing occurs there, a problem does not happen with Metacity, so I have concluded this is a problem with Compiz - I am using the non-free NVidia driver.
It happens on Wine applications as well as on native Linux applications as well, such as Gens GS and Google Earth, but doesn't occur on Firefox or Totem.
VSync to Blank is of course enabled on both the OpenGL section of NVidia settings and in CompizConfig Settings Manager.
NVidia settings tell me that my LCD monitor is currently using a refresh rate of 75.02Hz. Asking Compiz to detect the refresh rate causes Compiz to jerk along. Setting it to 75Hz (my monitor's refresh rate) and above causes the problem with screen tearing at the top of the screen. I did note that this problem from memory did not occur on Gutsy and Hardy, but occurs on Intrepid and Jaunty, which I am currently using.
What should happen:
No screen tearing occurs.
What happens instead:
Screen tearing occurs at the top of the screen during fast paced action on fullscreen OpenGL applications.
Output of lspci | grep -i vga:
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8800 GT (rev a2)
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
MachineType: System manufacturer System Product Name
NonfreeKernelMo
Package: compiz 1:0.8.2-0ubuntu8.1
PackageArchitec
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=C
SHELL=/bin/bash
ProcVersionSign
SourcePackage: compiz
i can confirm this on ubuntu 9.04 using the provided nvidia diver (180) and also on driver version 185 !
If we set "unredirect fullscreen windows" on, the tearing on fullscreen stops completely. But this results in blinking whenever we right-click in the fullscreen app: the desktop shows and then re-disappears, and this is VERY annoying rendering the fullscreen experience an unbearable one.
If we set the option "unredirect fullscreen windows" off, the blinking stops completely but the tearing comes back in a horrible break line at the top of the screen.