On 01/05/2013, at 9:29 AM, Simon Voordouw wrote:
> Gloss (1.7.8.2) freezes after rendering a few frames on my MBP. On my desktop machine (Arch linux) it seems to work fine. I tried both my application and gloss-examples. Anyone got an idea what might cause this or instructions on how to find it?
I've had another report of this happening on a recent Retina mac, but other people have used the same hardware / OS and it's been fine. I don't know what causes it. I haven't reproduced the problem myself.
Is it a Retina macbook? If so, what version of OSX?
Does it happen with static pictures as well as animations? You can check this by running gloss-hello and resizing the window to make sure the picture redraws properly
It it works with static pictures but not animations you could try commenting out the following lines in Graphics.Gloss.Internals.Interface.Animate.Timing. This code does the frame rate limiting, and might be getting confused for some reason.
71 when (gateTimeElapsed < timeClamp)
72 $ do sleep backendRef (timeClamp - gateTimeElapsed)
You could also try upgrading your copy of freeglut.
Please let us know if you can work out what causes this, and I'll fix it or add an entry to the FAQ.
Thanks,
Ben.