Bug 1170 - The OpenGL extension TextureFromPixmap is not enabled
: The OpenGL extension TextureFromPixmap is not enabled
Status: RESOLVED FIXED
Product: opensolaris
desktop
: unspecified
: Other Solaris
: P2 critical (vote)
: ---
Assigned To: Watcher account for desktop bugs
: Watcher account for desktop bugs
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-04-14 03:55 UTC by Emily Chen
Modified: 2008-04-15 07:35 UTC (History)
3 users (show)

See Also:


Attachments
Screenshot of error message (128.85 KB, image/png)
2008-04-14 03:55 UTC, Emily Chen
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description Emily Chen 2008-04-14 03:55:50 UTC
Created an attachment (id=151) [details]
Screenshot of error message 

On ASUS laptop with Snv_87 + Verm_devel_88 + Intel Graphics

Can not enable compiz through Preferences-> Appearance-> Virtual Effects, and
the error message says "The OpenGL extension TextureFrom Pixmap is not enable".
But the system check for Virtual Effects are all PASS. Please check the
attached screen shot. 

# /usr/X11/bin/scanpci |grep -i graphic
Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics
Controller
Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics
Controller
Comment 1 Alan Coopersmith 2008-04-14 17:25:51 UTC
Seems the same as
http://mail.opensolaris.org/pipermail/desktop-discuss/2008-April/013470.html
Comment 2 Erwann Chénedé 2008-04-15 07:35:57 UTC
The problem was that if the openGL libraries are not 
configured to use only indirect rendering the extension
GLX_EXT_texture_from_pixmap wouldn't be enabled with intel and 
ati drivers.
So instead of querying via glXQueryExtensionsString
I'm using glXQueryServerString to check only for the 
existence of the extension. 
This fixes the appearance applet bug. 

I've also modified the compiz startup script to 
add the additional env. variables to for indirect rendering.