Another question.
I've successfully compiled Gem using ./configure --disable-ARB --disable-NV, and linking against the ati proprietary libGL. Everything seems to work very nicely. Only thing is sending a 'destroy' message to [gemwin] crashes the gemwin. When I say 'crashes', I mean that PD is still useable, but the gemwin freezes, and can't be closed without restarting the window manager (Enlightenment DR16).
Any ideas?
Jamie
Jamie Bullock wrote:
Another question.
I've successfully compiled Gem using ./configure --disable-ARB --disable-NV, and linking against the ati proprietary libGL. Everything seems to work very nicely. Only thing is sending a 'destroy' message to [gemwin] crashes the gemwin. When I say 'crashes', I mean that PD is still useable, but the gemwin freezes, and can't be closed without restarting the window manager (Enlightenment DR16).
Any ideas?
Jamie
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
I've recently submitted a fix for this. It's in the cvs.
If you're compiling 0.90, edit the file '/src/Base/GemWinCreateXWin.cpp'.
void destroyGemWindow(WindowInfo &info) { if (info.dpy) { int error=0; // fix glXMakeCurrent(info.dpy, None, NULL); //add this line here // if (info.win)
This is just a dirty hack. I'm trying a cleaner fix (the problem seems to be that in 'GemBase.cpp' this func is called after 'destroyGemWindow' but it should be called before).
I'm sorry I'm not an experienced X developer, but the line above solved this problem on my system.
c.
Hi Cesare,
On Mon, 06 Feb 2006 18:11:46 +0100 Cesare Marilungo cesare@poeticstudios.com <snip>
I've recently submitted a fix for this. It's in the cvs.
If you're compiling 0.90, edit the file '/src/Base/GemWinCreateXWin.cpp'.
void destroyGemWindow(WindowInfo &info) { if (info.dpy) { int error=0; // fix glXMakeCurrent(info.dpy, None, NULL); //add this line here // if (info.win)
This is just a dirty hack. I'm trying a cleaner fix (the problem seems to be that in 'GemBase.cpp' this func is called after 'destroyGemWindow' but it should be called before).
I'm sorry I'm not an experienced X developer, but the line above solved this problem on my system.
Thanks, but I'm already using the version from CVS that includes your patch. Sadly it doesn't work on my system. FWIW, I have submitted a bug report.
Regards,
Jamie