FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Linux Support

    Scheduled Pinned Locked Moved I need help
    202 Posts 44 Posters 41.9k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tatsuT Offline
      tatsu @zorglub
      last edited by tatsu

      @zorglub yes it is indeed because you installed the flatpack version of steam. I recommend you delete that and any leftover steam files

      (do not attempt to have a flatpak steam simultaneously with a native steam that is a terrible idea)

      if you want to avoid redownloding the games you downloaded, you can take the folder in : steam called "common" that is under "steamapps" (if you right-click on the game in the steam library you can open the folder where the game is installed, then by going up one folder you'll have the "common" folder.) you can move that folder to another place, (say Documents) and then delete steam flatpak and install steam as a native.

      when you are here : https://store.steampowered.com/about/ it gives you the right file.

      you can run it by right clicking in empty space in the folder you downloaded steam to then selecting "open in terminal" and in the window that pops up, type in :
      (I'm assuming you're on Pop_OS, ubuntu, mint, kubuntu, Zorin,... basically debian based. if not and you're on Manjaro or something like that, you'll have to do something else like sudo pacman -S steam )

      sudo dpkg -i steam_latest.deb
      

      (you'll need to type in your password)

      then follow the steps and then you'll be able to run steam from your start menu.
      make sure to enable proton for all games in the options (steam was completely reinstalled so you need to do everything again)

      then you can close steam, move your "common" folder to :
      "~/.steam/steam/steamapps"

      then start steam back up and start the download for the games you previously had installed.

      steam will recognize the games are already in the right folder and simply "discover" them instead and then they'll be installed.

      then you can try again by giving steam the run arguments I talk about in my video
      run FA once from steam, go fetch the run file and put it in your FAF install dir and point to that in the FAF options.

      and you should be good to go.

      https://www.youtube.com/watch?v=Rv3ZXA4FNFk

      How to setup FAF on linux

      1 Reply Last reply Reply Quote 0
      • Z Offline
        zorglub
        last edited by

        Great, you confirm my suspicion.

        i'll try what you suggest when I got some time (i'll need to move other games too) 😃

        tatsuT 1 Reply Last reply Reply Quote 0
        • tatsuT Offline
          tatsu @zorglub
          last edited by

          @zorglub It really doesn't take long at all. the steam download of itself isn't very long.

          How to setup FAF on linux

          1 Reply Last reply Reply Quote 0
          • K Offline
            keyxmakerx
            last edited by

            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)
            
            1 Reply Last reply Reply Quote 0
            • K Offline
              keyxmakerx
              last edited by

              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,

              1 Reply Last reply Reply Quote 1
              • SpikeyNoobS Offline
                SpikeyNoob Global Moderator
                last edited by

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

                tatsuT 1 Reply Last reply Reply Quote 0
                • tatsuT Offline
                  tatsu @SpikeyNoob
                  last edited by tatsu

                  @spikeynoob https://forum.faforever.com/topic/12/linux-support/156

                  How to setup FAF on linux

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    Gzack
                    last edited by Gzack

                    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)

                    G 1 Reply Last reply Reply Quote 0
                    • G Offline
                      Gzack @Gzack
                      last edited by Gzack

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • Brutus5000B Offline
                        Brutus5000 FAF Server Admin
                        last edited by

                        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

                        He said, "I've been to the year 3000
                        Not much has changed, but they live underwater
                        And your great-great-great-granddaughter
                        Is playin' FAF, playin' FAF"

                        G 1 Reply Last reply Reply Quote 1
                        • G Offline
                          Gzack @Brutus5000
                          last edited by

                          @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.?

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            Sheikah
                            last edited by

                            We use the adoptOpen/temurin distribution for the client

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              Gzack
                              last edited by

                              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).

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                Gzack
                                last edited by

                                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!

                                D 1 Reply Last reply Reply Quote 0
                                • TheVVheelboyT Offline
                                  TheVVheelboy
                                  last edited by TheVVheelboy

                                  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

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    DrPatrickStar @Gzack
                                    last edited by

                                    @gzack Have you tried the Lutris launcher?

                                    G 1 Reply Last reply Reply Quote 0
                                    • G Offline
                                      Gzack @DrPatrickStar
                                      last edited by Gzack

                                      @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 😞

                                      D 1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        DrPatrickStar @Gzack
                                        last edited by

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

                                        1 Reply Last reply Reply Quote 0
                                        • tatsuT Offline
                                          tatsu
                                          last edited by

                                          @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

                                          How to setup FAF on linux

                                          1 Reply Last reply Reply Quote 0
                                          • E Offline
                                            Evan_
                                            last edited by Evan_

                                            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.

                                            T 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post