Serious OpenGL rendering issues with Intel gfx chip when drawing to front buffer with GL_LIGHTING enabled

Bug #662574 reported by Juha-Pekka Jokela
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

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
---
Architecture: amd64
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1366x768
 edid-base64: AP///////wAiZLYE4+wAABUUAQOAGw94CmhFl1pSjCcZUFQAAAABAQEBAQEBAQEBAQEBAQEBFhxWeFAAJjAwQmgADpYQAAAZAAAA/gAAAAAAAAAAAAAAAAAAAAAA/ABIU0QxMjFQSFcxCiAgAAAAEAAKICAgICAgICAgICAgAHA=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
DistroRelease: Ubuntu 10.10
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100803.1)
MachineType: ASUSTeK Computer INC. 1215N
NonfreeKernelModules: wl
Package: xorg 1:7.5+6ubuntu3
PackageArchitecture: amd64
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=5dd89b90-972d-4bb5-865b-d7935f2d8331 ro quiet splash
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Tags: maverick maverick possible-manual-nvidia-install
Uname: Linux 2.6.35-22-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 07/14/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0203
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1215N
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0203:bd07/14/2010:svnASUSTeKComputerINC.:pn1215N:pvrx.x:rvnASUSTeKComputerINC.:rn1215N:rvrx.xx:cvnASUSTeKComputerINC.:ct10:cvrx.x:
dmi.product.name: 1215N
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.
system:
 distro: Ubuntu
 codename: maverick
 architecture: x86_64
 kernel: 2.6.35-22-generic

tags: added: 3d opengl
Revision history for this message
komputes (komputes) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 662574
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → xorg (Ubuntu)
Changed in xorg (Ubuntu):
status: New → Incomplete
Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : Dependencies.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : DkmsStatus.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : Lspci.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : Lsusb.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : PciDisplay.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : ProcModules.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : UdevDb.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : UdevLog.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : XorgLog.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : XorgLogOld.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : Xrandr.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : glxinfo.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : nvidia-installer.log.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : peripherals.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : setxkbmap.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : xdpyinfo.txt

apport information

Revision history for this message
Juha-Pekka Jokela (jpjokela-spam) wrote : xkbcomp.txt

apport information

Bryce Harrington (bryce)
tags: added: maverick
bugbot (bugbot)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xserver-xorg-video-intel (Ubuntu) because there has been no activity for 60 days.]

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Expired
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.