Ubuntu 14.04.2 - Additional Drivers (Graphics) not working

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Tarek701
Posts: 10
Joined: 21. Jul 2015, 15:22

Ubuntu 14.04.2 - Additional Drivers (Graphics) not working

Post by Tarek701 »

So, well. Installed Ubuntu 14.04.02 and everything works fine. Problem now is following. Firefox and all the stuff lags horribly in Ubuntu. So, I used VBoxGuestAdditions to install all the drivers etc. However, by looking into additional drivers I got this here:
Image

Why? I have seriously no idea what could've been went wrong. Some help would be nice.

EDIT:
I also enabled 3D acceleration. Drivers are still not working.

-Tarek701-
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by Perryg »

Post the guests log file ( as an attachment )
As well as /var/log/vboxadd-install.log from the guest
Tarek701
Posts: 10
Joined: 21. Jul 2015, 15:22

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by Tarek701 »

Perryg wrote:Post the guests log file ( as an attachment )
As well as /var/log/vboxadd-install.log from the guest
Ok.

http://pastebin.com/ySwngzYr - vboxadd-install.log

http://pastebin.com/Jbxs3TTj - Vbox.log

Here.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by Perryg »

Code: Select all

00:14:55.364354 VMMDev: Guest Additions information report: Version 5.0.0 r101573 '5.0.0'
I find approx 15 minutes before the guest additions report enabled very strange. You should see if you can find out why so long. What is the guest exactly?
Tarek701
Posts: 10
Joined: 21. Jul 2015, 15:22

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by Tarek701 »

Perryg wrote:

Code: Select all

00:14:55.364354 VMMDev: Guest Additions information report: Version 5.0.0 r101573 '5.0.0'
I find approx. 15 minutes before the guest additions report enabled very strange. You should see if you can find out why so long. What is the guest exactly?
The guest is Ubuntu 14.04.02 LTS.
Tarek701
Posts: 10
Joined: 21. Jul 2015, 15:22

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by Tarek701 »

Still not able to fix it. Re-installed, everything, still the same thing that additional drivers are not working.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by loukingjr »

Tarek701 wrote:Still not able to fix it. Re-installed, everything, still the same thing that additional drivers are not working.
If you mean the additional video driver from the Ubuntu Settings Panel you shouldn't install that at all. If you already have, remove it.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Tarek701
Posts: 10
Joined: 21. Jul 2015, 15:22

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by Tarek701 »

loukingjr wrote:
Tarek701 wrote:Still not able to fix it. Re-installed, everything, still the same thing that additional drivers are not working.
If you mean the additional video driver from the Ubuntu Settings Panel you shouldn't install that at all. If you already have, remove it.
No, it's the driver which is installed by VirtualBox through Guest Box Additions. It should work, but it doesn't and ubuntu tells me (see pic above) that the device doesn't seem to work.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by loukingjr »

Actually the picture seems to offer the choice to continue to use the manually installed driver which you should enable. But you would never see that screen unless you clicked on Additional Driver in the first place.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Tarek701
Posts: 10
Joined: 21. Jul 2015, 15:22

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by Tarek701 »

loukingjr wrote:Actually the picture seems to offer the choice to continue to use the manually installed driver which you should enable. But you would never see that screen unless you clicked on Additional Driver in the first place.
Mh, well. It's strange, I cannot start any 3D applications (I'm working with a rendering engine) and they close immediately. I just tested with glxinfo and it tells me this:

Image

So, vboxvideo is not found respectively not load. But why? I've also saw that this was listed as a bug earlier but then "fixed". However, I re-installed ubuntu five times now. It's odd. I hope here's someone who has the same problem as well and (eventually) knows what causes it.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by Perryg »

Code: Select all

ubuntu@ubuntu:~$ cat /etc/issue
Ubuntu 14.04.2 LTS \n \l

ubuntu@ubuntu:~$ glxinfo | grep OpenGL
libGL error: pci id for fd 4: 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 vendor string: Humper
OpenGL renderer string: Chromium
OpenGL version string: 2.1 Chromium 1.9
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL extensions:
ubuntu@ubuntu:~$ 
As you can see the same thing shows in a working instance. This is not really a problem since VirtualBox is not actually using the same calls to work. The important thing is the Chromium/humper. This is what VBox uses for their OpenGL drivers.

Now to address the slowness of Firefox. In the Firefox preference you need to disable the access GPU directly since there is no way that the guest can actually access the host hardware directly.
Tarek701
Posts: 10
Joined: 21. Jul 2015, 15:22

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by Tarek701 »

Perryg wrote:

Code: Select all

ubuntu@ubuntu:~$ cat /etc/issue
Ubuntu 14.04.2 LTS \n \l

ubuntu@ubuntu:~$ glxinfo | grep OpenGL
libGL error: pci id for fd 4: 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 vendor string: Humper
OpenGL renderer string: Chromium
OpenGL version string: 2.1 Chromium 1.9
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL extensions:
ubuntu@ubuntu:~$ 
As you can see the same thing shows in a working instance. This is not really a problem since VirtualBox is not actually using the same calls to work. The important thing is the Chromium/humper. This is what VBox uses for their OpenGL drivers.

Now to address the slowness of Firefox. In the Firefox preference you need to disable the access GPU directly since there is no way that the guest can actually access the host hardware directly.
Mh, thanks. But the thing is all my openGL programs do not start. I'm working with a rendering engine and it's logs also tell that everything works fine but once the render process starts, the program immediately closes. I verified that my codes are correct and there were no errors made. I also tested the code on my other ubuntu installation as host system. So, it must have something to do with VirtualBox.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by Perryg »

That's all anyone here can tell you. Virtual guests and 3D rendering is not the same as on metal I am afraid. I have read the disabling 3D does help some but then you are using software rendering and that will be slower. You can create a ticket on bugtracker if you like but be sure to provide as much information as you can or they will place it way down the list.
Tarek701
Posts: 10
Joined: 21. Jul 2015, 15:22

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by Tarek701 »

I found out what the problem was. It looks like that the programs want OpenGL 3.0 from me, which VirtualBox drivers don't install. Could I try to install nvidia drivers in virtualbox or is this definitely not going to work?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu 14.04.2 - Additional Drivers (Graphics) not worki

Post by Perryg »

Adding 3rd party drivers will not help and most likely cause the guest to not work at all.
Post Reply