Opened 8 years ago
Last modified 8 years ago
#15540 new defect
Can't run Unity Editor due to openGL errors
Reported by: | elmir | Owned by: | |
---|---|---|---|
Component: | guest additions/x11/graphics | Version: | VirtualBox 5.0.22 |
Keywords: | openGL | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description
Not possible to run linux Unity Editor if 3D acceleration is enabled.
Starting Unity Editor fails with following error message in the log:
OpenGL Warning: glXChooseVisual: ignoring attribute 0x22 OpenGL Warning: glXChooseVisual: bad attrib=0x186a1, ignoring OpenGL Warning: glXChooseVisual: bad attrib=0x186a0, ignoring No valid fbconfig found OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000000000000 OpenGL Warning: glXChooseFBConfig returning NULL, due to attrib=0x2, next=0x20 [0621/173105:ERROR:gl_surface_glx.cc(613)] glXChooseFBConfig failed.
This is Unity Editor 5.3.5f1 (http://download.unity3d.com/download_unity/linux/unity-editor-5.3.5f1+20160525_amd64.deb) running under Ubuntu 16.04.
Created a wiki page to answer this. This looks like an issue that someone with reasonable 3D programming skills should be able to fix. We will not be looking at this for now, but I will leave the ticket open for anyone interested in contributing a patch.