Glorious Alpha Two Testers!

Phase I of Alpha Two testing will occur on weekends. Each weekend is scheduled to start on Fridays at 10 AM PT and end on Sundays at 10 PM PT. Find out more here.

Check out Alpha Two Announcements here to see the latest Alpha Two news and update notes.

Our quickest Alpha Two updates are in Discord. Testers with Alpha Two access can chat in Alpha Two channels by connecting your Discord and Intrepid accounts here.

Linux Tips, Tweaks and Troubleshooting Thread

124»

Comments

  • icedownicedown Member, Alpha Two
    Guillemets wrote: »
    If you're using the netstat (I tried ss too) command in Steam launch options and still getting Error Code 406, getting rid of the netstat command and just pasting in the number each time works for now.

    I haven't had time to figure out why Steam isn't evaluating the command yet.

    Can you post what you are putting in the launch options? I'll see if I can see anything.
  • AzalrothAzalroth Member, Braver of Worlds, Kickstarter, Alpha One, Alpha Two, Early Alpha Two
    edited November 16
    I edit the first post for new players to see the full tutorial.

    I use
    eval $(%command% LauncherTetherPort=$(netstat -ulpn | grep wineserv | awk '{split($4, a , ":"); print a[2]}' ) -NOSPLASH -USEEOS=0)
    

    and it works fine. Think some people do the -USEEOS=0 outside the brackets which is not working.

    @Vaknar Would be awsome if you can pin this tread for new players to get Ashes work on linux. Because they ask in Discord and in the forums on a daily basis for it :)
    Silence is freedom...
  • ares20ares20 Member, Alpha Two
    Azalroth wrote: »
    I edit the first post for new players to see the full tutorial.

    I use
    eval $(%command% LauncherTetherPort=$(netstat -ulpn | grep wineserv | awk '{split($4, a , ":"); print a[2]}' ) -NOSPLASH -USEEOS=0)
    

    and it works fine. Think some people do the -USEEOS=0 outside the brackets which is not working.

    @Vaknar Would be awsome if you can pin this tread for new players to get Ashes work on linux. Because they ask in Discord and in the forums on a daily basis for it :)

    I can confirm this works for me as well. Thank you everyone for making this possible and sharing with us. I feel like I might have a few fps less than on windows but I need to double check. I guess I can t expect too much when my PC can't even meet the minimum required specs.

    Thanks again!
  • idiom444idiom444 Member, Alpha Two, Early Alpha Two
    edited November 16
    Thank you so much guys this is amazing. Finally got around to fiddling with it and am currently grinding away on linux!

    Anyone know how I could get gamescope working? My attempts have been futile since the AOCClient is seperate from the game client.
  • GuillemetsGuillemets Member, Alpha Two
    icedown wrote: »
    Can you post what you are putting in the launch options? I'll see if I can see anything.

    I just copy pasted again to make sure I'm not crazy.

    eval $(%command% LauncherTetherPort=$(netstat -ulpn | grep wineserv | awk '{split($4, a , ":"); print a[2]}' ) -NOSPLASH -USEEOS=0)
    

    Doesn't work for me, on NixOS. I'm not sure if Steam can't use netstat, or what my issue is but pasting in the value after just running the netstat command in a terminal works.
  • icedownicedown Member, Alpha Two
    edited November 16
    Try running
    netstat -ulpn | grep wineserv
    
    With the launcher and see if it gives the correct output. Some distros don't come with netstat or need other permissions.
  • idiom444idiom444 Member, Alpha Two, Early Alpha Two
    I had to download a package to enable netstat it wasn't on my system by default. I used net-tools on arch.
  • GuillemetsGuillemets Member, Alpha Two
    icedown wrote: »
    Try running
    netstat -ulpn | grep wineserv
    
    With the launcher and see if it gives the correct output. Some distros don't come with netstat or need other permissions.

    Netstat works fine via terminal. That's how I'm able to get the port to just paste in. I'm not on my PC today but I'll try to figure it out tomorrow. Not a huge deal to just paste in the value every time.
  • OffNixOffNix Member, Founder, Kickstarter, Alpha Two, Early Alpha Two
    Guillemets wrote: »
    icedown wrote: »
    Can you post what you are putting in the launch options? I'll see if I can see anything.

    I just copy pasted again to make sure I'm not crazy.

    eval $(%command% LauncherTetherPort=$(netstat -ulpn | grep wineserv | awk '{split($4, a , ":"); print a[2]}' ) -NOSPLASH -USEEOS=0)
    

    Doesn't work for me, on NixOS. I'm not sure if Steam can't use netstat, or what my issue is but pasting in the value after just running the netstat command in a terminal works.

    there's an extra space that should not be after the "print a[2]}')"

    here's the code that worked for me once:
    eval $(%command% LauncherTetherPort=$(netstat -ulpn | grep wineserv | awk '{split($4, a , ":"); print a[2]}') -NOSPLASH -USEEOS=0)
    

    in case wineserv doesn't give you a result, replace it with IntepridStud, that might be cause after the port it connects for launcher it will re-direct to another port for game servers
    and if you want to add mangohud add it after "$(" and before "%command%"
    my current launcher option looks like this:
    eval $(MANGOHUD=1 MANGOHUD_CONFIG=time,gpu_stats,gpu_temp,gpu_junction_temp,gpu_power,gpu_fan,cpu_stats,cpu_temp,cpu_power,vram,ram,swap,fps,frametime %command% LauncherTetherPort=$(netstat -ulpn | grep IntrepidStud | awk '{split($4, a , ":"); print a[2]}') -NOSPLASH -USEEOS=0)
    
    make sure to be careful as steam has a launch parameter character limit, it will work till a point then cuts out


    thank you all for the good work doing here
    o7
  • galifgrimscigalifgrimsci Member, Alpha Two
    edited November 17
    Crackity wrote: »
    If you're using a Steam Deck, you should swap out netstat for ss since netstat is depricated anyway. The command ends up like this:
    eval $(%command% LauncherTetherPort=$(ss -ulpn | grep wineserv | awk '{split($4, a , ":"); print a[2]}' ) -NOSPLASH)
    

    The game runs pretty bad on the SteamDeck. Haven’t fully tested it yet, so your mileage may vary.


    I cant seem to get it to load in on mine, what compatibility are you running it on? any other specifics that I may be missing? I can get in fine, its once I load my character the screen will get to about 12% black out and freeze the whole system requiring a restart of the deck on experimental.
  • carmstrongcarmstrong Member, Alpha Two
    Well I've been goofing with this for hours. I've triple-checked all of the instructions and confirmed I followed them. However, when I go to launch the game via steam I get a launch error from Easy anti-cheat

    Launch Error Settings.json not found.

    running linux mint 21.3
  • MayhemuXaMayhemuXa Member, Alpha Two
    Damn good work!
  • FunkychickenFunkychicken Member, Alpha Two, Early Alpha Two
    Thanks for everyones help with this. I have had a look and I have been hit with the black screen issue. No m ap on there, it just crashes the computer about 10 seconds after the loader gets to 12% within the game when it is a full black screen. The GPU usage goes to 90% for a few seconds and then nothing. I have tried all of the options but I still get the same result. I will turn logging on the client to see what the issue is. I have even tried window mode at 1024x768 with all graphics settings to low.

    As far as I am aware the launcher is OK and going into the game is OK. I think this must be something to do with graphics or something although other vulkan games work OK. I will do some more investigation and see what I can come up with.
  • kharfkharf Member, Alpha Two
    If netstat prints an error like "(Not all processes could be identified, non-owned process info
    will not be shown, you would have to be root to see it all.)" - you can adjust the command to redirect stderr to the null device. Be aware it redirects all errors.

    "netstat -ulpn 2>/dev/null | grep wineserver | awk '{split($4, a , ":"); print a[2]}'"
  • odostolonodostolon Member, Alpha Two
    I might have a really stupid question - trying to launch the game through steam gives me a DX12 error message:
    1iqg9h1taknr.png
    I can launch the client in bottles with the same launch options, but I get Error 406 if I use the fancy version that automatically picks out the port number, and a connection timeout if I paste the port number into the launch options manually...

    So first things first, anyone know how I can fix the DX12 error on steam?
  • kharfkharf Member, Alpha Two
    odostolon wrote: »
    I might have a really stupid question - trying to launch the game through steam gives me a DX12 error message:
    1iqg9h1taknr.png
    I can launch the client in bottles with the same launch options, but I get Error 406 if I use the fancy version that automatically picks out the port number, and a connection timeout if I paste the port number into the launch options manually...

    So first things first, anyone know how I can fix the DX12 error on steam?

    You need vkd3d-proton

  • odostolonodostolon Member, Alpha Two
    Thanks
  • GuillemetsGuillemets Member, Alpha Two
    Thanks for everyones help with this. I have had a look and I have been hit with the black screen issue. No m ap on there, it just crashes the computer about 10 seconds after the loader gets to 12% within the game when it is a full black screen. The GPU usage goes to 90% for a few seconds and then nothing. I have tried all of the options but I still get the same result. I will turn logging on the client to see what the issue is. I have even tried window mode at 1024x768 with all graphics settings to low.

    As far as I am aware the launcher is OK and going into the game is OK. I think this must be something to do with graphics or something although other vulkan games work OK. I will do some more investigation and see what I can come up with.

    Do you remember where you logged out? Yesterday I got unlucky and was in the same node as Highwayman Hills and had this issue. It happens on Windows too, I confirmed. It was a bad node on the server (2 actually) that was causing the weird black screen for everyone trying to log in.
  • FunkychickenFunkychicken Member, Alpha Two, Early Alpha Two
    Guillemets wrote: »
    Thanks for everyones help with this. I have had a look and I have been hit with the black screen issue. No m ap on there, it just crashes the computer about 10 seconds after the loader gets to 12% within the game when it is a full black screen. The GPU usage goes to 90% for a few seconds and then nothing. I have tried all of the options but I still get the same result. I will turn logging on the client to see what the issue is. I have even tried window mode at 1024x768 with all graphics settings to low.

    As far as I am aware the launcher is OK and going into the game is OK. I think this must be something to do with graphics or something although other vulkan games work OK. I will do some more investigation and see what I can come up with.

    Do you remember where you logged out? Yesterday I got unlucky and was in the same node as Highwayman Hills and had this issue. It happens on Windows too, I confirmed. It was a bad node on the server (2 actually) that was causing the weird black screen for everyone trying to log in.

    Yes I was at HH. Tried multiple times with multiple characters but still the same issue
  • galifgrimscigalifgrimsci Member, Alpha Two
    Yeah I tried on multiple characters as well. It would just get to twelve percent and black out. One time it got to eighteen percent. What's weird is I jumped on my windows and tried to log in and it did the same thing but it never terminated the application. I hit esc and the menu came up with still everything else black and everything slowly started popping up (map, ui, characters) and eventually loaded in.
  • WildBunnieWildBunnie Member, Alpha Two
    Well, the old "custom" environment stopped loading the launcher at all, so I deleted and setup a new one, this time looked promising, but now Cloudflare cannot verify my connection?!? Not sure what to do with that.

    p0o2b0yzcwi1.png

    Did you end up finding a way to fix this problem with cloudflare? I followed the instructions and ended up with this same problem.
  • FunkychickenFunkychicken Member, Alpha Two, Early Alpha Two
    I have been doing a bit of testing with bottles and steam with the launch options. Steam launches it OK with the settings which have been published with the options in the Launcher.

    If I try to use bottles with the same settings I am just hit with an error 406 which is the same as loading AOCClient.exe up without any parameters. amv36hqd09a5.png

    Every attempt tries to load up the graphics driver check:
    gzzzy413wva8.png

    If I use the steam launcher settings and put them in bottles I still get the error 9, so its picking up something thats different to the command with no arguments.
    0xdppbhozuc0.png
    ov9ac29koo6a.png

    If I manually put in the port number for the listener I dont get an error 406 or an error 9 but eventually after a long time of trying to connect I am faced with:

    7ibxcdwathod.png

    Which leads me to believe that something in bottles is not passing on the output of the netstat command correctly over to AOCCLient.exe and then the Win64 exe file.

    I have tried creating a system variable and a bottles variable with the port in but that doesnt work either. The interesting thing is that the steam version works and doesnt pop up with the graphics check or any of the errors which means there is something wrong with bottles




  • FunkychickenFunkychicken Member, Alpha Two, Early Alpha Two
    WildBunnie wrote: »
    Well, the old "custom" environment stopped loading the launcher at all, so I deleted and setup a new one, this time looked promising, but now Cloudflare cannot verify my connection?!? Not sure what to do with that.

    p0o2b0yzcwi1.png

    Did you end up finding a way to fix this problem with cloudflare? I followed the instructions and ended up with this same problem.

    When you did the setup of the new one, did you change any of the settings before you installed it ? I have noticed that if you change MSwebview to Windows 7 before installing it, that breaks it sometimes and you have to start again.
  • AzalrothAzalroth Member, Braver of Worlds, Kickstarter, Alpha One, Alpha Two, Early Alpha Two
    I have been doing a bit of testing with bottles and steam with the launch options. Steam launches it OK with the settings which have been published with the options in the Launcher.

    If I try to use bottles with the same settings I am just hit with an error 406 which is the same as loading AOCClient.exe up without any parameters. amv36hqd09a5.png

    Every attempt tries to load up the graphics driver check:
    gzzzy413wva8.png

    If I use the steam launcher settings and put them in bottles I still get the error 9, so its picking up something thats different to the command with no arguments.
    0xdppbhozuc0.png
    ov9ac29koo6a.png

    If I manually put in the port number for the listener I dont get an error 406 or an error 9 but eventually after a long time of trying to connect I am faced with:

    7ibxcdwathod.png

    Which leads me to believe that something in bottles is not passing on the output of the netstat command correctly over to AOCCLient.exe and then the Win64 exe file.

    I have tried creating a system variable and a bottles variable with the port in but that doesnt work either. The interesting thing is that the steam version works and doesnt pop up with the graphics check or any of the errors which means there is something wrong with bottles




    I guess the issue is, that bottles missing some runtimes which are in steam. This is a common issue und thats why GloriousEggroll want to switch the whole proton runtime to umu-launcher where all needed dependencies are. At the moment only Lutris supports umu-launcher, but its early testing. We need to wait until bottles adapt the umu-launcher, then all these issues should be gone and we can only focus on fixes which are then in a central database.

    https://github.com/Open-Wine-Components/umu-launcher
    Silence is freedom...
  • ArtusadArtusad Member
    edited November 19
    carmstrong wrote: »
    Well I've been goofing with this for hours. I've triple-checked all of the instructions and confirmed I followed them. However, when I go to launch the game via steam I get a launch error from Easy anti-cheat

    Launch Error Settings.json not found.

    running linux mint 21.3

    (Maybe someone answered it already but I'll post a quick solution here)

    I had the same issue because of Steam flatpack version. The flatpack version of steam creates weird shortcuts to the AOCClient.exe like "run/123412341234/AOCClient.exe" and might have other issues too.

    You should try the steam version via terminal (sudo apt install steam). This version correctly sets the paths to the AOCClient.exe and it works for me (Linux Mint 21.3 Cinnamon).

    You might need to start the game twice (when starting it the first time), because of an error/crash, but after that it should work. Something else I encountered: When the game crashes it also requires to be started twice to become playable again (a little annoying but better then nothing).

    ___

    Also thanks to the creators of this thread! The guide was nearly on point! <3
  • WildBunnieWildBunnie Member, Alpha Two
    WildBunnie wrote: »
    Well, the old "custom" environment stopped loading the launcher at all, so I deleted and setup a new one, this time looked promising, but now Cloudflare cannot verify my connection?!? Not sure what to do with that.

    p0o2b0yzcwi1.png

    Did you end up finding a way to fix this problem with cloudflare? I followed the instructions and ended up with this same problem.

    When you did the setup of the new one, did you change any of the settings before you installed it ? I have noticed that if you change MSwebview to Windows 7 before installing it, that breaks it sometimes and you have to start again.

    Ok, i reinstalled it without changing it to windows 7 and only changed it after installation and i got past the cloudflare check. I'm not sure if it "fixed it" tough since it didn't require me to click it manually it just passed the check by itself, but thank you anyways!
  • SkoltrSkoltr Member, Alpha Two
    edited 7:39AM
    Thank you guys so much for doing all the nitty gritty testing while I chickened out to Windows, realising I actually have more technical problems on Windows in general, and seeing this thread I'm now on Arch+Plasma (used to be on Arch+XFCE) and installing ashes right now I'll give some feedback in case people run into similar things.

    Note that I did a bare install without an additional network manager so there are some things I needed to get running, I'll try to not bring those up.

    for arch, there is no such thing as
    `sudo pacman -S bottles`
    The flatpak variant works though, or install through `yay` or build it yourself, I don't know if flatpak will have any performance issues, if anyone knows about that please comment.
    so for arch I think people would do (at least I think I did this):
    sudo pacman -S flatpak
    
    flatpak install flathub com.usebottles.bottles
    
    In my case I needed to reboot, as flatpak apps were not available initially, surely there is a better way than rebooting, but just sharing what helped for me.

    As for running the Launcher, all windows (besides the edge view) start off all black untill something changed, I did set the dxvk.conf to set the env var, and ensured it was active (did restart bottles, perhaps I need a reboot) I'll try this in a bit once ashes finished downloading.
    Edit: I failed to set the config correctly because I missed the comments, put your environment variables up like this (or wherever you put the config file)
    azscfvetmhrz.png


    For bottle installation folder it might be good to hint where the installation folder is, I didn't check if there was a entry in bottles itself, i noticed the windows directory (C Drive) for me is under `~/.var/app/com.usebottles.bottles/data/bottles/bottles/Ashes-of-Creation/`
    maybe this helps someone.

    A step I missed, which might be an obvious one, I could not launch the game after following the steps, I could when I enabled proton compatibility.
    [del]I did get an Error 406, and I have no idea what that one is, but perhaps I'll find out later.[/del]
    It seems I get no Realms 32 after rebooting and opening the launcher.
    That seems normal, lets see how it goes tomorrow. It starts WAY faster than on Windows though
Sign In or Register to comment.