Ubuntu 12.10 "virtually" unusable

Discussions about using Linux guests in VirtualBox.
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

Ubuntu 12.10 "virtually" unusable

Post by loukingjr »

I installed the daily build of Ubuntu 12.10 this morning and while it does seem to run fine, it is so sluggish it is barely worth installing. Now that Canonical in their wisdom has removed Unity 2D it seems there isn't much of a point trying to run Unity at this point. I don't know if the speed can be improved in VB or not. Thankfully the XFCE, LXDE and KDE environments seem to be fine.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
adasiko
Posts: 13
Joined: 16. Sep 2012, 12:20
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows, Linux, QNX, Haiku, OS X
Location: Russia

Re: Ubuntu 12.10 "virtually" unusable

Post by adasiko »

With virtualbox 4.1.18 you can install guest additions from ppa:

Code: Select all

sudo apt-get install virtualbox-guest-additions
And enable 3D acceleration in virtual machine properties.
PS: virtualbox guest aditions installer doesn't support x.org 1.13 :/
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 12.10 "virtually" unusable

Post by loukingjr »

adasiko wrote:With virtualbox 4.1.18 you can install guest additions from ppa:

Code: Select all

sudo apt-get install virtualbox-guest-additions
And enable 3D acceleration in virtual machine properties.
PS: virtualbox guest aditions installer doesn't support x.org 1.13 :/
thank for the info. the problem for me would be i already have VB 4.2.1 installed, all my guests are updated and I don't like Unity all that much anyway. I didn't get any errors installing the guest additions and 3D seems to work. it's just a bit slow.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Yakumo
Posts: 2
Joined: 19. Oct 2012, 13:58

Re: Ubuntu 12.10 "virtually" unusable

Post by Yakumo »

/usr/lib/nux/unity_support_test -p
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x301)
OpenGL version string: 2.1 Mesa 9.0

Not software rendered: no
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: no

this was after
apt-get install virtualbox-guest-additions
and using software-updater - additional drivers to enable :
x86 virtualization solution - guest addition module source for dkms from vitualbox-guest-dkms (open source)

it's faster with this, and it scales the desktop resolution with virtualbox window resizeing/fullscreen, but it's still a lot slower than 12.04, and compiz keeps crashing.
Twisted Lucidity
Posts: 168
Joined: 18. Feb 2012, 12:42
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Various GNU/Linux
Location: Here
Contact:

Re: Ubuntu 12.10 "virtually" unusable

Post by Twisted Lucidity »

Yakumo wrote: apt-get install virtualbox-guest-additions
and using software-updater - additional drivers to enable :
x86 virtualization solution - guest addition module source for dkms from vitualbox-guest-dkms (open source)

it's faster with this, and it scales the desktop resolution with virtualbox window resizeing/fullscreen, but it's still a lot slower than 12.04, and compiz keeps crashing.
I wouldn't install guest additions that way, just mount the .iso that came with your VBox install and follow the documentation.

You should also install the extension pack for your version of VBox and enable 3D support for the guest. You might also want to allocate more memory for the guest's video card.

12.10 might just be slower than 12.04, and there seems to be reports of that in the press.
A new account for an old user.
Twisted Lucidity
Posts: 168
Joined: 18. Feb 2012, 12:42
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Various GNU/Linux
Location: Here
Contact:

Re: Ubuntu 12.10 "virtually" unusable

Post by Twisted Lucidity »

adasiko wrote:With virtualbox 4.1.18 you can install guest additions from ppa:

Code: Select all

sudo apt-get install virtualbox-guest-additions
And enable 3D acceleration in virtual machine properties.
PS: virtualbox guest aditions installer doesn't support x.org 1.13 :/
I wouldn't install guest additions that way, just follow the documentation.
A new account for an old user.
zephead99
Posts: 1
Joined: 19. Oct 2012, 16:31

Re: Ubuntu 12.10 "virtually" unusable

Post by zephead99 »

I was able to get 12.10 running as smoothly as 12.04 by making sure "3D acceleration" in the system settings was on and running version 4.2.2 of VB w/ Guest additions installed from the .iso. Make sure you've removed any previous versions of the guest additions you might have installed with apt-get. Also once you've installed the new guest additions add 'vboxvideo' to '/etc/modules' to make sure the video driver loads on boot, this was not happening by default on my machine even though the guest additions support the new version of X included with 12.10.
Yakumo
Posts: 2
Joined: 19. Oct 2012, 13:58

Re: Ubuntu 12.10 "virtually" unusable

Post by Yakumo »

I had previously installed the additions from the virtualbox additions disk but had read it had issues with ubuntu 12.10 and that apt-get install was the way to do it, I'll reinstall from the additions iso. (ahha, that reported the apt-get version was 4.1.2, so out of date)

I forgot to mention this is an install upgraded from a clean 12.04 install (I'd reverted to a post install snapshot), and I'd updated to vbox 4.2.2 r81494 +the extensions just before doing the update to ubuntu 12.10
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 12.10 "virtually" unusable

Post by loukingjr »

zephead99 wrote:I was able to get 12.10 running as smoothly as 12.04 by making sure "3D acceleration" in the system settings was on and running version 4.2.2 of VB w/ Guest additions installed from the .iso. Make sure you've removed any previous versions of the guest additions you might have installed with apt-get. Also once you've installed the new guest additions add 'vboxvideo' to '/etc/modules' to make sure the video driver loads on boot, this was not happening by default on my machine even though the guest additions support the new version of X included with 12.10.
thanks for the info I'm about to try installing the release and try your tip. It does make me wonder how any normal end user is suppose to know you would have to add the vboxmodule manually.

edit: okay placing "vboxvideo" in /etc/modules made things unusable. not a good idea.
Last edited by loukingjr on 19. Oct 2012, 19:28, edited 1 time in total.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Y E T I
Posts: 161
Joined: 9. Aug 2010, 01:47
Primary OS: Other
VBox Version: OSE self-compiled
Guest OSses: ?
Location: H i m a l a y a s
Contact:

Re: Ubuntu 12.10 "virtually" unusable

Post by Y E T I »

Strangely enough this is somewhat misleading. I have been testing Ubuntu 12.10 since it's existence. There was a time when xorg was newer than the version of vbox supported and you did not have the ability to use the screen auto resize but this came into existence in svn and usable for some time. it is supported in the 4.2.2 release and I have never had to place the vboxvideo in the init. I expect that this has more to do with the Ubuntu repo GAs and the mix and matching of the vbox version and the Ubuntu GAs which as far as I know has never been the right way to go.

I also know that 12.10 has a larger load & strain than 12.04 and runs slower which is reported on metal as well.
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 12.10 "virtually" unusable

Post by loukingjr »

Y E T I wrote:Strangely enough this is somewhat misleading. I have been testing Ubuntu 12.10 since it's existence. There was a time when xorg was newer than the version of vbox supported and you did not have the ability to use the screen auto resize but this came into existence in svn and usable for some time. it is supported in the 4.2.2 release and I have never had to place the vboxvideo in the init. I expect that this has more to do with the Ubuntu repo GAs and the mix and matching of the vbox version and the Ubuntu GAs which as far as I know has never been the right way to go.

I also know that 12.10 has a larger load & strain than 12.04 and runs slower which is reported on metal as well.
I just did a clean install of Ubuntu 12.10 in VB 4.2.2 on an OSX 10.8.2 host and then installed the GA's from the dropdown VB menu. If anything it seems even slower than the beta versions were. I do not believe there was any virtualbox bits pre-installed from Ubuntu but I could be wrong.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
krab[RU]
Posts: 5
Joined: 20. Oct 2012, 08:32

Re: Ubuntu 12.10 "virtually" unusable

Post by krab[RU] »

In VMware with guest additions no problem with video.

I find this solution. Becouse Cannonical enabled llvmpipe by default, its problem to virtualbox.

You need Virtualbox 4.2.2.

First test:

Code: Select all

krab@ubuntu-vbox:~$ /usr/lib/nux/unity_support_test  -p
OpenGL vendor string:   VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x301)
OpenGL version string:  2.1 Mesa 9.0

Not software rendered:    no
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:       no
Then install build dependencies

Code: Select all

krab@ubuntu-vbox:~$ sudo apt-get install build-essential linux-headers-generic
Install virtual box guest additions manual from CD.

After reboot problem exist, but vboxvideo cannot load automatically, do

Code: Select all

sudo modprobe vboxvideo
Login, logout

New test, only compiz (without -c optionm virtualbox crashed)

Code: Select all

krab@ubuntu-vbox:~$ /usr/lib/nux/unity_support_test -c -p
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
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

Compiz supported:         yes
Now video system good, but problems with crazy mouse cursor.

I thin oracle can fix this problem, because vmware guest addition work on first start after installation.
bulletmark
Posts: 53
Joined: 16. Jun 2009, 14:48
Primary OS: Ubuntu 12.12
VBox Version: PUEL
Guest OSses: linux,mac
Location: Brisbane Australia

Re: Ubuntu 12.10 "virtually" unusable

Post by bulletmark »

loukingjr wrote:
Y E T I wrote: I just did a clean install of Ubuntu 12.10 in VB 4.2.2 on an OSX 10.8.2 host and then installed the GA's from the dropdown VB menu. If anything it seems even slower than the beta versions were. I do not believe there was any virtualbox bits pre-installed from Ubuntu but I could be wrong.
Same for me. I clean installed Ubuntu 12.10 in VB 4.2.2 on my Ubuntu 12.04 host where I have run 12.04 Unity 3D guest fine. Installed guest additions from the VB dropdown and I do have clipboard support etc but the graphics support is 2D only and unbearable. Tried adding vboxvideo to /etc/modules as suggested above, rebooted, but my guest machine is then completely unstable and crashes within seconds after login to Unity. However, with that vboxvideo module added, it seems I can log in and use gnome-shell fine in 3D. So I suggest this is some problem re VB and Compiz (and of course it is a 4.2.2 VB guest additions bug that the vboxvideo module is not invoked).
adasiko
Posts: 13
Joined: 16. Sep 2012, 12:20
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows, Linux, QNX, Haiku, OS X
Location: Russia

Re: Ubuntu 12.10 "virtually" unusable

Post by adasiko »

1) apt-get purge xserver-xorg-video-vmware
2) install guest addions from the .iso
3) add "vboxvideo" in /etc/modules
And everything is fine :)
bulletmark
Posts: 53
Joined: 16. Jun 2009, 14:48
Primary OS: Ubuntu 12.12
VBox Version: PUEL
Guest OSses: linux,mac
Location: Brisbane Australia

Re: Ubuntu 12.10 "virtually" unusable

Post by bulletmark »

adasiko wrote:1) apt-get purge xserver-xorg-video-vmware
On my system, that also wants to remove xserver-xorg-video-all. Can't do that surely?

PS: My comment above about gnome-shell is wrong. It also corrupts with that vboxvideo module explicitly added.
Post Reply