Bug 16267 - piglit's fp-incomplete-tex test crashes X
Summary: piglit's fp-incomplete-tex test crashes X
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/X11 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-07 17:16 UTC by Andrew Randrianasulu
Modified: 2009-08-24 12:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
gdb output from post-mortum 'core' file (11.08 KB, text/plain)
2008-06-07 17:16 UTC, Andrew Randrianasulu
Details
xorg.conf (6.44 KB, text/plain)
2008-06-07 17:17 UTC, Andrew Randrianasulu
Details
usually (without NoTrapSignals) it crased in this way (62.57 KB, text/plain)
2008-06-07 17:19 UTC, Andrew Randrianasulu
Details
piglit result (VESA) (5.92 KB, text/plain)
2008-06-07 18:04 UTC, Andrew Randrianasulu
Details
piglit result (with nouveau) (5.62 KB, text/plain)
2008-06-07 18:05 UTC, Andrew Randrianasulu
Details
same fp-incomplete-tex program, with stand-alone Xlib based mesa (12.71 KB, text/plain)
2008-06-08 19:42 UTC, Andrew Randrianasulu
Details

Description Andrew Randrianasulu 2008-06-07 17:16:36 UTC
Created attachment 16992 [details]
gdb output from post-mortum 'core' file

I have Mesa git 21f50818b09c1ab3b5b1dc797b34c23b9b1634dc
Xserver git 782394fe53220deafed06ad282b5f9ce42964c42
piglit 85a3512d88dcc628f5723675cb7ce24012131fc3

Full test crashed somewhere at the end, i was able to find this particular crashy test, namely fp-incomplete-tex.
Comment 1 Andrew Randrianasulu 2008-06-07 17:17:40 UTC
Created attachment 16993 [details]
xorg.conf
Comment 2 Andrew Randrianasulu 2008-06-07 17:19:38 UTC
Created attachment 16994 [details]
usually (without NoTrapSignals) it crased in this way
Comment 3 Andrew Randrianasulu 2008-06-07 18:03:41 UTC
Important addition:
it works fine with VESA driver ....

guest@slax:~/source/piglit$ ./piglit-run.py -t fp-incomplete-tex  tests/all.tests results/vesa_software_fp-incomplete-tex-8-june-2008.results/
Test: shaders/fp-incomplete-tex
    result: pass
guest@slax:~/source/piglit$



Should i move bug to nouveau?
Comment 4 Andrew Randrianasulu 2008-06-07 18:04:27 UTC
Created attachment 16995 [details]
piglit result (VESA)
Comment 5 Andrew Randrianasulu 2008-06-07 18:05:56 UTC
Created attachment 16996 [details]
piglit result (with nouveau)
Comment 6 Andrew Randrianasulu 2008-06-08 19:42:55 UTC
Created attachment 17007 [details]
same fp-incomplete-tex program, with stand-alone Xlib based mesa

guest@slax:~$ cat /proc/cpuinfo 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 3
model name      : AMD Duron(tm) Processor
stepping        : 1
cpu MHz         : 950.122
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow up
bogomips        : 1902.15
clflush size    : 32

but 
export MESA_NO_ASM="1" give me no effect (for this bug)
Comment 7 Andrew Randrianasulu 2008-07-09 00:46:29 UTC
with 
mesa git master commit 2f1b5ffcda283cebc97bd440b5af44168a9c8b00, 
X server git master commit 5e847c1d4fc30a0d263a861a76982660f11998cd
and piglit commit 83283dd14c002ad610695a8e25fe586eea6f0b8b

i can successfully run fp-incomplete-tex, without crash:

export LIBGL_ALWAYS_SOFTWARE="1"

guest@slax:~/source/piglit/bin$ ./fp-incomplete-tex 
GL_RENDERER = Software Rasterizer
       incomplete 2D (0.5,0.5): 0.000000,0.000000,0.000000,0.000000   Delta: 0.000000,0.000000,0.000000,-1.000000
       incomplete 3D (0.5,1.5): 0.000000,0.000000,0.000000,0.000000   Delta: 0.000000,0.000000,0.000000,-1.000000
       incomplete 1D (1.5,0.5): 0.000000,0.000000,0.000000,0.000000   Delta: 0.000000,0.000000,0.000000,-1.000000
     incomplete CUBE (1.5,1.5): 0.000000,0.000000,0.000000,0.000000   Delta: 0.000000,0.000000,0.000000,-1.000000
     incomplete RECT (2.5,0.5): 0.000000,0.000000,0.000000,0.000000   Delta: 0.000000,0.000000,0.000000,-1.000000
              sanity (2.5,1.5): 0.000000,0.000000,0.000000,0.000000   Delta: -0.300000,-0.300000,-0.300000,-0.300000
Max delta: 1.000000

Thanks for fixing!
Comment 8 Adam Jackson 2009-08-24 12:30:21 UTC
Mass version move, cvs -> git


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.