Bug 10893 - i810: GL_ALPHA and GL_LUMINANCE_ALPHA textures give blank rectangles
Summary: i810: GL_ALPHA and GL_LUMINANCE_ALPHA textures give blank rectangles
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.2 (2007.02)
Hardware: All Linux (All)
: medium normal
Assignee: Eric Anholt
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-08 23:18 UTC by Benoit Jacob
Modified: 2007-05-10 11:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Benoit Jacob 2007-05-08 23:18:21 UTC
In my OpenGL application, I render text by rendering each character as a textured quad inside a display-list. This works fine except with the i810 driver.

The bug is that the characters are rendered as blank rectangles, i.e. texturing doesn't work. The texture type is GL_ALPHA or GL_LUMINANCE_ALPHA (both trigger the bug). The glBlendFunc is the usual (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA). GL_LIGHTING is disabled. GL_DEPTH_TEST is enabled. GL_CULL_FACE is enabled. The color is set to white with glColor3f(1,1,1).

With any other driver that I have tried, it works.
If I disable DRI in xorg.conf, it works.
If keep DRI enabled in xorg.conf and I install a Mesa package that doesn't use DRI (in ubuntu: libgl1-mesa-swx11-*), it works.

The bug exists at least in Gentoo and in Kubuntu 6.10 and 7.04, so it's not distro-specific. It has been found at least in xorg 7.1 and 7.2.

lspci says:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)

Cheers,
Benoit
Comment 1 Benoit Jacob 2007-05-10 11:04:51 UTC
That wasn't a bug in your driver -- sorry !

The problem was that I was using the GL_TEXTURE_2D target with a rectangular, non-power-of-two texture. Apparently some other OpenGL implementations are more permissive; anyway your driver is fine and I didn't find a bug in it :)

Setting resolution-status to NOTABUG.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.