New: Dota 2 under Wine freezes with Nouveau Drivers
https://bugs.freedesktop.org/show_bug.cgi?id=83079
Priority: medium
Bug ID: 83079
Assignee: [email protected]
Summary: Dota 2 under Wine freezes with Nouveau Drivers
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: git
Component: Drivers/DRI/nouveau
Product: Mesa
Steps to reproduce:
1. Install Steam under Wine
2. Launch Dota 2
3. Start Bot match. Lock in a hero.
Expected Results:
Game starts
Actual Results:
Dota 2 will freeze with the following error in the Wine terminal:
err:seh:setup_exception_record stack overflow 2160 bytes in thread 008b eip 7bc5e05a esp 47cb0ac0 stack 0x47cb0000-0x47cb1000-0x47db0000
tested with:
wine-1.7.24
OpenGL version string: 3.0 Mesa 10.4.0-devel (git-83503f9 2014-08-25 trusty-oibaf-ppa+gallium-nine)
Note if I reboot with the Nvidia proprietary drivers, Dota 2 runs flawlessly under Wine. Dota 2 also works under Wine with AMD catalyst drivers.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] Dota 2 under Wine freezes with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
Luke <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=37178
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] Dota 2 under Wine freezes with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- What hardware do you have? Are you using d3d9 (via gallium-nine) or opengl? If gallium-nine, try opengl.
Do you get anything interesting in dmesg when this happens? Can you try an older version of mesa to see if it's a new issue? (Pretty sure DOTA2 *used* to work...)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] Dota 2 under Wine freezes with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #2 from Luke <[email protected]> ---
Hardware: Primary Nvidia GTX 650, Secondary AMD HD 5750
Wine is from ppa:ubuntu-wine/ppa, so I'm not using gallium-nine.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 under Wine freezes with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Dota 2 under Wine freezes |[NVC0] Dota 2 under Wine
|with Nouveau Drivers |freezes with Nouveau
| |Drivers--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to comment #2)
Quoted 3 lines
Hardware: Primary Nvidia GTX 650, Secondary AMD HD 5750
Wine is from ppa:ubuntu-wine/ppa, so I'm not using gallium-nine.
Could you use a build of mesa that doesn't have the gallium-nine patches applied? And/or see if older versions of mesa work OK?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 under Wine freezes with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #4 from Luke <[email protected]> --- @Ilia Mirkin
I had a fresh, unused Kubuntu install on another partition, so I installed wine from ppa:ubuntu-wine/ppa and used the default Mesa version of Mesa 10.1.3. Dota 2 froze at the same point, after I selected a hero. Steam also gives a err:seh:setup_exception_record stack overflow 2128 bytes in thread 00ce eip 7bc5e05a esp 46c40ae0 stack 0x46c40000-0x46c41000-0x46d40000
Another way to trigger this bug is by previewing an item from your armory or the store. Again this is with vanilla mesa with vanilla wine(no gallium-nine).
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 under Wine freezes with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
Luke <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|git |10.1
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 under Wine freezes with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #5 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Could you try making an apitrace? Perhaps that would be enough to reproduce the error. Find a guide for how to use apitrace + wine, esp if you're on a 64-bit userspace.
Once you have the trace, try replaying it (glretrace). If glretrace also dies, then success. If not... more debugging.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 under Wine freezes with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #6 from Luke <[email protected]> --- Ilia,
Here is an apitrace:
https://drive.google.com/file/d/0B0IXTmvH5HZZZW0zRFRIQzV4a0U/edit?usp=sharing
Is there anything else I can do to help?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 under Wine freezes with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #7 from Tobias Klausmann <[email protected]> --- Aa a hint: Why dont you use the native Steam client? Dota2 is available there.
If you can reproduce it there, we have at least spared one layer :)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 under Wine freezes with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #8 from Luke <[email protected]> --- @Tobias Klausmann
Good point! You are correct, it also crashes with the native port.
This all started from a similar stack overflow error when I was trying to play CS:GO which does not have a Linux port. I chose to report Dota 2, because it's free to play, so it would be easier for others to reproduce.
Simpler Steps to reproduce:
1. Install native Steam under Linux
2. Launch Dota 2
3. Start Bot match. Lock in a hero. OR preview an item in the store
Anything else I can do? Would another apitrace or Dota 2 mini dump help?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 (Linux native and Wine) crash with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
Luke <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[NVC0] Dota 2 under Wine |[NVC0] Dota 2 (Linux native
|freezes with Nouveau |and Wine) crash with
|Drivers |Nouveau DriversSignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 (Linux native and Wine) crash with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #9 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- I tried to reproduce by replaying the trace, and I didn't get any crashes with 64-bit glretrace. My 32-bit setup is sadly still on mesa 9.2 or 10.0 or something, and was missing BaseVertex support, so I got a ton of errors. However also no hang. I'm going to build a fresh 32-bit install to see if I can reproduce.
Luke: Please confirm what issue you're seeing when doing a glretrace on the trace you supplied.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 (Linux native and Wine) crash with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #10 from Tobias Klausmann <[email protected]> --- Mh, for me it does not hang, but crashes "back to desktop". (Native Linux
Client)
Nothing in dmesg, just a Memory Access Violation error.
Intel works fine...so something odd in nouveau/gallium.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 (Linux native and Wine) crash with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #11 from Tobias Klausmann <[email protected]> --- Debug result:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xde9afb40 (LWP 2840)]0xf4b639d6 in nv50_ir::Graph::Node::reachableBy(nv50_ir::Graph::Node const*, nv50_ir::Graph::Node const*) const () from /usr/lib/dri/nouveau_dri.so
Lets see if i can get the crashing shader out next...
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 (Linux native and Wine) crash with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #12 from Tobias Klausmann <[email protected]> --- Created attachment 105398
--> https://bugs.freedesktop.org/attachment.cgi?id=105398&action=edit
The Crashing shader
Ok, got the shader!
nouveau_compiler does not talk much sadly:
~/> ...
Compiling for NVC0
~/>
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 (Linux native and Wine) crash with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #13 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to comment #12)
Quoted 10 lines
Created attachment 105398 [details]
The Crashing shaderOk, got the shader!
nouveau_compilerdoes not talk much sadly:~/> ...
Compiling for NVC0
~/>
Parsing fails in nouveau_compiler... need to increase the size of the tokens array. However when compiling for NVE4 (and Luke has a Kepler), it goes into an infinite loop, which is consistent with a hang. Investigating...
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 (Linux native and Wine) crash with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #14 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Looks like it goes into an infinite recursion in findFirstUses, which is used for doing the texture barrier thing (which is done for kepler+). Ugh. Unfortunately I'm not 100% sure what the desired logic of this thing is... this might take a little while to untangle.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 (Linux native and Wine) crash with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #15 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Created attachment 105404
--> https://bugs.freedesktop.org/attachment.cgi?id=105404&action=edit
avoid infinite recursion in findFirstUses
Does the attached patch help? Should apply to approximately any version of mesa. It looks like it somehow ends up getting into a loop. Probably due to all the merging that ends up getting done during RA and manually modifying the ->defs (and uses?) lists. Not entirely sure though.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 (Linux native and Wine) crash with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
--- Comment #16 from Tobias Klausmann <[email protected]> --- Mesa + avoid infinite recursion when finding first uses of tex patch
successfully compiles now using nouveau_compiler, going to test it tomorrow i
guess
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 (Linux native and Wine) crash with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
Tobias Klausmann <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #17 from Tobias Klausmann <[email protected]> --- For the patch:
if that helps :)
Luke, can you confirm this?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 83079] [NVC0] Dota 2 (Linux native and Wine) crash with Nouveau Drivers
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=83079
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |FIXED--- Comment #18 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Should be "fixed" in git. Thanks for reporting + testing.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau