FeralInteractive / ferallinuxscripts

General use repository for scripts used by Feral Interactive Linux games
61 stars 5 forks source link

Games released between December 2015 and March 2018 encounter issues with some locales (Turkish only?). #6

Open Leopard1907 opened 6 years ago

Leopard1907 commented 6 years ago

My problem is a bit different from issue #3 i guess.

You suggested me Xpander's solution, however it didn't worked. I've put that to Dirt Rally launch options

LD_LIBRARY_PATH="/home/asus/.local/share/Steam/steamapps/common/DiRT Rally//lib/x86_64/" %command%

But it is still giving that error and launcher didn't show up at all. Wİthout that command it is visible but game's are not running anyway.

But Medieval 2 and Shogun works 2 without workarounds. They're just running.

GameAction [AppID 310560, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/asus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/asus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/asus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/DirtRally.sh: 9: [: /home/asus/.local/share/Steam/ubuntu12_32/steam-runtime: unexpected operator
ERROR: ld.so: object '/home/asus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 3613 != 3612, skipping destruction (fork without exec?)
pid 3616 != 3612, skipping destruction (fork without exec?)
pid 3620 != 3612, skipping destruction (fork without exec?)
pid 3619 != 3612, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/asus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
=== ERROR - You're missing vital libraries to run DiRT Rally
=== Either use the steam runtime or install these using your package manager
ERROR: ld.so: object '/home/asus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 310560, ActionID 1] : LaunchApp changed task to Completed with ""
>>> Adding process 3603 for game ID 310560
>>> Adding process 3604 for game ID 310560
    librtmp.so.0 => not found
===
ERROR: ld.so: object '/home/asus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/asus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 3605 for game ID 310560
>>> Adding process 3612 for game ID 310560
ERROR: ld.so: object '/home/asus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/bin/DirtRally: error while loading shared libraries: librtmp.so.0: cannot open shared object file: No such file or directory
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/DirtRally.sh: 10: /home/asus/.local/share/Steam/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[1]=SIGHUP(1): Program Hangup (GPU driver issue?): not found
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/DirtRally.sh: 11: /home/asus/.local/share/Steam/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[2]=SIGINT(2): Program Interrupted: not found
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/DirtRally.sh: 12: /home/asus/.local/share/Steam/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[4]=SIGILL(4): Illegal instruction, check your CPU meets minimum requirements: not found
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/DirtRally.sh: 13: /home/asus/.local/share/Steam/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[6]=SIGABRT(6): Program Aborted: not found
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/DirtRally.sh: 14: /home/asus/.local/share/Steam/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[8]=SIGFPE(8): Floating-point exception, check your CPU meets minimum requirements: not found
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/DirtRally.sh: 15: /home/asus/.local/share/Steam/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[9]=SIGKILL(9): Program killed: not found
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/DirtRally.sh: 16: /home/asus/.local/share/Steam/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[11]=SIGSEGV(11): Segmentation fault: not found
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/DirtRally.sh: 17: /home/asus/.local/share/Steam/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[13]=SIGPIPE(13): Broken pipe, check networking: not found
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/DirtRally.sh: 18: /home/asus/.local/share/Steam/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[15]=SIGTERM(15): Program terminated: not found
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/DirtRally.sh: 19: /home/asus/.local/share/Steam/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[20]=SIGPWR(20): Program received power down signal: not found
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/DirtRally.sh: 20: /home/asus/.local/share/Steam/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[31]=SIGSYS(31): Bad system call: not found
/home/asus/.local/share/Steam/steamapps/common/DiRT Rally/DirtRally.sh: 22: /home/asus/.local/share/Steam/steamapps/common/DiRT Rally/config/post-run-check.sh: Bad substitution
>>> Adding process 3622 for game ID 310560
>>> Adding process 3623 for game ID 310560
>>> Adding process 3624 for game ID 310560
>>> Adding process 3625 for game ID 310560
Game removed: AppID 310560 "DiRT Rally", ProcID 3602 
No cached sticky mapping in ActivateActionSet.Installing breakpad exception handler for appid(steam)/version(1508273419)
Generating new string page texture 118: 128x256, total string texture memory is 3,09 MB
Generating new string page texture 120: 384x256, total string texture memory is 3,48 MB
Generating new string page texture 121: 24x256, total string texture memory is 3,51 MB
GameAction [AppID 310560, ActionID 2] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 310560, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 310560, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 310560, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction[AppID 310560, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask: 0
Game update: AppID 310560 "DiRT Rally", ProcID 3634, IP 0.0.0.0:0
>>> Adding process 3634 for game ID 310560
GameAction [AppID 310560, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/asus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/bin/sh: 1: Rally//lib/x86_64/: not found
GameAction [AppID 310560, ActionID 2] : LaunchApp changed task to Completed with ""
>>> Adding process 3635 for game ID 310560
Game removed: AppID 310560 "DiRT Rally", ProcID 3634 
Leopard1907 commented 6 years ago

@mdiluz Hi again Marc. I noticed something.

RoTR cannot create shortcut of it on my desktop. It says : Could not create shortcut. There is probably one at your desktop.

Although , there is none.

Also , i noticed something too when these shortcut incident got my attention.

You remember Medieval and Shogun 2 which they didn't need Lang C to work? Well , they have their shortcuts but these shortcuts are just same with plain Steam logo.

Other games which needs Lang C to work , have their shortcuts perfectly normal.

mdiluz commented 6 years ago

Those are Steam issues, to be honest, but known ones that as far as I know are being looked into :)

Leopard1907 commented 6 years ago

@mdiluz Thanks for the answer. It is just a minor issue anyway :)

Also as a note , i opted for beta. Game runs much smoother , it was stuttering sometimes when camera moves. It is gone with that build.

390.48 driver.

jwyatt-feral commented 6 years ago

Update on this for some clarification about the scope and fix:

To the best of my knowledge, this only affects machines using the Turkish locale (or similar). The fix for this should get bundled into any patches and releases from now on. That includes anything released this year, along with F1 2017 and Hitman.

Setting LANG=C might have side effects for some places where the locale is used to make choices about input and language. It's probably fine in most cases, but I'm a little reluctant to apply it globally.

This bug may affect Medieval 2 and Shogun 2 as well, but the effect may be more subtle.

Although this isn't really a launch scripts issue, I'll leave this open for now, in case anyone else comes across this issue.

Leopard1907 commented 6 years ago

@jwyatt-feral If you looked at the Steam link that i found solution , there are also different locales too. Not just Turkish , Norwegian etc.

Problem is , when other games ( Virtual Programming ports , Valve ports , Aspyr ports , other indie dev pots etc. ) doesn't have this problem but Feral ports are ; it just shows they're doing something ok while Feral is not. Not being offfensive btw , thanks to you i can play many AAA games.

jwyatt-feral commented 6 years ago

Sorry, I must have missed that link when reading back through the comments. I was under the impression that the issue seen in GRID Autosport with languages other than Turkish was with LC_NUMERIC, and had been fixed some time ago.

I haven't seen any reports for other locales since then - if you (or anyone else) happen to have any links for those, do pass them on.

Leopard1907 commented 6 years ago

@jwyatt-feral

I didn't know the root cause for Grid problem , same workaround just worked for me.

After i reported that i found the solution and that worked to Marc , Rise of The Tomb Raider worked out of the box. Only downside with that game ( i don't if it is game fault or Steam's ) shortcut of that game cannot be created on my desktop.

If you need report for other language problems , i can start a topic at Linux gaming subreddit to ask other Linux gamers with other locales.

Leopard1907 commented 6 years ago

@jwyatt-feral

Also Mad Max needs that LANG=C command too , otherwise it looks like that.

ekran goruntusu - 2018-06-28 02-53-23

ekran goruntusu - 2018-06-28 02-53-30

Looks like i can't add .dmp file here but it generated a dump file too.

jwyatt-feral commented 6 years ago

Thanks @Leopard1907 - I've updated the issue name to reflect what I think is the full range of affected games. Anything in that time frame that doesn't require DX11 class hardware might work without the LANG=C workaround. Also Hitman and F1 2017 have been patched to fix the issue.

Leopard1907 commented 6 years ago

@jwyatt-feral I can confirm both Hitman and F1 2017 are running out of the box , without LANG=C command now.

Your assumption sounds right. I don't have all catalogue of Feral ports but looking at the games that i own and works without LANG command ( Medieval 2 and Shogun 2 , both DX9 compatible ) , probably that is the case.

Although , interestingly only Medieval 2 and Shogun 2 has Steam logos instead of their shortcuts. Probbaly not relevant but interesting coincidence.

L1Q commented 4 years ago

Had to use LC_ALL=C for Shadow of the Tomb Raider to start on manjaro setup. Found solution here. I wish there was a better way to learn about this repo from game itself. Launcher happily sends to feral FAQ page which says the only supported distro is ubuntu.

Shadow of the Tomb Raider crash error: Game crashed with signal SIGABRT(6): Program Aborted.

terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid