Bug 43998 - [PNV] WebGl fail on pnv
Summary: [PNV] WebGl fail on pnv
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: git
Hardware: All Linux (All)
: high major
Assignee: Eric Anholt
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 42993
  Show dependency treegraph
 
Reported: 2011-12-20 22:51 UTC by cc
Modified: 2012-02-02 18:37 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description cc 2011-12-20 22:51:12 UTC
I tested webGl cases on pnv platform with the latest driver, But failed.It reported that "this brower does not appear to support webgl". and I also print the dmesg info : chrome[2699]: segfault at 2 ip 0a0500ba sp bfaff1b0 error 4 in chrome[8048000+2e0b000].

System Environment:
-------------------------- 
OSD:		Fedora release 13 (Goddard)
Kernel_version:		2.6.31.12
Libdrm:		(master)2.4.29-3-gef20301a11afae50bfe127002913dbd0b81ddccc
Mesa:		(master)67e6a40605c482617afa9bd698003ea15e8f8f6e


Reproduce steps:
----------------
1. ./piglit-run.py tests/webglc.tests cc
Comment 1 cc 2011-12-21 02:14:01 UTC
I bisect this error and get the first bad commit:

221a36514b4ecffdaa3be5c43e67c75cc8c30ab8 is the first bad commit
commit 221a36514b4ecffdaa3be5c43e67c75cc8c30ab8
Author: Eric Anholt <eric@anholt.net>
Date:   Mon Nov 28 11:02:59 2011 -0800

    intel: Make mapping of texture slices track the region of interest.
    
    This will be used for things like packed depth/stencil temporaries and
    making LLC-cached temporary mappings using blits.
    
    Reviewed-by: Chad Versace <chad.versace@linux.intel.com>

:040000 040000 0f604a0194b8564cbf662b27a315917b0c42b52b 

e8b4be0f6bc7c07b8d82a64f85c514515a4fee11 M	src
Comment 2 Gordon Jin 2012-01-12 00:59:00 UTC
This seems a big regression. Eric, comments?
Comment 3 Ian Romanick 2012-01-16 10:22:35 UTC
Chrome creates a separate process to detect whether WebGL should be supported on an implementation, and it looks like that process crashes in our driver with this change.
Comment 4 Eric Anholt 2012-01-25 10:59:50 UTC
There's no tests/webglc.tests in upstream piglit.  Is there a reason that hasn't been contributed back?
Comment 5 Eric Anholt 2012-01-25 17:42:18 UTC
Can you test again with master?  I just tried:

chromium --ignore-gpu-blacklist

and went to http://code.google.com/p/webglsamples/ and ran the aquarium demo, and it worked.

ii  chromium   12.0.742.112~r90304-1            Chromium browser
Comment 6 Ian Romanick 2012-02-02 16:25:36 UTC
ping: Please try to reproduce on current master and 8.0 branch.
Comment 7 cc 2012-02-02 18:36:57 UTC
This issue has been resolved on both master and 8.0 branch.

master:
Kernel_version:		2.6.31.12
Mesa:		(master)15986d21ebaaeedb234b066edba5cf7f6ea87a3c
Xserver:(master)xorg-server-1.11.99.902-3-g85cecd981191f9c3dab0fb13310d91eff643d423
Xf86_video_intel: (master)2.17.0-616-g55c7088f54655609fbb00106679a566b46ee8dba

8.0:
Kernel_version:		2.6.31.12
Libdrm:		(master)2.4.30-23-gc51f7f0e460dcadb9f1a56ecf1615810877c33c8
Mesa:		(8.0)7f5d3f7ed2ac42f00e4f848dd79b6223d95d7877
Xserver:		(server-1.11-branch)xorg-server-1.11.3


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.