3D Support in ubuntu 14.04.1 guest.

Discussions related to using VirtualBox on Windows hosts.
Post Reply
DavyJohnes
Posts: 5
Joined: 12. Aug 2011, 14:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.10

3D Support in ubuntu 14.04.1 guest.

Post by DavyJohnes »

Hello all!
I have installed VB 4.3.14 on Windows 8.1 x64 host and there is a problem with 3D support in ubuntu guest system. I've made clean install ubuntu recently, installed dkms and guest additions and enabled 3D support in VM settings.
After reboot, ubuntu shows logon screen, but when I try to login VM crashes with this "Software error" message. Log file says:
0:00:32.152907 OpenGL Info: Render SPU: GL_VENDOR: Microsoft Corporation
00:00:32.152924 OpenGL Info: Render SPU: GL_RENDERER: GDI Generic
00:00:32.152927 OpenGL Info: Render SPU: GL_VERSION: 1.1.0
00:00:32.152930 OpenGL Info: Render SPU: GL_EXTENSIONS: GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture
00:00:32.153422 OpenGL Warning: gl error (0x500) after context switch, ignoring.. (1 out of 5) ..
00:00:32.153431 OpenGL Warning: FBO not supported, can't redirect window output
00:00:32.153436 OpenGL Warning: Assertion failed: mural->fRedirected, file C:\tinderbox\win-4.3\src\VBox\HostServices\SharedOpenGL\crserverlib\server_muralfbo.cpp, line 266
00:00:32.153439 OpenGL Warning: Assertion failed: mural->fRedirected, file C:\tinderbox\win-4.3\src\VBox\HostServices\SharedOpenGL\crserverlib\server_muralfbo.cpp, line 148
I guess that happens because of VB detects GDI Generic instead of my real GPU (Intel HD Graphics 4000). So, why does this happens? How can I force VB to use Intel HD graphics?

P.S.: I'm connected to Host and Guest system directly, RDP is not used.
Bueffel
Posts: 4
Joined: 19. Aug 2014, 20:59

Re: 3D Support in ubuntu 14.04.1 guest.

Post by Bueffel »

I can confirm this, I am observing exactly the same issue, with Intel HD 4600 (latest driver 10.18.10.3621)

Using VB 4.3.12 , the correct verndor-specific OpenGL driver is used :
00:00:27.446361 OpenGL Info: Render SPU: GL_VENDOR: Intel
00:00:27.446378 OpenGL Info: Render SPU: GL_RENDERER: Intel(R) HD Graphics 4600
00:00:27.446381 OpenGL Info: Render SPU: GL_VERSION: 4.2.0 - Build 10.18.10.3621

(proving the host's driver is there)

There seems to be some issue of VB 4.3.14 not finding vendor's OpenGL and falling back to MS default on machines with IntelHD Graphics.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: 3D Support in ubuntu 14.04.1 guest.

Post by Perryg »

This issue usually happens when you have dual graphics and a laptop. They have a low res version to conserve power and a high res version that supports higher graphics. Needless to say this is addressable on the host machine side and VirtualBox will only use what it is being offered.
Bueffel
Posts: 4
Joined: 19. Aug 2014, 20:59

Re: 3D Support in ubuntu 14.04.1 guest.

Post by Bueffel »

I at least do Not have a Laptop or dual graphics. And it worked with previous VB versions, so it is a bug or compatibility issue with vb 4.3.14
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: 3D Support in ubuntu 14.04.1 guest.

Post by Perryg »

Bugs are to be reported to bugtracker
DavyJohnes
Posts: 5
Joined: 12. Aug 2011, 14:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.10

Re: 3D Support in ubuntu 14.04.1 guest.

Post by DavyJohnes »

So, is there any idea how to fix it?
Bueffel
Posts: 4
Joined: 19. Aug 2014, 20:59

Re: 3D Support in ubuntu 14.04.1 guest.

Post by Bueffel »

DavyJohnes wrote:So, is there any idea how to fix it?
I didn't find a solution yet. What I am doing now is using VB 4.3.12 , but with guest addons 4.3.14. This combination at least claims 3D support, and unity compatibility test

/usr/lib/nux/unity_support_test -p

says "yes" to everything and gives me Chromium as renderer, UI is smooth. Using guest addons 4.3.12 say "no" to 3d support, and is noticably slow.
However, GPUtest-Tool exits with a seg-fault, glxgears gives about 120 Frames/s (is that what you expect on an i7 machine?)
Programs I compile with QT run but give a lot of messages, of which I am not certain wether they are "normal" or not (errors about vboxvideo driver are normal, I read somewhere here).

libGL error: pci id for fd 17: 80ee:beef, driver (null)
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x12532b0
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x12532b0
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x12532b0
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0x12532b0, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x12532b0
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0x12532b0, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x12532b0
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0x12532b0, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x12532b0
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0x12532b0, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x12532b0
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0x12532b0, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x12532b0
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0x12532b0, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x12532b0
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0x12532b0, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x12532b0
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0x12532b0, failed to get XVisualInfo
Post Reply