Bug 452915

Summary: intel gm965 claims to support texture_from_pixmap but does not
Product: [Fedora] Fedora Reporter: Andy Wingo <wingo>
Component: xorg-x11-drv-i810Assignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-25 23:47:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andy Wingo 2008-06-25 20:45:20 UTC
Hi. I'm running Fedora 9, with the latest updates. I removed my
/etc/X11/xorg.conf, so I should be running with defaults. Things are working
grand except that the texture_from_pixmap extension, although advertised, does
not appear to work.

I cannot make it work in my own code. I cannot make it work with Clutter's code
(clutter/test-pixmap in SVN). If i build git compiz and run that, it shows only
a white window.

In all of these cases, it prints out "failed to create drawable" on stderr. This
printf comes from mesa, in src/glx/x11/glx_pbuffer.c:	   fprintf(stderr, "failed
to create drawable\n");. That's about as far as I have been able to dig.
Clicking on "desktop effects" does seem to work, in that there are shadows and
stuff, but I have no idea how, if compiz does not work from git.

What's the deal? I can only think that the driver is borked.

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960
Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated
Graphics Controller (rev 0c)

Comment 1 Dave Airlie 2008-06-25 23:47:06 UTC
try using LIBGL_ALWAYS_INDIRECT=1 ./app

you can't do direct rendered TFP yet.

Comment 2 Andy Wingo 2008-06-26 06:23:16 UTC
Thank you Dave, I appreciate the help.