Bug 92594 - [ILK] Piglit/spec/opengl_1.1/line-aa-width fails
Summary: [ILK] Piglit/spec/opengl_1.1/line-aa-width fails
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: All Linux (All)
: medium normal
Assignee: marius predut
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-22 12:05 UTC by Rhys Kidd
Modified: 2015-10-26 08:36 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Draw lines with small widths (466 bytes, text/plain)
2015-10-22 17:10 UTC, marius predut
Details
simple line test (5.42 KB, text/plain)
2015-10-23 06:23 UTC, marius predut
Details
./simple_test image using i965 (ILK) (167.17 KB, text/plain)
2015-10-23 07:42 UTC, Rhys Kidd
Details
./simple_test image using llvmpipe (129.80 KB, text/plain)
2015-10-23 07:44 UTC, Rhys Kidd
Details

Description Rhys Kidd 2015-10-22 12:05:24 UTC
System Environment:
--------------------------
Software versions:
    3.19.0-31-generic
    OpenGL version string: 2.1 Mesa 11.1.0-devel (git-7182498)

GPU hardware:
    OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile 
    00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)

CPU hardware:
    x86_64
    Intel(R) Core(TM) i5 CPU       M 580  @ 2.67GHz

Bug detailed description:
-----------------------------
a9b04d8a0d96922a49ac7eb1b91b3a376a959f64 series fixed i965 gen6+ platforms, but ILK with the latest mesa master continues to fail this piglit test.

Note i915 platforms such as PNV are separately tracked in bug 90367, as the fix will hit a different driver. 


Output:
$ bin/line-aa-width -auto
Line from 0,2-30,3 had bad thickness (min < 0.25):
min coverage: 0.137255
avg coverage: 0.800302
max coverage: 1.000000
Line from 30,3-60,6 had bad thickness (avg / min > 2.0):
min coverage: 0.407843
avg coverage: 0.834389
max coverage: 1.000000
PIGLIT: {"result": "fail" }


Reproduce steps:
---------------------------- 
1. xinit
2. bin/line-aa-width -auto
Comment 1 Rhys Kidd 2015-10-22 12:08:32 UTC
Please note this fails with and without Marius Predut's patch to this piglit test (found https://patchwork.freedesktop.org/patch/55901/ as not yet upstream).
Comment 2 marius predut 2015-10-22 12:16:44 UTC
One patch for mesa and one for piglit are on the mailing list.
Comment 3 marius predut 2015-10-22 12:18:57 UTC
(In reply to Rhys Kidd from comment #1)
> Please note this fails with and without Marius Predut's patch to this piglit
> test (found https://patchwork.freedesktop.org/patch/55901/ as not yet
> upstream).

you need also the mesa patch. Please check mesa mailing list.
Comment 4 Rhys Kidd 2015-10-22 12:39:06 UTC
Your patch [0] on the Mesa mailing list is for i915 driver, so I can't see how that would fix ILK?

[0]: https://patchwork.freedesktop.org/patch/61035/
Comment 5 marius predut 2015-10-22 17:10:55 UTC
Created attachment 119080 [details]
Draw lines with small widths
Comment 6 marius predut 2015-10-22 17:13:49 UTC
(In reply to marius predut from comment #5)
> Created attachment 119080 [details]
> Draw lines with small widths

but, if you use this simple attached application to draw lines , do the line looks ok or  it looks interrupted ?
what kind of hw is this?
Comment 7 Rhys Kidd 2015-10-23 05:08:09 UTC
(In reply to marius predut from comment #5)
> Created attachment 119080 [details]
> Draw lines with small widths

Sorry, I don't follow. This is a Makefile rather than the actual simple_test.cpp I believe that you intended to attach.

The hardware is Ironlake (i965 GEN5).
Comment 8 marius predut 2015-10-23 06:23:41 UTC
Created attachment 119127 [details]
simple line test

missed file attached
Comment 9 Rhys Kidd 2015-10-23 07:42:12 UTC
Created attachment 119129 [details]
./simple_test image using i965 (ILK)

Marius' test case when run on i965 (ILK) and Mesa master (cfb67c3).

Demonstrates the "torn" look at narrow line widths.
Comment 10 Rhys Kidd 2015-10-23 07:44:43 UTC
Created attachment 119130 [details]
./simple_test image using llvmpipe

Marius' test case when run on llvmpipe and Mesa master (cfb67c3).

Does *not* demonstrate any "tearing" at narrow line widths.
Comment 11 Mark Janes 2015-10-23 17:27:03 UTC
This test has failed on ILK for at least a year, since I have been running it.  It is possible that ILK does not have hardware support for rendering this test correctly.
Comment 12 marius predut 2015-10-26 08:36:31 UTC
In this case the defect is fixed, only the pligit test needs more updates.
Seems my latest piglit patch is not enough for this kind of kw.


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.