
Linux/MacOSX running OpenTK
Posted Friday, 26 March, 2010 - 17:41 by emacinnes| Project: | The Open Toolkit library |
| Version: | 1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I'm getting to the bottom of the MacOSX issue on VMWare. It also occurs on Linux (Fedora F10) also through VMWare, the basic problem is that here a 32 bit depth buffer isn't available, only 16 bit, and no AA samples. so the Default values aren't going to make it work here. There are other issues, by hardcoding the display type though I can at least get past this bit.
Euan
Icarus Scene Engine. OpenTK-based 3D simulation & games solution:
http://www.pointscape.com.sg/joomla
See Icarus videos on YouTube at:
http://www.youtube.com/user/emacinnes


Comments
#1
That's strange. The default mode requests a 16bit depth buffer and no AA precisely because for compatibility reasons. From Source/OpenTK/Graphics/GraphicsMode.cs
Edit: aha, it seems that MacOSGraphicsMode hardcodes the mode with id 1 no matter what you request.
This needs to be fixed.
However, this doesn't explain why X11GraphicsMode selects an incompatible mode. (The driver shouldn't do that, in theory).
#2
The Mac issue (#1679: GraphicsMode returns hardcoded mode on Mac OS X) is now fixed.
I cannot reproduce the Linux issue on VirtualBox but please reopen if it still occurs.