Hi,
This is weird, since I installed Pi3d on vmware about a month ago and it worked. Later, uninstalled the vmware fusion trial and bought a license.
I'm using a Lubuntu 14.04.2 64bits image, however, I have tested it using Lubuntu 14.04.1 32 bits and Ubuntu 14.04.2 32 bits and the results are the same.
When trying to run any demo, I get the following:
Traceback (most recent call last):
File "Minimal.py", line 7, in <module>
DISPLAY = pi3d.Display.create(x=150, y=150)
File "/usr/local/lib/python2.7/dist-packages/pi3d/Display.py", line 487, in create
display.opengl.create_display(x, y, w, h, depth=depth, samples=samples)
File "/usr/local/lib/python2.7/dist-packages/pi3d/util/DisplayOpenGL.py", line 62, in create_display
assert self.context != EGL_NO_CONTEXT
AssertionError
After some googling, I found that this error relates to the amount of vram available. lspci -v reveals:
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 16
I/O ports at 1070 [size=16]
Memory at e8000000 (32-bit, prefetchable) [size=128M]
Memory at fe000000 (32-bit, non-prefetchable) [size=8M]
[virtual] Expansion ROM at c0000000 [disabled] [size=32K]
Capabilities: <access denied>
Kernel driver in use: vmwgfx
The VM settings are: 1024mb of ram, 768mb max for video.
According to vmware, the maximum amount of vram for a virtual machine is 128mb. Already tried increasing this trough modifications on the .vmx file, but the max allowed is 128mb.
Looking through this group, I found an answer that suggested to sudo find / -name libEGL* and symlink, according to faq answer #7. Now it gives a different error :(
I installed pi3d via pip, and also installed mesa-utils-extra, following the instructions on the pi3d readme.
Any help to make pi3d work on vmware, virtualbox, or even OS X would be great.
thanks.