Bug 92079 - Crash on wine d3dadapter during Heroes of the Storm loading
Summary: Crash on wine d3dadapter during Heroes of the Storm loading
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: 11.0
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-22 20:08 UTC by Patrick Nicolas
Modified: 2016-04-05 18:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Patrick Nicolas 2015-09-22 20:08:29 UTC
Since mesa 11, most of the times game loading crashes, either with a freeze or a blizzard error window.
I use a Sandy Bridge IGP and a Radeon HD 7970 with DRI_PRIME, using dri3 and wine with d3dadapter (so it uses mesa d3d state tracker).

Sometimes, an error is printed in kernel messages:
[ 7481.648047] radeon 0000:01:00.0: GPU fault detected: 146 0x0feb6014
[ 7481.648051] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x0000EEFF
[ 7481.648052] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B060014

I have bisected and the issue seems to come from

commit 719f124620d3c9b4d6ce14db3dbfc7af05626e5b
Author: Axel Davy <axel.davy@ens.fr>
Date:   Sun Aug 9 19:06:01 2015 +0200

    st/nine: Catch setting the same shader
    
    This is quite rare that an app does set again
    the same shaders, but it isn't an expensive check
    either.
    
    Signed-off-by: Axel Davy <axel.davy@ens.fr>

How can I provide more debugging info so we can find the specific issue in the commit ?
Comment 1 Axel Davy 2015-12-02 09:32:15 UTC
Hi Patrick,

gallium nine bugs are mainly reported/handled there:
https://github.com/iXit/Mesa-3D/issues

I'd be interested in a game trace (with apitrace) or a log with NINE_DEBUG=all (needs mesa built with --enable-debug).
Comment 2 Patrick Nicolas 2016-04-05 18:05:07 UTC
The problem does not appear anymore with current version of Heroes of the storm, wine (1.9.5) and mesa 11.2


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.