LINUX SUPPORT IS HERE

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 28 Aug 2019, 21:47


Proton Re-Based To Wine 4.11, Adds D9VK Direct3D 9, Better CPU Utilization & DXVK 1.3
https://www.phoronix.com/scan.php?page= ... 1-Released

In addition, Proton 4.11 takes things further by now shipping D9VK (v0.13f) as the experimental Vulkan-based Direct3D 9 implementation...
But for now this D9VK support is only enabled via the PROTON_USE_D9VK setting...

Why no one told me about this? xD

I cannot test it now, i've just installed Pop OS 19.10 after my Ubuntu 18.10 fell apart.
I'm really not okay with Gnome3 (on Ubuntu 18.10) it began freezing up on me every now and then. Other environment, Mate started to lose video playback (ex: youtube) in Chrome, Firefox etc. D:
I'm not sure that Pop OS 19.10 is better but we will see.
 
foodlfg
Avatar-of-War
 
Posts: 155
Joined: 17 Dec 2017, 19:28
Has liked: 22 times
Been liked: 64 times
FAF User Name: foodlfg

Re: LINUX SUPPORT IS HERE

Postby callcifer » 28 Aug 2019, 22:51

A lot of us had immediate desyncs with any Proton version except 3.16, so I'm not very hopeful about 4.11...
callcifer
Crusader
 
Posts: 25
Joined: 31 Mar 2019, 20:34
Has liked: 2 times
Been liked: 13 times
FAF User Name: callcifer

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 29 Aug 2019, 17:54

Bro, Tatsu just wrote here that the latest version of Proton (4.11) is OK. xD
We have desync problems with 4.2-9 btw not with 3.16 (that was good).


Vulkan test with Proton 4.11-3
I've tried Vulkan btw today, just the base game (no faf) and Vulkan works for me, the Vulkan hud appears and i got nice FPS.
I'm on Pop OS 19.04, which is basically Ubuntu 19.04 but for Ubuntu you might need to install Vulkan libraries.
My launch options were:
PROTON_USE_D9VK=1 DXVK_HUD=full PROTON_NO_ESYNC=1 PROTON_DUMP_DEBUG_COMMANDS=1 %command%
GPU:
Radeon RX 560, Mesa 19.0.8
 
foodlfg
Avatar-of-War
 
Posts: 155
Joined: 17 Dec 2017, 19:28
Has liked: 22 times
Been liked: 64 times
FAF User Name: foodlfg

Re: LINUX SUPPORT IS HERE

Postby Raindogg » 07 Sep 2019, 14:17

Unfortunately the 4.11-3 version still produce the following error on longer games with a lot of units.

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0095854f
attempted to write memory at 0x01f60000

It is practically impossible for me to enter a game with more than 6 players that will go into late game with t3 and experimentals
Raindogg
 
Posts: 3
Joined: 07 Sep 2019, 14:13
Has liked: 0 time
Been liked: 0 time
FAF User Name: Raindogg

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 07 Sep 2019, 14:46

yeah. i have the 47+ min crash with 4.11-3 too even with D9VK enabled.

Tested with 2h long #9621034 replay:
Proton 4.11-3, D9VK is enabled, minimap enabled - CRASHES
Proton 4.11-3, D9VK is enabled, minimap disabled - OK

i've tested only once so it might change but still, try to disable the minimap.
the enabled minimap and split view definitely have something to do with it. i don't think it's unit count or player count related. GPU/driver is indifferent too.


i have enabled D9VK (directx to Vulcan translation) in the script that i use to launch the client:
Code: Select all
export DXVK_HUD=devinfo,fps,version
export PROTON_USE_D9VK=1

export INSTALL4J_JAVA_HOME=~/games/faf/jdk-10.0.2

./downlords-faf-client



EDIT
Proton 4.11-3, D9VK is enabled, minimap disabled - CRASHES

i've tested again. installing Proton 3.16-6 Gallium Nine Extras 0.3.0
https://github.com/popsUlfr/Proton/releases
that was always ok for me.
 
foodlfg
Avatar-of-War
 
Posts: 155
Joined: 17 Dec 2017, 19:28
Has liked: 22 times
Been liked: 64 times
FAF User Name: foodlfg

Re: LINUX SUPPORT IS HERE

Postby Raindogg » 07 Sep 2019, 16:00

I had the minimap disabled all the time and PROTON_USE_D9VK=1 in the steam launch options.
I will give it a try using your script as well.
Got all day for gaming today :), will post some results.
Raindogg
 
Posts: 3
Joined: 07 Sep 2019, 14:13
Has liked: 0 time
Been liked: 0 time
FAF User Name: Raindogg

Re: LINUX SUPPORT IS HERE

Postby Raindogg » 07 Sep 2019, 17:01

Quick update
First game on seton's clutch 32min crash

So Proton 4.11-3 does not solve the problem.
Will give Gallium a go now


Ok it sems that installing d9vk solved all the issues
https://forums.faforever.com/viewtopic.php?f=2&t=4507&start=840#p176596
Last edited by Raindogg on 07 Sep 2019, 20:31, edited 1 time in total.
Raindogg
 
Posts: 3
Joined: 07 Sep 2019, 14:13
Has liked: 0 time
Been liked: 0 time
FAF User Name: Raindogg

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 07 Sep 2019, 17:13

for gallium nine, i've just installed it:

installed:
https://github.com/popsUlfr/Proton/releases
https://ubuntu.pkgs.org/19.04/ubuntu-ma ... 6.deb.html

- force steam to use Proton 3-16.6 Galium Nine beta
- launch commands: PROTON_GALLIUM_NINE_MODULEPATH="/usr/lib/i386-linux-gnu/d3d/d3dadapter9.so.1" PROTON_USE_GALLIUM_NINE=1 PROTON_NO_ESYNC=1 PROTON_DUMP_DEBUG_COMMANDS=1 %command%
- start the game from steam

- change your Run file under the FAF client
- added to the client launch script:
Code: Select all
export INSTALL4J_JAVA_HOME=~/games/faf/jdk-10.0.2

export PROTON_GALLIUM_NINE_MODULEPATH="/usr/lib/i386-linux-gnu/d3d/d3dadapter9.so.1"
export PROTON_USE_GALLIUM_NINE=1

./downlords-faf-client


i'm testing it now.


Note: Gallium Nine only works with open source AMD (already installed) and Nvidia (Nouveau) drivers.
 
foodlfg
Avatar-of-War
 
Posts: 155
Joined: 17 Dec 2017, 19:28
Has liked: 22 times
Been liked: 64 times
FAF User Name: foodlfg

Re: LINUX SUPPORT IS HERE

Postby tatsu » 07 Sep 2019, 17:16

guys make sure to keep this thread updated with the current status of proton if you want to see it be fixed: https://github.com/ValveSoftware/Proton/issues/688
Run FAF + FA on linux, you can automate the whole install and setup process :
https://github.com/tatsujb/installFAFscript
User avatar
tatsu
Supreme Commander
 
Posts: 1475
Joined: 02 Jul 2012, 21:26
Has liked: 1794 times
Been liked: 160 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 07 Sep 2019, 18:33

well,

it crashes with Proton with gallium nine and Proton with d9vk enabled too at (gametime) 43~ min.
quite sad.

i'm not sure gallium nine worked tho. it didn't gave me error at launch, but i will try to leave a out the .so library to see if it crashes at launch or it just falls back to normal Proton...

Code: Select all
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0095854f
    attempted to write memory at 0x01f60000

Program : Z:\home\aa\.faforever\bin\ForgedAlliance.exe
Cmd line arguments : /init init.lua /nobugreport /log /home/aa/.faforever/logs/game.log /replay /home/aa/.faforever/cache/temp.scfareplay /replayid 9621034

Callstack:
   EntryPoint + -1 bytes ((Unknown)(0) + 0 bytes)

Last 100 lines of log...

info: Particle cap exceeded, discarding excess.
info: Particle cap exceeded, discarding excess.
 
foodlfg
Avatar-of-War
 
Posts: 155
Joined: 17 Dec 2017, 19:28
Has liked: 22 times
Been liked: 64 times
FAF User Name: foodlfg

PreviousNext

Return to General Discussions

Who is online

Users browsing this forum: Morax and 1 guest