https://bugs.freedesktop.org/show_bug.cgi?id=100400
Bug ID: 100400 Summary: Game Valhalla Hills crash on startup Product: Mesa Version: 17.0 Hardware: x86-64 (AMD64) OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: beham.christopher@gmx.at QA Contact: dri-devel@lists.freedesktop.org
Created attachment 130460 --> https://bugs.freedesktop.org/attachment.cgi?id=130460&action=edit Output of the game execution logged with script
The Game Valhalla Hills crashes for me on Mesa 17.0.2 on Archlinux.
I tried the mesa packages from the standard archlinux extra repo. To get a little bit more information I added the line '--enable-debug ' to ./configure in the mesa_archlinux_package_source_files and created the packages and installed the packages mesa and mesa-vdpau, except from builded with enabled debug these packages are the same as from the standard archlinux extra repo.
The attached file run is the output of executing: ST_DEBUG=tgsi MESA_DEBUG=1 LIBGL_DEBUG=verbose ./ValhallaHills-Linux-Shipping
The attached file gdb is the output of executing: ST_DEBUG=tgsi MESA_DEBUG=1 LIBGL_DEBUG=verbose gdb ./ValhallaHills-Linux-Shipping
I also tried to play with MESA_GL_VERSION_OVERRIDE (the game seems to need at least 3.2) and MESA_GLSL_VERSION_OVERRIDE (the game seems to need at least 150) but with no effects on the error outputs.
The game works very well when using the amdgpu-pro driver version 16.60.379184 and turning off vsync in the game options. But I want to keep Mesa because of the need to downgrade packages for amdgpu-pro and bad performance on Grid Autosport.
The game also works with an old nvidia GeForce GT240 in my old PC in my cellar with both nvidia version 340 and mesa nouveau driver, with colour and blinking light issues but quite playable.
https://bugs.freedesktop.org/show_bug.cgi?id=100400
--- Comment #1 from beham.christopher@gmx.at --- Created attachment 130461 --> https://bugs.freedesktop.org/attachment.cgi?id=130461&action=edit gdb output of running and backtracing the game logged with script
https://bugs.freedesktop.org/show_bug.cgi?id=100400
--- Comment #2 from beham.christopher@gmx.at --- Created attachment 130462 --> https://bugs.freedesktop.org/attachment.cgi?id=130462&action=edit glxinfo
https://bugs.freedesktop.org/show_bug.cgi?id=100400
--- Comment #3 from beham.christopher@gmx.at --- Created attachment 130463 --> https://bugs.freedesktop.org/attachment.cgi?id=130463&action=edit lspci
https://bugs.freedesktop.org/show_bug.cgi?id=100400
--- Comment #4 from beham.christopher@gmx.at --- Created attachment 130464 --> https://bugs.freedesktop.org/attachment.cgi?id=130464&action=edit cpuinfo
https://bugs.freedesktop.org/show_bug.cgi?id=100400
--- Comment #5 from beham.christopher@gmx.at --- Created attachment 130465 --> https://bugs.freedesktop.org/attachment.cgi?id=130465&action=edit Source files packagecreation archlinux with enabled debug
https://bugs.freedesktop.org/show_bug.cgi?id=100400
--- Comment #6 from Samuel Pitoiset samuel.pitoiset@gmail.com --- Thanks for this very nice report. :)
I can reproduce the issue with mesa/LLVM from today.
https://bugs.freedesktop.org/show_bug.cgi?id=100400
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #130461|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=100400
--- Comment #7 from Michel Dänzer michel@daenzer.net --- valgrind might give more information.
https://bugs.freedesktop.org/show_bug.cgi?id=100400
--- Comment #8 from beham.christopher@gmx.at --- Created attachment 130515 --> https://bugs.freedesktop.org/attachment.cgi?id=130515&action=edit valgrind output of the game execution logged with script
Thanks for your replies, I ran valgrind with:
ST_DEBUG=tgsi MESA_DEBUG=1 LIBGL_DEBUG=verbose valgrind --error-limit=no ./ValhallaHills-Linux-Shipping
Please let me know if there are other options which could be useful to get better information.
https://bugs.freedesktop.org/show_bug.cgi?id=100400
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #130515|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=100400
--- Comment #9 from beham.christopher@gmx.at --- Created attachment 130633 --> https://bugs.freedesktop.org/attachment.cgi?id=130633&action=edit valgrind output with less missing debug info
Because I saw there is very much missing debug info in the first valgrind file I recompiled the affected libs with debug symbols.
The new valgrind file was generated with this line:
ST_DEBUG=tgsi MESA_DEBUG=1 LIBGL_DEBUG=verbose valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --error-limit=no ./ValhallaHills-Linux-Shipping
https://bugs.freedesktop.org/show_bug.cgi?id=100400
--- Comment #10 from CraZy bisCuiT psycheldic_kingdom@freenet.de --- This problem affects me as well on mesa 17.04 and llvm 4.0.0-1 with AMD RX 480. Any ideas what causes this problem?
We can't expect a patch from the developer since the studio doesn't exist anymore. For some reason proprietary AMD and nVidia drivers do work.
https://bugs.freedesktop.org/show_bug.cgi?id=100400
--- Comment #11 from Samuel Pitoiset samuel.pitoiset@gmail.com --- Hi there,
The crash at startup can no longer be reproduced. I have just tested with Mesa (4eb0411ed72) and LLVM (9031fd91990). Though, it still crashes with Mesa 17.1.0 and LLVM 4.0.0.
Can you upgrade LLVM and confirm, please?
https://bugs.freedesktop.org/show_bug.cgi?id=100400
--- Comment #12 from beham.christopher@gmx.at --- (In reply to Samuel Pitoiset from comment #11)
Hi there,
The crash at startup can no longer be reproduced. I have just tested with Mesa (4eb0411ed72) and LLVM (9031fd91990). Though, it still crashes with Mesa 17.1.0 and LLVM 4.0.0.
Can you upgrade LLVM and confirm, please?
Hi,
I can confirm it is now working with current mesa-git and llvm-svn with both radeon and amdgpu driver.
Thanks for your work.
https://bugs.freedesktop.org/show_bug.cgi?id=100400
beham.christopher@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Game Valhalla Hills crash |[Solved] Game Valhalla |on startup |Hills crash on startup
https://bugs.freedesktop.org/show_bug.cgi?id=100400
Samuel Pitoiset samuel.pitoiset@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
https://bugs.freedesktop.org/show_bug.cgi?id=100400
--- Comment #13 from CraZy bisCuiT psycheldic_kingdom@freenet.de --- Thanks for fixing! With the current mesa-git and llvm-svn it seems to work flawlessly!
https://bugs.freedesktop.org/show_bug.cgi?id=100400
Timothy Arceri t_arceri@yahoo.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|17.0 |git Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #14 from Timothy Arceri t_arceri@yahoo.com.au --- Game is crashing again with current git mesa/llvm reopening.
mesa 18.0.0 / LLVM 6.0.0 has been reported as failing also.
https://bugs.freedesktop.org/show_bug.cgi?id=100400
Gregor Münch gr.muench@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |77449
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=77449 [Bug 77449] Tracker bug for all bugs related to Steam titles
https://bugs.freedesktop.org/show_bug.cgi?id=100400
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |MOVED
--- Comment #15 from GitLab Migration User gitlab-migration@fdo.invalid --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1263.
dri-devel@lists.freedesktop.org