compiz fails to run with "GLX_EXT_texture_from_pixmap is missing"

Bug #713504 reported by Rocko
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: compiz

I'm running natty as a VM in VirtualBox 4.0.2 and since the VM upgraded to the 2.6.38.1-generic kernel, compiz no longer runs, complaining that it cannot find the GLX_EXT_texture_from_pixmap.

I have modified the vboxguest driver so that it compiles against the 2.6.38.1 headers. dkms shows that the driver is installed, and "/etc/init.d/vboxadd status" says that the guest drivers are running. "glxinfo|grep texture_from_pixmap" returns:

    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap,

and glxgears runs happily. sudo modprobe vboxvideo works as well.

So it appears that all is well with the vboxvideo driver, but compiz cannot detect the GLX_EXT_texture_from_pixmap.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz 1:0.9.2.1+glibmainloop4-0ubuntu9
ProcVersionSignature: Ubuntu 2.6.38-1.28-generic 2.6.38-rc2
Uname: Linux 2.6.38-1-generic i686
Architecture: i386
CompisitorRunning: None
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,scale,session,unityshell]
Date: Sat Feb 5 13:34:19 2011
DistUpgraded: Yes, recently upgraded Log time: 2010-12-03 07:43:24.959578
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus: vboxguest, 4.0.2, 2.6.38-1-generic-pae, i686: installed
GraphicsCard:

InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100602.2)
Lsusb:
 Bus 002 Device 002: ID 80ee:0021
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: innotek GmbH VirtualBox
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_AU:en
 LANG=en_AU.UTF-8
 LC_MESSAGES=en_AU.utf8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-1-generic root=UUID=c7586c69-5914-406e-ab3d-a671796fed2d ro quiet splash vt.handoff=7
Renderer: Software
SourcePackage: compiz
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH
version.compiz: compiz 1:0.9.2.1+glibmainloop4-0ubuntu9
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10-1ubuntu1
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.13.2+git20110124.fadee040-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-1ubuntu6
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu4

Revision history for this message
Rocko (rockorequin) wrote :
Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Compiz] [Bug 713504] [NEW] compiz fails to run with "GLX_EXT_texture_from_pixmap is missing"
Download full text (3.8 KiB)

status invalid

This is a normal error message when you have no 3D acceleration or DRI
drivers available.

On Sat, Feb 5, 2011 at 1:51 PM, Rocko <email address hidden> wrote:
> Public bug reported:
>
> Binary package hint: compiz
>
> I'm running natty as a VM in VirtualBox 4.0.2 and since the VM upgraded
> to the 2.6.38.1-generic kernel, compiz no longer runs, complaining that
> it cannot find the GLX_EXT_texture_from_pixmap.
>
> I have modified the vboxguest driver so that it compiles against the
> 2.6.38.1 headers. dkms shows that the driver is installed, and
> "/etc/init.d/vboxadd status" says that the guest drivers are running.
> "glxinfo|grep texture_from_pixmap" returns:
>
>    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
>    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap,
>
> and glxgears runs happily. sudo modprobe vboxvideo works as well.
>
> So it appears that all is well with the vboxvideo driver, but compiz
> cannot detect the GLX_EXT_texture_from_pixmap.

You've got 2 listings of GLX_EXT_t_f_p so it might be worth trying to
force indirect mode (Unity will NOT run in indirect mode however)

LIBGL_ALWAYS_INDIRECT=1 compiz --replace

>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.04
> Package: compiz 1:0.9.2.1+glibmainloop4-0ubuntu9
> ProcVersionSignature: Ubuntu 2.6.38-1.28-generic 2.6.38-rc2
> Uname: Linux 2.6.38-1-generic i686
> Architecture: i386
> CompisitorRunning: None
> CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,scale,session,unityshell]
> Date: Sat Feb  5 13:34:19 2011
> DistUpgraded: Yes, recently upgraded Log time: 2010-12-03 07:43:24.959578
> DistroCodename: natty
> DistroVariant: ubuntu
> DkmsStatus: vboxguest, 4.0.2, 2.6.38-1-generic-pae, i686: installed
> GraphicsCard:
>
> InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100602.2)
> Lsusb:
>  Bus 002 Device 002: ID 80ee:0021
>  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: innotek GmbH VirtualBox
> PackageArchitecture: all
> ProcEnviron:
>  LANGUAGE=en_AU:en
>  LANG=en_AU.UTF-8
>  LC_MESSAGES=en_AU.utf8
>  SHELL=/bin/bash
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-1-generic root=UUID=c7586c69-5914-406e-ab3d-a671796fed2d ro quiet splash vt.handoff=7
> Renderer: Software
> SourcePackage: compiz
> dmi.bios.date: 12/01/2006
> dmi.bios.vendor: innotek GmbH
> dmi.bios.version: VirtualBox
> dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:
> dmi.product.name: VirtualBox
> dmi.product.version: 1.2
> dmi.sys.vendor: innotek GmbH
> version.compiz: compiz 1:0.9.2.1+glibmainloop4-0ubuntu9
> version.libdrm2: libdrm2 2.4.23-1ubuntu3
> version.libgl1-mesa-glx: libgl1-mesa-glx 7.10-1ubuntu1
> version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu3
> version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.13.2+git20110124.fadee040-0ubuntu4
> version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-1ubuntu6
> version....

Read more...

Revision history for this message
Travis Watkins (amaranth) wrote :

To clarify what is happening here: GLX_EXT_texture_from_pixmap shows twice as both the server and client know about it but it needs to show a third time in the list of extensions that can actually be used. Either something in your port went wrong or you don't have an xorg driver that matches the new DDX ABI to go along with your new kernel module.

Changed in compiz (Ubuntu):
status: New → Invalid
Revision history for this message
Rocko (rockorequin) wrote :

Thanks for all the info. It is indeed a virtualbox driver problem. I installed the vbox open-source drivers (virtualbox-ose-guest-utils and virtualbox-ose-guest-x11) and compiz now runs. (I had to reboot three times before the desktop appearance manager worked without crashing but it all seems fine now.)

Revision history for this message
Barry Drake (b-drake) wrote :

Have installed Natty on a hard drive on this machine - get the SAME error when running. Run defaults to gnome desktop. Trying to re-start Unity says that compiz fails with the above. Alpha 3 release version even after installing updates as at today. Got the following when trying:
barry@barry-desktop:~$ unity
unity-panel-service: no process found
Backend : gconf
Integration : true
Profile : unity
Adding plugins
Initializing core options...done
Initializing bailer options...done
Initializing detection options...done

(firefox-bin:1687): LIBDBUSMENU-GTK-CRITICAL **: dbusmenu_menuitem_property_set_shortcut: assertion `gtk_accelerator_valid(key, modifier)' failed
Initializing composite options...done
compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (opengl) - Fatal: Software rendering detected
compiz (bailer) - Info: Ensuring a shell for your session
barry@barry-desktop:~$ Cannot register the panel shell: there is already one running.
barry@barry-desktop:~$ Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a000eb specified for 0x3a0019b (Default Br).

(firefox-bin:1687): LIBDBUSMENU-GTK-CRITICAL **: dbusmenu_menuitem_property_set_shortcut: assertion `gtk_accelerator_valid(key, modifier)' failed

Tried to use 'ubuntu-bug compiz' which sent information but then Firefox failed with the above related error. Same ISO installs and runs on a different PC.

Revision history for this message
Barry Drake (b-drake) wrote :
Download full text (11.2 KiB)

This is from the machine I'm using:barry@barry-desktop:~$ sudo lshw
barry-desktop
    description: Desktop Computer
    width: 32 bits
    capabilities: smbios-2.2 dmi-2.2 smp-1.4 smp
    configuration: boot=normal chassis=desktop cpus=1
  *-core
       description: Motherboard
       product: SiS-741
       physical id: 0
       serial: UL7151304873
     *-firmware
          description: BIOS
          vendor: Phoenix Technologies, LTD
          physical id: 0
          version: 6.00 PG
          date: 03/09/2005
          size: 128KiB
          capacity: 192KiB
          capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp ls120boot zipboot
     *-cpu
          description: CPU
          product: AMD Athlon(tm) XP 2000+
          vendor: Hynix Semiconductor (Hyundai Electronics)
          physical id: 4
          bus info: cpu@0
          version: 6.6.2
          slot: Socket A
          size: 1666MHz
          width: 32 bits
          clock: 133MHz
          capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up
        *-cache:0
             description: L1 cache
             physical id: a
             slot: Internal Cache
             size: 128KiB
             capacity: 128KiB
             capabilities: synchronous internal write-back
        *-cache:1
             description: L2 cache
             physical id: b
             slot: External Cache
             size: 256KiB
             capacity: 256KiB
             capabilities: synchronous external write-back
     *-memory
          description: System Memory
          physical id: 1b
          slot: System board or motherboard
          size: 1GiB
          capacity: 1GiB
        *-bank:0
             description: DIMM
             physical id: 0
             slot: A0
             size: 512MiB
        *-bank:1
             description: DIMM
             physical id: 1
             slot: A1
             size: 512MiB
        *-bank:2
             description: DIMM [empty]
             physical id: 2
             slot: A2
        *-bank:3
             description: DIMM [empty]
             physical id: 3
             slot: A3
     *-pci
          description: Host bridge
          product: 741/741GX/M741 Host
          vendor: Silicon Integrated Systems [SiS]
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 03
          width: 32 bits
          clock: 33MHz
          configuration: driver=agpgart-sis latency=32
          resources: irq:0 memory:e8000000-ebffffff
        *-pci
             description: PCI bridge
             product: SiS AGP Port (virtual PCI-to-PCI bridge)
             vendor: Silicon Integrated Systems [SiS]
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: pci normal_decode bus_master
             resources: ioport:d000(size=4096) memor...

Revision history for this message
Travis Watkins (amaranth) wrote :

You also don't have OpenGL accleration on your computer due to a missing or mis-configured driver.

Revision history for this message
Rocko (rockorequin) wrote :

The virtualbox 4.0.4 OSE guest drivers don't work for me anymore either. /var/log/gdm/:0.log shows the following error:

(EE) VBoxVideo(0): Failed to initialize the VirtualBox device (rc=-102)

The /var/log/vboxadd-install-x11.log file contains just one line:

VirtualBox Guest Additions installation, Window System and desktop setup

Revision history for this message
Barry Drake (b-drake) wrote :

Using Natty yesterday's build running from liveCD. No graphics drivers are offered for this motherboard - they are provided on 10.10. Do you want me to report this as a 'lack of driver' problem - if so where please?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.