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

    Linux Support

    Scheduled Pinned Locked Moved I need help
    202 Posts 44 Posters 28.2k 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.
    • BigMamaMurderB Offline
      BigMamaMurder Banned @foodlfg
      last edited by

      @foodlfg My client insists on JDK11 so had to install it. Ubuntu 20.04.

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

        @LittleMissMurder
        yes? what do you want to say with this?
        you dont have an old version of java JRE on other distros?

        the new 1.2.0 client needs java 14 btw.
        i dont know if it is worse news or not. (if you are on Ubuntu 20.04, it is not)

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

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

          JDK (or rather JRE) 11 is still default but you can of course choose which version to install.

          How to setup FAF on linux

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

            well lets simplify this:

            • sudo apt install openjdk-14-jre
            • use: 1.2.0 client

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

            1 Reply Last reply Reply Quote 1
            • L Offline
              left_boy
              last edited by

              Gonna release 1.2.0 as soon as I get the motivation to get out of bed XD

              Soon™️

              1 Reply Last reply Reply Quote 1
              • L Offline
                left_boy
                last edited by

                Or not but soon

                Soon™️

                1 Reply Last reply Reply Quote 0
                • BigMamaMurderB Offline
                  BigMamaMurder Banned @foodlfg
                  last edited by

                  @foodlfg It doesn't matter anymore - the new client wants 14

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    left_boy
                    last edited by

                    yes it does

                    Soon™️

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      left_boy
                      last edited by

                      My game crashes as soon as the game starts:

                      > com/sun/javafx/webkit/prism/WCGraphicsPrismContext patching succeeded!
                      info:  D3D9DeviceEx::ResetSwapChain:
                      info:    Requested Presentation Parameters
                      info:      - Width:              1024
                      info:      - Height:             768
                      info:      - Format:             D3D9Format::A8R8G8B8
                      info:      - Auto Depth Stencil: false
                      info:                  ^ Format: D3D9Format::Unknown
                      info:      - Windowed:           false
                      info:  Setting display mode: 1024x768@60
                      info:  Presenter: Actual swap chain properties:
                      info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
                      info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
                      info:    Buffer size:  1024x768
                      info:    Image count:  3
                      info:    Exclusive FS: 0
                      info:  Presenter: Actual swap chain properties:
                      info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
                      info:    Present mode: VK_PRESENT_MODE_FIFO_KHR
                      info:    Buffer size:  1024x768
                      info:    Image count:  4
                      info:    Exclusive FS: 0
                      X Error of failed request:  BadWindow (invalid Window parameter)
                        Major opcode of failed request:  12 (X_ConfigureWindow)
                        Resource id in failed request:  0x8400036
                        Serial number of failed request:  6341
                        Current serial number in output stream:  6344
                      

                      Soon™️

                      1 Reply Last reply Reply Quote 0
                      • L Offline
                        left_boy
                        last edited by

                        I am Ubuntu 20.04 I have the lobby in windowed mode and the game is full screen I am using Proton 5.0-9 as recommened by the wiki.

                        Soon™️

                        1 Reply Last reply Reply Quote 0
                        • L Offline
                          left_boy
                          last edited by

                          Now if I try host a game it also crashes:

                          EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0043dd2d
                              attempted to read memory at 0x00000000
                          
                          Program : Z:\home\alex\.faforever\bin\ForgedAlliance.exe
                          Cmd line arguments : /init init.lua /nobugreport /log /home/alex/.faforever/logs/game_12616401.log /gpgnet 127.0.0.1:31353 /mean 1871.69 /deviation 98.0428 /savereplay gpgnet://127.0.0.1:36483/12616401/axel12.SCFAreplay /country ES /clan DEV /numgames 1648
                          
                          Callstack:
                          	EntryPoint + -1 bytes ((Unknown)(0) + 0 bytes)
                          
                          Last 100 lines of log...
                          
                          info: cam_ZoomAmount 0.40000000596046
                          info: ui_AlwaysRenderStrategicIcons 0
                          info: ui_ScreenEdgeScrollView 1
                          info: ui_ArrowKeysScrollView 1
                          info: ui_KeyboardPanSpeed 90
                          info: ui_KeyboardPanAccelerateMultiplier 4
                          info: ui_KeyboardRotateSpeed 10
                          info: ui_KeyboardRotateAccelerateMultiplier 2
                          info: SC_SecondaryAdapter false
                          info: ren_Skydome 1
                          info: graphics_Fidelity 1
                          info: shadow_Fidelity 1
                          info: ren_MipSkipLevels 1
                          info: cam_DefaultLOD 1
                          info: cam_SetLOD WorldCamera 1
                          info: cam_SetLOD WorldCamera2 1
                          info: cam_SetLOD CameraHead2 1
                          info: SC_CameraScaleLOD 1
                          info: ren_bloom 0
                          debug: Wavebank prepared: 23e920
                          debug: Wavebank prepared: 23fad8
                          debug: Wavebank prepared: 240f00
                          debug: Wavebank prepared: 2420b8
                          debug: Wavebank prepared: 243d68
                          debug: Wavebank prepared: 245b50
                          debug: Wavebank prepared: 247a70
                          debug: Wavebank prepared: 248c28
                          debug: Wavebank prepared: 24adb8
                          debug: Wavebank prepared: 24c588
                          debug: Wavebank prepared: 24e5e0
                          debug: Wavebank prepared: 26c6f0
                          debug: Wavebank prepared: 26d8a8
                          debug: Wavebank prepared: 26fc18
                          debug: Wavebank prepared: 270dd0
                          debug: Wavebank prepared: 271f88
                          debug: Wavebank prepared: 273140
                          debug: Wavebank prepared: 2742f8
                          debug: Wavebank prepared: 2754b0
                          debug: Wavebank prepared: 276668
                          debug: Loading module '\000/lua/maui/frame.lua\000'
                          debug: Loading module '\000/lua/ui/uimain.lua\000'
                          debug: Loading module '\000/lua/multiplayer/onlineprovider.lua\000'
                          debug: Loading module '\000/lua/ui/campaign/campaignmanager.lua\000'
                          debug: Loading module '\000/lua/multiplayer/gpgnet.lua\000'
                          info: GPGNET: entering idle state.
                          debug: Wavebank prepared: 26ea60
                          debug: Wavebank prepared: 277820
                          debug: Loading module '\000/lua/ui/lobby/lobby.lua\000'
                          debug: Loading module '\000/lua/version.lua\000'
                          debug: Loading module '\000/lua/ui/menus/menucommon.lua\000'
                          debug: Loading module '\000/lua/ui/game/tooltip.lua\000'
                          debug: Loading module '\000/lua/ui/help/tooltips.lua\000'
                          debug: Loading module '\000/lua/ui/maputil.lua\000'
                          debug: Loading module '\000/etc/faf/mapblacklist.lua\000'
                          debug: Loading module '\000/lua/ui/controls/radiobutton.lua\000'
                          debug: Loading module '\000/lua/ui/controls/mappreview.lua\000'
                          debug: Loading module '\000/lua/ui/controls/resmappreview.lua\000'
                          debug: Loading module '\000/lua/ui/texturepool.lua\000'
                          debug: Loading module '\000/lua/ui/controls/acubutton.lua\000'
                          debug: Loading module '\000/lua/gamecolors.lua\000'
                          debug: Loading module '\000/lua/maui/slider.lua\000'
                          debug: Loading module '\000/lua/ui/lobby/data/playerdata.lua\000'
                          debug: Loading module '\000/lua/ui/lobby/data/watchedvalue/watchedvaluetable.lua\000'
                          debug: Loading module '\000/lua/ui/lobby/data/watchedvalue/watchedvalue.lua\000'
                          debug: Loading module '\000/lua/factions.lua\000'
                          debug: Loading module '\000/lua/ui/lobby/data/gamedata.lua\000'
                          debug: Loading module '\000/lua/ui/lobby/data/watchedvalue/watchedvaluearray.lua\000'
                          debug: Loading module '\000/lua/ui/controls/togglebutton.lua\000'
                          debug: Loading module '\000/lua/ui/lobby/lobbycomm.lua\000'
                          debug: Loading module '\000/lua/ui/controls/textarea.lua\000'
                          debug: Loading module '\000/lua/ui/lobby/trueskill.lua\000'
                          debug: Loading module '\000/etc/faf/blacklist.lua\000'
                          debug: Loading module '\000/lua/ui/help/tooltips-country.lua\000'
                          debug: Loading module '\000/lua/system/dkson.lua\000'
                          debug: Loading module '\000/lua/ui/lobby/unitsanalyzer.lua\000'
                          debug: Loading module '\000/lua/ui/lobby/changelog.lua\000'
                          debug: Loading module '\000/lua/ui/controls/combo.lua\000'
                          debug: Loading module '\000/lua/ui/lobby/changelogdata.lua\000'
                          debug: Loading module '\000/lua/ui/lobby/aitypes.lua\000'
                          debug: Loading module '\000/lua/ai/customais_v2/sorianai.lua\000'
                          debug: Loading module '\000/lua/ui/lobby/lobbyoptions.lua\000'
                          info: /country
                          info: /init
                          info: /numgames
                          info: /mean
                          info: /clan
                          info: /deviation
                          info: GPGNET: setting nat handler to 0x1100c004
                          info: LOBBY: Game port 22094[UDP] opened.
                          info: LOBBY: starting with local uid of 53471 [axel12]
                          info: SC_PrimaryAdapter windowed
                          info: GPGNET: entering lobby state.
                          info:  { }
                          info:  { }
                          debug: Loading module '\000/lua/maui/effecthelpers.lua\000'
                          info: Supreme Commander: Forged Alliance version 3714
                          debug: Loading module '\000/lua/ui/lobby/chatarea.lua\000'
                          debug: Loading module '\000/lua/maui/statusbar.lua\000'
                          debug: Loading module '\000/lua/ui/controls/columnlayout.lua\000'
                          warning: Unable to load texture: _mappreview.dds
                          
                          

                          Maybe I should quit windowed mode but how

                          Soon™️

                          1 Reply Last reply Reply Quote 0
                          • L Offline
                            left_boy
                            last edited by

                            Ok ignore the top one I selected a broken map

                            Soon™️

                            1 Reply Last reply Reply Quote 0
                            • L Offline
                              left_boy
                              last edited by left_boy

                              When I try get the lobby back in full screen mode the game also crashed LOL. Seems like the game as a lot of issues on linux. Who told me I should try linux XD

                              Soon™️

                              1 Reply Last reply Reply Quote 0
                              • L Offline
                                left_boy
                                last edited by

                                I think it was working before I put it in windowed mode? Where is that stored how can i revert this. I tried deleting game.prefs but that had no effect

                                Soon™️

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

                                  it doesn't sound like you're using proton's run file

                                  did you add this to steam's launch option for FA ?

                                   PROTON_NO_ESYNC=1, PROTON_DUMP_DEBUG_COMMANDS=1 %command%
                                  

                                  the PROTON_DUMP_DEBUG_COMMANDS allows for the creation of a run file under /tmp/proton_$USER/

                                  you copy that file to you faf install dir and point to that file as the run arg for FA.

                                  How to setup FAF on linux

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

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

                                    @foodlfg can you please edit this video into your OP

                                    How to setup FAF on linux

                                    foodlfgF 1 Reply Last reply Reply Quote 0
                                    • L Offline
                                      left_boy
                                      last edited by

                                      Of course I have the script I copied it and I also set the options you are talking about. I am almost sure I did everything correctly. And it also worked. Till yesterday when it stoped working and I think it might be cause I am now in windowed mode. And also in the Exceptions the error is ralated to the window mode.

                                      I only have no way of changing the window mode cause that crashes it as well

                                      Soon™️

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

                                        just delete the config file and re-run from steam. yeah windowed mode doesn't play ball on linux, which is kinda funny because fullscreen mode doesn't play ball on windows.

                                        How to setup FAF on linux

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

                                          @axel12 said in Linux Support:

                                          And it also worked. Till yesterday when it stoped working and I think it might be cause I am now in windowed mode.

                                          remove / delete the game from the Steam library and reinstall it, i guess.

                                          usually the game works fine with one monitor + fullscreen
                                          (of course, why would anyone use windowed mode with one monitor...).
                                          if you want to do two and windowed mode, then experiment with it. :))

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

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

                                            @tatsu said in Linux Support:

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

                                            @foodlfg can you please edit this video into your OP

                                            ok, i did.

                                            however, i dont really like you chose oracle java.
                                            it just complicates stuff for people.
                                            and if some player has oracle setup and another one has openjdk setup, it makes harder to debug stuff.

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

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