Bug 80618 - [r600g] XCOM Ennemy Unknown crash (RV770)
Summary: [r600g] XCOM Ennemy Unknown crash (RV770)
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-28 06:46 UTC by nicolas
Modified: 2019-11-19 08:53 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (61.43 KB, text/plain)
2014-06-28 06:46 UTC, nicolas
no flags Details
game log file (630.10 KB, text/plain)
2014-06-28 06:48 UTC, nicolas
no flags Details

Description nicolas 2014-06-28 06:46:40 UTC
Created attachment 101904 [details]
dmesg

When playing xcom native, the game will always crash and return to desktop.

I have this message multiple times :

EE ../../../../../../src/gallium/drivers/r600/r600_shader.c:2198 r600_shader_from_tgsi - GPR limit exceeded - shader requires 755 registers
EE ../../../../../../src/gallium/drivers/r600/r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE ../../../../../../src/gallium/drivers/r600/r600_state_common.c:750 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../../../../../../src/gallium/drivers/r600/r600_shader.c:2198 r600_shader_from_tgsi - GPR limit exceeded - shader requires 755 registers
EE ../../../../../../src/gallium/drivers/r600/r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !


I attach dmesg and logfil of the game.
Comment 1 nicolas 2014-06-28 06:48:44 UTC
Created attachment 101905 [details]
game log file
Comment 2 Jan Kümmel 2014-08-31 13:16:53 UTC
Does XCOM still crash when you use the memory corruption workaround from https://github.com/knecht/xcom-hacks
?
See also:
http://steamcommunity.com/app/200510/discussions/0/522730700169435716/
Comment 3 nicolas 2014-09-07 08:08:08 UTC
(In reply to comment #2)
> Does XCOM still crash when you use the memory corruption workaround from
> https://github.com/knecht/xcom-hacks
> ?
> See also:
> http://steamcommunity.com/app/200510/discussions/0/522730700169435716/

hie, since my bug repport the game had an update but this doesn' solved my bug.

I have try to use this library, but because i only own Xcom ennemy unknown this won't work.

If i try to run like the explanations for ennemy within i have the splash screen and it quits, that is normal cause i don't have this game.
So i tried to adapt to the game folders of ennemy unknown.
What i've done is :

export LD_LIBRARY_PATH="~/.steam/steam/SteamApps/common/XCom-Enemy-Unknown/binaries/linux/x86_64/"
cd ~/.steam/steam/SteamApps/common/XCom-Enemy-Unknown
LD_PRELOAD=~/Téléchargements/xcom-hacks-master/libxcomfix.so binaries/linux/game.x86_64 
szCmd: /bin/sh -c '"/home/nicolas/.steam/steam.sh" "steam://run/200510"' &
sh: symbol lookup error: /home/nicolas/Téléchargements/xcom-hacks-master/libxcomfix.so: undefined symbol: dlsym
Dumped crashlog to /home/nicolas/.local/share/feral-interactive/XCOM/crashes//19054cf4-ca78-8195-5d709904-5aa26fac.dmp
Abandon (core dumped)

I assume there need to adapt libxcomfix.so to ennemy unknown, but i have no idea how to do that.
Comment 4 Jan Kümmel 2014-09-17 20:36:27 UTC
you didn't forget the -ldl when compiling, did you?
Comment 5 mirh 2018-10-16 13:29:55 UTC
Could this be checked again?
GPR limit problems should have been improved especially after bug 105371 (for the moment only in mesa-git)
Comment 6 Martin Peres 2019-11-19 08:53:16 UTC
-- 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/drm/amd/issues/508.


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.