I'll try to give it a spin. I just replaced my amd card with a brand new
Nvidia. My wife's laptop has an Intel card, but no Linux. I might try it
with a live USB setup.

Rob

On 19 Jul 2017 04:11, "Benjamin Moran" <[email protected]> wrote:

> Hi guys,
>
> If anyone has an Intel or Nvidia card, it would be great if you could help
> test the following code.
>
> There is an open issue ticket for un-setting vsync on Linux, for the
> proprietary Nvidia drivers.
> https://bitbucket.org/pyglet/pyglet/issues/133/allow-vsync-
> false-for-linux-xlib-context
> Specifically, it was impossible to unset vsync. I've refactored the logic
> a bit, and I believe it
> should now work correctly.
>
> In pyglet/gl/xlib.py, from line 225, change the set_vsync method to:
>
>     def set_vsync(self, vsync=True):
>         self._vsync = vsync
>         interval = vsync and 1 or 0
>         if not self._use_video_sync and self._have_MESA_swap_control:
>             glxext_mesa.glXSwapIntervalMESA(interval)
>         elif self._have_SGI_swap_control:
>             glxext_arb.glXSwapIntervalSGI(interval)
>
>
> After that, try to *un-*set vsync on an application. Before, vsync would
> be always on for Nvidia.
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "pyglet-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/pyglet-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to