[Vm-dev] Differences in OpenGL support on Linux vs. OS X?

Bert Freudenberg bert at freudenbergs.de
Wed Jun 6 20:35:28 UTC 2012


On 06.06.2012, at 18:15, "Phil (list)" <pbpublist at gmail.com> wrote:

> 
> I'm having some problems with code that was previously working that I've narrowed down to what I believe is a difference in platform behavior and could use some help.  The issue is that when I draw single frames in OpenGL, things work as expected on both platforms.  However, when I try to do some simple animation via Morphic stepping, it works as expected on the Mac (i.e. smooth animation at a decent framerate) but on Linux there seems to be an issue where the frame gets drawn by OpenGL then immediately drawn over with the background color so it's essentially doubling the redraw rate and looking terrible to boot.  I'm assuming (possibly incorrectly) that this is purely a VM/plugin issue as I'm using the same image file on both platforms.
> 
> The VM I'm running is from http://www.mirandabanda.org/files/Cog/VM/VM.r2550/  (i.e. the Mac and Linux versions)
> 
> Any ideas?
> 
> Thanks,
> Phil

I seem to recall that indeed regular drawing in Linux could be seen "over" the OpenGL view.

The simplest fix would be to Not Do That ;) That is, do not do any drawing besides OpenGL - which you don't want to do in any case because of performance reasons. 

- Bert -


More information about the Vm-dev mailing list