Acceleration 3D on VirtualBox
As you certainly understood by the title, this is my last "fixes" to try to enable 3D acceleration on a virtual machine with VirtualBox and Vmgl. We know that VirtualBox, despite being a very good product, as explained in this post, does not support 3D. Many will ask: But what is the 3D in a virtual machine? If I want to cheer or play with special effects is no more beautiful a clean install on an ad hoc?
All objections are legitimate, but so much so. Story as you went.
Days ago I have taken the desire to install kde 4 on kubuntu 7:10 in VirtualBox, I followed the official guide on the website of kubuntu and everything is successful. Then I said to myself: Why not change the theme for kde 4? I found and followed this post to Divilinux on the Slim Glow, a theme for kde 4 that requires 3D desktop effects, so I said to myself: Why not try to see if you can enable the acceleration 3D on VirtualBox?
In my usual stroll through the network looking for information I found the post on Vmgl.
Produced by Canadian developer is a software which allows 3D rendering on virtual machines, tested on VMware and Xen, but in theory also work with other virtualization systems. I did download the tar.gz file from the home page and follow the installation procedures:
- Unpack the archive and copy it to the host machine (Ubuntu 7.10 in my case) and the guest (VirtualBox for me with Kubuntu 7.10);
- open the file / vmgl.hg / cr / Linux.mk with any text editor and change make = gmake-s make = make-s, this due to the fact that this software is made for systems BS;
- make sure you have installed the following packages: freeglutt3-dev, libxmu-dev, libbz2-dev, zlib1g-dev, libssl-dev, libjpeg-dev;
- in vmgl.hg then type make and make install-host (the host machine) and make install-guest (in the guest);
- in Section "Module" of / etc/X11/xorg.conf add Load "vmglext" then restart the xorg;
- starting stub-daemon in host;
- enable the 'X traimite ssh forwarding (in host) and ssh-X (in guest), or inserting <host_hostname> DISPLAY =: 0 in / etc / environment;
- set GLSTUB = <host_hostname>: 7000 always in the file / etc / environment.
We should be in place, only that my glxinfo my guest machine responds: CR Error (maddomlinux: 5252): Failed to connect maddomlinux: 7000.
It seems that guest and host can not communicate, but I have also created a host interface tap1 changing the script of leodav, fully functional.
Accept help from anyone willing to help resolve this problem.
Related posts ...
The gibbon is leopardo. By Mad on November 20th, 2007
In this post we will see how to transform our ubuntu 7th
Multimedia codecs for newbie. By Mad on November 26th, 2007
In the wake of "easier is better" this post is aimed at suggesting a simple and suitable for so-called "niubbi" to install the codec in a multimedia linux distro.
The drivers are ATI Catalyst 7:11 by Mad on November 23rd, 2007
New version of ati driver also different in name, from 8th
A translator from the command line by Mad on April 4th, 2008
All the "internet" now knows that to translate a text in several languages just use the online translator.
The War of the player by Mad on April 16th, 2008
That would seem as a new episode of Star Wars, but do not worry, I only speak of the egg the generation of "sparrows".
If the site is to your liking subscribers subscribing to the free RSS Feed. Thanks for visiting!























February 4 2008 at 5:59 pm
could be a problem with X forwarding
if you have not already made changes in kubuntu in the file:
/ etc/kde3/kdm/kdmrc
ServerArgsLocal the line is commented out by default. you should uncomment leaving it unchanged.
# This string is subject to word splitting.
# Default is ""
# =- ServerArgsLocal nolisten tcp
5 February 2008 at 7:20 pm
Thanks for the suggestion, but the line in question had no comment.
5 February 2008 at 8:13 pm
true. excuse me. I posted a solemn gelding.
Let me explain: I recalled that it had changed this to run the X11 forward with kubuntu. as a result of your post I went to see how I have configured, and in fact the line I commented out (and not vice versa).
So much so that the copy-paste the previous post I did from my configuration file as it is, is the explanation given is that the locks.
not just to write a vanvera again:
X11 uses for remote access port 6000/tcp.
the line
ServerArgsLocal =- nolisten tcp
locks the door. commenting on the free course.
examining my current configuration (X11 forwarding enabled and running) with nmap 127.0.0.1 I get:
Interesting ports on localhost (127.0.0.1):
Not shown: 1694 closed ports
PORT STATE SERVICE
22/tcp open ssh
631/tcp open ipp
6000/tcp open X11
5 February 2008 at 9:36 pm
In a do impeto frustration I removed the kubuntu machine and I'm Riprovando the entire installation process. However I can just try and you do know.
Hello!
February 7 2008 at 2:09 pm
[...] ← Acceleration 3D on VirtualBox [...]
17 February 2008 at 8:52 pm
two exact commands you used to do this: "enable the 'X traimite ssh forwarding (in host) and ssh-X (in guest)?
Tnx
17 February 2008 at 9:20 pm
simply ssh hostname: SSX-X and hostname:; however you can easily adopt the second method (DISPLAY = ...) which works very well.
You should also read the post later (Habemus 3D on VirtualBox), which is the natural completion of this guide.
Hello!
9 July 2008 at 12:13 am
[...] Acceleration 3D on VirtualBox - 984 views [...]
August 25 2008 at 11:44 am
hello
[quote]
1. Unpack the archive and copy it to the host machine (Ubuntu 7.10 in my case) and the guest (VirtualBox for me with Kubuntu 7.10);
2nd open the file / vmgl.hg / cr / Linux.mk with any text editor and change make = gmake-s make = make-s, this due to the fact that this software is made for systems BS;
3rd make sure you have installed the following packages: freeglutt3-dev, libxmu-dev, libbz2-dev, zlib1g-dev, libssl-dev, libjpeg-dev;
4th in vmgl.hg then type make and make install-host (the host machine) and make install-guest (in the guest);
5th in Section "Module" of / etc/X11/xorg.conf add Load "vmglext" then restart the xorg;
6. starting stub-daemon in host;
7th enable the 'X traimite ssh forwarding (in host) and ssh-X (in guest), or inserting DISPLAY =: 0 in / etc / environment;
8th set GLSTUB =: 7000 always in the file / etc / environment.
[/ quote]
these operations must execute in the operating system virtualized on VirtualBox?
thanks
25 August 2008 at 5:26 pm
host is the system installed on the PC while guest on VirtualBox.
Hello!
1 September 2008 at 12:44 PM
Section 5 and 8 must be made to the guest, the host or both?
Section 7 as you set? For host_hostname means the 'internal IP network created with VirtualBox?
September 1 2008 at 1:14 pm
Items 5, 7 and 8 only on the guest, respectively, serve to load the module vmglext who deal with the recovery (so to speak) of the OpenGL 'host, to ensure that the X Server to connect to the DISPLAY of' host and communication over port 7000 with the devil turned on the stub.
If you decide to use telnet instead Ssh (there is also the possibility to use Vnc but I have not tested) the DISPLAY variable you must set in / etc / environment to the Guest.
Hello!
September 1 2008 at 1:44 pm
Add: I now exit: CR Error (test-vm: 5562): Failed connect to 10.0.2.2:6000
What can I do? In the host PC, under / etc / ssh / ssh_config, I enabled these options:
ForwardX11 yes
ForwardX11Trusted yes
and done "xhost +" to disable the control, allowing all hosts to join: D
September 1 2008 at 1:59 pm
How can we not say, restart the virtual machine and now it should be!
In the sense ... it should be technically, practically glxinfo shows all correct, but the applications are not seen!
Here is the error that tells me if I run an application from the terminal:
"Pack SPU: X server Could not init CR extension support!"
Now I'm just spiantato
September 1 2008 at 4:02 pm
Try to put your hostname instead of the IP address, of course after having configured / etc / hosts
1 September 2008 at 4:33 pm
I fixed by rebooting once more the guest machine ... boh?
Now I will (hopefully) the last error!
CR Info (giacomo-desktop: 5362): Pack SPU: X server Could not init CR extension support!
This when I start glxgears or ume-launcher (the launcher Netbook Remix), both using the 3D course. Xterm works perfectly (does not use 3D in fact) ... The windows are just white ... ideas?
Thank you
17 December 2008 at 9:43 pm
[...] Acceleration 3D on VirtualBox - 1.669 view [...]
6 January 2009 at 3:08 pm
n3R2ASVi5SV8B