Skip to contentSkip to conversation

New: r600: piglit test failures

Bug 26933 [email protected] 1 participant 9 messages Mar 7, 2010 – Jul 7, 2014

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=26933

Summary: r600: piglit test failures
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/R600
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=33825)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33825)
piglit test summary

I get 65 piglit tests fail with r600 driver, see below.

Here are the software version:
1) Mesa:
7.8 branch, commit ba8f4c5d36e6c9cd806a4c3360a8202b1f81ee05
Build command:
./configure --prefix=/opt/xorg --with-dri-drivers=r600,swrast --disable-gallium --with-dri-driverdir=/opt/xorg/lib/dri --enable-glx-tls

2) piglit:
master branch, commit 3ff22d685dfacfb517058773ec5584ba8d47c8d5

3) Xorg 7.5, and xf86-video-ati 6.12.191.

4) Kernel:
Linux debian 2.6.33 #10 SMP PREEMPT Thu Feb 25 11:48:12 EET 2010 x86_64 GNU/Linux
CONFIG_DRM_RADEON=y
CONFIG_DRM_RADEON_KMS=y
# CONFIG_FB_RADEON is not set
dmesg output is attached in attachment "log".

5) Video card

01:00.0 VGA compatible controller: ATI Technologies Inc RV730 PRO [Radeon HD 4650]

6) Compiler:
gcc version 4.4.3 (Debian 4.4.3-3)

7) glxinfo | grep OpenGL
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV730 9498) 20090101 TCL DRI2 OpenGL version string: 2.0 Mesa 7.8-devel
OpenGL shading language version string: 1.10

Full glxinfo is attached in attachment "log".

8) Piglit tests

See attached "summary" for details, here are some segfaults I've seen in dmesg while running the tests:

[ 7255.092525] glean[19775]: segfault at 28 ip 00007f5936966ada sp
00007fff1b9741d0 error 4 in r600_dri.so[7f5936927000+26f000]
[ 7741.425984] vp-bad-program[20450]: segfault at 28 ip 00007fbf9e017ada sp
00007fffce2c8570 error 4 in r600_dri.so[7fbf9dfd8000+26f000]
[ 7747.659629] asmparsertest[20471]: segfault at cd ip 0000003b3a445411 sp
00007fff9613a280 error 4 in libc-2.10.2.so[3b3a400000+14a000]
[ 8663.112725] vp-bad-program[21816]: segfault at 28 ip 00007f4a8709ba9a sp
00007fffe087c430 error 4 in r600_dri.so[7f4a8705c000+26f000]
[ 8669.317341] asmparsertest[21837]: segfault at cd ip 0000003b3a445411 sp

00007fff0940d5c0 error 4 in libc-2.10.2.so[3b3a400000+14a000]

piglit tests, passed: 614/679
Failed tests:
glean/texture_srgb
glean/fbo
glean/paths
glean/texUnits
glean/polygonOffset
glean/glsl1
glean/exactRGBA
glean/pointAtten
glean/vertProg1
glean/fragProg1
glean/logicOp
glslparsertest/dataType13.frag glslparsertest/dataType5.frag glslparsertest/CorrectFull.frag glslparsertest/CorrectConstFolding2.vert glslparsertest/struct9.frag glslparsertest/matrix.V110.frag glslparsertest/CorrectConstruct.vert glslparsertest/CorrectFull.vert glslparsertest/TextureRectangleSamplers.frag glslparsertest/conditional3.frag glslparsertest/ConstantConversions.frag glslparsertest/comma2.vert glslparsertest/function9.frag glslparsertest/comma1.vert glslparsertest/CorrectConstFolding1.vert glslparsertest/dataType19.frag glslparsertest/dataType4.frag glslparsertest/function5.frag glslparsertest/function3.frag glslparsertest/constFunc.frag glslparsertest/ParseTest3.frag glslparsertest/preprocess1.frag glslparsertest/constructor3.V110.frag glslparsertest/CorrectUnsizedArray.frag glslparsertest/comma3.vert
general/scissor-bitmap
general/linestipple
shaders/glsl-bug-22603 shaders/glsl-vs-mov-after-deref shaders/fp-indirections2
shaders/fp-lit-mask shaders/vpfp-generic/fogcoord-dph shaders/vpfp-generic/nv-arl shaders/vpfp-generic/nv-mov shaders/vpfp-generic/nv-init-zero-addr shaders/vpfp-generic/fogcoord-dp3 shaders/vpfp-generic/vp-arl-constant-array-huge-offset-neg shaders/vpfp-generic/fogcoord-dp4 shaders/vpfp-generic/nv-init-zero-reg shaders/vpfp-generic/vp-arl-neg-array shaders/vpfp-generic/vp-exp-alias shaders/vpfp-generic/nv-add
shaders/vp-address-01
shaders/vp-bad-program
shaders/glsl-derivs
shaders/glsl-vs-arrays shaders/glsl-deriv-varyings asmparsertest/ARBvp1.0/param-08.txt texturing/depth-tex-modes texturing/depth-tex-compare
texturing/tfp
texturing/texdepth
fbo/fbo-copyteximage
fbo/fbo-readpixels

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#1 lore raw

[Bug 26933] r600: piglit test failures

http://bugs.freedesktop.org/show_bug.cgi?id=26933

--- Comment #1 from Török Edwin <[email protected]> 2010-03-07 03:03:32 PST --- Created an attachment (id=33826)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33826)
log

Full output from dmesg, Xorg.0.log, and glxinfo.

Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#2 lore raw

[Bug 26933] r600: piglit test failures

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26933

--- Comment #2 from Török Edwin <[email protected]> 2010-03-07 03:04:39 PST --- I've run the tests like this:
./piglit-run.py tests/r500.tests results/r500_nopbo.results

Where the only difference in tests/r500.tests is that I enabled glean quick mode (was taking too long otherwise):
+
+GleanTest.globalParams += [ "--quick" ]

Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#3 lore raw

[Bug 26933] r600 driver (rv730): piglit test failures

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26933

Török Edwin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|r600: piglit test failures  |r600 driver (rv730): piglit
                   |                            |test failures
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#4 lore raw

[Bug 26933] r600 driver (rv730): piglit test failures

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26933

--- Comment #3 from Ian Romanick <[email protected]> 2010-03-07 14:03:29 PST --- (In reply to comment #0)

Quoted 17 lines

glslparsertest/dataType13.frag
glslparsertest/dataType5.frag
glslparsertest/CorrectFull.frag
glslparsertest/CorrectConstFolding2.vert
glslparsertest/struct9.frag
glslparsertest/matrix.V110.frag
glslparsertest/CorrectConstruct.vert
glslparsertest/CorrectFull.vert
glslparsertest/TextureRectangleSamplers.frag
glslparsertest/conditional3.frag
glslparsertest/ConstantConversions.frag
glslparsertest/comma2.vert
glslparsertest/function9.frag
glslparsertest/comma1.vert
glslparsertest/CorrectConstFolding1.vert
glslparsertest/dataType19.frag
glslparsertest/dataType4.frag

Quoted 8 lines

glslparsertest/function5.frag
glslparsertest/function3.frag
glslparsertest/constFunc.frag
glslparsertest/ParseTest3.frag
glslparsertest/preprocess1.frag
glslparsertest/constructor3.V110.frag
glslparsertest/CorrectUnsizedArray.frag
glslparsertest/comma3.vert

These failures are all in common Mesa code and are not specific to r600. There are already bugs reported for most, if not all, of them. Search bugzilla for "glslparser", and it will turn up quite a few.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#5 lore raw

[Bug 26933] r600 driver (rv730): piglit test failures

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26933

--- Comment #4 from Török Edwin <[email protected]> 2010-03-08 04:22:27 PST --- (In reply to comment #3)

Quoted 5 lines

These failures are all in common Mesa code and are not specific to r600. There are already bugs reported for most, if not all, of them. Search bugzilla for "glslparser", and it will turn up quite a few.

I compared my r600 piglit results with swrast (LIBGL_ALWAYS_SOFTWARE=1), and here are the tests that failed in r600, but passed with swrast (there are tests that fail with swrast but pass with r600, or are skipped, I don't list those below):

fbo/fbo-copyteximage
fbo/fbo-readpixels
general/linestipple
glean/fbo
glean/logicOp
glean/paths
glean/pointAtten
shaders/fp-indirections2
shaders/glsl-bug-22603 shaders/glsl-deriv-varyings shaders/glsl-vs-arrays shaders/glsl-vs-mov-after-deref shaders/vp-address-01
shaders/vp-bad-program shaders/vpfp-generic/vp-arl-constant-array-huge-offset-neg shaders/vpfp-generic/vp-arl-neg-array texturing/depth-tex-modes
texturing/texdepth
texturing/tfp

I also compared with the r300/r500 on the piglit site, and here are the tests that passed for those, but not for r600:
glean/logicOp
glean/pointAtten
shaders/vp-bad-program (this one segfaults!)
texturing/texdepth
texturing/tfp

Should I open bugreports for these, and make them block this one?

Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#6 lore raw

[Bug 26933] r600 driver (rv730): piglit test failures

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26933

--- Comment #5 from Chris Rankin <[email protected]> 2010-03-23 06:11:36 PST --- See bug 27141 for the reason that vertProg1 and vp-bad-program segfault.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#7 lore raw

[Bug 26933] r600 driver (rv730): piglit test failures

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=26933

Andreas Boll <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #6 from Andreas Boll <[email protected]> ---
Note: classic r600 driver has been abandoned.
Please use r600g (gallium driver) instead.

Is this still an issue with a newer driver/kernel?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 26933] r600 driver (rv730): piglit test failures

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=26933

Andreas Boll <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #7 from Andreas Boll <[email protected]> --- The classic r600 driver has been abandoned long ago.
It was replaced by the Gallium driver r600g.

If you have issues with r600g please file a new bug report with component Drivers/Gallium/r600

Thanks.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel