Serious OpenGL rendering issues with Intel gfx chip when drawing to front buffer with GL_LIGHTING enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-video-intel (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Test code fails on 7.9~git20100924
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(
If glEnable(
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:/
---
Architecture: amd64
DRM.card0.LVDS.1:
status: connected
enabled: enabled
dpms: On
modes: 1366x768
edid-base64: AP/////
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
NonfreeKernelMo
Package: xorg 1:7.5+6ubuntu3
PackageArchitec
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANGUAGE=
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: maverick maverick possible-
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.
dmi.board.name: 1215N
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer INC.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: 1215N
dmi.product.
dmi.sys.vendor: ASUSTeK Computer INC.
system:
distro: Ubuntu
codename: maverick
architecture: x86_64
kernel: 2.6.35-22-generic
tags: | added: 3d opengl |
tags: | added: maverick |
affects: | xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu) |
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: /wiki.ubuntu. com/ReportingBu gs.
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:/