Bug 48701 - lodbias demo displays garbage on nv43 with new driver
Summary: lodbias demo displays garbage on nv43 with new driver
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-14 15:06 UTC by Andrew Randrianasulu
Modified: 2012-04-15 05:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
glxinfo (25.69 KB, text/plain)
2012-04-14 15:07 UTC, Andrew Randrianasulu
Details
Correct picture (95.07 KB, image/png)
2012-04-14 15:08 UTC, Andrew Randrianasulu
Details
Incorrect picture (30.81 KB, image/png)
2012-04-14 15:09 UTC, Andrew Randrianasulu
Details
X log (107.95 KB, text/plain)
2012-04-14 15:10 UTC, Andrew Randrianasulu
Details
dmesg (35.97 KB, text/plain)
2012-04-14 15:11 UTC, Andrew Randrianasulu
Details

Description Andrew Randrianasulu 2012-04-14 15:06:31 UTC
I have this software setup:

kernel: commit 965a47fb8ec0a72324aad8b9c0bd1c8b98cc7ca1 (3.4.0-rc2 nouveau, master branch up to "drm/nouveau/bios: fix regression on some nv4x board")

mesa: commit b2df031a959f36743527b9abc89913ce4f895de3 ("r300/compiler: Fix nested flow control in r500 vertex shaders")

libdrm: master branch commit 292da616fe1f936ca78a3fa8e1b1b19883e343b6 ("nouveau: pull in major libdrm rewrite")

ddx: master up to commit fb3a36b1e5af0f81bb266da894d3442eed8e4e55 ("nve0: initial exa/xv acceleration for kepler chipsets")

X server - 1.10.4

Hardware:
01:00.0 VGA compatible controller: NVIDIA Corporation NV43 [GeForce 6600 GT] (rev a2) - AGP version.

With this cobination at least demo program "lodbias" from mesa demos seems broken. It  displays  mostly random garbage, you can only very briefly see original image when LOD factor become negative. 

Logs and screenshots will follow
Comment 1 Andrew Randrianasulu 2012-04-14 15:07:07 UTC
Created attachment 59992 [details]
glxinfo
Comment 2 Andrew Randrianasulu 2012-04-14 15:08:05 UTC
Created attachment 59993 [details]
Correct picture

Taken with LIBGL_ALWAYS_SOFTWARE=1
Comment 3 Andrew Randrianasulu 2012-04-14 15:09:12 UTC
Created attachment 59994 [details]
Incorrect picture

This is how demo looks  with current code.
Comment 4 Andrew Randrianasulu 2012-04-14 15:10:19 UTC
Created attachment 59995 [details]
X log
Comment 5 Andrew Randrianasulu 2012-04-14 15:11:20 UTC
Created attachment 59996 [details]
dmesg
Comment 6 Ben Skeggs 2012-04-15 05:15:26 UTC
Thanks!  I've tracked this down and it should be fixed in mesa commit d37f90f131ff18f0902e79853b2dbdfd494baa17.


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.