Bug 93548 - Grid Autosport causes a hard system crash
Summary: Grid Autosport causes a hard system crash
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-31 13:34 UTC by Krzysztof A. Sobiecki
Modified: 2017-10-10 05:37 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Kernel output, (13.64 KB, text/plain)
2015-12-31 13:34 UTC, Krzysztof A. Sobiecki
Details

Description Krzysztof A. Sobiecki 2015-12-31 13:34:59 UTC
Created attachment 120748 [details]
Kernel output,

System:
kernel - 4.4-rc6
mesa - git
radeon 6770

Reproduce:
run qualifications and finish them, system locks up

Tried kgdb, was rather unhelpful, either everything just froze or oopsed in irq handling code(generally in different places).
I think that there might be some memory corruption
trace[500MB,xz]:
https://drive.google.com/open?id=0B3J0Mg89izcbUzBob1NYNUVlTTg
Comment 1 Florian Krönert 2016-01-14 21:28:41 UTC
I can confirm system freezes while playing Grid Autosport, although they also happen while driving or navigating in the menus.
I'm on RadeonSI with an A10-7850k and integrated graphics though, would this be a new bug then? Mesa version is 11.1.1.
Comment 2 Krzysztof A. Sobiecki 2016-01-14 21:44:44 UTC
(In reply to Florian Krönert from comment #1)
> I can confirm system freezes while playing Grid Autosport, although they
> also happen while driving or navigating in the menus.
> I'm on RadeonSI with an A10-7850k and integrated graphics though, would this
> be a new bug then? Mesa version is 11.1.1.

I think it's separate bug, but you never know.
I would open separate bugreport and worry about duplicates later.
Comment 3 Edwin Smith (Feral Interactive) 2016-01-15 16:01:16 UTC
I am pretty sure this is the bug with xpad that can cause hangs when using force feedback. This was reported by Feral during development of XCOM and was fixed for SteamOS by Pierre-Loup but the fix has not made it's way upstream to the main linux kernel.

This was fixed by Sarah Bessmer (see link here)

http://www.spinics.net/lists/linux-input/msg31450.html

Pierre-Loup also fixed the issue separately himself for the SteamOS drivers.

Sarah's fix has been used by a number of people with a lot of success and we have also confirmed the SteamOS drivers don't see this issue so hopefully one of the two fixes can be merged into xpad to fix this problem.

Hope this background helps!
Comment 4 Krzysztof A. Sobiecki 2016-01-15 19:06:04 UTC
(In reply to Edwin Smith from comment #3)
> I am pretty sure this is the bug with xpad that can cause hangs when using
> force feedback. This was reported by Feral during development of XCOM and
> was fixed for SteamOS by Pierre-Loup but the fix has not made it's way
> upstream to the main linux kernel.

Mine or Florians bug you are talking about?
Comment 5 Edwin Smith (Feral Interactive) 2016-04-08 09:57:08 UTC
(In reply to Krzysztof A. Sobiecki from comment #4)
> (In reply to Edwin Smith from comment #3)
> > I am pretty sure this is the bug with xpad that can cause hangs when using
> > force feedback. This was reported by Feral during development of XCOM and
> > was fixed for SteamOS by Pierre-Loup but the fix has not made it's way
> > upstream to the main linux kernel.
> 
> Mine or Florians bug you are talking about?

I suspect both have the same cause. 

1. Can we please to a reproduction test using 11.2? That had a lot of Autosport related fixes.

2. We have a beta patch available via support that will disable the force feedback part of the pad code you can request access to the beta by emailing linuxsupport@feralinteractive.com and explaining your situation.
Comment 6 Edwin Smith (Feral Interactive) 2016-04-25 09:36:02 UTC
Marking as NEEDINFO as I suspect this issue is not related to Mesa see previous comment for details.
Comment 7 serge 2016-04-27 17:01:10 UTC
i'm affected of the same bug, i also filled a bug report here:

https://bugs.freedesktop.org/show_bug.cgi?id=93353

After a request to the Feral support, i tested the patch but the GPU still stall when the game is loading at the end of the qualifications.
Comment 8 Marcus 2017-01-29 13:59:14 UTC
I was affected by this bug for a long time but it seems to be fixed now in the latest mesa git.

I am running ubuntu 16.10 on a i7 920 with a AMD Radeon RX480 with mesa stack upgraded with padoka PPA

marc@morph:~$ uname -a
Linux morph 4.9.0-040900-generic #201612111631 SMP Sun Dec 11 21:33:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
marc@morph:~$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD POLARIS10 (DRM 3.8.0 / 4.9.0-040900-generic, LLVM 5.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.1.0-devel - padoka PPA
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.1.0-devel - padoka PPA
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.1.0-devel - padoka PPA
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:


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.