Cripling Dota 2 freeze with Morphling at hero selection or loadout
https://bugs.freedesktop.org/show_bug.cgi?id=89685
Bug ID: 89685
Summary: Cripling Dota 2 freeze with Morphling at hero
selection or loadout
Product: Mesa
Version: 10.5
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
So I am having a very bizare issue as recently. I noticed yesterday that I cannot play Morphling! If I select him during the hero selection or even try to view him in the loadout screen, my system completely freezes with no option but to do a hard reset. I cannot alt-tab, minimize to desktop, switch to any TTY and REISUB does not work. This ONLY happens with the hero morphling and seems to be an issue with graphics because it seems to happen when I am about to see his model loaded. I even deleted the one item I had for him.
I verified the game files; no good. I deleted all local content and downloaded the game again...no good. This is either an issue with my graphics drivers and morphling or a Dota 2 and Linux issue. My wife is using Windows 8.1 and does not have this problem.
I am running an AMD R9 270X with linux 3.19.2 and mesa 10.5.1 where everything else works wonderfully!
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #1 from Kevin <[email protected]> ---
Created attachment 114624
--> https://bugs.freedesktop.org/attachment.cgi?id=114624&action=edit
journalctl output
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #2 from Kevin <[email protected]> ---
Created attachment 114625
--> https://bugs.freedesktop.org/attachment.cgi?id=114625&action=edit
dmesg output
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #3 from Tom Stellard <[email protected]> --- Can you run the game with R600_DEBUG=ps,vs,gs and post the output?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
Ivan Fomin <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|10.5 |git
--- Comment #4 from Ivan Fomin <[email protected]> ---
I got same issue when using llvm-3.6.0. With llvm-3.5.0 works perfect.
AMD R9 280X with linux 3.19.3
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
Ivan Fomin <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #5 from Ivan Fomin <[email protected]> --- Created attachment 114857
--> https://bugs.freedesktop.org/attachment.cgi?id=114857&action=edit
Xorg.0.log
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #6 from Ivan Fomin <[email protected]> --- Created attachment 114858
--> https://bugs.freedesktop.org/attachment.cgi?id=114858&action=edit
glxinfo
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #7 from Ivan Fomin <[email protected]> --- Created attachment 114859
--> https://bugs.freedesktop.org/attachment.cgi?id=114859&action=edit
kernel messages
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #8 from Ivan Fomin <[email protected]> --- my apitrace output
https://drive.google.com/file/d/0B1OEKuwhkMlRajBUMGYtSXpSeHc/view?usp=sharing
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
Ivan Fomin <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|git |10.5
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #9 from Kevin <[email protected]> --- (In reply to Tom Stellard from comment #3)
Quoted 1 line
Can you run the game with R600_DEBUG=ps,vs,gs and post the output?
OK, sorry, I just saw this. So I know some of what I'm doing by not a lot. I do export R600_DEBUG=ps,vs,gs and then run the game? Where and how do I get output? dmesg? jounralctl? Something else?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #10 from Kevin <[email protected]> ---
I think this may be the problem and solution. I see there is a patch but I'm not sure how to test it. Is this patch currently part of mesa git? Will this patch be coming to mesa 10.5.3?
https://bugs.freedesktop.org/show_bug.cgi?id=89746
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #11 from Kevin <[email protected]> --- (In reply to Kevin from comment #9)
Quoted 6 lines
(In reply to Tom Stellard from comment #3)
Quoted 1 line
Can you run the game with R600_DEBUG=ps,vs,gs and post the output?
OK, sorry, I just saw this. So I know some of what I'm doing by not a lot. I do
export R600_DEBUG=ps,vs,gsand then run the game? Where and how do I get output? dmesg? jounralctl? Something else?
I'm not sure if this is what you are looking for, but I am attaching new journalctl and dmesg outputs after enabling R600_DEBUG=ps,vs,gs
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
Kevin <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #114625|0 |1
is obsolete| |
--- Comment #12 from Kevin <[email protected]> --- Created attachment 114868
--> https://bugs.freedesktop.org/attachment.cgi?id=114868&action=edit
dmesg output with R600_DEBUG
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
Kevin <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #114624|0 |1
is obsolete| |
--- Comment #13 from Kevin <[email protected]> --- Created attachment 114869
--> https://bugs.freedesktop.org/attachment.cgi?id=114869&action=edit
journalctl output with R600_DEBUG
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #14 from Michel Dänzer <[email protected]> --- (In reply to Kevin from comment #9)
Quoted 2 lines
I do
export R600_DEBUG=ps,vs,gsand then run the game? Where and how do I get output? dmesg? jounralctl? Something else?
It should be in the stderr output of the game. Make sure you launch steam / the game from a terminal so you can see it, or maybe just capture it to a file with 2>/path/to/file.txt.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #15 from Kevin <[email protected]> ---
I'm assuming that this patch
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d64adc3a79e419062432cfa8d1cbc437676a3fbd
has been incorporated to mesa by 10.5.4 and I can report that I still have the same issue. I also built mesa from git in Arch Linux using the AUR mesa-git and lib32-mesa-git tarballs, installed, and tried Dota with no success.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #16 from Kevin <[email protected]> --- Created attachment 115420
--> https://bugs.freedesktop.org/attachment.cgi?id=115420&action=edit
All output when running Dota
Arch Linux 64-bit with kernel 4.0.0-rc7-gf22e6e8 and mesa 10.5.4 I ran these commands
export R600_DEBUG=ps,vs,gs
steam steam://rungameid/570 >~/Desktop/steamlog--2015-04-28.txt
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #17 from Tom Stellard <[email protected]> --- Created attachment 115421
--> https://bugs.freedesktop.org/attachment.cgi?id=115421&action=edit
Possible fix
Does this patch help?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #18 from Kevin <[email protected]> ---
Tom, thank you for your help! I'm new to testing patches so this is what I did. I am using Arch and used the mesa-git in the AUR to build mesa from git. I did the following and got this message so I did not attempt to compile.
cd ~/builds/mesa-git/src/mesa
$ patch -pl < ~/Downloads/0001-R600-SI-Add-VCC-as-an-implict-def-of-SI_KILL.patch patch: **** strip count l is not a number
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #19 from Kevin <[email protected]> ---
OK, I now see that I am dumb and I typed -pl instead of p1. I downloaded mesa-10.5.4.tar.gz from ftp://ftp.freedesktop.org/pub/mesa/10.5.4/ and unpacked it. I then tried to patch but it seems the file needed is missing. Sorry for my noobness, I am trying to learn.
$ patch -p1 < ~/Downloads/0001-R600-SI-Add-VCC-as-an-implict-def-of-SI_KILL.patch can't find file to patch at input line 16 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 36d89bfaa834151adbc56315c771e1ba7fa12c7f Mon Sep 17 00:00:00 2001 |From: Tom Stellard <[email protected]> |Date: Tue, 31 Mar 2015 17:52:24 +0000 |Subject: [PATCH] R600/SI: Add VCC as an implict def of SI_KILL | |When SI_KILL has a register operand, its lowered form writes to vcc. |--- | lib/Target/R600/SIInstructions.td | 9 ++++++--- | test/CodeGen/R600/llvm.AMDGPU.kill.ll | 16 ++++++++++++++++ | 2 files changed, 22 insertions(+), 3 deletions(-) | |diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td |index 95b2470..d1db4ab 100644 |--- a/lib/Target/R600/SIInstructions.td |+++ b/lib/Target/R600/SIInstructions.td -------------------------- File to patch: ^C
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #20 from Kevin <[email protected]> ---
OK, so I just realized this patch needs to be applied against llvm...so I have downloaded 3.6.0 from http://llvm.org/releases/download.html#3.6.0 and applied your patch. I am now attempting to compile.
$ patch -p1 < ~/Downloads/0001-R600-SI-Add-VCC-as-an-implict-def-of-SI_KILL.patch patching file lib/Target/R600/SIInstructions.td Hunk #1 succeeded at 1809 (offset -86 lines). Hunk #2 succeeded at 1867 (offset -86 lines). patching file test/CodeGen/R600/llvm.AMDGPU.kill.ll Hunk #1 succeeded at 15 (offset -1 lines).
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #21 from Kevin <[email protected]> ---
Alright, so I think I did this correctly, but it did not help. This is what I did...
cd ~/Downloads/llvm-3.6.0.src/
patch -p1 < ~/Downloads/0001-R600-SI-Add-VCC-as-an-implict-def-of-SI_KILL.patch cd ~/Downloads/llvm-cmake/
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=prefix=/usr/local ~/Downloads/llvm-3.6.0.src/
make
sudo make install
Then I rebooted and ran Dota 2 and tried to view Morphling in the loadout screen and my system froze the same as before.
So I am thinking since Steam runs everything in 32-bit, that perhaps I need to apply this patch somehow to lib32-llvm?
Sorry again for not knowing how to do this properly.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
--- Comment #22 from Kevin <[email protected]> ---
Today I tried building and installing llvm from git but I still have the issue. Could anyone tell me if it looks like I did this correctly? Do I need to do anything special for 32-bit vs 64-bit support? Should I remove llvm installed from Arch Linux repo before this?
mkdir llvm-git
cd llvm-git/
git clone http://llvm.org/git/llvm.git
cmake ~/builds/llvm-git/llvm/
cmake --build .
sudo cmake --build . --target install
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
Kevin <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #23 from Kevin <[email protected]> ---
Tom, thank you for your patch. I can confirm that this does indeed fix my issue. I was able to build and test it with ABS.
https://bbs.archlinux.org/viewtopic.php?pid=1525699#p1525699
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #24 from Michel Dänzer <[email protected]> --- *** Bug 90421 has been marked as a duplicate of this bug. ***
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
Timothy Arceri <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #25 from Timothy Arceri <[email protected]> --- *** Bug 89059 has been marked as a duplicate of this bug. ***
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
Timothy Arceri <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #26 from Timothy Arceri <[email protected]> --- *** Bug 89659 has been marked as a duplicate of this bug. ***
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=89685
Timothy Arceri <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #27 from Timothy Arceri <[email protected]> --- *** Bug 89954 has been marked as a duplicate of this bug. ***
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel