The SDL_WarpMouse && GLES Freeze


I think I have a complete solution for the hard freeze / mini freeze with the Grabbed Mouse on OpenGLES.

Here is the diff to apply to sdl_omap git. Very few lines. Basically, I don't wait for X11 messages. That's a dirty hack, but seems to works. seb.zip
 

Attachments

  • seb.zip
    1.1 KB · Views: 150
Did you miss my final fix here? http://boards.openpandora.org/index.php/topic/11506-opengl-implementation-tldr-more-games/?p=232682

I think the PVR driver doesn't play well with multiple X display instances + OpenGL. The freezes were ultimately fixed when I modified SDL to use a single XOpenDisplay internally instead of three. I also updated my libpreload to patch this, but it doesn't work with the dlsym in Pandora SDL.

Please don't just ignore X11 responses. I think there's a bigger issue you're ignoring at that point.
 
Last edited by a moderator:
Did you miss my final fix here? http://boards.openpandora.org/index.php/topic/11506-opengl-implementation-tldr-more-games/?p=232682

I think the PVR driver doesn't play well with multiple X display instances + OpenGL. The freezes were ultimately fixed when I modified SDL to use a single XOpenDisplay internally instead of three. I also updated my libpreload to patch this, but it doesn't work with the dlsym in Pandora SDL.

Please don't just ignore X11 responses. I think there's a bigger issue you're ignoring at that point.
Ah yes, I missed that post !

Hum, ok, I'll rework my fix, to not ignore/drop X11 messages and open just 1 X11 Display :) . I'll post result/diff here.
 
Last edited by a moderator:
Back
Top