Bug 89821 - [all]Piglit report warn, but no warning in dmesg
Summary: [all]Piglit report warn, but no warning in dmesg
Alias: None
Product: piglit
Classification: Unclassified
Component: infrastructure (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Dylan Baker
QA Contact: Piglit Mailing List
Depends on:
Reported: 2015-03-30 06:22 UTC by lu hua
Modified: 2015-03-30 17:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

dmesg (48.18 KB, text/plain)
2015-03-30 06:22 UTC, lu hua

Description lu hua 2015-03-30 06:22:10 UTC
Created attachment 114719 [details]

System Environment:
Platform: BDW
Libdrm:		(master)libdrm-2.4.60-18-gbc6b5174d362a01f6d638a4db6aaf2fd355db69c
Mesa:		(master)626434893a048f3ba89a751998fcb3789a3dbb96
Xserver:	(master)xorg-server-1.17.0-23-g0a78b599b34cc8b5fe6fe82f90e90234e8ab7a56
Libva:		(master)5ba1a9935ba2b16943f3cc1aaf37c0e561497e51
Kernel:   (drm-intel-nightly)60c5b7f582e8ced10dcd557db4ea66665e6a4dff

Bug detailed description:
Run piglit case, no warning in dmesg, but the result is "warn".

run  ./bin/ext_transform_feedback-tessellation quads flat_last -auto -fbo
libGL: OpenDriver: trying /opt/X11R7/lib/dri/i965_dri.so
Probe at (48,66)
  Expected: 0.850980 0.019608 0.631373 1.000000
  Observed: 0.149020 0.368627 0.980392 1.000000
PIGLIT: {"result": "warn" }

root@x-bdw05:/GFX/Test/Piglit/piglit# dmesg -r | egrep "<[1-4]>" |grep drm

Reproduce steps:
1. xinit
2. bin/ext_transform_feedback-tessellation quads flat_last -auto -fbo
Comment 1 Dylan Baker 2015-03-30 17:57:14 UTC
Do not conflate the 'dmesg-warn' and 'warn' statuses. 'warn' is set by the framework when the test passes, but there is unexpected output on stderr, or sometimes by the test itself.

In this case the test itself is setting the warn status. From tests/spec/ext_transform_feedback/tessalation.c:

Note: some OpenGL implementations do not pass the "flat_first" and                                                                                                                                                                                                      
"flat_last" tests when rendering quads or polygons.  That is, they                                                                                                                                                                                                      
produce a tessellation which contains the correct vertices, but not                                                                                                                                                                                                     
in the order required to preserve flat shaded colors.  This is                                                                                                                                                                                                          
unlikely to cause problems for client programs, since client                                                                                                                                                                                                            
programs that use new features like transform feedback are unlikely                                                                                                                                                                                                     
to also use deprecated features like quads and polygons.  Also, it                                                                                                                                                                                                      
is a matter of interpretation whether these tests are expected to                                                                                                                                                                                                       
pass at all--after all, the spec does say that "the order of                                                                                                                                                                                                            
tessellation within a primitive is undefined".  Accordingly, these                                                                                                                                                                                                      
failures, should they occur, are flagged as warnings rather than                                                                                                                                                                                                        

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.