Problem with graphic

Discussions about using Linux guests in VirtualBox.
Post Reply
trabbit
Posts: 3
Joined: 23. Sep 2010, 14:12
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu 10.04

Problem with graphic

Post by trabbit »

Hi,
I have some problem with graphic on Ubuntu 10.04 guest system (my host is Windows XP).
I installed "guest additionals" and turned on 3D acceleration but efficiency it really low. "Glxgears" test gives:

Code: Select all

trabbit@trabbit-desktop:~$ glxgears
238 frames in 5.0 seconds
299 frames in 5.0 seconds
299 frames in 5.0 seconds
299 frames in 5.0 seconds
299 frames in 5.0 seconds
299 frames in 5.0 seconds
299 frames in 5.0 seconds
299 frames in 5.0 seconds
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 18466 requests (18466 known processed) with 0 events remaining.
trabbit@trabbit-desktop:~$ 
I tested other distributions of Linux (PClinuxOS 2010-KDE; PClinuxOS 2010-GNOME), they give the same poor results as Ubuntu 10.04.
Strange is a fact that CAElinux2008 gives:

Code: Select all

 [trabbit@localhost ~]$ glxgears
3806 frames in 5.0 seconds = 755.812 FPS
4420 frames in 5.1 seconds = 872.355 FPS
4290 frames in 5.0 seconds = 852.559 FPS
4420 frames in 5.0 seconds = 877.688 FPS
4420 frames in 5.1 seconds = 872.490 FPS
4420 frames in 5.1 seconds = 869.656 FPS
4420 frames in 5.0 seconds = 878.607 FPS
4420 frames in 5.0 seconds = 875.490 FPS
4379 frames in 5.0 seconds = 871.590 FPS
4420 frames in 5.0 seconds = 876.849 FPS
4420 frames in 5.0 seconds = 875.527 FPS
4420 frames in 5.1 seconds = 874.442 FPS
4420 frames in 5.0 seconds = 882.023 FPS
4420 frames in 5.1 seconds = 872.358 FPS
4420 frames in 5.0 seconds = 878.688 FPS
4427 frames in 5.0 seconds = 881.875 FPS
4420 frames in 5.1 seconds = 874.812 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
[trabbit@localhost ~]$
I asked CAElinux's autor about it but he don't remember what he installed to make graphic better. CAElinux2008 is last 32bits version. Newest are 64bits and in this case situation looks differently(as he told me).
What i should install on my Ubuntu 10.04 to make graphic better.
Best Regards,
Chris
P.S. Sorry for my poor English :?
trabbit
Posts: 3
Joined: 23. Sep 2010, 14:12
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu 10.04

Re: Problem with graphic

Post by trabbit »

Hi again,
i installed the new version of VB (VirtualBox-3.2.10-66523-Win.exe) and reinstalled guest additionals

Code: Select all

trabbit@trabbit-desktop:~$ cd Desktop/
trabbit@trabbit-desktop:~/Desktop$ sudo sh VBoxLinuxAdditions-x86.run 
[sudo] password for trabbit: 
Verifying archive integrity... All good.
Uncompressing VirtualBox 3.2.10 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing installed version 3.2.10 of VirtualBox Guest Additions...
tar: Record size = 8 blocks
Uninstalling old VirtualBox DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
Doing non-kernel setup of the Guest Additions ...done.
You should restart your guest to make sure the new modules are actually used

Installing the Window System drivers
Installing X.Org Server 1.7 modules ...done.
Setting up the Window System to use the Guest Additions ...done.
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services components ...done.
trabbit@trabbit-desktop:~/Desktop$ 
Unfortunately still have the same problem.
Maybe...somebody could help?
Regards
Assaf Raman
Posts: 2
Joined: 21. Oct 2010, 13:42
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.10

Re: Problem with graphic

Post by Assaf Raman »

See my first post on this thread for the answer.
trabbit
Posts: 3
Joined: 23. Sep 2010, 14:12
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu 10.04

Re: Problem with graphic

Post by trabbit »

hi again guys,
I changed graphic card in my host computer (from NVIDIA GeForce 7300 GT to ASUS EAH2600 Series) and I changed guest linux system (from Ubuntu 10.04 to Ubuntu 10.10). Then I've done some tests:
A) Clear system:

Code: Select all

trabbit@trabbit-VirtualBox:~$ glxgears
431 frames in 5.0 seconds = 86.105 FPS
443 frames in 5.0 seconds = 88.500 FPS
425 frames in 5.0 seconds = 84.985 FPS
445 frames in 5.0 seconds = 88.654 FPS
416 frames in 5.0 seconds = 83.152 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 5166 requests (41 known processed) with 0 events remaining.
trabbit@trabbit-VirtualBox:~$ 
B) After

Code: Select all

sudo X -configure

Code: Select all

trabbit@trabbit-VirtualBox:~$ glxgears
277 frames in 5.0 seconds = 55.118 FPS
289 frames in 5.0 seconds = 57.724 FPS
306 frames in 5.0 seconds = 61.019 FPS
297 frames in 5.0 seconds = 59.276 FPS
294 frames in 5.0 seconds = 58.740 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 3222 requests (41 known processed) with 0 events remaining.
trabbit@trabbit-VirtualBox:~$ ^C
trabbit@trabbit-VirtualBox:~$ 
C) After

Code: Select all

sudo mv /home/trabbit/xorg.conf.new /etc/X11/xorg.conf 

GRAPHICAL MOGE DON'T START :(

D) After Install

Code: Select all

sudo apt-get install virtualbox-ose-guest-x11

Code: Select all

trabbit@trabbit-VirtualBox:~$ glxgears
733 frames in 5.0 seconds = 146.487 FPS
768 frames in 5.0 seconds = 153.546 FPS
962 frames in 5.0 seconds = 192.314 FPS
1118 frames in 5.0 seconds = 223.449 FPS
1116 frames in 5.0 seconds = 223.110 FPS
1127 frames in 5.0 seconds = 225.282 FPS
1146 frames in 5.0 seconds = 229.073 FPS
1115 frames in 5.0 seconds = 222.938 FPS
1134 frames in 5.0 seconds = 226.655 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 68766 requests (68765 known processed) with 0 events remaining.
trabbit@trabbit-VirtualBox:~$
E) After

Code: Select all

sudo X -configure

Code: Select all

trabbit@trabbit-VirtualBox:~$ glxgears
788 frames in 5.0 seconds = 157.537 FPS
771 frames in 5.0 seconds = 154.064 FPS
765 frames in 5.0 seconds = 152.969 FPS
764 frames in 5.0 seconds = 152.738 FPS
772 frames in 5.0 seconds = 154.244 FPS
698 frames in 5.0 seconds = 139.424 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 34730 requests (34727 known processed) with 0 events remaining.
trabbit@trabbit-VirtualBox:~$ 
F) After

Code: Select all

sudo mv /home/trabbit/xorg.conf.new /etc/X11/xorg.conf 

gltrabbit@trabbit-VirtualBox:~$ glxgears

Code: Select all

676 frames in 5.0 seconds = 135.090 FPS
661 frames in 5.0 seconds = 132.160 FPS
677 frames in 5.0 seconds = 135.208 FPS
647 frames in 5.0 seconds = 129.321 FPS
614 frames in 5.0 seconds = 122.704 FPS
637 frames in 5.0 seconds = 127.353 FPS
631 frames in 5.0 seconds = 126.167 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 32109 requests (32107 known processed) with 0 events remaining.
trabbit@trabbit-VirtualBox:~$ 
G) Because
po X_config_po_x11.png
po X_config_po_x11.png (7.5 KiB) Viewed 3150 times
i tested xorg.conf (from /etc/X11/)

Code: Select all

sudo X -config /etc/X11/xorg.conf
and result is black window :?
After ctr+alt+F1
po tescie.png
po tescie.png (14.11 KiB) Viewed 3148 times
H) Because
Assaf Raman wrote:See my first post on this thread for the answer.
I checked

Code: Select all

# cd /usr/src/virtualbox-ose-guest-3.2.8/vboxvideo/
# sudo make; sudo make install
and
po_make_make install.png
po_make_make install.png (15.85 KiB) Viewed 3152 times
then i go to

Code: Select all

# cd /usr/src/linux-headers-2.6.35-23-generic
and

Code: Select all

# make oldconfig && make prepare
and then

Code: Select all

make[1]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'.  Stop.
make: *** [prepare0] Error 2
:(
I tried many instructions from different linux forum and all doesn't work.
As i supose i'm doing something wrong but don't know what. Maybe somebody has the same problem.
Best Regards,
Chris
Post Reply