Ubuntu 14.04 guest reports software 3D rendering

Discussions about using Linux guests in VirtualBox.
jbeta
Posts: 16
Joined: 24. May 2012, 22:00
Primary OS: MS Windows 8.1
VBox Version: OSE other
Guest OSses: Ubuntu, Debian, Fedora, OEL, MSDOS, Windows, Etc.
Location: USA

Ubuntu 14.04 guest reports software 3D rendering

Post by jbeta »

Hi. I am not sure if this is a problem or not, but I installed Ubuntu 14.04 x64 as a guest on windows 8.1 today with 3D acceleration enabled (128MB video memory set) and the guest reports it is falling back to software rendering for 3D. Well, I don't remember it saying that in any previous Ubuntu, so I believe the guest additions should be considered hardware acceleration by the guest, right? Or is 14.04 just too new for that to be implemented?

If that's the case, then nevermind, but otherwise please let me know if I need to troubleshoot this more (i.e. if it's working for other people.)

Thanks!
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Ubuntu 14.04 guest reports software 3D rendering

Post by loukingjr »

3D acceleration works with all 14.04 LTS 'buntus. Are you sure you installed the guest additions? attach the vbox.log file zipped.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
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 guest reports software 3D rendering

Post by Perryg »

You can run the following in the guests terminal and see if the VBox 3D drivers are actually being used.

Code: Select all

glxinfo | grep OpenGL
If it says chromium/humper they are VBox Anything else is software rendering mode.

Note: You will need to install mesa-utils to be able to use glxinfo
jbeta
Posts: 16
Joined: 24. May 2012, 22:00
Primary OS: MS Windows 8.1
VBox Version: OSE other
Guest OSses: Ubuntu, Debian, Fedora, OEL, MSDOS, Windows, Etc.
Location: USA

Re: Ubuntu 14.04 guest reports software 3D rendering

Post by jbeta »

Hey, I don't know why, but it's not throwing the error now. I had rebooted several times before after installing the guest additions, which I did twice. The performance seems the same though...I installed a bunch of dev packages, and maybe... I don't know, but glxinfo shows humper/chromium. Thanks for the advice, I guess it was just a small thing.

In case anyone might be curious, after the normal install I installed these for working on VLC:
gcc-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64-tools lua5.2 libtool automake autoconf autopoint make gettext pkg-config qt4-dev-tools git subversion cmake cvs zip p7zip bzip2 mesa-utils

The last one just now without reboot. I don't know if any of that mattered, but all seems good at the moment.

Thanks again!

EDIT: I added the last two log files just in case they are relevant.
Attachments
VBox.log.zip
(39.82 KiB) Downloaded 94 times
bohboh
Posts: 8
Joined: 19. Apr 2014, 06:04
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu v14.04

Re: Ubuntu 14.04 guest reports software 3D rendering

Post by bohboh »

I have the similar problem with jbeta's VirtualBox.

My VirtualBox verison is 4.3.10 on Windows 7 64 bit host and I've installed Ubuntu 14.04 Desktop 64bit as a guest.
The video memory is 128MB and the 3D acceleration option is checked.

My Ubuntu has been installed with the following steps:

1. Create a new VM and install Ubuntu 14.04 64 bit.
2. Run "sudo apt-get update" as the user guide Chapter 4.2.2 Guest Additions for Linux.
3. Run "sudo apt-get upgrade".
4. Run "sudo apt-get install dkms".
5. Mount Guest Additions CD through the VirtualBox VM menu and install it.

After above steps, I checked "unity-support-test" and got the result as follows.

Code: Select all

bohemian@bohemian-VirtualBox:~$ /usr/lib/nux/unity_support_test -p
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

Not software rendered:    yes
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Unity 3D supported:       yes
I installed other versions of Ubuntu(13.10, 12.10) but the results are the same.

Could you check this issue, please?

Thank you.

P.S. I've attached the result of "glxinfo | grep OpenGL".
Attachments
glxinfo_OpenGL.txt
glxinfo | grep OpenGL
(1.75 KiB) Downloaded 152 times
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 guest reports software 3D rendering

Post by Perryg »

@bohboh,

Code: Select all

OpenGL vendor string:   Humper
OpenGL renderer string: Chromium
OpenGL version string:  2.1 Chromium 1.9

Not software rendered:    yes
I know it ( the wording ) is confusing but the snip I cut from the test post of yours actually says it is not software rendered.
What are you symptoms?
bohboh
Posts: 8
Joined: 19. Apr 2014, 06:04
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu v14.04

Re: Ubuntu 14.04 guest reports software 3D rendering

Post by bohboh »

Thank you very much for your quick reply.

I'm not good at English and Linux, so quite difficult to explain my situation.
I'm so sorry.

I thought that a few libGL errors mean 3D acceleration does not work well.

Code: Select all

libGL error: pci id for fd 4: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
And in Xorg.0.log has a few errors too.

Code: Select all

bohemian@bohemian-VirtualBox:~$ cat /var/log/Xorg.0.log | grep '(EE)'
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    17.469] (EE) AIGLX error: vboxvideo does not export required DRI extension
[    17.469] (EE) AIGLX: reverting to software rendering
I guess vboxvideo is an important driver for OpenGL because many articles about vboxvideo are in this forum and the web.
My VirtualBox cannot load it and some errors about vboxvideo occur.

Does my VirtualBox and Ubuntu have no problem, or not?
Could you confirm it, please?

Thank you.
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 guest reports software 3D rendering

Post by Perryg »

I can confirm that the errors you are seeing do not seem to indicate an issue. If you did not have 3D acceleration then the tests would say that you are running gallium instead of chromium and the ubuntu test would say Not software rendered: no

Most of these tests are designed for machines on metal and are not able to detect the VirtualBox drivers properly.
newbi
Posts: 1
Joined: 21. Apr 2014, 20:47

Re: Ubuntu 14.04 guest reports software 3D rendering

Post by newbi »

I have the same errors as bohboh. Also, scilab would not start and show the following errors:

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

Also, chromium browser stays on top of all windows. Aside from these tow issues, everything else seem to work. Please point me to the right direction.

Thanks,
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Ubuntu 14.04 guest reports software 3D rendering

Post by loukingjr »

newbi wrote:I have the same errors as bohboh. Also, scilab would not start and show the following errors:
Also, chromium browser stays on top of all windows. Aside from these tow issues, everything else seem to work. Please point me to the right direction.

Thanks,
As far as the Scilab and Chromium issues. They may not have been updated to work with the latest kernels etc.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
bohboh
Posts: 8
Joined: 19. Apr 2014, 06:04
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu v14.04

Re: Ubuntu 14.04 guest reports software 3D rendering

Post by bohboh »

Perryg wrote:I can confirm that the errors you are seeing do not seem to indicate an issue. If you did not have 3D acceleration then the tests would say that you are running gallium instead of chromium and the ubuntu test would say Not software rendered: no

Most of these tests are designed for machines on metal and are not able to detect the VirtualBox drivers properly.
Thank you for your reply.

As you told, 3d acceleration might work.
But, I don't know why the libGL errors occur.

In order to check the 3d performance, I executed glmark2, however, it didn't work.

Code: Select all

bohemian@bohemian-VirtualBox:~$ glmark2
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 Warning: glXChooseVisual: ignoring attribute 0x22
OpenGL Warning: glXChooseFBConfig returning NULL, due to attrib=0x2, next=0x1
Error: glXChooseFBConfig() failed
Error: Error: Could not get a valid XVisualInfo!
Error: Error: Couldn't create X Window!
Error: main: Could not initialize canvas
These kind of errors are common in the case of executing 3d applications.

In addition, my graphic driver seems to be strange.
AdditionalDriver.png
AdditionalDriver.png (64.16 KiB) Viewed 33371 times
The above screenshot is the capture of "Additional Driver"

Is it normal status?

I guess the driver should be enabled. Isn't it?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Ubuntu 14.04 guest reports software 3D rendering

Post by loukingjr »

You shouldn't have the Additional Driver installed along with the VirtualBox Guest additions.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
bohboh
Posts: 8
Joined: 19. Apr 2014, 06:04
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu v14.04

Re: Ubuntu 14.04 guest reports software 3D rendering

Post by bohboh »

loukingjr wrote:You shouldn't have the Additional Driver installed along with the VirtualBox Guest additions.
I changed my environment from Korean to English.

During this job, an error popup occurred. Ubuntu asked me that it would send the error log.
I clicked yes, but, after that, another popup window as attached screenshot:
ErrorPopup.png
ErrorPopup.png (87.4 KiB) Viewed 33299 times
I have four doubtful things.

1. According to the attached error popup, X seems not to use H/W acceleration.
2. In the window of "Additional Drivers", I cannot use x86 virtualization solution - guest addition module.
InnoTek Systemberatung GmbH seems not to be working.
3. According to Xorg.0.log, "(EE) AIGLX: reverting to software rendering".
4. Some libGL errors, "core dri or dri2 extension not found", "failed to load driver: vboxvideo" and so on, are displayed whenever I execute the applications related to 3d. (unity-support-test, glxgears and glmark2)

I think 3d H/W acceleration have some problems in my system though Chromium is the renderer.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Ubuntu 14.04 guest reports software 3D rendering

Post by loukingjr »

as I said, you need to remove the VirtualBox additional driver. restart the guest. you may have to reinstall the guest additions after that and reboot again.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
bohboh
Posts: 8
Joined: 19. Apr 2014, 06:04
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu v14.04

Re: Ubuntu 14.04 guest reports software 3D rendering

Post by bohboh »

loukingjr wrote:as I said, you need to remove the VirtualBox additional driver. restart the guest. you may have to reinstall the guest additions after that and reboot again.
I have never install an additional driver.
I just open Additional Drivers Window for checking.

I'm weak at English. Please forgive me if I misunderstand your article.
Post Reply