VirtualBox specific problem

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Bob Desaunois
:warning: Old Version Published before Godot 3 was released.

I’m a developer coming from Unity, and Godot seems to be a really good alternative.
I really want to love it, but I’m stumped by this error.

I tried downloading a precompiled binary from the godot website, and I tried compiling godot from the last source release but both drop the same vague error.

The strange thing is that I installed Ubuntu on my laptop, and installed Godot on it without problem, now I have Ubuntu running in a VBOX and now it’s failing.

I have included the error below

ERROR: initialize: Condition ' !glXCreateContextAttribsARB ' is true. returned: 

ERR_UNCONFIGURED
   At: platform/x11/context_gl_x11.cpp:88.
ERROR: initialize: Condition ' x11_window==0 ' is true.
   At: platform/x11/os_x11.cpp:304.
Segmentation fault (core dumped)

Really curious as to what is going on here.

Would like to note that I do not think this is a bug but rather something maybe to do with VirtualBox?

Bob Desaunois | 2016-10-27 19:54

Possibly related to OpenGL requirements, godot need GLES2.1 support.

EDIT: Also check on github, some people were working on a series of fixes for old/buggy
drivers but can’t remember if VirtualBox was there.

eons | 2016-10-27 21:24

The old driver was the problem, enabled the correct driver via Additional Drivers, this completely solved the problem.

Not sure how to go about marking this answer now, would you like to compose an answer so I may mark it, or should I take the liberty of writing one myself?

Bob Desaunois | 2016-10-27 22:36

If you find the solution then I think it’s fine to answer yourself.

Zylann | 2016-10-27 23:39

:bust_in_silhouette: Reply From: Bob Desaunois

In your system settings go to “Additional Drivers” and enable all proprietary drivers, this should fix the problem.