[Bug 28383] Cloned screens with different res/refresh cause problems with mesa demos since new dri2 vsync.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 13 08:45:46 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28383

Mario Kleiner <mario.kleiner at tuebingen.mpg.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36178|0                           |1
        is obsolete|                            |

--- Comment #5 from Mario Kleiner <mario.kleiner at tuebingen.mpg.de> 2010-06-13 08:45:46 PDT ---
Created an attachment (id=36250)
 View: https://bugs.freedesktop.org/attachment.cgi?id=36250
 Review: https://bugs.freedesktop.org/review?bug=28383&attachment=36250

Fix hang in glXSwapBuffers if drawable has moved between crtc's.

Thanks for testing. If you want you can try this new patch as well - you'll
need to revert the old one first. It is a more clever solution, i already
tested in on a dual-head machine and will send it for inclusion into master /
1.8. But a bit of extra testing never hurts.

This patch detects if a drawable has moved from a "faster" crtc with higher
refresh rate to a "slower" crtc with lower refresh rate. If so, it resets
last_swap_target to the current vblank count of the current slow crtc to avoid
the hang. The patch does nothing when moving from a slow to a fast crtc as that
fixes itself automagically.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xorg-driver-ati mailing list