Skip to contentSkip to conversation

GRID Autosport hang on logo (startup)

Bug 93801 [email protected] 1 participant 15 messages Jan 20, 2016 – Feb 17, 2016

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 93801
Summary: GRID Autosport hang on logo (startup)
Product: Mesa
Version: unspecified
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]

On GCN1.0 chip (Trinidad - Radeon R7 370) there is a hang at GRID logo at the start of the game. The issue, however, doesn't appear at GCN >= 1.1 chips - the game runs out-of-the-box there. The problem is connected with this bug:
https://bugs.freedesktop.org/show_bug.cgi?id=93352
as the fix ("LANG=C LD_PRELOAD="../lib/x86_64/libtcmalloc_minimal.so:${LD_PRELOAD}" %command%" in run params in Steam) from there makes the game work normally. I'd bet that it is RadeonSI-specific, as there were similar reports from other GCN1.0-chips owners.

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

#1 lore raw

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

--- Comment #1 from Maxim Sheviakov <[email protected]> ---
I'm using Arch Linux x64 with Mesa 11.1.1 + lib32-Mesa 11.1.1 compiled from source with latest stable GCC and LLVM 3.7.1 (both normal and multilib). I have testing repositories enabled. No git packages are used, Linux is 4.4-zen.

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

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Michel D�nzer <[email protected]> ---
What are the symptoms of the hang? If the GRID process still exists, does killing it restore a working desktop? Can you attach gdb to the GRID process and attach the output of "thread apply all bt full" when it hangs?

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

#3 lore raw
In reply to [email protected]

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

--- Comment #3 from Jos� Su�rez <[email protected]> --- Can you try with "LC_ALL=C" instead of "LANG=C"? For me the latter did not work
(http://steamcommunity.com/app/255220/discussions/0/558754260336036448/#c494631967654246615),
while I can play the game correctly (and with quite good performance, BTW) with the former. I'm using a Radeon HD 7870 with almost git mesa.

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

#4 lore raw
In reply to [email protected]

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

--- Comment #4 from Maxim Sheviakov <[email protected]> --- (In reply to Jos� Su�rez from comment #3)

Quoted 6 lines

Can you try with "LC_ALL=C" instead of "LANG=C"? For me the latter did not work
(http://steamcommunity.com/app/255220/discussions/0/558754260336036448/
#c494631967654246615), while I can play the game correctly (and with quite good performance, BTW) with the former. I'm using a Radeon HD 7870 with almost git mesa.

It worked. However, I've noticed some kind of a performance drop, but that doesn't actually matter, as the difference was about -5FPS.

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

#5 lore raw
In reply to [email protected]

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

--- Comment #5 from Maxim Sheviakov <[email protected]> --- (In reply to Michel D�nzer from comment #2)

Quoted 3 lines

What are the symptoms of the hang? If the GRID process still exists, does killing it restore a working desktop? Can you attach gdb to the GRID process and attach the output of "thread apply all bt full" when it hangs?

Umm, the game doesn't hang the system. It's about the game's process not to respond at all - I can simply go to desktop and kill the process. I don't think that gdb attachment would help either, as the game is likely trying to load some files that it can't find, and then it hangs, so log would probably contain only "foo.bar: not found".

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

#6 lore raw
In reply to [email protected]

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

--- Comment #6 from Jos� Su�rez <[email protected]> --- (In reply to Maxim Sheviakov from comment #5)

Quoted 10 lines

(In reply to Michel D�nzer from comment #2)

Quoted 3 lines

What are the symptoms of the hang? If the GRID process still exists, does killing it restore a working desktop? Can you attach gdb to the GRID process and attach the output of "thread apply all bt full" when it hangs?

Umm, the game doesn't hang the system. It's about the game's process not to respond at all - I can simply go to desktop and kill the process. I don't think that gdb attachment would help either, as the game is likely trying to load some files that it can't find, and then it hangs, so log would probably contain only "foo.bar: not found".

For your information, Feral currently have a semi-open beta of Grid which among other things resolves the hang problem. In order to be able to access the beta you need to contact their customer support and they will give the key to you straight away.

I'm running plain vanilla, so I can't tell if it solves the problem you are reporting.

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

#7 lore raw
In reply to [email protected]

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

--- Comment #7 from Michel D�nzer <[email protected]> --- (In reply to Maxim Sheviakov from comment #5)

Quoted 3 lines

Umm, the game doesn't hang the system. It's about the game's process not to respond at all - I can simply go to desktop and kill the process. I don't think that gdb attachment would help either, [...]

Of course it would; it would show us whether it's hanging in game code or driver code. From Jos�'s comments it sounds like it's likely the former though.

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

#8 lore raw
In reply to [email protected]

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

--- Comment #8 from Maxim Sheviakov <[email protected]> --- Okay. I will test it with a debugger + beta (if I'm lucky) one I complete my Gentoo setup.

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

#9 lore raw
In reply to [email protected]

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

--- Comment #9 from Maxim Sheviakov <[email protected]> --- (In reply to Michel D�nzer from comment #7)

Quoted 8 lines

(In reply to Maxim Sheviakov from comment #5)

Quoted 3 lines

Umm, the game doesn't hang the system. It's about the game's process not to respond at all - I can simply go to desktop and kill the process. I don't think that gdb attachment would help either, [...]

Of course it would; it would show us whether it's hanging in game code or driver code. From Jos�'s comments it sounds like it's likely the former though.

This is the output: http://pastebin.com/ZVYp8HcQ

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

#10 lore raw
In reply to [email protected]

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

--- Comment #10 from Michel D�nzer <[email protected]> --- (In reply to Maxim Sheviakov from comment #9)

Quoted 1 line

This is the output: http://pastebin.com/ZVYp8HcQ

Please attach files here directly instead of referencing external sites.

After attaching to the process, please run "thread apply all bt full" at the gdb prompt to get the backtrace.

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

#11 lore raw
In reply to [email protected]

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

--- Comment #11 from Maxim Sheviakov <[email protected]> --- Created attachment 121779
--> https://bugs.freedesktop.org/attachment.cgi?id=121779&action=edit
Log from gdb

(In reply to Michel D�nzer from comment #10)

Quoted 1 line

Please attach files here directly instead of referencing external sites.

Okay, sorry.

Quoted 2 lines

After attaching to the process, please run "thread apply all bt full" at the gdb prompt to get the backtrace.

Attaching the file, log collected with
~/> gdb > gdblog
%commands%

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

#12 lore raw
In reply to [email protected]

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

--- Comment #12 from Maxim Sheviakov <[email protected]> --- I also can't get native runtime working. After doing

Quoted 2 lines

cd ~/.local/share/Steam/ubuntu12_32
LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}" ldd $(file *|sed '/ELF/!d;s/:.*//g')|grep 'not found'|sort|uniq

I got the output containing

Quoted 5 lines

libdbus-glib-1.so.2 => not found libgconf-2.so.4 => not found libnm-glib.so.4 => not found libnm-util.so.2 => not found libudev.so.0 => not found

Maybe that's an issue, but I don't think so - on my previous Archlinux installation the game wouldn't start with all those libraries present. Basically, my Linux installations' configurations were mostly the same.

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

#13 lore raw
In reply to [email protected]

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

Michel D�nzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #13 from Michel D�nzer <[email protected]> --- There's no trace of the driver being involved in the hanging state. Based on that and Jos�'s comments, let's assume that this is a game 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

#14 lore raw
In reply to [email protected]

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

--- Comment #14 from Maxim Sheviakov <[email protected]> --- (In reply to Michel D�nzer from comment #13)

Quoted 2 lines

There's no trace of the driver being involved in the hanging state. Based on that and Jos�'s comments, let's assume that this is a game bug.

Damn, that's interesting. I will try to attach gdb to game running with that line in its Steam options and search for anything different.

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