Ubuntu 10.04 and 3D acceleration

Discussions about using Linux guests in VirtualBox.
Post Reply
bloodlust80
Posts: 5
Joined: 2. Aug 2010, 14:57
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.04

Ubuntu 10.04 and 3D acceleration

Post by bloodlust80 »

Hello. How do you get the 3D acceleration to work on Ubuntu?
I am using a Windows 7 Host operating system running a 64bit Ubuntu 10.04 operating system

I have installed the guest add-ons but it still crashes on me whenever I try to load up something which would normally use 3D acceleration.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Ubuntu 10.04 and 3D acceleration

Post by Sasquatch »

Any more information you can share here? Have you read the User Manual and VirtualBox FAQ?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
bloodlust80
Posts: 5
Joined: 2. Aug 2010, 14:57
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.04

Re: Ubuntu 10.04 and 3D acceleration

Post by bloodlust80 »

Sasquatch wrote:Any more information you can share here? Have you read the User Manual and VirtualBox FAQ?
What more infomation would be required?
Sorry, I am a bit of a newb to Virtual machines. And yes I have had a look over the user manual.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Ubuntu 10.04 and 3D acceleration

Post by Sasquatch »

We are missing some vital information. Please see the Forum Posting Guide for help providing us the needed information. It's a bit redundant to ask the same thing over and over again ;). Basically, what video card do you have. It's in the FAQ which ones are known to be incompatible.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
lynx
Posts: 14
Joined: 12. Sep 2007, 11:18

Re: Ubuntu 10.04 and 3D acceleration

Post by lynx »

I can kind of confirm that problem exists

At least for me with following settings:
* Virtual Box ver. 3.2.8
* Host: Windows 7, 64 bit
* Guest: Lunux Ubuntu 10.04, 64 bit (guest additions installed, ver. 3.2.8 )
* Graphic card: GeForce 8800 GTS 640 Mb
* Nvidia driver: 258.96 WHQL (released 2010.07.19)

When 3D Acceleration is disabled Ubuntu is loaded and running fine.
If I enable 3D Acceleration after login screen at the moment the desktop should be displayed I get a GUI crash diaolog (see attachment)

I may provide a VBox.log file if needed, though I havent noticed there any error messages.

Best regards,
Vladimir
Attachments
GUI crash dialog
GUI crash dialog
VBox GUI crash.jpg (29.63 KiB) Viewed 6135 times
lynx
Posts: 14
Joined: 12. Sep 2007, 11:18

Re: Ubuntu 10.04 and 3D acceleration

Post by lynx »

interesting addition: restarting host (Windows 7) solved the issue, although I rarely restart Windows just let it go suspend mode, and have never experienced such a problem with VirtualBox before

I assume it may be a problem of new nvidia driver
bloodlust80
Posts: 5
Joined: 2. Aug 2010, 14:57
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.04

Re: Ubuntu 10.04 and 3D acceleration

Post by bloodlust80 »

Think I might not be able to get my virtualbox to preform 3D acceleration full stop

Product Detected: Mobile Intel® 4 Series Express Chipset Family
Current Driver Installed: 8.15.0010.1883

That is my graphics card.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Ubuntu 10.04 and 3D acceleration

Post by Sasquatch »

That chipset is fine. I have the same in two laptops and it allows me to run Compiz in Linux Guests. This card does finally have OpenGL support. The 9xx series and older are the only ones that don't have this.
As for the actual 3D, it all depends on what you want to do. Is it Aero? Is it a game that's not older than 3-4 years? If so, that's not going to work in a VM. Aero isn't supported yet and games require more power, something a VM, with it's large overhead, can't give you.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
bloodlust80
Posts: 5
Joined: 2. Aug 2010, 14:57
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.04

Re: Ubuntu 10.04 and 3D acceleration

Post by bloodlust80 »

I am trying to get Tuxracer working as a test for the 3D. As well as a 3D program that I have been sent to run in C++ complied through Adjuntu

Sorry for not monitering this thread as much as I should be doing.

Is there anything you can point me in the direction of which is defiantly able to work in 3D on Vbox? Sorry but this is also the first time I have started using Linux too.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Ubuntu 10.04 and 3D acceleration

Post by Sasquatch »

Well, I know that Compiz works fine when you have 3D enabled, so that's a first try. Playing a video using OpenGL output gives a fairly obvious result too.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
bloodlust80
Posts: 5
Joined: 2. Aug 2010, 14:57
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.04

Re: Ubuntu 10.04 and 3D acceleration

Post by bloodlust80 »

Compiz causes the virtual machine to crash.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Ubuntu 10.04 and 3D acceleration

Post by Sasquatch »

Well, I to be honest, I haven't tested 3D with VB on Windows as host, so it might as well be a driver problem. I know that having Linux as host and 3D in the VM, it works just fine. There is also a bug report about this problem. Can't directly find the report for it though, but there is a similar post on Windows Hosts with this problem that has the link to the ticket. Google will also find it if you search for the crashing module.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply