Bug 22310 - [regression OGLC] 15 cases report "not supported"
Summary: [regression OGLC] 15 cases report "not supported"
Status: VERIFIED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Ian Romanick
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-15 23:14 UTC by Shuang He
Modified: 2009-08-24 12:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Shuang He 2009-06-15 23:14:42 UTC
System Environment:
--------------------------
Arch:           i386
Platform:       945GM
Libdrm 	(master)3d4bfe8c893d016ef43d1ebf28e4607aa1f540a4
Mesa 	(master)f5888d9ca56ba68c01a4c9f111174650fac943aa
Xserver 	(master)1d20b9021e8aecb942619f64017cc2fc31f02d29
Xf86_video_intel 	(master)3da549f5b350dd42516e5cb3576f7fefe012d95e
Kernel 	(for-linus)0e7ddf7eeeef5aea85412120539ab5369577faeb 

Bug detailed description:
-------------------------
many OGLC case (like spclear.c, spcorner.c, spfunc.c, pxzoom-depth.c ...) don't run now. This is caused by following commit:

279143c6e808b37c333321b696d80df77f709a04 is first bad commit
commit 279143c6e808b37c333321b696d80df77f709a04
Author: Owen W. Taylor <otaylor@fishsoup.net>
Date:   Sat Jun 6 14:46:22 2009 -0400

    Disable SGI_swap_control extension for DRI2
    
    We currently don't have support for SGI_swap_control for direct
    contexts with DRI2, so disable reporting the extension. Reporting
    the extension, and then having glXSwapIntervalSGI() "succeed"
    but do nothing can confuse applications.

Reproduce steps:
----------------
1.xinit&
2. run olgc/spclear.c ...
Comment 1 Ian Romanick 2009-06-22 16:00:01 UTC
This bug also occurs on 965-class hardware
Comment 2 Ian Romanick 2009-06-22 16:13:03 UTC
Please bisect this bug correctly.  I am able to reproduce this bug on the commit previous to 279143c6e808b37c333321b696d80df77f709a04.

I am also reducing the priority of the bug.  Only bugs on mesa_7_5_branch that a release blockers are to be marked with high priority.
Comment 3 Shuang He 2009-06-22 18:37:29 UTC
I've tried this commit 279143c6e808b37c333321b696d80df77f709a04
 with case pxconv-depth.c and pxzoom-depth.c, they both will report:
Total Passed : 0
Total Failed : 0
Total Not run: 0
with the commit d0fab94842b18dbd4027f5565804ca6884646240, pxconv-depth.c gives result:
Total Passed : 2
Total Failed : 0
Total Not run: 0
pxzoom-depth.c will report:
Total Passed : 0
Total Failed : 2
Total Not run: 0
Comment 4 Ian Romanick 2009-06-22 18:54:58 UTC
(In reply to comment #3)
> I've tried this commit 279143c6e808b37c333321b696d80df77f709a04
>  with case pxconv-depth.c and pxzoom-depth.c, they both will report:
> Total Passed : 0
> Total Failed : 0
> Total Not run: 0
> with the commit d0fab94842b18dbd4027f5565804ca6884646240, pxconv-depth.c gives
> result:
> Total Passed : 2
> Total Failed : 0
> Total Not run: 0
> pxzoom-depth.c will report:
> Total Passed : 0
> Total Failed : 2
> Total Not run: 0
> 

What about spclear.c?  I get the following output for spclear.c with both of those commit IDs.

Scheduled tests: spclear.c, for pixel format ID's: 33, 34Total Passed : 0
Total Failed : 0
Total Not run: 0
Comment 5 Shuang He 2009-06-22 18:59:33 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > I've tried this commit 279143c6e808b37c333321b696d80df77f709a04
> >  with case pxconv-depth.c and pxzoom-depth.c, they both will report:
> > Total Passed : 0
> > Total Failed : 0
> > Total Not run: 0
> > with the commit d0fab94842b18dbd4027f5565804ca6884646240, pxconv-depth.c gives
> > result:
> > Total Passed : 2
> > Total Failed : 0
> > Total Not run: 0
> > pxzoom-depth.c will report:
> > Total Passed : 0
> > Total Failed : 2
> > Total Not run: 0
> > 
> 
> What about spclear.c?  I get the following output for spclear.c with both of
> those commit IDs.
> 
> Scheduled tests: spclear.c, for pixel format ID's: 33, 34Total Passed : 0
> Total Failed : 0
> Total Not run: 0
> 

The test machine is occupied for other testing, so I'll try it later.
Comment 6 Shuang He 2009-06-22 20:39:32 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > I've tried this commit 279143c6e808b37c333321b696d80df77f709a04
> >  with case pxconv-depth.c and pxzoom-depth.c, they both will report:
> > Total Passed : 0
> > Total Failed : 0
> > Total Not run: 0
> > with the commit d0fab94842b18dbd4027f5565804ca6884646240, pxconv-depth.c gives
> > result:
> > Total Passed : 2
> > Total Failed : 0
> > Total Not run: 0
> > pxzoom-depth.c will report:
> > Total Passed : 0
> > Total Failed : 2
> > Total Not run: 0
> > 
> 
> What about spclear.c?  I get the following output for spclear.c with both of
> those commit IDs.
> 
> Scheduled tests: spclear.c, for pixel format ID's: 33, 34Total Passed : 0
> Total Failed : 0
> Total Not run: 0
> 

I have tried them now on my Q35, with commit 279143c6e808b37c333321b696d80df77f709a04 spclear.c will give:
Scheduled tests: pxconv-depth.c, for pixel format ID's: 33, 34Total Passed : 0
Total Failed : 0
Total Not run: 0
with commit d0fab94842b18dbd4027f5565804ca6884646240, spclear.c will give:
Total Passed : 2
Total Failed : 0
Total Not run: 0
Comment 7 Shuang He 2009-07-07 00:11:03 UTC
Spent some time checking this issue. It turns out a bug in OGLC that it uses wrong index when check OpenGL support for specific visual. I have fix it in OGLC. So I'll close this bug.
Comment 8 Shuang He 2009-07-07 00:11:17 UTC
verified.
Comment 9 Adam Jackson 2009-08-24 12:32:26 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.