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

    Linux Support

    Scheduled Pinned Locked Moved I need help
    202 Posts 44 Posters 41.8k 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
      last edited by tatsu

      hmm. well I'm not certain proton experimental would fix it.

      Could you try this? :

      • move your steamapps folder to somwhere safe.
      • purge and delete steam and all steam-related files.
      • run "Additional Drivers" and put the mesa driver back.
      • reboot.
      • install and run steam.
      • run "Additional Drivers" again and put the nvidia 450 driver back.
      • reboot.
      • run FA with whatever proton version and args (I recommend mine, I'm pretty sure it'll work)

      now test to see in FAF if it gets beyond 30 mins.

      How to setup FAF on linux

      1 Reply Last reply Reply Quote 0
      • foodlfgF Offline
        foodlfg @SlowHands89
        last edited by

        @SlowHands89
        i

        • installed Vulkan tools for popos/ubuntu because otherwise i would not have gotten Vulkan support
        • used Proton 4.11
        • and i enabled the Vulkan translation for proton (it is not enabled by default in this proton version). more about this here: Solution 2
          https://wiki.faforever.com/index.php?title=Setting_Up_FAF_Linux#Performance_issues

        with this i could get a stable game (45min+). but only with Proton 4.11. nothing else worked. and i have an AMD GPU

        nice ghetto streams: https://www.twitch.tv/foodlfg

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

          The mighty @p4block (that's our server guru by the way) gave us this:
          https://gist.github.com/p4block/8d947f85fa707b433af359a699b367fb

          Downloads a prebuilt binary wine/proton setup that should run out of the box on any distribution regardless of your current installation state.

          If anybody wants to try it, feedback is appreciated.

          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"

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

            works brilliant

            it's FA in offline mode.

            Don't have any use for that but if I start wanting to play Ai skirmishes that I can save and load, why not

            How to setup FAF on linux

            NathmateN G 2 Replies Last reply Reply Quote 0
            • NathmateN Offline
              Nathmate @tatsu
              last edited by Nathmate

              I had to change line 8 to match where my SupCom was installed (appears to be a typo there anyway, "steampps"). Otherwise works well, I was getting atrocious performance in the score screen on Proton 5.0

              @tatsu said in Linux Support:

              works brilliant

              it's FA in offline mode.

              Don't have any use for that but if I start wanting to play Ai skirmishes that I can save and load, why not

              In Downlord's FAF client change in Settings -> Forged Alliance Forever -> Command Line Format for Executable to

              /path/to/run_faf.sh "%s"

              To use it in FAF.

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

                Yeah I thought it was obvious to set up as the launcher script in the client 😉

                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"

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

                  oh yeah!

                  What's fantastic about that is that we can just put it into the wiki and it'll make my video tutorial obsolete [ a good thing! ] or I can make a new one showing this script instead.

                  FAF installation on linux is now EVEN easier as it no longer requires a first run from steam (or for steam play for all titles to be enabled, for that matter if you only play FAF).

                  How to setup FAF on linux

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

                    If it's stable we might even add this into the client directly 🤔

                    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"

                    tatsuT 1 Reply Last reply Reply Quote 1
                    • foodlfgF Offline
                      foodlfg
                      last edited by foodlfg

                      lol this is in the script:

                      This game is just weird
                      Please reimplement in Spring engine

                      i had more problem installing spring on linux than FAF btw.
                      random crashes even. random crashes even on Windows. lol

                      nice ghetto streams: https://www.twitch.tv/foodlfg

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

                        I dunno, BAR works fine for me. but yeah I'm hard at work on something of that nature as you two already well know 😉 but that's enough offtopic for this thread.

                        @Brutus5000 said in Linux Support:

                        If it's stable we might even add this into the client directly 🤔

                        😮 that would be ....AWESOME

                        How to setup FAF on linux

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

                          If you want to spam unit you can remap the command because if you're on ubuntu alt + f2 spam the command

                          1 Reply Last reply Reply Quote 1
                          • C Offline
                            cotton @Nathmate
                            last edited by

                            @nathmate said in Linux Support:

                            I had to change line 8 to match where my SupCom was installed (appears to be a typo there anyway, "steampps"). Otherwise works well, I was getting atrocious performance in the score screen on Proton 5.0

                            @tatsu said in Linux Support:

                            works brilliant

                            it's FA in offline mode.

                            Don't have any use for that but if I start wanting to play Ai skirmishes that I can save and load, why not

                            In Downlord's FAF client change in Settings -> Forged Alliance Forever -> Command Line Format for Executable to

                            /path/to/run_faf.sh "%s"

                            To use it in FAF.

                            Yes, I concur - works brilliantly.

                            Have been running FAF under Wine successfully for the past year but recently been getting memory exceptions. This alternative is an excellent replacement.

                            Just one minor anomaly in Nathmate's instructions: in the current zip file from the github page, the start file is named run-faf.sh not run_faf.sh

                            1 Reply Last reply Reply Quote 1
                            • SereiyaS Offline
                              Sereiya
                              last edited by

                              Made a Lutris install script, this should make it even easier for new people since that tool is quite popular. Right now it's just for the Steam version, but the retail disc is already in my drive and gog version bookmarked. 🙂

                              https://forum.faforever.com/topic/1657/linux-install-script-lutris

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

                                @tatsu said in Linux Support:

                                works brilliant

                                it's FA in offline mode.

                                Don't have any use for that but if I start wanting to play Ai skirmishes that I can save and load, why not

                                Oh my goodness finally I can run FAF. Thank you all!

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  Cyborg16
                                  last edited by

                                  Does Proton 6.3 work for you? I get no very useful feedback when trying to launch; it just quits quickly:

                                  wineserver: using server-side synchronization.
                                  wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
                                  Setting breakpad minidump AppID = 9420
                                  Steam_SetMinidumpSteamID:  Caching Steam ID:  <number> [API loaded no]
                                  
                                  SereiyaS tatsuT 2 Replies Last reply Reply Quote 0
                                  • SereiyaS Offline
                                    Sereiya @Cyborg16
                                    last edited by

                                    @cyborg16 Starts perfectly fine for me with 6.3, although 5.0 is still recommended.

                                    Did you remember using "PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 %command%" as start parameters?

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      Cyborg16
                                      last edited by Cyborg16

                                      Already had PROTON_NO_ESYNC there but not the other. Either way it starts from Steam but not from the command-line or Downlord's client.

                                      Edit: 5.13 also doesn't work. 4.11 does work, as does 5.0.

                                      1 Reply Last reply Reply Quote 0
                                      • MazorNoobM Offline
                                        MazorNoob
                                        last edited by

                                        Try removing and recreating the prefix, 5.13 onwards uses containers.

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          Cyborg16
                                          last edited by

                                          Thanks for the suggestion, but that didn't work either. If I remove steamapps/compatdata/9420, set Steam to use Proton 6.3-5 and try to launch through Steam, it fails:

                                          warning: z:\home\me\games\steamlibrary\steamapps\common\supreme commander forged alliance\gamedata\effects.scd\effects\cartographic.fx: unable to compile effect: z:\home\me\games\steamlibrary\steamapps\common\supreme commander forged alliance\gamedata\effects.scd\effects\cartographic.fx reason: unknown error
                                          

                                          Doing the same with Proton 5.13-6 works through Steam, but still won't load, e.g. trying to load a local replay (command copied from Downlord's client):

                                          $ /home/me/games/faf/run-proton-5.13 /home/me/.faforever/bin/ForgedAlliance.exe /init init.lua /nobugreport /log /home/me/.faforever/logs/game_14792563.log /replay /home/me/.faforever/cache/temp.scfareplay /replayid 14792563
                                          wineserver: using server-side synchronization.
                                          Setting breakpad minidump AppID = 9420
                                          Steam_SetMinidumpSteamID:  Caching Steam ID:  <number> [API loaded no]
                                          

                                          Running with Proton 5.0 using this prefix works however. Guess I'll stick with that for now.

                                          The main issue I have is that ACU upgrade effects are not visible; also I think the Cybran ACU gun is less visible than it should be. Small thing.

                                          Oh, I'm using these launch options in Steam; they may be outdated:

                                          PROTON_USE_D9VK=1 DXVK_HUD=full PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 PROTON_DUMP_DEBUG_COMMANDS=1 %command%
                                          
                                          SereiyaS 1 Reply Last reply Reply Quote 0
                                          • tatsuT Offline
                                            tatsu
                                            last edited by

                                            @Cyborg16 did you try pointing faf to this script instead of to the steam run file : https://gist.github.com/p4block/8d947f85fa707b433af359a699b367fb

                                            How to setup FAF on linux

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