Ubuntu 12 runs slow

Discussions related to using VirtualBox on Windows hosts.
oladitan
Posts: 13
Joined: 13. Jun 2013, 07:00

Ubuntu 12 runs slow

Post by oladitan »

How do I make ubutu 12 32-bit run faster on Windows 7 virtual box. It runs really slowly. 8GB ROM 2GB RAM.

i cannot upload log "extesion 3 is not allowed"
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Ubuntu 12 runs slow

Post by mpack »

Upload the log, the only log we are interested in is the one called "VBox.log", from the VM folder "Logs" subdirectory.

Zip the log file first, then you can attach it no problem.
oladitan
Posts: 13
Joined: 13. Jun 2013, 07:00

Re: Ubuntu 12 runs slow

Post by oladitan »

here it is.
Attachments
VBox.zip
(16.8 KiB) Downloaded 11 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Ubuntu 12 runs slow

Post by mpack »

You should install the Guest Additions (see user manual chapter 4), as I've no doubt that will improve your experience. I suspect that your perception of poor performance is actually just slow graphics, which is one of the things the GAs will fix.

Other than that, well it looks like you have a Pentium T4200 dual core processor, which does not support VT-x. That processor was designed for low power moderate performance, not for speed.
oladitan
Posts: 13
Joined: 13. Jun 2013, 07:00

Re: Ubuntu 12 runs slow

Post by oladitan »

Hello. Thanks for the responses. I have installed the guest additions and It is still running very slowly. I have attached the log file.
Attachments
VBox.zip
(17.62 KiB) Downloaded 5 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Ubuntu 12 runs slow

Post by mpack »

Well, the only other thing I notice is your 8GB hard disk (I assume that's what "8GB ROM" meant in your first post: in fact ROM means Read Only Memory and can't refer to a hard disk). 8GB is somewhat small for a modern OS, I typically make them 32GB minimum. A disk that's too small will typically be congested, the swap file might be undersized too. See Howto: Resize a Virtual Drive.

And I can only repeat what I said earlier: if you have a slow host then you can't expect a VM to run very fast.
oladitan
Posts: 13
Joined: 13. Jun 2013, 07:00

Re: Ubuntu 12 runs slow

Post by oladitan »

Thanks. I have completed step 1. I have added more volume to "ubuntu1.vid" (20480 MB). I opened windows 7 disk manager and it does not show that I even have a partition on my main HD. Ubuntu is still runninng slow in virtual box. I noticed that whenever I start ubuntu I get a message saying "The system detected some problems". I chose the option to report the problems this time. The problem is found in the path "/usr/bin/Xorg" Thanks.
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 12 runs slow

Post by Perryg »

@oladitan,

From the guest terminal post the results of the following:

Code: Select all

glxinfo | grep OpenGL
You will need to install mesa-utils if it is not already installed.
oladitan
Posts: 13
Joined: 13. Jun 2013, 07:00

Re: Ubuntu 12 runs slow

Post by oladitan »

Perryg wrote:@oladitan,

From the guest terminal post the results of the following:

Code: Select all

glxinfo | grep OpenGL
You will need to install mesa-utils if it is not already installed.
Ok. I have installed mesa-utils

when I enter :

Code: Select all

glxinfo | grep OpenGL
I get an error:

Code: Select all

OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
oladitan
Posts: 13
Joined: 13. Jun 2013, 07:00

Re: Ubuntu 12 runs slow

Post by oladitan »

Hello. Here is my log.
Attachments
VBox.zip
(17.98 KiB) Downloaded 5 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 12 runs slow

Post by Perryg »

Shut the guest down (not saved state) and in the guest settings display, enable 3D and start the guest. Post the results of the previous command.
oladitan
Posts: 13
Joined: 13. Jun 2013, 07:00

Re: Ubuntu 12 runs slow

Post by oladitan »

Perryg wrote:Shut the guest down (not saved state) and in the guest settings display, enable 3D and start the guest. Post the results of the previous command.


I have enabled 3D acceleration in the guest settings. I have started the machine. It is still going slow and the window is halfway off the monitor.
Attachments
VBox.zip
(19.31 KiB) Downloaded 3 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 12 runs slow

Post by Perryg »

But what does the command I sent you say with 3D enabled?
oladitan
Posts: 13
Joined: 13. Jun 2013, 07:00

Re: Ubuntu 12 runs slow

Post by oladitan »

I was unable to open the terminal because I cannot see the menus. The whole screen is shifted the the left, off the monitor.

I have changed the ammout of video memory from 12MB to 128 MB. This caused the machine to crash.
Attachments
VBox.zip
(12.82 KiB) Downloaded 3 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 12 runs slow

Post by Perryg »

32MB is more than enough memory.
Press the host key and the F key at the same time. This is the full screen toggle. Does it go in and out of full screen? You can also use the left ctrl+alt+T to open the terminal.
Post Reply