Page 1 of 1

Question about 3D effects, Nvidia drivers and VB

Posted: 28. Jul 2013, 23:45
by Antlab
Hi all.
In the past I used VirtualBox mainly to run Sage, a math program that doesn't require particular 3D acceleration.

In this period however I am using VB to try some Linux distributions, and I have a question related to graphic drivers.
I use as host a PC with Windows 7 and a Nvidia GTX 560 graphic card.
If I understand correctly, VB uses the Innotek drivers for managing graphics, and the Guest additions to provide other services, as 3D acceleration.

But with my Linux Mint 15 KDE I have problems in activating the 3D desktop effects, so I was searching for solutions, and found a recent thread here on VB forums talking about some VB issued with 3D.

So, now I have some doubts:
- Do I have to install the Nvidia drivers for Linux in my host, or they are not relevant, if VB is not able to see them?
- What are the problems mentioned in that thread about "the latest VB version, Nvidia card and 3D rendering"?

Thanks.

Re: Question about 3D effects, Nvidia drivers and VB

Posted: 30. Jul 2013, 09:29
by noteirak
Antlab wrote:- Do I have to install the Nvidia drivers for Linux in my host, or they are not relevant, if VB is not able to see them?
You need the nvidia drivers in the host, but not in the guest which does not see your physical GFX
Antlab wrote:- What are the problems mentioned in that thread about "the latest VB version, Nvidia card and 3D rendering"?
Can't find that thread. since you most likely can't post URLs yet, simply put the part starting with viewtopic.php?f=xxxxxx

Re: Question about 3D effects, Nvidia drivers and VB

Posted: 30. Jul 2013, 23:41
by Antlab
noteirak wrote:
Antlab wrote: You need the nvidia drivers in the host, but not in the guest which does not see your physical GFX

Can't find that thread. since you most likely can't post URLs yet, simply put the part starting with viewtopic.php?f=xxxxxx
Hi, thanks for the answer.
I have the Nvidia drivers installed in my host PC, they work normally with acceleration and OpenGL in Windows. Anyway I am not able to run any 3D effect on my Linux Mint 15 guest in Virtualbox.

Concering the thread, it was this:
viewtopic.php?f=3&t=55691

Re: Question about 3D effects, Nvidia drivers and VB

Posted: 31. Jul 2013, 00:18
by Perryg
First make sure that you have installed the guest additions (in the guest).
Next make sure that you have enabled 3D acceleration in the guest settings -> display section.

To check run the following in a guest terminal:

Code: Select all

glxinfo | grep OpenGL

Re: Question about 3D effects, Nvidia drivers and VB

Posted: 31. Jul 2013, 01:27
by Antlab
Perryg wrote:First make sure that you have installed the guest additions (in the guest).
Next make sure that you have enabled 3D acceleration in the guest settings -> display section.
To check run the following in a guest terminal:

Code: Select all

glxinfo | grep OpenGL
Hi.
I installed the guest additions and checked that 3D acceleration is enabled in the VB guest settings.
Anyway it seems that there are problems with OpenGL actually.
Giving the command you indicated, this is what I obtain:
**************************
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
OpenGL vendor string: Humper
OpenGL renderer string: Chromium
OpenGL version string: 2.1 Chromium 1.9
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
OpenGL extensions:
************************
Do you understand what does that mean?

Thanks

Re: Question about 3D effects, Nvidia drivers and VB

Posted: 31. Jul 2013, 14:45
by Perryg
Looks like it is working to me. Some features have not been enabled in 3D guest additions but you should have acceleration.
Run glxgears in a terminal and see if it works.

Re: Question about 3D effects, Nvidia drivers and VB

Posted: 31. Jul 2013, 16:26
by Antlab
Perryg wrote:Looks like it is working to me. Some features have not been enabled in 3D guest additions but you should have acceleration.
Run glxgears in a terminal and see if it works.
The problem is that when I try to apply the Desktop effects in KDE settings, an alert windows appears saying that the effects require OpenGL, as is the graphic library was not available to the DE.

When I give the glxgears command I obtain a window with the cute animation of the three colored gears rotating, and in the main terminal window the following lines:

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

I was thinking one thing: could my problem be related to the fact that in VB settings I can't assign to the video card more than 128 MB of RAM?