← Back to team overview

compiz team mailing list archive

[Bug 269904] Re: Screen refresh problems with nvidia on intrepid

 

I've attached a patch that fixes the problem.

To give a little more detail on the race condition:

The problem is that when the X server receives a request to do some
drawing, it will send the drawing commands to the video driver and then
it immediately sends out the damage event. That works as long as the GPU
only processes one command at a time, in the order they were given.

But, an Nvidia GPU can handle multiple command streams at the same time.
If the X11 rendering takes long enough, then Compiz will try to redraw
the screen while the application's rendering is still in progress.

The GL_EXT_x11_sync_object extension was created to fix this exact
problem. It lets you use an X11 fence as an OpenGL sync object, so you
can make Compiz's rendering wait until any X11 rendering has finished.

** Patch added: "Add an option to use GL_EXT_x11_sync_object to synchronize updates with X11 drawing"
   https://bugs.launchpad.net/compiz/+bug/269904/+attachment/3947928/+files/add_x_to_gl_sync.patch

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/269904

Title:
  Screen refresh problems with nvidia on intrepid

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/269904/+subscriptions