← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 662574] [NEW] Serious OpenGL rendering issues with Intel gfx chip when drawing to front buffer with GL_LIGHTING enabled

 

You have been subscribed to a public bug:

Test code fails on 7.9~git20100924-0ubuntu2 version of mesa running on
Ubuntu 10.10. I haven't tested on other systems yet, and am not sure, in
which component the bug actually is. The bug didn't happen on 10.04
systems with intel gfx.

Expected result:
When running the test program on my nvidia system (with ubuntu 10.04), it draws same triangle (one vertex at left, one right and third at the top, all centered) in various (constant for all vertices) colors.

Actual result:
When running the same program on my Asus 1215N (running ubuntu 10.10) using the Intel chipset, however, the first triangle is rendered ok, but next one (and all after that) have one red vertex at top left, another red at bottom center, and white top right. 

This code works the same on both if I either:
1)Don't draw to front buffer
2)don't glEnable(GL_LIGHTING)

If glEnable(GL_DEPTH_TEST) line is uncommented, only the top line of
upside down triangle will be drawn.

While drawing to front buffer probably isn't too common, it can result
in whole program becoming useless, when rendering stops working.

The code itself doesn't make much sense, as it's based on bugles
exetrace of a lot bigger project, with functions that don't change the
outcome removed.

Link to relevant bug in freedesktop bug tracker (with test case):
https://bugs.freedesktop.org/show_bug.cgi?id=30847

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: 3d opengl
-- 
Serious OpenGL rendering issues with Intel gfx chip when drawing to front buffer with GL_LIGHTING enabled
https://bugs.launchpad.net/bugs/662574
You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu.