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/d8ff64c0-0f1c-4e52-8802-19e7a0de9bdc%40googlegroups.com.

Reply via email to