VirtualBox 2.2 and KDE 4 "desktop effects"

Discussions about using Linux guests in VirtualBox.
steffan
Posts: 4
Joined: 9. Apr 2009, 12:34
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: Fedora Core 10 (KDE)

VirtualBox 2.2 and KDE 4 "desktop effects"

Post by steffan »

Hi,

I'm trying to enable the KDE 4.2.1 "desktop effects" using the new OpenGL support in VirtualBox 2.2. My guest is a KDE version of Fedora Core 10.

I've enabled 3D acceleration for the VM and set the video memory to 128MB. I've installed the latest VirtualBox Linux additions.

When I try to enable "desktop effects", I get the incredibly helpful message:
Failed to activate desktop effects using the given configuration options. Settings will be reverted to their previous values. Check you X configuration. You may also consider changing advanced options, especially changing the compositing type.
Changing the advanced options does not help.

My /etc/X11/xorg.conf file was dropped by VirtualBox, and only contains:

Code: Select all

Section "Device"
        Identifier      "VirtualBox Video Card"
        Driver          "vboxvideo"
EndSection
I've tried adding the following, but it doesn't help:

Code: Select all

Section "Extensions"
        Option "Composite" "Enable"
EndSection
Looking through likely log files, I find the following in both /var/log/Xorg.0.log and /var/log/kdm.log:
(EE) AIGLX error: vboxvideo does not export required DRI extension
(EE) AIGLX: reverting to software rendering
Any ideas? This isn't an area I know anything about...

Regards,

Steffan

P.S. In case it's relevant, I have an nvidia card in my host machine.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by Sasquatch »

I have nVidia too on my Host. I have Compiz-Fusion running in 9.04 Xubuntu just fine. Check my howto at the top, you need that xorg.conf file to get it working. Now are you sure that you enabled 3D and installed the 2.2 GA?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
steffan
Posts: 4
Joined: 9. Apr 2009, 12:34
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: Fedora Core 10 (KDE)

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by steffan »

Hi Sasquatch,

Yep, I'm sure that I've enabled 3D and installed the latest additions. I've now done this on two computers. Though if anyone knows how to verify the additions that are installed... it's always good to verify that the install really did work.

As far as I understand, KDE 4 doesn't use compiz-fusion - it has compositing built into kwin. I did try installing compiz-fusion just in case, but this didn't help. I'm guessing that whatever checks kwin does are what is failing (though selecting "disable functionality checks" in the UI doesn't help). That said, the error message I reported below appears concerning.

Regards,

Steffan
tommy.snello
Posts: 4
Joined: 26. Dec 2008, 22:45
Primary OS: Ubuntu 8.10
VBox Version: PUEL
Guest OSses: linux and windows

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by tommy.snello »

the problem seems to be only in kde 4.2 (kubuntu jaunty),
gnome-compiz (ubuntu jaunty) and kde 4.1 (kubuntu intrepid) work
Beno@
Posts: 34
Joined: 4. Jun 2008, 18:54
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: OpenSuse Factory

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by Beno@ »

same problem here on opensuse factory: KDE 4.2.1 and xorg 1.6
undu
Posts: 2
Joined: 10. Apr 2009, 19:53
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Ubuntu Jaunty 9.04, Windows XP

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by undu »

I also have this error, I'm using a nvidia geforce go 7600, but using GNOME as the desktop manager.
I'm installing the ga from a mounted image named VBOXADDITIONS_2.2.0_45846

Here's the part of /var/log/Xorg.0.log where it seems to fail
(II) Next line is added to allow vboxvideo_drv.so to appear as whitelisted driver
(II) The file referenced, is *NOT* loaded
(II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
(EE) AIGLX error: vboxvideo does not export required DRI extension
(EE) AIGLX: reverting to software rendering
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) VBoxVideo(0): Setting screen physical size to 359 x 203
Leonid
Volunteer
Posts: 101
Joined: 17. Dec 2008, 15:10

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by Leonid »

undu wrote:I also have this error, I'm using a nvidia geforce go 7600, but using GNOME as the desktop manager.
I'm installing the ga from a mounted image named VBOXADDITIONS_2.2.0_45846

Here's the part of /var/log/Xorg.0.log where it seems to fail
(II) Next line is added to allow vboxvideo_drv.so to appear as whitelisted driver
(II) The file referenced, is *NOT* loaded
(II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
(EE) AIGLX error: vboxvideo does not export required DRI extension
(EE) AIGLX: reverting to software rendering
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) VBoxVideo(0): Setting screen physical size to 359 x 203
That's expected behaviour. As comment in the log says, it's added only to allow compiz script to grep log for a whitelisted driver name.
Kwin works different from compiz, but it should be possible to force it running in direct rendering mode (default compiz mode) which does not require additional opengl extensions on XServer side.
Beno@
Posts: 34
Joined: 4. Jun 2008, 18:54
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: OpenSuse Factory

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by Beno@ »

i have the same log, but what does this line refers to:
(EE) AIGLX error: vboxvideo does not export required dri extension
vbuser123
Posts: 9
Joined: 26. Nov 2008, 22:59

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by vbuser123 »

tommy.snello wrote:the problem seems to be only in kde 4.2 (kubuntu jaunty),
gnome-compiz (ubuntu jaunty) and kde 4.1 (kubuntu intrepid) work
I can't use compositing with VB 2.2.0 and Jaunty/GNOME guest as well. On activation it prints "looking for driver" and then "An error occured".
The only error in my Xorg.o.log says

Code: Select all

(EE) AIGLX error: Calling driver entry point failed(EE) AIGLX: reverting to software rendering
This is no important issue to me, I posted this just for the record ;)
urnew
Posts: 9
Joined: 1. Apr 2009, 01:30
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: XP x86

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by urnew »

I got no such error in my log but Desktop effects only worked once, when I enabled them for the first time. (transparency effect when moving windows)
Also I set it to Xrender at that time because I thought OGL was not supported (I have VBox 2.2.4 with Guest additions on XpSp3 32bit with a 64bit Debian Squeeze guest with KDE 4.2.2.
I disabled and tried to enable it again and now it won't work anymore.
I followed the HOWTO at the top of this forum for xorg.conf.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by Sasquatch »

Currently, there are problems with the desktop effects shipped with KDE. They don't work, as you all figured out. If you want to use effects, all I can advise now is to use Compiz-Fusion, instead of KDE's own desktop effects.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
JesperW
Posts: 4
Joined: 11. Jan 2009, 15:43

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by JesperW »

The workaround is to go to the "All Effects" tab and press "Apply" there!!!

Somehow this gets around the problem that XRender is not allowed as a compositing type.

This bug has been around for some time in KDE. Go vote for it!

https://bugs.kde.org/show_bug.cgi?id=174853
Phekos
Posts: 3
Joined: 14. Nov 2009, 09:59
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Ubuntu, openSUSE

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by Phekos »

JesperW wrote:The workaround is to go to the "All Effects" tab and press "Apply" there!!!

Somehow this gets around the problem that XRender is not allowed as a compositing type.

This bug has been around for some time in KDE. Go vote for it!
That still didn't work for me. I still get the same error message
dsh21
Posts: 9
Joined: 23. Sep 2009, 06:19
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: mandriva

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by dsh21 »

i was able to get most of the desktop effects working for mandriva 2010 and kde4.3.5 under win7 64 bit and vbox 3.2. i changed rendering from opengl to xrender. not sure how applicable this is to 2.2 version.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: VirtualBox 2.2 and KDE 4 "desktop effects"

Post by Sasquatch »

That's going from full hardware accelerated 3D to crappy software rendering. When hardware can fail, software rendering works 99% of the time.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply