3D acceleration not working with Ubuntu 11.10

Discussions related to using VirtualBox on Mac OS X hosts.
mcazorla
Posts: 2
Joined: 3. Nov 2011, 12:28
Primary OS: Mac OS X Leopard
VBox Version: OSE self-compiled
Guest OSses: Ubuntu

3D acceleration not working with Ubuntu 11.10

Post by mcazorla »

I've just installed a fresh VM of Ubuntu 11.10 in a MacOSX. 3D acceleration is not working: I cannot see any application on desktop.
I have seen some identical topics in the forum viewtopic.php?f=3&t=45379&start=45 but they don't solve my problem. Besides, the ticket https://www.virtualbox.org/ticket/9799 presents the same problem, but with a different host. Please, let me know if I could have 3D acceleration working in my system or I have also to open a ticket.
Guest: Ubuntu 11.10
Host: MacOSX Leopard
VB version: 4.1.4 with guest additions installed
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: 3D acceleration not working with Ubuntu 11.10

Post by loukingjr »

same problem but running VB 4.1.6
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: 3D acceleration not working with Ubuntu 11.10

Post by frank »

Did you upgrade the Guest Additions to 4.1.6?
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: 3D acceleration not working with Ubuntu 11.10

Post by loukingjr »

Frank Mehnert wrote:Did you upgrade the Guest Additions to 4.1.6?
yes. actually I installed it under 4.1.6 yesterday. Gnome3 is working more or less. just not Unity3d. I think it's a problem for most Mac users seeing most Macs use ATI graphics.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
mcazorla
Posts: 2
Joined: 3. Nov 2011, 12:28
Primary OS: Mac OS X Leopard
VBox Version: OSE self-compiled
Guest OSses: Ubuntu

Re: 3D acceleration not working with Ubuntu 11.10

Post by mcazorla »

Reinstalled VB to 4.1.6 and Guest Additions 4.16. Problem still remains.
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: 3D acceleration not working with Ubuntu 11.10

Post by loukingjr »

most all Macs now use AMD Radeon(ATI) graphics so it might be nice if the Mac version of VirtualBox was set up to use them.

just saying. :)
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: 3D acceleration not working with Ubuntu 11.10

Post by Sasquatch »

It would seem that the Apple drivers for the Radeon card lacks certain features required by VB. All we hear are problems from people with recent Macs that have AMD video cards. None that have issues is running with an nVidia card.
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.
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: 3D acceleration not working with Ubuntu 11.10

Post by loukingjr »

Sasquatch wrote:It would seem that the Apple drivers for the Radeon card lacks certain features required by VB. All we hear are problems from people with recent Macs that have AMD video cards. None that have issues is running with an nVidia card.
Oh I believe you. Hence my comment. Unless Oracle doesn't think Mac owners are worth worrying about. And btw, the only problem seems to be with the new Compiz for Unity and somewhat Gnome 3. For me I suppose it doesn't matter so much because I don't care for Unity or Gnome 3.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
BillG
Volunteer
Posts: 5102
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: 3D acceleration not working with Ubuntu 11.10

Post by BillG »

There is nothing that can be done at the VirtualBox level (or the Mac OS level) if the device driver in the host does not work as it should. This has always been a problem for OS and application programmers. They can only write code based on the published specifications or a particular device. If the manufacturer's driver does not meet their own published specs, the only way it can work is if the manufacturer fixes the driver. This can take a while. Driver support for the first 64-bit OS versions was a problem for years.
Bill
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 acceleration not working with Ubuntu 11.10

Post by Perryg »

Well the Gnome3 issue is about to become moot. They have figured out how to use the Gallium3D's LLVMpipe and software rendering. Not going to help Unity at this point but who knows. I really don't see why they can't do the same thing with Unity. So with everything is such flux I can see why programmers are not jumping all over the place to fix something that is more than likely going to be replaced soon.
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: 3D acceleration not working with Ubuntu 11.10

Post by loukingjr »

BillG wrote:There is nothing that can be done at the VirtualBox level (or the Mac OS level) if the device driver in the host does not work as it should. This has always been a problem for OS and application programmers. They can only write code based on the published specifications or a particular device. If the manufacturer's driver does not meet their own published specs, the only way it can work is if the manufacturer fixes the driver. This can take a while. Driver support for the first 64-bit OS versions was a problem for years.
I'm not sure what makes you think the manufacturer's driver doesn't meet their own specs as opposed to software written to run on it. I wouldn't know myself.
Perryg wrote:Well the Gnome3 issue is about to become moot. They have figured out how to use the Gallium3D's LLVMpipe and software rendering. Not going to help Unity at this point but who knows. I really don't see why they can't do the same thing with Unity. So with everything is such flux I can see why programmers are not jumping all over the place to fix something that is more than likely going to be replaced soon.
moot is good. :D
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: 3D acceleration not working with Ubuntu 11.10

Post by Sasquatch »

loukingjr wrote:I'm not sure what makes you think the manufacturer's driver doesn't meet their own specs as opposed to software written to run on it. I wouldn't know myself.
He means that they write the drivers in such a way that certain 3D features are no longer working as noted in the specs. E.g. VB depends heavily on OpenGL. It has implemented most of the APIs/features to make 3D possible in a VM, down as far as to get Gnome Shell going in a way. What do you think would happen if the manufacturer no longer adds OpenGL in their driver, or only a certain version, let's say 4.1, and it's not backward compatible? Then all the calls VB depend on, written for 4.0 and below, are completely useless.

AMD/ATi is no god in this world. In fact, they do what they want. If they want to not support a certain Linux distro, kernel or Xserver version, then they won't. You'll be stuck with the OpenSource drivers that are inferior when it comes to 3D. They can also decide that by supporting a new distro, they drop cards that are x years old.
nVidia on the other had may have their own share of 'heads in the clouds' sort of attitude, but at least they still support older cards on newer distro's and are fairly quick in supporting new distro's.
Talking about Linux here.

Now for OSX, where this is all about, the same thing may apply. Because people update their OS, but also VB, we can't really rule out of a certain version with certain fixes is the culprit here. All we can do is wait and hope 4.2 has this sorted.
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.
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: 3D acceleration not working with Ubuntu 11.10

Post by loukingjr »

I didn't mean to sound as critical as it seemed. I am aware that things break as changes come along. I just was getting the feeling that Canonical in particular seems to have made a choice that if you don't have nvidia graphics, too bad. Or at least someone seems to. I really like VirtualBox and returned two paid for virtualization programs for refunds because VB actually ran more Linux spins than the other two. I have oodles of Linux guests and two Windows guests that run just fine. I'm just not sure how committed Oracle is to Mac owners. 3D support has been iffy for awhile for Mac users. I can certainly live without Unity and/or Gnome 3.

I guess we'll see what 4.2 is like.
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: 3D acceleration not working with Ubuntu 11.10

Post by Perryg »

Really the whole compiz laden Unity is an issue because of the need for acceleration. Now Gnome knew going into this that a lot of people were going to have issues to the point of even not being able to use Gnome. They made the decision to move forward regardless and I suspect the complaints is what is causing the decision to at least try software acceleration.

These are the graphics requirements for Unity.
https://wiki.ubuntu.com/DemystifyingUni ... quirements
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: 3D acceleration not working with Ubuntu 11.10

Post by loukingjr »

well, they say AMD graphics are supported but based on what I read here, read about problems with Unity running on hardware, I'm not too convinced. Maybe I should try installing Ubuntu 11.10 to a partition and see if it will run natively on my Mac.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply