Skip to contentSkip to conversation

Game Crashlands crashes on startup

Bug 102625 [email protected] 1 participant 13 messages Sep 8, 2017 – Sep 25, 2019

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 102625
Summary: Game Crashlands crashes on startup
Product: Mesa
Version: git
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]

Created attachment 134084
--> https://bugs.freedesktop.org/attachment.cgi?id=134084&action=edit
gdb output when running crashlands

Running on Arch with latest Mesa in the official repositories (17.1.8) via mesa-git from AUR or 17.0.x in Ubuntu 16.04 and 17.04 Crashlands crashes on startup (a window opens and immediately closes again) in combination with a Radeon RX 470. On another machine using integrated HD 6620G it runs fine (Ubuntu 16.04).

Using LLVMPIPE via LIBGL_ALWAYS_SOFTWARE=1 and GALLIUM_DRIVER=llvmpipe the game runs as expected.

When starting the game from command line I get a segfault with this message:
./run.sh: Zeile 3: 2218 Speicherzugriffsfehler (Speicherabzug geschrieben) LD_LIBRARY_PATH=./lib:$LD_LIBRARY_PATH ./runner

This error however seems to be unrelated to the crash because it remains even if using LLVMPIPE.

Running via gdb produces the attached output.

GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"... Reading symbols from runner...(no debugging symbols found)...done. (gdb) run
Starting program:
/home/nagezahn/.local/share/Steam/steamapps/common/Crashlands/runner /home/nagezahn/.local/share/Steam/steamapps/common/Crashlands/runner:
/usr/lib32/libcrypto.so.1.0.0: no version information available (required by /home/nagezahn/.local/share/Steam/steamapps/common/Crashlands/runner) /home/nagezahn/.local/share/Steam/steamapps/common/Crashlands/runner:
/usr/lib32/libssl.so.1.0.0: no version information available (required by /home/nagezahn/.local/share/Steam/steamapps/common/Crashlands/runner) [Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

***************************************
* YoYo Games Linux Runner V1.3 *
***************************************
CommandLine: -game game.unx
ExeName= /home/nagezahn/.local/share/Steam/steamapps/common/Crashlands/runner MemoryManager allocated: 1723148
INI DisplayName=Crashlands
SavePrePend /home/nagezahn/.config/Crashlands/
GAMEPAD: Initialising Ubuntu support
Attempting to set gamepadcount to 4
Steam being initialised with appId 391730
Steam_Init
Error: Failed to load libsteam_api.so: libsteam_api.so: cannot open shared object file: No such file or directory
Failed LoadSteamLib() call: Error loading libsteam_api.so SteamInit failed: Error loading libsteam_api.so
Display Size(Pixels): 1920,1200
GameDisplayName=Crashlands
Win #1
XF86VidModeExtension-Version 2.2
libGL error: failed to create dri screen
libGL error: failed to load driver: swrast
Got Doublebuffered Visual!
glX-Version 1.4
Icon: w=120 h=120
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 30
Current serial number in output stream: 32
[Inferior 1 (process 3337) exited with code 01]

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

#1 lore raw

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

[email protected] changed:

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

 Attachment #134084|0                           |1
        is obsolete|                            |
                 CC|                            |ratatosk.yggdrasil@googlema
                   |                            |il.com

--- Comment #1 from [email protected] --- Created attachment 134086
--> https://bugs.freedesktop.org/attachment.cgi?id=134086&action=edit
gdb output when running crashlands

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

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from [email protected] --- Apologies, please ignore the previous gdb output. The error printed there was transient which was gone after a reboot. I have updated the attached gdb output which should be more helpful now.

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

#3 lore raw
In reply to [email protected]

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

--- Comment #3 from Samuel Pitoiset <[email protected]> --- I bet if you launch the game with R600_DEBUG="ps,vs,tcs,tes,cs,gs" it will work.

It's similar to the "Peace, Death!" issue because they both use the same engine.

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

#4 lore raw
In reply to [email protected]

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

--- Comment #4 from Philipp Überbacher <[email protected]> --- Created attachment 134101
--> https://bugs.freedesktop.org/attachment.cgi?id=134101&action=edit
Output with R600_DEBUG="ps,vs,tcs,tes,cs,gs"

Radeon RX 560
Arch Linux, mesa 17.1.8, xf86-video-amdgpu 1.3.0

R600_DEBUG="ps,vs,tcs,tes,cs,gs" LD_LIBRARY_PATH=~/.steam/bin32/ ./run.sh

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

#5 lore raw
In reply to [email protected]

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

--- Comment #5 from Philipp Überbacher <[email protected]> --- With xf86-video-amdgpu 1.4.0 and mesa 17.2.0 the game starts for me. Seems this bug has already been fixed.

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

#6 lore raw
In reply to [email protected]

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

--- Comment #6 from Philipp Überbacher <[email protected]> --- In this particular situation it would be good to know what fixed the issue and whether there is a workaround available.

Any ideas?

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

#8 lore raw
In reply to [email protected]

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

Timothy Arceri <[email protected]> changed:

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

         Resolution|---                         |NOTOURBUG
             Status|NEW                         |RESOLVED
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

#9 lore raw
In reply to [email protected]

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

Timothy Arceri <[email protected]> changed:

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

         Resolution|NOTOURBUG                   |---
             Status|RESOLVED                    |REOPENED

--- Comment #8 from Timothy Arceri <[email protected]> --- Reopening as the game engine version is the same in both logs. Can you confirm if its working or was it just working when you ran with R600_DEBUG="ps,vs,tcs,tes,cs,gs" ?

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=102625

Timothy Arceri <[email protected]> changed:

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

         Depends on|                            |105797

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=105797
[Bug 105797] Tracker for YoYo based games start-up crashes

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=102625

GitLab Migration User <[email protected]> changed:

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

         Resolution|---                         |MOVED
             Status|REOPENED                    |RESOLVED

--- Comment #9 from GitLab Migration User <[email protected]> --- -- 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/1281.

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=102625
Bug 102625 depends on bug 105797, which changed state.

Bug 105797 Summary: Tracker for YoYo based games start-up crashes
https://bugs.freedesktop.org/show_bug.cgi?id=105797

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED
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