Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foundation (690830) #2318

Open
2 tasks
Sebastiangperez opened this issue Feb 6, 2019 · 135 comments
Open
2 tasks

Foundation (690830) #2318

Sebastiangperez opened this issue Feb 6, 2019 · 135 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues Mesa drivers Possibly involves an issue with a Mesa video driver XAudio2 Uses the XAudio2 subsystem

Comments

@Sebastiangperez
Copy link

Compatibility Report

  • Name of the game with compatibility issues: Foundation
  • Steam AppID of the game: 690830

System Information

  • GPU: GTX 980 GTX
  • Driver/LLVM version: Nvidia 415.22
  • Kernel version: 4.19
  • Link to full system information report as Gist:
  • Proton version: 3.16

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

Symptoms

The game has some error related on his translation game's log output said this:
ERROR Core GamCLocalizationManager::loadFile JSON parsing error: 3

Also the game hangs after pressing the market button, keeping the music / sound in the background.

Reproduction

Press play on the Steam button

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Feb 6, 2019
@kisak-valve kisak-valve changed the title Foundation (City Builder) Foundation (690830) Feb 6, 2019
@kisak-valve
Copy link
Member

Hello @Sebastiangperez, please add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-$APPID.log into the comment box.

@Sebastiangperez
Copy link
Author

Sebastiangperez commented Feb 6, 2019

Zipped , is 60mb long and i run the game until hangs . this game is made by a custom engine and uses i think opengl 4.3
steam-690830.log.tar.gz

@kisak-valve kisak-valve added the XAudio2 Uses the XAudio2 subsystem label Feb 6, 2019
@Sebastiangperez
Copy link
Author

Sebastiangperez commented Feb 14, 2019

Yesterday , i tested the game again , when i clicked on the market button in the build menu , the game got freeze and hanged my entire pc.
Maybe is a memory leak ?
im on Fedora 29

@TeaObvious
Copy link

I have got a similar but still different problem. For me the game launches, gets into the loading screen and then crashes with eventfd: Too many open files: steam-690830.log

When i switch from proton 3.16 to 3.7. then the game simply locks up without crashing.

If i go ahead and increase the ulimit to over 60.000 then the game works, but the localization is missing because the game keeps saying
ERROR Core GamCLocalizationManager::loadFile JSON parsing error: 3

Throwing strace at the game shows this:

22:32:33 openat(AT_FDCWD, "/mnt/bcachedata/Steam/SteamApps/compatdata/690830/pfx/dosdevices/z:/mnt/bcachedata/Steam/SteamApps/common/Foundation/localization/en/achievements.json", O_RDONLY|O_NONBLOCK) = 39487
22:32:33 close(39487) = 0
22:32:33 close(-1) = -1 EBADF (Ungültiger Dateideskriptor)
22:32:33 openat(AT_FDCWD, "/mnt/bcachedata/Steam/SteamApps/compatdata/690830/pfx/dosdevices/z:/mnt/bcachedata/Steam/SteamApps/common/Foundation/localization/en/agents.json", O_RDONLY|O_NONBLOCK) = 39487
22:32:33 close(39487) = 0
22:32:33 close(-1) = -1 EBADF (Ungültiger Dateideskriptor)
22:32:33 openat(AT_FDCWD, "/mnt/bcachedata/Steam/SteamApps/compatdata/690830/pfx/dosdevices/z:/mnt/bcachedata/Steam/SteamApps/common/Foundation/localization/en/buildings.json", O_RDONLY|O_NONBLOCK) = 39487
22:32:33 close(39487) = 0
22:32:33 close(-1) = -1 EBADF (Ungültiger Dateideskriptor)

This seems to be a big bug in the Game and not fixable by Proton, since the file seems to be found and loaded. Additionally to this, they constantly try to close thousands of files they never opened, so i guess even if the game would have the localization we might get the trouble @Sebastiangperez talked about.

@Sebastiangperez
Copy link
Author

@legodev
Hi , thanks for your response. maybe someone will contact with this guys and tell this bug.

@Sebastiangperez
Copy link
Author

This is an update

I have got a similar but still different problem. For me the game launches, gets into the loading screen and then crashes with eventfd: Too many open files: steam-690830.log

When i switch from proton 3.16 to 3.7. then the game simply locks up without crashing.

If i go ahead and increase the ulimit to over 60.000 then the game works, but the localization is missing because the game keeps saying
ERROR Core GamCLocalizationManager::loadFile JSON parsing error: 3

Throwing strace at the game shows this:

22:32:33 openat(AT_FDCWD, "/mnt/bcachedata/Steam/SteamApps/compatdata/690830/pfx/dosdevices/z:/mnt/bcachedata/Steam/SteamApps/common/Foundation/localization/en/achievements.json", O_RDONLY|O_NONBLOCK) = 39487
22:32:33 close(39487) = 0
22:32:33 close(-1) = -1 EBADF (Ungültiger Dateideskriptor)
22:32:33 openat(AT_FDCWD, "/mnt/bcachedata/Steam/SteamApps/compatdata/690830/pfx/dosdevices/z:/mnt/bcachedata/Steam/SteamApps/common/Foundation/localization/en/agents.json", O_RDONLY|O_NONBLOCK) = 39487
22:32:33 close(39487) = 0
22:32:33 close(-1) = -1 EBADF (Ungültiger Dateideskriptor)
22:32:33 openat(AT_FDCWD, "/mnt/bcachedata/Steam/SteamApps/compatdata/690830/pfx/dosdevices/z:/mnt/bcachedata/Steam/SteamApps/common/Foundation/localization/en/buildings.json", O_RDONLY|O_NONBLOCK) = 39487
22:32:33 close(39487) = 0
22:32:33 close(-1) = -1 EBADF (Ungültiger Dateideskriptor)

This seems to be a big bug in the Game and not fixable by Proton, since the file seems to be found and loaded. Additionally to this, they constantly try to close thousands of files they never opened, so i guess even if the game would have the localization we might get the trouble @Sebastiangperez talked about.

This is an Update , yesterday arrived a new patch that fixed the bug , i could play the game without freezing.
The text translations is still missing and only shows the JSON keys.

@MadByteDE
Copy link

MadByteDE commented Jul 11, 2019

The text translations is still missing and only shows the JSON keys.

This can easily be fixed by installing vcrun2017:
WINEPREFIX=/your_path_to_steamLibrary/steamapps/compatdata/690830/pfx winetricks -q vcrun2017

[EDIT 2: no need to enable D9VK anymore. it will be used automatically.. So everything below is outdated ]
Also the game performance is highly improved by using D9VK instead of the default WineD3D and maybe can fix the "Shader compilation error: gl_FragColor undeclared" error as well (AMD GPU users).

[EDIT: The following is outdated, D9VK now can be enabled with Proton > 4.11 using "PROTON_USE_D9VK=1 %command%"]

If you want to try to implement it in Proton 4.2 follow these instruction provided by user pchome:

  1. Download D9VK (https://github.com/Joshua-Ashton/d9vk/releases)
  2. Add d3d9.dll from D9VK/x32 to /your_path/steamapps/common/Proton 4.2/dist/lib/wine/d9vk/
  3. Add d3d9.dll from D9VK/x64 to /your_path/steamapps/common/Proton 4.2/dist/lib64/wine/d9vk/
  4. Download the patch text file: proton-4.2-d9vk.patch.txt
  5. Copy text file to Proton's directory and execute patch -p1 < proton-4.2-d9vk.patch.txt
    Now it will be used as default. If you want to disable it use PROTON_NO_D9VK=1 %command%

@Sebastiangperez
Copy link
Author

I stopped playing this game a few months ago because it crashes on start.
I will check the work around about the text.

@TeaObvious
Copy link

I can confirm the game now works fine using:

  • a higher ulimit -n to raise the open file limit to work around the crash at startup
  • WINEPREFIX=/your_path_to_steamLibrary/steamapps/compatdata/690830/pfx winetricks -q vcrun2017 to fix the displayment of the text
    Note: for some reason i needed to delete the pfx folder, start the game and then execute winetricks again

@MadByteDE
Copy link

MadByteDE commented Jul 11, 2019

a higher ulimit -n to raise the open file limit to work around the crash at startup

btw this seems to be a distro based "issue". My ulimit already was pretty high by default (#DefaultLimitNOFILE=1024:524288 on Manjaro).

@TeaObvious
Copy link

TeaObvious commented Jul 11, 2019

yes mine is fixed to 1024, simply because this normally is more then enough and if more is required this is usually a bug in your software. I know how to permanently change it, but i don't want to.

For everyone who wants to know the file location it can be done in /etc/sysctl.conf using fs.file-max but its better to use /etc/security/limits.conf

Edit: on non systemd linux distributions

@MadByteDE
Copy link

MadByteDE commented Jul 11, 2019

Maybe you should say which distro you're on, because the filenames and locations differ based on the distro you're using.Here you can find some more infos on the topic:
https://github.com/lutris/lutris/wiki/How-to:-Esync

@kekonn
Copy link

kekonn commented Oct 2, 2019

I can confirm the game now works fine using:

* a higher `ulimit -n` to raise the open file limit to work around the crash at startup

* `WINEPREFIX=/your_path_to_steamLibrary/steamapps/compatdata/690830/pfx winetricks -q vcrun2017` to fix the displayment of the text
  **Note:** for some reason i needed to delete the pfx folder, start the game and then execute winetricks again

Hi All,
I tried the winetricks solution for the text problem but I still have only text keys. My system:

  • Proton:4.11-6
  • Distro:Arch Linux
  • Kernel:5.3.1-zen1-1-zen
  • RAM:16 GB
  • GPU Driver:NVIDIA 435.21
  • GPU:NVIDIA GeForce GTX 1070 Ti
  • CPU:Intel Core i7-6700K @ 4.00GHz

Steam log in gist.

@Sebastiangperez
Copy link
Author

Yesterday after long time not playing the game, i played and works great but still uses 2.5 gb of ram ( i dont know if is an issue)
Today i will try the text display stuff that someone mentioned above.

@kekonn
Copy link

kekonn commented Oct 11, 2019

Yesterday after long time not playing the game, i played and works great but still uses 2.5 gb of ram ( i dont know if is an issue)
Today i will try the text display stuff that someone mentioned above.

If you find a way to fix the text issue, it is allowed to use 6 GB of RAM for all I care.

@kekonn
Copy link

kekonn commented Oct 11, 2019

I found the following block in my Proton log:

Cell windowFocused not defined in ui.package    
Cell textfieldDropTarget not defined in ui.package    
Cell textfieldError not defined in ui.package    
Register Static Object: 10.18 ms    
Web ThreadLocal Init     
Request analytics server url    
Web ThreadLocal Init    
JSON parsing error: 3      
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
createTextWithViewParameters received unused views: #.COMMUNITY_TRANSLATION    
createTextWithViewParameters received unused views: #.DISCORD    
Web ThreadLocal Init    
Analytics server address: https://www.polymorph.games/analytics/    
Analytics HTTP result: 2313654    
Analytics HTTP result: OK

@unselchr
Copy link

unselchr commented Jan 1, 2020

I found the following block in my Proton log:

Cell windowFocused not defined in ui.package    
Cell textfieldDropTarget not defined in ui.package    
Cell textfieldError not defined in ui.package    
Register Static Object: 10.18 ms    
Web ThreadLocal Init     
Request analytics server url    
Web ThreadLocal Init    
JSON parsing error: 3      
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
JSON parsing error: 3    
createTextWithViewParameters received unused views: #.COMMUNITY_TRANSLATION    
createTextWithViewParameters received unused views: #.DISCORD    
Web ThreadLocal Init    
Analytics server address: https://www.polymorph.games/analytics/    
Analytics HTTP result: 2313654    
Analytics HTTP result: OK

I can confirm similar outputs for me after following all recommendations and with multiple installs/attempts. I also tried using wine tricks and proton tricks. Using proton 4.2-9
My System:

  • Manjaro 18.1.5
  • GPU: nvidia 1080
  • CPU amd ryzen 7 1800x
  • 32 gb ram

@jury68000
Copy link

The text translations is still missing and only shows the JSON keys.

This can easily be fixed by installing vcrun2017:
WINEPREFIX=/your_path_to_steamLibrary/steamapps/compatdata/690830/pfx winetricks -q vcrun2017

This did not help me. I still see those JSON keys instead proper labels :(

@marwonline
Copy link

marwonline commented Feb 2, 2020

I was using the free AMD driver of Manjaro and got always the shader error: gl_FragColor undeclared. RX580

With the properitary AMD driver for Archlinux AUR I'm able to start the game.

Still have two unresolved issues:

  • JSON replacement for localization (Installing vcrun2017 did not work for me. However I got a working pfx )
  • The background is broken. See imgage below EDIT: Also fixed by the donated pfx folder.

Bildschirmfoto zu 2020-02-02 12-09-10

EDIT:
Found this report on WineHQ: https://forum.winehq.org/viewtopic.php?t=32488

@kisak-valve
Copy link
Member

Hello @marwonline, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

@kisak-valve kisak-valve added the Mesa drivers Possibly involves an issue with a Mesa video driver label Feb 2, 2020
@marwonline
Copy link

@kisak-valve here the gist.
BTW: I got the pfx folder from @legodev and the localization works fine. Not sure what's wrong on my installation.

@hakzsam
Copy link

hakzsam commented Feb 3, 2020

@kisak-valve It's an OpenGL game, so Mesa drivers can be removed.

@kisak-valve kisak-valve removed the Mesa drivers Possibly involves an issue with a Mesa video driver label Feb 3, 2020
@RobertZenz
Copy link

@legodev Installing vcrun2017 does not fix the translation/string issue for me...did you install anything else?

@Danii0206
Copy link

Hi,

I played this game on Windows before. Now I switched to Linux Mint and I got this error:

Shader compilation Error
Shader: natives/color2d

Has anyone got it working with proton or wine on AMD graphics with mesa drivers?

Kind regards
Danii

@kaimast
Copy link

kaimast commented Apr 11, 2020

Shader compilation Error
Shader: natives/color2d

I have the same error with Intel graphics on Proton 5.0...

@MadByteDE
Copy link

MadByteDE commented Oct 19, 2020

@Vavooon could you check the owner of ../steamapps/compatdata/690830/pfx/dosdevices/c:/windows/system32/ucrtbase.dll ? seems like for some reason the file has been installed as another user and that's why you can't replace it with your permissions.

@Vavooon
Copy link

Vavooon commented Oct 19, 2020

Eventually it works! Thanks a lot everyone for your help!

So I'd like to write down all the required steps:

  1. Erase wine prefix for the game: rm -rf /home/$USER/.steam/steam/steamapps/compatdata/690830
  2. Run game (use Proton 5.13+, preview branch for now) and let it re-create prefix
  3. Download https://aka.ms/vs/15/release/vc_redist.x64.exe , extract it with cabextract -q VC_redist.x64.exe, then extract ucrtbase.dll from a10 directory inside the exe.
  4. Copy ucrtbase.dll into /home/$USER/.steam/steam/steamapps/compatdata/690830/pfx/drive_c/windows/system32/, confirm replace.

@Vavooon
Copy link

Vavooon commented Oct 19, 2020

@MadByteDE It's owned by my home user, nothing special. I believe it fails to override the file because cp should be executed with -r key or so.

@MadByteDE
Copy link

MadByteDE commented Oct 19, 2020

@Vavooon glad it worked now. Alright, good to know. You should add that you probably needed to install vcrun2017 first, then manually replace the ucrtbase.dll, or did it work without the rest?

@Vavooon
Copy link

Vavooon commented Oct 19, 2020

@MadByteDE Actually replacing the file is the only thing required to fix the issues.

@leo-polymorph
Copy link

Hi guys, I'm the technical director at Polymorph Games. First of all: thank you very much for the time and effort you put in invastigating those problems, it really helped us!

Since @smirgol reach out on the Steam forum to talk about the glsl compatibility issue we were able to deploy the fix on the preview branch, and it will reach the full content patch coming soon.

I've also been able to investigate the localization file loading issue, and it should be fixed too. What happened is that proton / wine just ignored our request to open the files as utf8 and was feeding us with row data. It was fixed by adding utf8 DOM in all our utf8 files.

I was not able to test the full game loading since I'm only running linux on a virtual machine (so I can't pass the opengl 4.3 check), but if that was really the last issue, the game should work without the vcrun2017 trick (once the new build will go live, version superior to 1.6.22).

Since the game is still in active developpment, I expect there will be other issues in the future. Even if linux is not our top priority, we'd like to still do what we can to make it easier to experiment Foundation on Linux. So don't hesitate to reach out to us on the Steam forum, or in our Discord, that will be the best way to make sure we're aware of new issues or ideas you have to fix the proton experience.

The discord: https://discord.com/invite/foundation
I recommand tagging Minotorious#0534 on #techsupport if you have news about the linux build

Cheers!

@leinardi
Copy link

@leo-polymorph It's so rare to see a game studio come in this issue tracker and actually offer any kind of help/support, thanks a lot!

@mastercoy
Copy link

I didnt knew this game before reading this comment. Your positon towards us, linux gamers, made me want to play it. Thank you and keep up the good work. @leo-polymorph

@MadByteDE
Copy link

@leo-polymorph Thanks for supporting us, it really means a lot!

@Sebastiangperez
Copy link
Author

@leo-polymorph Great News man , thanks.

@aeikum
Copy link
Collaborator

aeikum commented Oct 20, 2020

I've also been able to investigate the localization file loading issue, and it should be fixed too. What happened is that proton / wine just ignored our request to open the files as utf8 and was feeding us with row data. It was fixed by adding utf8 DOM in all our utf8 files.

Heya, Wine/Proton dev here. If you can give us more information about this bug we can work to fix it in Wine. Feel free to respond here, or email me at aeikum@codeweavers.com. Thanks!

@Sebastiangperez
Copy link
Author

I've also been able to investigate the localization file loading issue, and it should be fixed too. What happened is that proton / wine just ignored our request to open the files as utf8 and was feeding us with row data. It was fixed by adding utf8 DOM in all our utf8 files.

Heya, Wine/Proton dev here. If you can give us more information about this bug we can work to fix it in Wine. Feel free to respond here, or email me at aeikum@codeweavers.com. Thanks!

I love when people work together for a common purpouse, i wish the humans works like this in every field.

@leo-polymorph
Copy link

Hey @aeikum , here is the issue:
We have an utf8 file, without DOM, 'localization/locales.txt'
We open it that way:
_wfopen_s(&m_file, "localization/locales.txt", "rt, ccs=UTF-8");

according to MS doc, the file stream should treat it as utf8 encoded source and convert it to UNICODE as reading. This works as expected on Windows.

image

MS Doc: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fopen-s-wfopen-s?view=vs-2015

On proton, the system behaves as if we opened the file like this:
_wfopen_s(&m_file, "localization/locales.txt", "rt");

As a workaround, we added utf8 BOM to the file, and now proton reads the file as expected. This is not a problem for us to add the BOM, but it's a difference between windows & proton nevertheless.

@aeikum
Copy link
Collaborator

aeikum commented Oct 20, 2020

@leo-polymorph Understood, thanks very much for the explanation. We'll take a look.

@solacelost
Copy link

FWIW, Linux gamers, running the Preview build and running this script to add the UTF-8 BOM against the entire contents of the localization/en directory got the game up and running for me:
https://stackoverflow.com/questions/3127436/adding-bom-to-utf-8-files

@Vavooon
Copy link

Vavooon commented Oct 29, 2020

So after I installed the latest update (1.6.24.1028) the game appears to be fully working on Linux without applying any hacks.

@Sebastiangperez
Copy link
Author

So after I installed the latest update (1.6.24.1028) the game appears to be fully working on Linux without applying any hacks.

So, i close this issue or i let it open just in case ?

@leinardi
Copy link

Please keep it open.

@Sebastiangperez
Copy link
Author

Please keep it open.
OK!

@Gfurst
Copy link

Gfurst commented Nov 10, 2020

Hello all, first great work on finding the solution for the issue, the game works apparently flawlessly right now. But may I bring the attention that the issue with BOM still persists for modded content, running a batch script seems to have worked for me, I dunno if that's something the developer can change, but let it be known for any other user.

@PiotrCW
Copy link

PiotrCW commented Nov 26, 2020

I've sent patches that are meant to fix it to wine:
https://source.winehq.org/patches/data/196591
https://source.winehq.org/patches/data/196592

@julrich
Copy link

julrich commented Aug 7, 2021

Did anyone else experience that even starting the game seems to fail after a clean install?

Testing on current Proton (6.3-5). This is what I'm greeted by, after starting:
grafik

When manually setting the Proton version to 6.3-5, I'm getting a step further, but the game never actually starts :/
grafik

@MadByteDE
Copy link

Did anyone else experience that even starting the game seems to fail after a clean install?

Testing on current Proton (6.3-5).

Seems to be an issue with your setup, not with the game itself. Have you tried other games with Proton? You could post your system informations to see if someone can notice anything. My blind guess is an issue with permissions or another wineserver blocking the launch.. I had issues with the Steam flatpak package, if you use it you could try to install Steam from another source. If other games work fine then try to remove the prefix from your steamapps/compatdata directory and try again.

@leinardi
Copy link

leinardi commented Dec 10, 2021

Just a word of advice: the game does not seem to work anymore if MangoHud is enabled.

I wanted to play it again today after several months of pause and, when I tried to run it, I saw that was not even starting anymore. I wiped the wine prefix and switched different version of Proton but the result was the same.
I was about to collect logs to post here while, to add PROTON_LOG=1, I removed the mangohud %command% from my launch options... and the game started correctly.

Not sure who should look into this issue, if @flightlessmango, Proton or @leo-polymorph but I'm available to help anyone interested with logs and tests.

steam-690830.log

Console output
GameAction [AppID 690830, ActionID 9] : LaunchApp changed task to ProcessingInstallScript with ""
esync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
skipping config: /home/leinardi/.config/MangoHud/wine-explorer.conf [ not found ]
skipping config: /media/Steam/steamapps/common/Proton - Experimental/files/bin/MangoHud.conf [ not found ]
skipping config: /home/leinardi/.config/MangoHud/wine64-preloader.conf [ not found ]
parsing config: /home/leinardi/.config/MangoHud/MangoHud.conf [ ok ]
skipping config: /home/leinardi/.config/MangoHud/wine-explorer.conf [ not found ]
skipping config: /media/Steam/steamapps/common/Proton - Experimental/files/bin/MangoHud.conf [ not found ]
skipping config: /home/leinardi/.config/MangoHud/wine64-preloader.conf [ not found ]
parsing config: /home/leinardi/.config/MangoHud/MangoHud.conf [ ok ]
GameAction [AppID 690830, ActionID 9] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 690830, ActionID 9] : LaunchApp changed task to SynchronizingControllerConfig with ""
GameAction [AppID 690830, ActionID 9] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 690830, ActionID 9] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 690830, ActionID 9] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 690830, ActionID 9] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0PROTON_LOG=1 mangohud /media/Steam/ubuntu12_32/reaper SteamLaunch AppId=690830 -- '/media/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/media/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/media/Steam/steamapps/common/Foundation/foundation.exe' -fullscreen\0
Game process added : AppID 690830 "PROTON_LOG=1 mangohud /media/Steam/ubuntu12_32/reaper SteamLaunch AppId=690830 -- '/media/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/media/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/media/Steam/steamapps/common/Foundation/foundation.exe' -fullscreen", ProcID 114988, IP 0.0.0.0:0
chdir /media/Steam/steamapps/common/Foundation
ERROR: ld.so: object '/media/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/media/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/media/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/media/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libMangoHud.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/media/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/media/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/media/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 114993 != 114990, skipping destruction (fork without exec?)
GameAction [AppID 690830, ActionID 9] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 690830, ActionID 9] : LaunchApp changed task to Completed with ""
Game process updated : AppID 690830 "PROTON_LOG=1 mangohud /media/Steam/ubuntu12_32/reaper SteamLaunch AppId=690830 -- '/media/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/media/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/media/Steam/steamapps/common/Foundation/foundation.exe' -fullscreen", ProcID 115186, IP 0.0.0.0:0
Game process removed: AppID 690830 "PROTON_LOG=1 mangohud /media/Steam/ubuntu12_32/reaper SteamLaunch AppId=690830 -- '/media/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/media/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/media/Steam/steamapps/common/Foundation/foundation.exe' -fullscreen", ProcID 115186 
Game 690830 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList
Game 690830 created interface STEAMAPPS_INTERFACE_VERSION008 / Apps
Game 690830 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_004 / HTMLSurface
Game 690830 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP
Game 690830 created interface STEAMINVENTORY_INTERFACE_V002 / Inventory
Game 690830 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
Game 690830 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music
Game 690830 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / ParentalSettings
Game 690830 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION014 / RemoteStorage
Game 690830 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots
Game 690830 created interface STEAMUGC_INTERFACE_VERSION010 / UGC
Game 690830 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
Game 690830 created interface STEAMVIDEO_INTERFACE_V002 / Video
Game 690830 created interface SteamController006 / Controller
Game 690830 created interface SteamFriends015 / Friends
Game 690830 created interface SteamMatchMaking009 / Matchmaking
Game 690830 created interface SteamMatchMakingServers002 / MatchmakingServers
Game 690830 created interface SteamNetworking005 / Networking
Game 690830 created interface SteamUser019 / User
Game 690830 created interface SteamUtils009 / Utils
Game 690830 method call count for IClientAppManager::GetAppInstallState : 1
Game 690830 method call count for IClientUtils::RecordSteamInterfaceCreation : 22
Game 690830 method call count for IClientUtils::GetSteamUILanguage : 1
Game 690830 method call count for IClientUtils::GetAppID : 24
Game 690830 method call count for IClientUser::GetSteamID : 1
Uploaded AppInterfaceStats to Steam
No cached sticky mapping in ActivateActionSet.

System settings

@leinardi
Copy link

The issue seems to be already fixed on the master branch of MangoHud.

@ghost
Copy link

ghost commented Feb 5, 2022

Still can't Launch game in Linux.

@willismonroe
Copy link

willismonroe commented May 29, 2023

For some reason this game thinks that my Intel card is active rather than the AMD card in my desktop:
image

Other games work just fine in Steam with proton.

Here's the error message from the logfile:

Running on Intel GPU instead of AMD | Foundation detected a dedicated AMD graphics card in your system, however, the currently active card is an integrated Intel GPU.
To play with better performance, please ensure your monitor is connected to the AMD GPU output and not the motherboard iGPU output.

and a copy of the full logfile: https://pastebin.com/Kp24Yj6e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues Mesa drivers Possibly involves an issue with a Mesa video driver XAudio2 Uses the XAudio2 subsystem
Projects
None yet
Development

No branches or pull requests