I did, but it still goes with the mesa even though it fails later. 
So I have to force it to use the glxSwapIntervalEXT but the code has a bug 
and you have to use the following format:
glxext_arb.glXSwapIntervalEXT(self.x_display,*True*,0)

Also performance wise I don't see any difference with SGI, steady fps but a 
lot of tearing.  


On Wednesday, September 4, 2019 at 8:35:53 PM UTC-5, Benjamin Moran wrote:
>
> In the master branch on Github, support has been added for 
> *GLX_EXT_swap_control*. This does not replace *GLX_MESA_swap_control*, 
> but it will be tried first if it exists. After looking into this, is seems 
> that one or the other will be available - depending on your graphics 
> drivers. 
>
> If someone with a Raspberry Pi could give this a try, that would be great! 
> https://github.com/pyglet/pyglet
>
> -Ben
>
> On Tuesday, August 20, 2019 at 1:07:34 PM UTC+9, Benjamin Moran wrote:
>>
>> It seems like we should change to GLX_EXT_swap_control in pyglet. 
>> I'll look into that. 
>>
>> Also, it's interesting to know that pyglet works on Raspberry Pi. 
>>  
>>
>> On Tuesday, August 20, 2019 at 1:36:10 AM UTC+9, Volker Süß wrote:
>>>
>>> Meanwhile I found a other hint -> 
>>> https://github.com/anholt/libepoxy/issues/201#issuecomment-473466249
>>>
>>> And so I changed the xlib.py in pyglet:
>>>
>>> #        self._have_MESA_swap_control = 
>>> config.glx_info.have_extension('GLX_MESA_swap_control')
>>>         self._have_MESA_swap_control = 
>>> config.glx_info.have_extension('GLX_EXT_swap_control') # vs. 19/8/19
>>>
>>> This works for me. But my raspi 4 is actually to slow to show my sprites 
>>> smoothly...
>>>
>>> Am Montag, 19. August 2019 14:24:30 UTC+2 schrieb Benjamin Moran:
>>>>
>>>> What happens if you set vsync=False when creating the window? 
>>>
>>>

-- 
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 pyglet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyglet-users/128258e9-de15-4c6d-ac33-1bbbb165d129%40googlegroups.com.

Reply via email to