These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Linux

 
  • Topic is locked indefinitely.
 

EVE Launcher for Linux

First post First post
Author
Christoph Schmidt
Hydrate.
#461 - 2016-12-14 05:50:09 UTC
Had been running Eve on Ubuntu 16.04 with no problems.
Installed an nVidia 1050 graphics card with nVidia binary driver 375.20, but haven't been able to use it yet,
undoubtedly due to my inexperience with PPAs. Ergo, still using the on-chip graphics, which worked fine.

I always start Eve this way:
sudo bash -x ~/Downloads/evelauncher/evelauncher.sh 2>&1 | tee CKlogN.file

[I wondered whether it was OK to have /evelauncher in /Downloads, but everything worked OK, so went with it.]
Last night, the Eve launcher wanted to update to 1104891.1051. After the update,
logged in, clicked the Play button, and nothing happened.

So here's the log file:
====
++ basename /home/xxxx/Downloads/evelauncher/evelauncher.sh
++ sed 's,.sh$,,'
+ appname=evelauncher
++ dirname /home/xxxx/Downloads/evelauncher/evelauncher.sh
+ dirname=/home/xxxx/Downloads/evelauncher
+ tmp=home/xxxx/Downloads/evelauncher
+ '[' / '!=' / ']'
+ LD_LIBRARY_PATH=/home/xxxx/Downloads/evelauncher:
+ export LD_LIBRARY_PATH
+ export QTDIR=/home/xxxx/Downloads/evelauncher
+ QTDIR=/home/xxxx/Downloads/evelauncher
+ export QT_PLUGIN_PATH=/home/xxxx/Downloads/evelauncher/plugins
+ QT_PLUGIN_PATH=/home/xxxx/Downloads/evelauncher/plugins
+ /home/xxxx/Downloads/evelauncher/evelauncher
[1213/203733:WARNING:resource_bundle.cc(291)] locale_file_path.empty() for locale
Installed Qt WebEngine locales directory not found at location /home/xxxx/Downloads/evelauncher/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /home/xxxx/Downloads/evelauncher/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
[1213/203733:WARNING:resource_bundle.cc(291)] locale_file_path.empty() for locale
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.

====< I clicked the Play button here.

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Server started
QWidget::setLayout: Attempting to set QLayout "" on QWidget "tableParent", which already has a layout
libpng warning: iCCP: known incorrect sRGB profile

====

I had LogLite running, but up to this point nothing was listed.
Then I clicked the Play button again, and about 7 items appeared in the list (3.4K of text exported), but still no Eve.
I have the exported text file if needed, but the second to the last line (before "exit with code 1") was

default "wine: /home/xxxx/.eve//wineenv is not owned by you"

Sort of wondering why there were two // in that msg, as /wineenv is right under /.eve,
but no doubt grasping at straws.

Hoping didn't spam the forum too much with junk logfile data...



Neuntausend
Republic Military School
Minmatar Republic
#462 - 2016-12-14 19:06:39 UTC
Christoph Schmidt wrote:
default "wine: /home/xxxx/.eve//wineenv is not owned by you"

Sort of wondering why there were two // in that msg, as /wineenv is right under /.eve,
but no doubt grasping at straws.

Don't worry about the double slash, that should not pose a problem. Just making a guess, did you at some point try running this with sudo permissions?

What's the output of the following command:

stat -c "%U %G" ~/.eve/wineenv 
Christoph Schmidt
Hydrate.
#463 - 2016-12-14 20:31:51 UTC
Hi, thanks...I always start the Launcher with
sudo bash -x ~/Downloads/evelauncher/evelauncher.sh 2>&1 | tee CKlogN.file

which starts the launcher and copies output to the logfile.
The output of the stat command is my username, twice.
Neuntausend
Republic Military School
Minmatar Republic
#464 - 2016-12-14 21:23:01 UTC
Not that I think it matters much, but what does the sudo do in that launch command?
Christoph Schmidt
Hydrate.
#465 - 2016-12-15 00:43:03 UTC
Well, I've only been using Ubuntu for about a year (having defected from Windows), so I'll still be a noob for some time yet. It seems that some commands return with a Linux equivalent of "huh?", and when I insert a 'sudo' at the beginning, the command does what I expect. I don't have a clear picture yet of which commands seem to need elevated privileges; sometimes it seems that commands entered while in a certain directory won't work without using sudo.
So that's one nice thing about ignorance, I guess--it heightens one's sense of wonder and mystery...
Roesjka
The Last Solution Inc
#466 - 2016-12-15 12:31:21 UTC  |  Edited by: Roesjka
Christoph Schmidt wrote:
Well, I've only been using Ubuntu for about a year (having defected from Windows), so I'll still be a noob for some time yet. It seems that some commands return with a Linux equivalent of "huh?", and when I insert a 'sudo' at the beginning, the command does what I expect. I don't have a clear picture yet of which commands seem to need elevated privileges; sometimes it seems that commands entered while in a certain directory won't work without using sudo.
So that's one nice thing about ignorance, I guess--it heightens one's sense of wonder and mystery...


When you are in your own directory normally there should be no need for elevated root commands.
Only specific commands need sudo, mostly related to system files, as it can harm your system badly.
For users sudo is normally not needed.

in a terminal you can see who owns the .eve directory, type ls -la and it will show the owner.
That directory and subdirectories and all the files should be owned by you and not root.

EVE should be installed as a user NEVER with sudo.

The proper command to start EVE is just
~/Downloads/evelauncher/evelauncher.sh or
Downloads/evelauncher/evelauncher.sh

If you have to you use sudo there is something seriously wrong with your setup.

As for your videocard, if you disable the onboard graphics in bios does buntu boot with the DE and bytheway which DE
do you use?

To make my life a bit easier I made a directory Games, installed various other games too, and unpacked the launcher there
with just tar -xf evelauncher-xxxxxxx.tar.gz, all as user NOT with sudo as that will unpack everything as root.
Did the install, while in that Games directory, with just evelauncher/evelauncher.sh

Cheers,

Retired UNIX/Linux IT Specialist.

AsRock 990FX Extreme4, FX-8320, 16GB mem, GTX 1070

y50-70, i7, 16GB mem, GTX 860M

Both running Debian stretch 64bit

Marshall Ragnor
Minmatar Death Squad
#467 - 2016-12-15 14:46:19 UTC
Big smileBig smileBig smileBig smileBig smile

Eve is working on my laptop Shocked Bye bye Windows

Acer Aspire with Nvidia graphics (needed optimus to work correctly)

Arch linux with openbox.

thanks guys

I followed Xiantra's instructions as well.
https://forums.eveonline.com/default.aspx?g=posts&m=6574414
Neuntausend
Republic Military School
Minmatar Republic
#468 - 2016-12-15 16:23:49 UTC  |  Edited by: Neuntausend
Christoph Schmidt wrote:
Well, I've only been using Ubuntu for about a year (having defected from Windows), so I'll still be a noob for some time yet. It seems that some commands return with a Linux equivalent of "huh?", and when I insert a 'sudo' at the beginning, the command does what I expect. I don't have a clear picture yet of which commands seem to need elevated privileges; sometimes it seems that commands entered while in a certain directory won't work without using sudo.
So that's one nice thing about ignorance, I guess--it heightens one's sense of wonder and mystery...

In any case, I'd recommend you stop using sudo for games and applications. It tends to break things and it's a risk to your system security. Delete ~/.eve and the launcher, download the launcher again and just start it either through

sh evelauncher.sh

or just

./evelauncher.sh

without using sudo or even su.
Roesjka
The Last Solution Inc
#469 - 2016-12-15 22:27:43 UTC  |  Edited by: Roesjka
Robin D'Ohara wrote:
I am a beginner (we can say a f*****g noob) in the use of linux environment.
How and where do i check if i still have libssl1.0.2

Linux Mint 17 Cinnamon 64-bit
Wine 1.6.2

EDIT : seems i found where, but i don't have libssl1.0.2 just have a libssl1.0.0
is it good or not ?

EDIT 2 : i'm not sure of my "where"

EDIT 3 : i've found some libssl but none are where you say, and seems to be a different version of your, so i don't know what to do



Your wine version is to old, try to get a later version for you mint distro or maybe upgrade to Mint 18.
As mint 17/18 are more based on Ubuntu try the version at https://wiki.winehq.org/Ubuntu.

Otherwise ask at the Minint forums. for the best option.

Cheers,

Retired UNIX/Linux IT Specialist.

AsRock 990FX Extreme4, FX-8320, 16GB mem, GTX 1070

y50-70, i7, 16GB mem, GTX 860M

Both running Debian stretch 64bit

Christoph Schmidt
Hydrate.
#470 - 2016-12-16 09:28:13 UTC
Thank you, Roesjka and Neuntausend, for your help. Responses:

1) Regarding root-owned objects. I used ls -la to survey /.eve and /evelaucher, listing items marked as root:
in /.eve,
updater
in /Downloads/evelauncher,
drwxr-xr-x 2 root root 4096 Dec 13 00:24 errorpage
-rwxr-xr-x 1 root root 1221980 Dec 13 00:24 evelauncher
-r-xr-xr-x 1 root root 312 Dec 13 00:24 evelauncher.sh
a few dozen links having names in the form [lib*.so*]

Thinking I should LEARN MORE LINUX, delete eve, and reinstall fresh. (Maybe not in that order...)

2) Regarding use of sudo:
xxx@yyyyy:~/Downloads/evelauncher$ evelauncher.sh
evelauncher.sh: command not found

This happens frequently. Looking for ways to do things, at sites like stackexchange, askubuntu, etc., I'd copy suggestions,
and use of sudo seemed common. Anyway, both

sh evelauncher.sh
and
bash -x ~/Downloads/evelauncher/evelauncher.sh 2>&1 | tee CKlogN.file

work! I didn't know about sh, bash didn't seem to work before this last launcher update.

3) As you both have been really helpful, kind of reluctant to get into the video card problem, but anyway...
-- I plugged my new EVGA GeForce 1050 Ti in the topmost PCIe slot in my tower.

-- I learned that the card isn't supported yet in 16.04, but I could get a PPA for nvidia-375, just out of beta I think, at
https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa

-- I did things like
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update

sudo apt-get install nvidia-375

In the Other Software tab of Software & Updates, added
deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial main
deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial main

-- So, in the Additional Drivers tab, there's a listing for Nvidia,
"Using NVIDIA binary driver - version 375.26 from nvidia-375 (open source)"

-- I did a couple of other things, such as installing mesa-utils. Details are, sadly, fuzzy at the moment. This was about a fortnight ago. I rebooted, and one of my two displays lit up, asking for my crypt password; I typed it in, but the text appeared not in the text field but in the upper-left corner of the screen, and the login didn't progress to asking for my account password.

-- Anyway, the BIOS graphics hardward option had been set to Auto. I set it to the graphics card in the PCIe slot, no joy. Set it to the on-board hardware, and looked for diagnostics procedures, such as

$lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c82 (rev a1)

$ find /dev -group video
/dev/fb0
/dev/dri/card0
/dev/dri/renderD128
/dev/dri/controlD64

$ glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
Vendor: Intel Open Source Technology Center (0x8086)
OpenGL vendor string: Intel Open Source Technology Center

$ cat /proc/driver/nvidia/version
cat: /proc/driver/nvidia/version: No such file or directory

$ apt-cache search nvidia | grep -P '^nvidia-[0-9]+\s'
nvidia-331 - Transitional package for nvidia-331
nvidia-346 - Transitional package for nvidia-346
nvidia-352 - Transitional package for nvidia-361
nvidia-304 - NVIDIA legacy binary driver - version 304.132
nvidia-340 - NVIDIA binary driver - version 340.98
nvidia-361 - Transitional package for nvidia-367
nvidia-367 - NVIDIA binary driver - version 367.57
nvidia-355 - NVIDIA binary driver - version 355.11
nvidia-358 - NVIDIA binary driver - version 358.16
nvidia-364 - NVIDIA binary driver - version 364.19
nvidia-370 - NVIDIA binary driver - version 370.28
nvidia-375 - NVIDIA binary driver - version 375.26 <<<< this is the one the 1050 card needs.

$ sudo apt-get install nvidia-375
[sudo] password for xxxx:
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-375 is already the newest version (375.26-0ubuntu0~gpu16.04.1). <<<<<<<
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-47 linux-headers-4.4.0-47-generic linux-image-4.4.0-47-generic linux-image-extra-4.4.0-47-generic
linux-signed-image-4.4.0-47-generic ubuntu-core-launcher
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ nvidia-settings
ERROR: Error querying enabled displays on GPU 0 (Missing Extension).
ERROR: Error querying connected displays on GPU 0 (Missing Extension).

** Message: PRIME: No offloading required. Abort
** Message: PRIME: is it supported? no

ERROR: nvidia-settings could not find the registry key file. This file should have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The application profiles will continue to work, but values cannot
be prepopulated or validated, and will not be listed in the help text. Please see the README for possible values and descriptions.

(So the NVIDIA X-Server Settings dialog came up, but the card wasn't listed.)

$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.
Make sure that the latest NVIDIA driver is installed and running.

So. I apologize for the probably hopelessly muddled reporting here. Would be grateful if y'all saw something like "OMG, you just have to flip this little switch over here, you twit!"
Kasarch
Techno Hive
Valkyrie Alliance
#471 - 2016-12-16 19:29:24 UTC
At last i was able to launch eve with this launcher.
Elementary OS Loki(ubuntu based).

Eve client started successfully after installing libldap-2.4-2:i386 package(thanks god for logs).
Neuntausend
Republic Military School
Minmatar Republic
#472 - 2016-12-17 00:53:19 UTC  |  Edited by: Neuntausend
Christoph Schmidt wrote:

xxx@yyyyy:~/Downloads/evelauncher$ evelauncher.sh
evelauncher.sh: command not found

This happens frequently. Looking for ways to do things, at sites like stackexchange, askubuntu, etc., I'd copy suggestions,
and use of sudo seemed common. Anyway, both

sh evelauncher.sh
and
bash -x ~/Downloads/evelauncher/evelauncher.sh 2>&1 | tee CKlogN.file

work! I didn't know about sh, bash didn't seem to work before this last launcher update.

evelauncher.sh

that wouldn't work. evelauncher.sh is basically just a text file you need to tell the system what to do with. It's not an executable binary, but a script (a script written for the shell, or sh in short, hence the file name extension ".sh"). If you just type in the file name of that script, it doesn't know what to do with that.

You'd either need to do

/some/folder/evelauncher.sh

or, if you are in /some/folder/ already

./evelauncher.sh

Why exactly it works if you just put a path in front of it is beyond me, but I know it does, and that's good enough for the time being.

Unlike evelauncher.sh,

sh

or

bash

are binaries, and their location is most certainly in your systems PATH variable, so the system knows what it's supposed to do with them (execute). If you call

sh evelauncher.sh

or

bash evelauncher.sh

then you are telling the system to start sh or bash, and you are telling sh or bash in turn to parse "evelauncher.sh" by specifying it as a parameter, in the same sense you could also do

nano evelauncher.sh

That would tell the system to start nano, and it would tell nano to load up evelauncher.sh

On the topic of your graphics drivers - this may be a question better suited for the ubuntu forums. I am not an ubuntu person myself, and all its colourful and oh so convenient clicky interfaces are basically just voodoo to me, but maybe I can figure something out.

First, try this:

dpkg-query -l 'nvidia*'

This should list all packages you currently have installed that are called nvidia-something. Then run

sudo apt-get purge nvidia-something nvidia-settings-something nvidia-whatever nvidia-foo nvidia-bar


for every nvidia package you have on your system, which will uninstall these packages and remove their configuration as well, followed by

sudo apt-get autoremove

which will remove all dependencies that have automatically been installed at some point.

For good measure, I'd also throw in a

sudo apt-get autoclean

which will delete the apt cache. This cache contains the files apt downloads before installing anything. If you clean it, apt will have to download a fresh version if you install the drivers again.

Then do

sudo apt-get install nvidia-375

to install the driver, and while a reboot should not be strictly necessary, reboot.

you can check afterwards which driver is in use with
lspci -k
Neuntausend
Republic Military School
Minmatar Republic
#473 - 2016-12-17 00:57:49 UTC
double post >_>
Christoph Schmidt
Hydrate.
#474 - 2016-12-18 01:45:29 UTC
Thanks Neuntausend and Roesjka! Felt like an urchin on a wintry night, nose pressed to the window, looking in...
Best regards,
Christoph
Batolemaeus
Mahlstrom
Northern Associates.
#475 - 2016-12-20 23:28:31 UTC
Neuntausend wrote:

You'd either need to do

/some/folder/evelauncher.sh

or, if you are in /some/folder/ already

./evelauncher.sh

Why exactly it works if you just put a path in front of it is beyond me, but I know it does, and that's good enough for the time being.



Because your pwd (current working directory) is not in your search path. Any unqualified command will be searched via PATH. If you add the path explicitly, your shell will find the binary. The ./ just refers to your current directory.

Also, look at the first line in evelauncher.sh:

Quote:
#!/bin/sh


The crunchbang is a magic word for the linux kernel that this file should be run with /bin/sh. So if you mark the script executable there will be no difference between the script and any compiled binary you can run. You can see this pattern reused everywhere to invoke python or perl or whatever else. Hell, save this as a file.html and chmod +x it:
Quote:

#!/usr/bin/xdg-open
Tada.

(i wanted to put html in there but the forum doesn't let me...)

You can now execute the file and (if you distro has /usr/bin/xdg-open...) it'll open your default browser.

Also, a reboot is definitely necessary when you screw around with the proprietary nvidia driver. It builds and inserts a kernel module, but the old one will still be running your display stuff until you reboot.


Also also, 'sh evelauncher.sh' is equivalent to './evelauncher.sh' if you've marked the file executable.
JDubYa Ahishatsu
Perkone
Caldari State
#476 - 2016-12-21 03:10:00 UTC
Does anyone know what to do about

line 14: 25473 Segmentation fault (core dumped) "$dirname/$appname" "$@"

I get the feeling it is having an issue with the dirname and or appname variable?

My launcher starts up and I can see the login screen but then it crashes
LeMorted'Authur
Caldari Provisions
Caldari State
#477 - 2016-12-21 23:57:28 UTC
[quote=CCP Snorlax]The EVE Launcher is now available for Linux. Note that this does in no way suggest that CCP is officially supporting Linux - this is just something I've been working on as a side project, and basically comes out of the work I've done for adding Wine support to the launcher for Mac.

This launcher is a native Linux application that downloads a version of Wine built by me, from the same source as the Wine version running on the Mac.

As we don't officially support Linux the test coverage is rather poor. I have an Ubuntu machine on my desk, and CCP Maxwell one on his. We've had some brave volunteers try this out and the results have been promising - we've had positive reports from players on Arch and Debian as well as Ubuntu. =quote]

1+

I don't normally say CCP does a good job with coding. But i felt switching to wine for mac was a way to expand into linux.
I am glad. TO see the eve potential player base expand.

Flying it like you stole it, because half of the others in eve have. 

Neuntausend
Republic Military School
Minmatar Republic
#478 - 2016-12-22 16:21:17 UTC
Batolemaeus wrote:
Because your pwd (current working directory) is not in your search path. Any unqualified command will be searched via PATH. If you add the path explicitly, your shell will find the binary. The ./ just refers to your current directory.

Also, look at the first line in evelauncher.sh:

Quote:
#!/bin/sh


The crunchbang is a magic word for the linux kernel that this file should be run with /bin/sh. So if you mark the script executable there will be no difference between the script and any compiled binary you can run. You can see this pattern reused everywhere to invoke python or perl or whatever else. Hell, save this as a file.html and chmod +x it:
Quote:

#!/usr/bin/xdg-open
Tada.

(i wanted to put html in there but the forum doesn't let me...)

You can now execute the file and (if you distro has /usr/bin/xdg-open...) it'll open your default browser.

Also also, 'sh evelauncher.sh' is equivalent to './evelauncher.sh' if you've marked the file executable.

Alright, makes sense I suppose.

Quote:
Also, a reboot is definitely necessary when you screw around with the proprietary nvidia driver. It builds and inserts a kernel module, but the old one will still be running your display stuff until you reboot.

stop the display server, use modprobe to unload the old module, load the new one and start up the display server again. Technically, you don't ever need to reboot, with the exception of kernel updates, which in many cases you don't need anyway. But for most machines, rebooting is just easier.
JDubYa Ahishatsu
Perkone
Caldari State
#479 - 2016-12-22 20:24:17 UTC
JDubYa Ahishatsu wrote:
Does anyone know what to do about

line 14: 25473 Segmentation fault (core dumped) "$dirname/$appname" "$@"

I get the feeling it is having an issue with the dirname and or appname variable?

My launcher starts up and I can see the login screen but then it crashes



So I gave the eve launcher an entry in my path and it brought up the launcher and then downloaded an update. After click install the client closed. Upon relaunching I get the same error as above ^^

am I making a simple rookie mistake here?

running CentOS 7
Lexx Golgo
Sebiestor Tribe
Minmatar Republic
#480 - 2017-01-01 04:08:48 UTC  |  Edited by: Lexx Golgo
Just wanted to report my success.

Firstly, for whatever reason ./evelauncher did not work, it complained about not finding xbc but it was indeed installed.

Moving forward, sh evelauncher.sh worked and it installed and updated but when I clicked play it acted like it was going to do it's thing but reverted back to pre-play clicking. Looked at the terminal and some error complaining about not seeing Steam so I installed and ran steam and then went back to "sh evelauncher.sh" and it ran without any issue.

Thank you very much for this, tho I do not consider myself a fresh out of the womb noob, I will say I am fairly behind the curve when it comes to fixing issues and im running Debian 8, well that's not entirely true, the Mint version of Debian and last time I tried to install wine in synaptics it said something to the affect that all sorts of things were going to be uninstalled and I didn't want to hose my system and passed on it, that and this particular machine is a bit slow and didn't want to take the performance hit on an already slow box. Long story short, guess I already failed... but thank you again for this and how it allowed me to avoid using wine, tho eventually ill have to man up as there is another program id like to install but that is neither here nor there.

Oh, and happy New Year!