X freezes when trying to switch OpenGL context
Hello,
I have an ugly problem I''m trying to solve for some days... if someone knows, please say.
My app uses OpenGL and GLUT, and compiles on Linux and Win32. However, the problem happens on Linux only. In some moments it completely freezes X. I have stepped through it in gdb
and found that it deadlocks somewhere inside a function called xfree86DRIMakeCurrent(). It then goes through _XReply and _XRead to __select and then sits there waiting forever.
I know it''s a difficult question when you don''t see the code but the thing is too large to be posted here. Anyone seen something like this before?
Have a nice day,
---
Never trust a Troglotroll.
---Never trust a Troglotroll.
Did you create a new glX context after initializing
glut and then switch to the new glX context at the
glX level? If so I don''t know if you can do that
since glut is pretty strict about maintaining everything
above the glX level.
glut and then switch to the new glX context at the
glX level? If so I don''t know if you can do that
since glut is pretty strict about maintaining everything
above the glX level.
Tara Milana - WP Entertainmenthttp://wolfpack.twu.net/Comp graphics artist and programmer.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement