Page 1 of 4

"Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 19:02
by prismra
Brand-new install. Windows 7 x64 host. 64-bit version of Ubuntu 10.10. Guest additions installed. Cannot enable compositing. Please advise.

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 19:08
by Perryg
From the host terminal/command window type VBoxManage showvminfo <VM Name> --details and post here. Replace <VM Name> with the actual name of the VM. Use "" if the name has a space in it.

Did you remember to turn on the 3D acceleration in the display section of the guest settings?
Also what version of VirtualBox are you using? 3.2.10 was just released today with Ubuntu 10.10 support.

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 19:32
by prismra
Sorry. Running Virtualbox 3.2.10

Here is the command output:

Code: Select all

Name:            Ubuntu 10.10
Guest OS:        Ubuntu (64 bit)
UUID:            6eed1d2d-1816-4c29-bff3-a200c8ea5e97
Config file:     C:\Users\prismra\.VirtualBox\Machines\Ubuntu 10.10\Ubuntu 10.10
.xml
Hardware UUID:   6eed1d2d-1816-4c29-bff3-a200c8ea5e97
Memory size:     1024MB
Page Fusion:     off
VRAM size:       128MB
HPET:            off
Number of CPUs:  1
Synthetic Cpu:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
PAE:             off
Time offset:     0 ms
RTC:             UTC
Hardw. virt.ext: on
Hardw. virt.ext exclusive: off
Nested Paging:   on
Large Pages:     off
VT-x VPID:       on
State:           running (since 2010-10-11T17:23:51.350000000)
Monitor count:   1
3D Acceleration: on
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Storage Controller Name (0):            IDE Controller
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Name (1):            SATA Controller
Storage Controller Type (1):            IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  30
Storage Controller Port Count (1):      1
IDE Controller (0, 0): C:\PROGRA~1\Oracle\VIRTUA~1\VBoxGuestAdditions.iso (UUID:
 c8b7d40f-0a90-4aad-8529-da76e81bf1cb)
SATA Controller (0, 0): C:\Users\prismra\.VirtualBox\HardDisks\Ubuntu 10.10.vdi
(UUID: 8e6401f7-5e53-47b1-91cf-57f4aeea4327)
NIC 1:           MAC: 08002787FDFB, Attachment: NAT, Cable connected: on, Trace:
 off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0
NIC 1 Settings:  MTU: 0, Socket( send: 64, receive: 64), TCP Window( send:64, re
ceive: 64)
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
Audio:           enabled (Driver: DSOUND, Controller: AC97)
Clipboard Mode:  Bidirectional
Video mode:      1680x1050x32
VRDP:            disabled
USB:             enabled

USB Device Filters:

<none>

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Shared folders:  <none>

VRDP Connection:    not active
Clients so far:     0

Guest:

OS type:                             Linux26_64
Additions active:                    yes
Additions version:                   65540

Configured memory balloon size:      0 MB

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 19:39
by Perryg
I don't see an issue. Did you reboot the guest after installing the additions?
I just tested (I don't normally use 3D) and it is working for me.

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 19:45
by prismra
Yes. I installed the guest additions and rebooted. I checked the hardware drivers control panel and the virtualbox driver is listed and enabled. Could it be a host driver issue perhaps?

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 19:46
by Perryg
It might. What is the make and model of the hosts video adapter?

EDIT: Also look at /var/log/vboxadd-install.log to see if it shows errors.

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 20:02
by dave78ab
Same here (Windows 7x64). Except using ubuntu 10.10 32 bit.

Desktop effects were working fine with ubuntu 10.04 32 bit with VB 3.2.8. Tried 10.10 when it was in RC still, and tried with the 3.2.9 GA (test version I guess ) that was available from some link on this site (in support ticket thread I believe). Could get the GA to install and work OK, but would not enable special effects at all.

Now tried clean install of VB 3.2.10 and ubuntu 32 bit 10.10, with 3.2.10 GA. Same thing, installs and works but desktop effects won't enable. Graphics card on my Windows 7 x64 host is geforce GTX 480.

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 20:17
by scottku
I'm also having this issue with virtualbox 3.2.10 PUEL with a Ubuntu 10.10 guest.

If I use the 3.2.10 GA, glxinfo reports that it is using mesa for rendering, desktop effects are disabled, and OpenGL programs based on GLUT run, but run without hardware acceleration.

If I use the Ubuntu virtualbox-ose-guest-x11 package from Ubuntu (which I know isn't recommended for the PUEL version) glxinfo reports that it is using Chromium for rendering, and desktop effects are enabled. However, in this situation, OpenGL apps which use GLUT (that I've tried) segfault with a message about XGetVisualInfo returned 0 visuals.

EDIT: I don't see any errors when I run the 3.2.10 GA install script, and no apparent errors in /tmp/vboxadd-install.log.

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 20:38
by prismra
The display adapter is listed as Intel Q45/Q43 Express Chipset. It is using the built-in Windows 7 driver.

I re-ran the add-ons installer. There are indeed some errors (I think).

Code: Select all

Uninstalling modules from DKMS
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.35-22-generic/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
	echo;								\
	echo "  ERROR: Kernel configuration is invalid.";		\
	echo "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
	echo;								\
	/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0
  gcc -Wp,-MD,/tmp/vbox.0/.test.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include  -I/usr/src/linux-headers-2.6.35-22-generic/arch/x86/include -Iinclude  -include include/generated/autoconf.h -Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -I/lib/modules/2.6.35-22-generic/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_R0 -DVBGL_VBOXGUEST -DVBGL_HGCM -DVBOX_WITH_HGCM  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(test)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxadd_test)"  -c -o /tmp/vbox.0/.tmp_test.o /tmp/vbox.0/test.c
  set -e ; perl /usr/src/linux-headers-2.6.35-22-generic/scripts/recordmcount.pl "x86_64" "little" "64" "objdump" "objcopy" "gcc" "ld" "nm" "" "" "1" "/tmp/vbox.0/test.o";
  ld -m elf_x86_64   -r -o /tmp/vbox.0/vboxadd_test.o /tmp/vbox.0/test.o 
(cat /dev/null;   echo kernel//tmp/vbox.0/vboxadd_test.ko;) > /tmp/vbox.0/modules.order
make -f /usr/src/linux-headers-2.6.35-22-generic/scripts/Makefile.modpost
  scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.35-22-generic/Module.symvers -I /tmp/vbox.0/Module.symvers  -o /tmp/vbox.0/Module.symvers -S -w  -s
  gcc -Wp,-MD,/tmp/vbox.0/.vboxadd_test.mod.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include  -I/usr/src/linux-headers-2.6.35-22-generic/arch/x86/include -Iinclude  -include include/generated/autoconf.h -Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -I/lib/modules/2.6.35-22-generic/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_R0 -DVBGL_VBOXGUEST -DVBGL_HGCM -DVBOX_WITH_HGCM  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vboxadd_test.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxadd_test)"  -DMODULE -c -o /tmp/vbox.0/vboxadd_test.mod.o /tmp/vbox.0/vboxadd_test.mod.c
  ld -r -m elf_x86_64 -T /usr/src/linux-headers-2.6.35-22-generic/scripts/module-common.lds --build-id -o /tmp/vbox.0/vboxadd_test.ko /tmp/vbox.0/vboxadd_test.o /tmp/vbox.0/vboxadd_test.mod.o
/tmp/vbox.0/Makefile.include.header:87: Ignoring unknown BUILD_TYPE value '_BUILDTYPE_'.
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.35-22-generic/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
	echo;								\
	echo "  ERROR: Kernel configuration is invalid.";		\
	echo "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
	echo;								\
	/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0
/tmp/vbox.0/Makefile.include.header:93: Using BUILD_TYPE='release' from the environment.
  gcc -Wp,-MD,/tmp/vbox.0/.test_drm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include  -I/usr/src/linux-headers-2.6.35-22-generic/arch/x86/include -Iinclude  -include include/generated/autoconf.h -Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -I/lib/modules/2.6.35-22-generic/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DLOG_TO_BACKDOOR -DRT_WITH_VBOX -DIN_MODULE -DIN_GUEST_R0 -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(test_drm)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxadd_test_drm)"  -c -o /tmp/vbox.0/.tmp_test_drm.o /tmp/vbox.0/test_drm.c
  set -e ; perl /usr/src/linux-headers-2.6.35-22-generic/scripts/recordmcount.pl "x86_64" "little" "64" "objdump" "objcopy" "gcc" "ld" "nm" "" "" "1" "/tmp/vbox.0/test_drm.o";
  ld -m elf_x86_64   -r -o /tmp/vbox.0/vboxadd_test_drm.o /tmp/vbox.0/test_drm.o 
(cat /dev/null;   echo kernel//tmp/vbox.0/vboxadd_test_drm.ko;) > /tmp/vbox.0/modules.order
make -f /usr/src/linux-headers-2.6.35-22-generic/scripts/Makefile.modpost
/tmp/vbox.0/Makefile.include.header:93: Using BUILD_TYPE='release' from the environment.
  scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.35-22-generic/Module.symvers -I /tmp/vbox.0/Module.symvers  -o /tmp/vbox.0/Module.symvers -S -w  -s
  gcc -Wp,-MD,/tmp/vbox.0/.vboxadd_test_drm.mod.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include  -I/usr/src/linux-headers-2.6.35-22-generic/arch/x86/include -Iinclude  -include include/generated/autoconf.h -Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -I/lib/modules/2.6.35-22-generic/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DLOG_TO_BACKDOOR -DRT_WITH_VBOX -DIN_MODULE -DIN_GUEST_R0 -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vboxadd_test_drm.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxadd_test_drm)"  -DMODULE -c -o /tmp/vbox.0/vboxadd_test_drm.mod.o /tmp/vbox.0/vboxadd_test_drm.mod.c
  ld -r -m elf_x86_64 -T /usr/src/linux-headers-2.6.35-22-generic/scripts/module-common.lds --build-id -o /tmp/vbox.0/vboxadd_test_drm.ko /tmp/vbox.0/vboxadd_test_drm.o /tmp/vbox.0/vboxadd_test_drm.mod.o
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxguest/3.2.10/source ->
                 /usr/src/vboxguest-3.2.10

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.35-22-generic -C /lib/modules/2.6.35-22-generic/build M=/var/lib/dkms/vboxguest/3.2.10/build.................
cleaning build area....

DKMS: build Completed.

vboxguest.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.35-22-generic/updates/dkms/

vboxsf.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.35-22-generic/updates/dkms/

vboxvideo.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.35-22-generic/updates/dkms/

depmod....

DKMS: install Completed.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 21:48
by Perryg
Ok I see some issues on mine now. I have everything working including the rotating cube, but it is not stable.
I searched using ubuntu 10.10 compositing problems and came back with a ton of issues (on metal) Some fixed and some still open. At this point I can't tell if this is an issue for VirtualBox yet.

Please post the guests Log file (as an attachment) along with your xorg.0.log and glxinfo (again all as attachment)

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 22:15
by prismra
Here is the info you requested. Thanks for looking into this.

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 22:33
by scottku
Not sure if prismra and I are having the exact same problem, but here are my log files...

Thanks for your help Perryg!

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 22:47
by dave78ab
Sorry, where do we find each of these 3 logs exactly?

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 11. Oct 2010, 23:45
by prismra
The guest log is in your host OS .Virtualbox log folder. The xorg log file is in the guest OS /var/log folder and you just run glxinfo from the terminal (you will need to download it via apt-get or Software Center).

Re: "Desktop effects could not be enabled" on Ubuntu 10.10 x64

Posted: 12. Oct 2010, 01:09
by dave78ab
Thanks. Here's mine.
VBox log.txt
(81.42 KiB) Downloaded 54 times
Xorg.0.log
(29.93 KiB) Downloaded 33 times
glxinfo.txt
(20.15 KiB) Downloaded 49 times