OpenGL refuses to work in Virtualbox [Solved]

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

OpenGL refuses to work in Virtualbox [Solved]

Postby corwin » Sat Oct 20, 2012 22:00

Please, I need help with this. I've searched the 'net up and down, and, actually, I found several fixes. I tried them all, none worked.

Symptom :

I go to System settings -> Desktop effects -> Advanced.
In Compositing type, I set it to OpenGL.
I click Apply. It asks for confirmation. I confirm, and it says "One desktop effect could not be loaded."
I click Details in that error message. It says "Blur effect requires OpenGL".
Then it proceeds to obviously forget that I ever set it to OpenGL.

Then, I found an error in /var/log/Xorg.0.log. It says that

[ 816.691] (EE) AIGLX error: vboxvideo does not export required DRI extension
[ 816.692] (EE) AIGLX: reverting to software rendering
[ 816.696] (II) AIGLX: Loaded and initialized swrast
[ 816.696] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 816.697] (II) VBoxVideo(0): Setting screen physical size to 444 x 277

(I tried to attach the whole file, but the board told me its attachment quota has been reached.)


Setup :

VirtualBox guest additions are installed.
The kernel module is loaded.
The xorg driver is installed.

The host VirtualBox has 3D acceleration enabled, of course. Max memory has been allocated, 128 M.
2D acceleration is also enabled, but it got enabled after I realized that hardware 3D was broken. It didn't seem to change anything.

I used four or five xorg.conf files. I tried using the default file, the modified default file (with vboxvideo written in its rightful place), the VirtualBox example file, an empty file, then using none. Nothing got virtual hardware 3D to work.

The virtualbox-guest-additions service is running.


Any idea for a fix?
Last edited by corwin on Mon Oct 22, 2012 18:45, edited 1 time in total.
corwin
Baby Hen
 
Posts: 2
Joined: Sat Oct 20, 2012 21:12

Re: OpenGL refuses to work in Virtualbox

Postby albfneto » Sun Oct 21, 2012 16:54

This is classically known under Linux. The use of OpenGL under Virtual Machine Env. is difficult...
Image
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mandriva and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1297
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: OpenGL refuses to work in Virtualbox

Postby corwin » Mon Oct 22, 2012 18:44

SOLVED.

Just had to force installing the kernel 3.6, vbox guest additions and xorg driver.

Now to solve the issue of nonfunctioning sound...
corwin
Baby Hen
 
Posts: 2
Joined: Sat Oct 20, 2012 21:12


Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: No registered users and 2 guests