On 10/07/14 08:33, [email protected] wrote:
> Hey all,
> Just noticed that when you play my game in a linux system using a window 
> manager with compositing
> turned on (I'm using MATE) you get a lot of screen tearing, even when vsync 
> is enabled.  Does
> anyone know what causes this, and what I can do to avoid it?
> 
> Example video here: https://www.youtube.com/watch?v=3ROPYmIuJmw
> 

Are you using the latest repo code? We are already using all the tricks
in the book to disable composite redirection *in fullscreen*; being the
newest one:

http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#idm140146176696384

(not sure if that's supported by Mate composite manager, it's a new
thing I added to pyglet after it was added to SDL2 although at that time
I think only KWin was supporting it)

So if you're not using full screen (sorry I couldn't see the video,
still processing), there's nothing we can I'm afraid. Even using
_NET_WM_BYPASS_COMPOSITOR (if supported) MAY NOT work in window mode.

The relevant code is in: pyglet/window/xlib/__init__.py

Regards,

Juan


-- 
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 http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to