View Full Version : "Unable to create context rendering"

04-04-2010, 09:06 AM
I try to run Mesa gears example and I get following error:

freeglut (./gears): Unable to create direct context rendering for window 'Gears'
This may hurt performance.

though the application runs successfully, but I guess that in future I will have much problems with productivity.

I run Linux CentOS 5 on WMvare 7. Mesa's version is 6.5
Relevant output of lspci -v gives:

00:0f.0 VGA compatible controller: VMware SVGA II Adapter (prog-if 00 [VGA controller])
Subsystem: VMware SVGA II Adapter
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at 10d0 [size=16]
Memory at d0000000 (32-bit, non-prefetchable) [size=128M]
Memory at d8000000 (32-bit, non-prefetchable) [size=8M]
[virtual] Expansion ROM at 30000000 [disabled] [size=32K]
Capabilities: [40] Vendor Specific Information

Any one have idea? There is driver of vmvare for CentOS?
Thank you for ahead.

04-04-2010, 10:21 AM
"Linux CentOS 5 on WMvare 7" : you use a virtual machine and you care about graphic performance ? Let me say you will feel alone with your problem...

Hardware acceleration only makes sense if there is a direct access to a powerful 3D video card, quite the oposite of virtualization...

Can you share more about the context, the needs, etc ?
Why do you run on a VM and not directly on the host, etc ?
Maybe VirtualGL can help if there an actual 3D accelerated X server on the server hosting the VM : http://www.virtualgl.org/About/Background

04-04-2010, 10:32 AM
Thank you for response :)
Yas, I guess you are right...

So context isn't so wide now, I only try to understand basical things in Linux and OpenGL.
I'm run this on VM now, because the same thing, but in future I will migrate to host directly.
And, yes I will read about VirtualGL.
Thank you again.