Linux Support

Evening!

I successfully got Downlords client up and working finally, but now that I have I can't seem to get it to work. I keep getting Error Code 2, with the error text below.

(I did have some trouble the past two days trying to stay logged in and even connecting, though that issue seems to have subsided as today it went without a hitch but I'm unable to get past this error)

As always, any assistance would be appreciated.

java.lang.RuntimeException: Forged Alliance Crashed with exit code 2. See  for more information
at com.faforever.client.game.GameService.lambda$spawnTerminationListener$43(GameService.java:676)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)

Forgive me, I found my mistake. Finally found tatsu's video and found out I needed to point the executible of the run file in the preferences. However, I do have 1 last problem I hope.

I have to start the game in windowed mode. Currently, it runs only in full screen and i only get a black screen with severe lag when moving my mouse from the audio moving over the icons. If i run via steam directly, it uses the /windowed mode just fine, however even after setting windowed mode in the game.pref file (copied and pasted from the windows version that works just fine) It still only opens in full screen.

Thanks,

I am getting the stuck in full screen bug. Is there a fix for it yet?

Hello, I'm having issues launching the client now. Not sure where I'm going wrong. I have the correct JDK installed but I get java errors after the client splash screen closes.

(Edit: Removed log)

@gzack I was able to get past this error by using v2021.10.0, however, I still have a Java exception that occurs during login.

šŸ˜ž I don't like using Java.

FYI the new pre-release has moved to Java 17, so this should be less problematic for Linux users.
https://github.com/FAForever/downlords-faf-client/releases/tag/v2022.3.0-alpha-1

"Nerds have a really complicated relationship with change: Change is awesome when WE'RE the ones doing it. As soon as change is coming from outside of us it becomes untrustworthy and it threatens what we think of is the familiar."
ā€“ Benno Rice

@brutus5000 said in Linux Support:

FYI the new pre-release has moved to Java 17, so this should be less problematic for Linux users.
https://github.com/FAForever/downlords-faf-client/releases/tag/v2022.3.0-alpha-1

That's great news! Does the development team have a specific distribution of Java 17 that they are targeting? OpenJDK, AdoptOpenJDK, Azul, etc.?

We use the adoptOpen/temurin distribution for the client

Still no luck. I'm not sure what to do at this point. I've tried many versions of the client and of Java. Using Artix and DWM (if that matters).

Is it possible to install the mod separately from the client? I love FAF and regardless of my issues I'd like to at play against AI. Thanks!

The faf client already allows you to run normal AI games through it so that shouldn't be a problem. I'd say there is more benefits to getting it than not, especially if you wanna run the game with mods or new maps.

Oh rip, didn't see that it's not that you don't want it but rather are unable to get it running. But yes it should be possible to get the faf balance running without the client. Anyway if you have faf installed already you can just run the game with the exe and it should have the faf balance applied without the need to go through the client.

Also I forgot that client doesn't come with the game files so here is the mirror:
https://forum.faforever.com/topic/3151/mirrors-for-slow-downloads

@gzack Have you tried the Lutris launcher?

@drpatrickstar Yes both, and neither worked.

I'm not sure how to approach this anymore. I've tried using the old python client, tried getting a friends files and just running the game by itself. I can't figure it out šŸ˜ž

@gzack
Weird, Lutris works super well for me, despite nothing else working.
Can you tell me at what point Lutris install breaks down?

@Gzack I have no idea what you're doing or why you're having this experience.
using FAF on linux is easy. you just do this:

(in this video where java 14 is mentioned just do java 17 instead) :
https://www.youtube.com/watch?v=Rv3ZXA4FNFk

Hi guys, I am trying to install Faf on linux and running into an issue with protontricks (step 5 of https://wiki.faforever.com/en/FAQ/Client-Setup). I am able to install all the programs, and the protontricks folder populates, however, when trying to run ./protontricks 9420 dlls d3dx9 there is no executable file for it to run ('file or directory not found').

Aside from this, I am able to follow the installation guide, create an FA profile, and set up faf etc. The only issue is that FA gives me a black/frozen screen both in steam and FAF, presumably because I couldn't complete step 5.

I am running Ubuntu 20.0.4 with OpenJDK 17. So far I have tried proton experimental, 5.0, and 7.0-2. I have tried installing protontricks first and installing steam FA first. All other steam games and all features of the faf client are working well. Has anyone else had any experience with this?

edit: does graphics card matter? I am using Mesa IntelĀ® UHD Graphics 620 (KBL GT2) on my laptop.

@evan_ For graphics cards for Linux gaming AMD is the best because their drivers are opensource. You can get external GPU enclosures like the Razer Core X though it would depend on how mobile you are.

06040cbb-332d-431c-9d92-7243b893f64b-image.png

Never Fear, A Geek is Here!

Hi i installed FAF today

with some guides

and this worked

heres my guide
https://pastebin.pl/view/23c24008

i had major problems with java environment
and the essential run script and essential faf.desktop run script

now its working like a charme

Thank you both, I'll check out that guide and see how it goes.