Bug 36403 - [r300g] glean vertattrib regression
Summary: [r300g] glean vertattrib regression
Status: CLOSED DUPLICATE of bug 36282
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r300 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 14:57 UTC by Vinson Lee
Modified: 2011-08-18 19:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2011-04-19 14:57:16 UTC
mesa: 08d1c91e6c185a186e49189b7ed48629f35a4659 (master)

chipset: RV530 71C5 (ATI Radeon X1600)
system architecture: i686
kernel version: 2.6.35-28-generic
Linux distribution: Ubuntu 10.10 i386
Machine model: iMac4,1


glean vertattrib crashes but previously passed.


$ ./bin/glean -r results -t vertattrib --quick
r300: DRM version: 2.5.0, Name: ATI RV530, ID: 0x71c5, GB: 1, Z: 2
r300: GART size: 509 MB, VRAM size: 128 MB
r300: AA compression: NO, Z compression: NO, HiZ: NO
Segmentation fault (core dumped)

(gdb) bt
#0  0x018887b9 in loopback_VertexAttrib2svARB (index=1, v=0x3f800000) at src/mesa/main/api_loopback.c:1341
#1  0x017ca7c1 in execute_list (ctx=0x99ec320, list=42) at src/mesa/main/dlist.c:8174
#2  0x017cb74f in _mesa_CallList (list=42) at src/mesa/main/dlist.c:8511
#3  0x08140bda in GLEAN::VertAttribTest::TestAttribs (this=0x81c1300, r=..., attribFunc=26, getAttribfv=0x832350 <glGetVertexAttribfvARB>, 
    aliasing=GLEAN::VertAttribTest::DISALLOWED, numAttribs=16) at piglit/tests/glean/tvertattrib.cpp:1357
#4  0x08141257 in GLEAN::VertAttribTest::TestARBfuncs (this=0x81c1300, r=..., shader=false) at piglit/tests/glean/tvertattrib.cpp:1498
#5  0x08141406 in GLEAN::VertAttribTest::runOne (this=0x81c1300, r=...) at piglit/tests/glean/tvertattrib.cpp:1562
#6  0x08142304 in GLEAN::BaseTest<GLEAN::VertAttribResult>::run (this=0x81c1300, environment=...) at piglit/tests/glean/tbase.h:325
#7  0x080bdd16 in main (argc=7, argv=0xbfd351d4) at piglit/tests/glean/main.cpp:141
(gdb) frame 0
#0  0x018887b9 in loopback_VertexAttrib2svARB (index=1, v=0x3f800000) at src/mesa/main/api_loopback.c:1341
1341	   ATTRIB2ARB(index, (GLfloat) v[0], (GLfloat) v[1]);
(gdb) print v
$3 = (const GLshort *) 0x3f800000
Comment 1 Marek Olšák 2011-04-19 15:04:39 UTC
The test passes here. Are you using --enable-shared-glapi? Try 'git clean -fdx' before building.
Comment 2 Vinson Lee 2011-04-19 15:08:01 UTC
(In reply to comment #1)
> The test passes here. Are you using --enable-shared-glapi? Try 'git clean -fdx'
> before building.

No, I'm building with 'scons dri-r300'.

34a5d3b9f4740601708c82093e2114356d749e65 is the first bad commit
commit 34a5d3b9f4740601708c82093e2114356d749e65
Author: Brian Paul <brianp@vmware.com>
Date:   Sun Apr 10 12:48:28 2011 -0600

    mesa: plug in new functions for GL_ARB_sampler_objects
    
    Build the new sources, plug the new functions into the dispatch table,
    implement display list support.  And enable extension in the gallium
    state tracker.

:040000 040000 50d8747e0dc22e1634407703563447bd0e1c44d3 be44081fa9ea33563f8582df370cfb13a0d5c256 M	src
bisect run success
Comment 3 Marek Olšák 2011-04-19 23:43:39 UTC
Tried the scons build and it works too.

$ LIBGL_DRIVERS_PATH=[snip]/mesa/build/linux-x86-debug/gallium/targets/dri-r300 bin/glean -r results -t vertattrib --quick -o
[snip]
vertattrib:  PASS rgba8, db, z24, s8, win+pmap, id 33
	0 GL_NV_vertex_program functions tested
	36 GL_ARB_vertex_program/shader functions tested
	36 OpenGL 2.0 functions tested
Comment 4 Marek Olšák 2011-04-20 08:43:01 UTC

*** This bug has been marked as a duplicate of bug 36282 ***
Comment 5 Vinson Lee 2011-08-18 19:53:50 UTC
mesa: ccecc08f79afc020c8c0acface04a8e53e3a7c32 (master)

glean vertattrib is passing now.


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.