LINUX SUPPORT IS HERE

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Re: LINUX SUPPORT IS HERE

Postby BlackYps » 15 Feb 2019, 20:01

i used your video guide and I can start downlords client now and also create games. I didn't join games yet because my internet connection is a bit crappy at the moment, but i noticed two things that I do not understand.

First: I have to start the client via
Code: Select all
./downlords-faf-client
being in the home directory and trying
Code: Select all
faf/downlords-faf-client
gives me the following error
Code: Select all
Error opening zip file or JAR manifest missing : lib/webview-patch.jar
Error occurred during initialization of VM
agent library failed to init: instrument

also just executing the file via double clicking doesn't work either.

Second: in game i don't see any particles. At first it didn't bother me, but after a while I noticed how much is effectively missing. It is really unpleasant to only see the scorch marks and not the burning napalm on top.

Any ideas how to fix this?
BlackYps
Avatar-of-War
 
Posts: 74
Joined: 15 Feb 2019, 19:46
Has liked: 7 times
Been liked: 31 times

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 15 Feb 2019, 20:51

hi! o/

as for the Downlord's client,
last time i've checked, it installed itself to "/opt/something..." and you had to launch the client from its directory otherwise it didn't work. there was no fix for that and i don't get why it was/is like that.

as for missing effects,
if you have an AMD card, some effects will be missing. i don't now why. i haven't seen a fix for that.


also, please test for long ingame time crashes. 50+ minutes ingame.
foodlfg wrote:- on the other hand my game always crashes when i play the game too long. can someone test this for me? is this the same for everyone on linux?
you don't have to do much just run a long replay in the background (10X speed whatever). for example a Giebmasse (search for his name) replay, he has long Setons games. the game always crashes for me when the "game time" reaches ~43:00 so pls chose a replay that is longer than 1 hour (1:00:00)


these crashes ruin the game for me so i haven't played seriously for a long time. :/
Tatsu said in the Proton github repo that enabling emulated desktop for wine + game running in windowed mode fixes the problem but this doesn't work for me, i still get crashes.
https://github.com/ValveSoftware/Proton ... -463391104

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

maybe gallium nine can help. the Ubuntu 18.10 mesa driver has it apparently, no need for installing a new one. you only need a gallium nine compatible wine which couldn't run the game for me back then. lol but it's worth trying again, i guess.


as you can see, this game's compatibility with linux/the wine environment is not the greatest. it works but not fully.
 
foodlfg
Avatar-of-War
 
Posts: 165
Joined: 17 Dec 2017, 19:28
Has liked: 22 times
Been liked: 69 times
FAF User Name: foodlfg

Re: LINUX SUPPORT IS HERE

Postby tatsu » 16 Feb 2019, 01:03

BlackYps wrote:Second: in game i don't see any particles. At first it didn't bother me, but after a while I noticed how much is effectively missing. It is really unpleasant to only see the scorch marks and not the burning napalm on top.

Any ideas how to fix this?


hi! thanks for the feedback. this isn't an amd specific issue as mentioned above. it happends on my nvidia as well.

wine has just never supported FA particles, sorry :/
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby BlackYps » 17 Feb 2019, 12:42

That's unfortunate to hear. I guess I will have to try a virtual machine with windows then.
Sadly, can't help you with investigating the crashes because I had to reinstall my machine yesterday and I am kinda unmotivated to set up faf again now that I know that I can't achieve a fully working game anyway :/

thank you both for the info!
BlackYps
Avatar-of-War
 
Posts: 74
Joined: 15 Feb 2019, 19:46
Has liked: 7 times
Been liked: 31 times

Re: LINUX SUPPORT IS HERE

Postby tatsu » 19 Feb 2019, 18:55

btw 1v1 and so on fixed if you put :

/home/t/.faforever/bin

in the execution directory slot (replace t with your $USER)
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby ZeRen » 20 Feb 2019, 09:02

tatsu wrote:btw 1v1 and so on fixed if you put :

/home/t/.faforever/bin

in the execution directory slot (replace t with your $USER)

what is "execution directory slot "? :shock:
User avatar
ZeRen
Evaluator
 
Posts: 641
Joined: 03 Aug 2014, 08:22
Has liked: 154 times
Been liked: 49 times
FAF User Name: ZeRen

Re: LINUX SUPPORT IS HERE

Postby tatsu » 20 Feb 2019, 09:09

ZeRen wrote:what is "execution directory slot "? :shock:

Screenshot from 2019-02-20 08-07-47.jpg
Screenshot from 2019-02-20 08-07-47.jpg (55.67 KiB) Viewed 1831 times
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby ZeRen » 20 Feb 2019, 12:57

thx,

tatsu, what is best way to uninstal java?I followed your new video quide and used those comand to instal java, but something went wrongI got this:

Code: Select all
No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be at least 1.8.0_152 and at most 1.8.0_999.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

so I wanna try to uninstall java completly and do clean install, and guides I found on internet are confusing foŕ me, as linux noob
User avatar
ZeRen
Evaluator
 
Posts: 641
Joined: 03 Aug 2014, 08:22
Has liked: 154 times
Been liked: 49 times
FAF User Name: ZeRen

Re: LINUX SUPPORT IS HERE

Postby Geosearchef » 20 Feb 2019, 14:54

That depends on the way you installed it. If it was via aptitude (apt-get) you can unistall using apt purge [package] or apt remove [package]. To get the java install location if installed manually you can run which java.

You don't need to uninstall though. Just download a jdk 10, unpack it somewhere you like and set an environment variable with the required name given in the error to this path (the jdk top folder, not the bin folder). Probably using the export command, you need to set it each time you launch a new session, so you could just add it to the end of your .bashrc file.
Developer, Server Admin, ICE, currently working on Team Matchmaking, FAF Client
User avatar
Geosearchef
Contributor
 
Posts: 392
Joined: 18 Oct 2013, 14:08
Location: Germany
Has liked: 6 times
Been liked: 127 times
FAF User Name: Geosearchef

Re: LINUX SUPPORT IS HERE

Postby tatsu » 20 Feb 2019, 20:04

ZeRen wrote:thx,

tatsu, what is best way to uninstal java?I followed your new video quide and used those comand to instal java, but something went wrongI got this:

Code: Select all
No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be at least 1.8.0_152 and at most 1.8.0_999.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

so I wanna try to uninstall java completly and do clean install, and guides I found on internet are confusing foŕ me, as linux noob

It looks pretty good to me. you just need to
Code: Select all
echo export INSTALL4J_JAVA_HOME=/usr/lib/jvm/jdk-10.0.2 >> ~/.bashrc

and then
Code: Select all
source .bashrc


new guide incoming since so damn much changed in the meantime but it won't be here until this weekend.

if you really really wanna remove java :
(first off, if you had another version of java installed before mine, run : )
Code: Select all
java -version

to get the version number, then just in case :
Code: Select all
sudo apt-get purge --auto-remove openjdk*

that may do nothing which it shouldn't but follow that up with (use the version number from above, if you have something different) (remove-all "java" might also work) :
Code: Select all
sudo update-alternatives --remove "java"  "/usr/lib/jvmjdk-10.0.2/bin/java"
sudo update-alternatives --remove "javac"  "/usr/lib/jvm/jdk-10.0.2/bin/javac"
sudo update-alternatives --remove "javaws"  "/usr/lib/jvm/jdk-10.0.2/bin/javaws"
sudo rm -rf /usr/lib/jvm

edit your /etc/environment in order to remove the java parts we added :
Code: Select all
sudo gedit /etc/environment

should look something like this when you're done :
Code: Select all
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

and remove
Code: Select all
export INSTALL4J_JAVA_HOME=/usr/lib/jvm/jdk-10.0.2

from your .bashrc

then :
Code: Select all
source .bashrc
source /etc/environment

done!

it's as if the java version I made you install was never on your system.
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

PreviousNext

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest