Summary: | Painkiller: Hell and Damnation segfaults intermittently on radeonsi | ||
---|---|---|---|
Product: | Mesa | Reporter: | Itzamna <xamaniqinqu> |
Component: | Drivers/Gallium/radeonsi | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | freedesktop.org, xamaniqinqu |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Log file of crashed Painkiller: Hell and Damnation run
gdb backtrace of Painkiller: Hell and Damnation after crash Full gdb backtrace of Painkiller: Hell and Damnation after crash |
Description
Itzamna
2013-12-02 14:58:49 UTC
Can you rebuild LLVM with debuging symbols: --enable-debug and repost the backtrace? Created attachment 90128 [details]
gdb backtrace of Painkiller: Hell and Damnation after crash
Hello mr. Stellard,
I have produced a useful backtrace this time, using gdb instead of relying on the game's own paltry debugging output (see attachment pkhd-crash-bt.txt). In addition to recompiling LLVM with the debug USE flag enabled, I also recompiled mesa with debug symbols (-ggdb added to CFLAGS).
If you need any more information, I'll be happy to oblige.
Thanks, could you also run the game with environment variable R600_DEBUG=ps,vs and post the output. Hello mr. Stellard, I attempted to run the binary with R600_DEBUG=ps,vs set, but Steam will not launch with this environment variable. Since PKHD will not run without Steam also running, I am unable to provide you with dumped shaders in this way. Is there another way for me to get the dumped shaders? Created attachment 90146 [details]
Full gdb backtrace of Painkiller: Hell and Damnation after crash
Here is a full backtrace (bt full).
(In reply to comment #4) > Hello mr. Stellard, > > I attempted to run the binary with R600_DEBUG=ps,vs set, but Steam will not > launch with this environment variable. Since PKHD will not run without Steam > also running, I am unable to provide you with dumped shaders in this way. Is > there another way for me to get the dumped shaders? You can run the game manually, you just need Steam running. For instance, if your Steam library is in the standard location: $ cd ~/.steam/steam/SteamApps/common/Painkiller\ Hell\ \& \Damnation $ R600_DEBUG=ps,vs ./PKHDGame.sh Also, I would like to state I can provide PKHD Steam keys for free to Mesa developers, if it can help the resolution of the bug. Just shoot me an email. Hello Leszek, First, thanks for porting PKHD to Linux! And of course for offering free PKHD keys for mesa developers. Second, I can report PKHD no longer crashes, though there are still rendering bugs (lighting on surfaces is garbled and point lights are often rendered as black boxes). I will file a new bug report for that. This bug can be marked as resolved. Does that mean that a fix has been made? Also, Remco, I would greatly appreciate it if you would add me to CC on that new bug (email: freedesktop.org@inequation.org) so I can follow it, too. Thanks! Hello Leszek, Of course, I will CC you. A patch dealing specifically with this bug has not been merged to LLVM upstream to my knowing; but LLVM is so much in flux that it was probably fixed "by accident". I will submit the new bug report tomorrow. Resolving per comment #8 (BTW, you can do this yourself :). |
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.