OpenGL 3.3 Ubuntu (Virtual Machine)

戏子无情 提交于 2019-12-13 02:23:44

问题


I need openGL 3.3 or higher to use GLSL 3.3. My problem is that I have Mac Os X which doesn't allow to use a version higher than 2.1 of OpenGL. I've installed a virtual machine of Ubuntu inside my system but also has the version 2.1 of OpenGL. I don't understand what's going on because I have an AMD Radeon HD 6490M 256 MB which is compatible with version 4.1 of OpenGL. Is there any way that I can use openGL 3.3 or higher without doing a disk partition?


回答1:


I don't understand what's going on because I have an AMD Radeon HD 6490M 256 MB which is compatible with version 4.1 of OpenGL

The GPU serves the host machine. The virtual machine sees only some dumb framebuffer device, or the OpenGL API available to the VM running on the host passed through the guest.

If you want to leverage the OpenGL-4 capabilities you must install an OS that can access the GPU natively. Also, if you want to run Linux you'll have to install the proprietary fglrx drivers (also called Catalyst for Linux), as the open source drivers that ship as distribution default haven't caught up yet.




回答2:


Is there any way that I can use openGL 3.3 or higher without doing a disk partition?

Upgrade to OS X 10.9 when it comes out or grab the beta.

Or find some VM software for OS X that supports VGA passthrough.

If you're willing to repartition you can install Windows or Linux natively and use the drivers from AMD.



来源:https://stackoverflow.com/questions/18771347/opengl-3-3-ubuntu-virtual-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!