Supreme Commander: Forged Alliance (9420)
Works with WINE and has done for years. Doesn't start with Proton (blank screen).
it does start but the intro cutscene is very slow and makes it to seem like its just a blank screen. EDIT: it seems to be caused by esync, disabled in user_settings.py and works fine
Hello @gordan-bobic, 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.
Here is mine: https://gist.github.com/admalledd/c0e104947351c86c351e3b535e6f674d
And I confirm, disabling esync per @TheChosenEvilOne makes it work.
PS: I have to do /tmp/proton_run winecfg and select the "Automatically capture mouse" else it escapes to my other monitors.
Can also confirm its a esync issue. But i just disabled it for this game with the launch option
PROTON_NO_ESYNC=1 %command%
Probably better than disable esync for all games.
My Steam info: https://gist.github.com/OlliC/4cfd76dfa291bb19f55f
Confirmed that the blank screen is cured by PROTON_NO_ESYNC=1.
On to other problems
-
Not sure yet if this is SC:FA specific, but while the game is running, Steam is unaware that the game is running, e.g. if you Alt-Tab out of the game, you can start it again. This doesn't happen with native games.
-
Game is unresponsive to Alt-Enter and Alt-F4. This works on Windows, not sure if it works on standard WINE.
-
Setting Anti-aliasing too high (above 4), e.g. 8Q or 16 at very high resolution (5K) results in black screen with only a functioning mouse cursor.
Supreme Commander Forged Alliance
Issue transferred from https://github.com/ValveSoftware/Proton/issues/1487. @tatsujb posted on 2018-09-16T14:04:32:
Whitelist Request
- Name of the game to be whitelisted: Supreme Commander Forged Alliance
- Steam AppID of the game: 9420
System Information
- GPU: GTX 760
- Driver/LLVM version: nvidia 390.48 (I did not update to 396.54 but I suspect that it would also work)
- Kernel version: 4.15.0-34-generic
- Link to full system information: https://gist.github.com/tatsujb/275e7e3817dac46c7b1bce26b1e94c15
- Proton version: 3.7
I confirm:
- [X] that pressing the
Playbutton in the Steam client is sufficient. - [X] that runtime config options are necessary to run the game.
- [X] that no workarounds other than the mentioned ones are necessary.
Issues
- [ ] I haven't experienced any issues.
- [ ] There are no issues left open for this game.
- [X] Although I consider the gaming experience equal to Windows there are remaining issues:
The game runs perfect past the main menu.
(normally the games starts up to a black screen (you hear the intro video's audio but the screen is black))
I used to use alt-F4 to trick the graphics stack into refreshing by making the "do you really want to exit prompt" modal show up (which I then closed).
but thanks to this github's config section : https://github.com/ValveSoftware/Proton#runtime-config-options , I've figured out that actually, enabling PROTON_NO_ESYNC solves this in much cleaner fashion and utterly removes menu issues altogether and makes the game as a whole run identically to windows.
Off-Topic :
Is there a place I can get counsel on figuring out how to execute a game via proton but only in command-line?
Supreme Commander Forged Alliance's online community, despite using steam's Supreme Commander Forged Alliance is practically entirely on an online platform built around this game called Forged Alliance Forever, (aka FAF) which runs natively in Linux, in which case in a wine scenario, it does nothing specific, you simply point FAF to the bin directory in the same fashion you would under windows and the communication between the two apps happens flawlessly.
since under ubuntu 18.04.1 wine has ceased to work for a number of apps including Forged Alliance and since proton performs much better, doing all this with proton instead would be much better.
I hoped that running the app with the following commands was what steam did :
cd ~/.local/share/Steam/steamapps/common/Proton*
STEAM_COMPAT_DATA_PATH=/home/t/.local/share/Steam/steamapps/compatdata/9420 ./proton run /home/t/.local/share/Steam/steamapps/common/Supreme\ Commander\\ Forged\\ Alliance/bin/SupremeCommander.exe
but as it happens I must be missing some arguments or what steam does is completely different because this ends immediately with a popup error saying with PROTON_NO_ESYNC off :
Application load error P : 0000065615
or with PROTON_NO_ESYNC on :
Application load error P : 0000065434
whereas, via steam, it runs flawlessly
One of the nicest feature of the game is that it handles dual screen: you can have a strategic view of a screen, and a tactic view on another.
It looks like we lose this feature with Proton :cry:
@fistons we never had this feture under linux. proton is just Wine under the hood and wine itself doesn't have dual screen capabilities.
it's unfortunate, but it's Gaz Powered Game's fault (and non-fault) at the time they were making supreme commander "fake fullscreen" A.K.A. "borderless fullscreen" didn't exist.
when it finally came out it was just like "hey look, now that scaling is made easier and that graphics cards and screens have been communicating in much simpler ways we can just maximize a window to take every pixel of the screen, no need to change resolution uselessly to what it already was and better response time for switching back to the desktop at no cost"
and it was stupid simple and nobody could believe we hadn't thought of it before.
and implementations of dual screen that were costly cluncky and always had some bugs were now easy, rudimentary, reliable, robust and future proof.
the thing is, under windows most people use a hacked-in fake fullscreen anyways, I even made a script myself : https://forums.faforever.com/viewtopic.php?f=2&t=9778
the thing is you'll have to hack proton into "fake dualscreening" also. I've tried with wine, and never really got any success.
hopefully it might work this time around with proton.
I've noticed that this game, when run through Proton or naked Wine, is liable to a crash during gameplay where the game completely freezes and needs to be killed. I have my game log attached, near the end you can see where the error occurs (err:ntdll:RtlpWaitForCriticalSection) steam-9420.log
If not killed, that error shows up every minute or so (it retries).
EDIT: This can be most easily replicated by using an 81km map, with maximum number of AI. Takes between 5 and 20 minutes to produce.
Is there a way to launch the game through proton via command line?
The community lobby, mod manager, and re-balances/fixes seems to need to operate the game through the command line which seems to be problematic for proton.
https://forums.faforever.com/viewtopic.php?f=2&t=4507&start=620#p170186
@douglasg14b hey, good to see I'm not the only one asking for this, I asked this in this very thread : https://github.com/ValveSoftware/Proton/issues/688#issuecomment-421791298 hopefully something happens with this soon.
@tatsujb Are there any specific persons that are heavily involved in the proton project that we might be able to ping to get them to chime in on that?
There is someone with "valve" in their name subscribed to this issue. They might chime in on this when they get to that point in their notifications/emails. I imagine with a piece of software that has 1500+ issues the valve employees get quite a backlog.
On note: I also would quite like to see FAF runnable with Steam/Proton Supreme Commander.
@pipnina yeah it's possible the bug you mentioned : https://github.com/ValveSoftware/Proton/issues/688#issuecomment-447109059 isn't even reproducible when running with FAF. FAF fixed so many FA bugs.
@tatsujb Are there any specific persons that are heavily involved in the proton project that we might be able to ping to get them to chime in on that?
That would be @aeikum.
Is there a way to launch the game through proton via command line?
The community lobby, mod manager, and re-balances/fixes seems to need to operate the game through the command line which seems to be problematic for proton.
https://forums.faforever.com/viewtopic.php?f=2&t=4507&start=620#p170186
Depending on exactly what you need, you can use the PROTON_DUMP_DEBUG_COMMANDS thing to generate /tmp/proton_$USER/run. Then you can run /tmp/proton_$USER/run SomeExecutable.exe -WithParameters.
translation : open up file folder, search : user_settings.sample.py , rename to : user_settings.py, open with editor, uncomment : "PROTON_NO_ESYNC": "1",, add "PROTON_DUMP_DEBUG_COMMANDS": "1",
I'm still downloading FA. about to give it a spin.
@aeikum thanks a lot for this, you seemed to ask what we needed specifically.
well the first real issue is running FA with proton-steam from command line, this fails with errors ranging from Application load error P : 0000065615 to Application load error P : 0000065434
have you successfully run this game with command line? for me it only works from steam gui.
EDIT 1 :
huh, hadn't tried this in awhile but today I can't run it at all :

EDIT 2 :
okay so editing user_settings.py while the game is downloading is not a good idea because it'll be in the downloading folder while the game is downloading and only when it's done, it'll be moved to the proton folder.
So this time I waited untill the game had finished downloading to find and edit that file
I also forced the proton version to : 3.16-4
and now it runs. I'm going to try running it with command line now....
EDIT 3 :
ok so that's been several months coming, it works, omg aeikum where have you been?
for me it was :
/tmp/proton_t/run /home/t/.steam/steam/steamapps/common/Supreme\ Commander\ Forged\ Alliance/bin/SupremeCommander.exe
trying it in FAF now.
EDIT 4 :
omg this is everything I've striven for for months!!
it works !!!
the following settings will get you FAF + FA native with no wine needed !! (minus the "technically..." )
(FAF settings don't want the backslashes, I think it has to do with JAVA)

@tatsujb Can you write-up a summarized step-by step that we could copy/paste here and there? It's amazing that you did the ground work for this.
Does this actually work completely with FAF as if it where installed and configured under Wine? I so, this has made my week. And should be posted on the Linux thread on the FAF forums.
@tatsujb There should be no need to edit the user_settings.sample.py file.
Also note that the tmp folder is a poor place to keep the files since they may be removed on reboot.
You can set the launch options for the game in steam and it generates the appropriate /tmp/proton folder.
PROTON_NO_ESYNC=1 PROTON_DUMP_DEBUG_COMMANDS=1 %command%

@tatsujb Can you write-up a summarized step-by step that we could copy/paste here
If you want but I'm in the process of making a youtube video-guide which in my mind is even better (yes it will include a pastebin of copy-pastable commands)
@tatsujb There should be no need to edit the
user_settings.sample.pyfile. You can set the launch options for the game in steam and it generates the appropriate/tmp/protonfolder.
PROTON_NO_ESYNC=1, PROTON_DUMP_DEBUG_COMMANDS=1 %command%
yeah I'd forgotten about that way. I'll prefer this method in the on-screen instructions and in the attached pastebin.
Also note that the tmp folder is a poor place to keep the files since they may be removed on reboot.
is copying the folder contents to somewhere else viable? what I mean is, will proton recognize this or does it expect tmp specifically?