Page 1 of 2

VB 4.0.4 guest addons Ubuntu 11.04

Posted: 25. Mar 2011, 01:50
by ioannisn
I had originally Unity working on my guest Ubuntu 11.04 alpha 3 with VB 4.0.4, but a latest update of XOrg server in Natty has now rendered it inoperative.

Looking at XOrg's log, I see that there is some ABI mismatch, which causes VirtualBox's video driver fail loading:

Code: Select all

[    24.672] (II) Module vboxvideo: vendor="Oracle Corporation"
[    24.672]    compiled for 1.5.99.901, module version = 1.0.1
[    24.672]    Module class: X.Org Video Driver
[    24.672]    ABI class: X.Org Video Driver, version 9.0
[    24.672] (EE) module ABI major version (9) doesn't match the server's version (10)
[    24.672] (II) UnloadModule: "vboxvideo"
[    24.672] (II) Unloading vboxvideo
[    24.672] (EE) Failed to load module "vboxvideo" (module requirement mismatch, 0)
I get the same problem with Fedora 15 pre-release as well (which seems to have the same XOrg server). I do realise these are pre-release software, but just checking if anyone knows any workarounds or if support will be coming soon.

thanks

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 25. Mar 2011, 01:54
by Perryg
They are working on it.

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 27. Mar 2011, 03:03
by ioannisn
Perryg wrote:They are working on it.
I'm sure they are and probably will release an update in time for the release of Ubuntu 11.04, but is there a 'beta' version of the guest additions that already supports the new XOrg?

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 27. Mar 2011, 03:17
by Perryg
Only way to get it early is to use the SVN build and compile it yourself. There is an issue with the 32 bit build right now but 64-bit is working.

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 27. Mar 2011, 19:03
by pilotgi
I'm not sure if my problem is the same or not. I installed natty-amd64 from the nightly builds. When I build the guest additions, it says kernel-headers for the running kernel were not found. Then it goes ahead and builds the guest addition drivers anyway, including the one's for x server 1.10, and no errors. When I reboot I just get a blank screen and after a little hard drive activity, nothing else happens.

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 27. Mar 2011, 19:23
by Sasquatch
That's is the natty issue. No matter if you think it's not related, it's all down to one point: support for 11.04. It's currently lacking, there was support for alpha 1, but things changed so fast that it was as useless as trying to put out a fire with an ice cube for your drink.

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 3. Apr 2011, 13:38
by ioannisn
Perryg wrote:Only way to get it early is to use the SVN build and compile it yourself. There is an issue with the 32 bit build right now but 64-bit is working.
right ok, thanks. I might give it a try (although it is the 32bit I'm looking for). Do I have to build the entire project, or is there a way to build the guest additions and use them with the released 4.0.4? (I'm guessing not)

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 3. Apr 2011, 14:16
by Sasquatch
You can always try to just build the GA tree and see how that works, but it's said before that mixing releases isn't a good idea and can cause strange things. If you notice strange things, like crashes and such, you can pretty much bet it's the version difference.

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 3. Apr 2011, 20:48
by ioannisn
Sasquatch wrote:You can always try to just build the GA tree and see how that works, but it's said before that mixing releases isn't a good idea and can cause strange things. If you notice strange things, like crashes and such, you can pretty much bet it's the version difference.

do you mean this one: http://www.virtualbox.org/svn/vbox/trun ... ions/linux ?

I don't see any changes that may indicate a fix, apart from these two on the 24th of March:
Additions/x11: remove headers for X.Org Server 1.10 pre-release
Additions/x11: do not build or install drivers for pre-release server versions

which don't sound very reassuring. Anyway, I think I'll just wait for the next release, which shouldn't be long.

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 3. Apr 2011, 21:48
by Perryg
I can assure you that building from SVN does work and Ubuntu 11.04 does in fact work with the SVN GAs, but there is more to it then just the GAs. Also 32 bit version has problems with dirty patching (due to the newer kernel) and is being worked on but the 64 bit version works as it should.

One thing to watch out for: Do not try to run the 11.04 or any guest with the GAs from SVN on anything other than the build from SVN. It will not work properly and can corrupt the guest.

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 8. Apr 2011, 21:08
by jonathanmotes
I got everything to work by installing the guest additions from the Ubuntu repositories rather than running the mountable image.

See http://chrisblunt.com/2011/04/02/ubuntu ... tualbox-4/

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 8. Apr 2011, 21:20
by Perryg
jonathanmotes wrote:I got everything to work by installing the guest additions from the Ubuntu repositories rather than running the mountable image.

See http://chrisblunt.com/2011/04/02/ubuntu ... tualbox-4/
This may work as a work-a-round, but mixing the repo GAs and the VirtualBox release is never a suggested fix. Sooner or later you will have problems and wonder why.
Just remember that and when it happens you will need to remove the repo GAs and install the full release GAs.
Or you could remove the full release completely and install the repo release. Then you would go to Ubuntu for your major support.

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 22. Apr 2011, 18:48
by ioannisn
most of you probably know this already. With VB 4.0.6 the guest additions work again (support for Xorg 1.10 final), which also means 3D acceleration works and with it Unity.

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 22. Apr 2011, 20:51
by craigsn
Just installed 4.0.6, enabled 3d acceleration and then did a trial boot up of 11.04. But I didn't get Unity, I got the old fashioned Gnome desktop. What else do I need to do?

Thanks

Re: VB 4.0.4 guest addons Ubuntu 11.04

Posted: 22. Apr 2011, 20:57
by Perryg
Did you install the new guest additions?