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.
123Next pageLast page
 

[Closed]HOW TO: Ubuntu 14.04 LTS with Eve (And most other lesser distr

Author
Kismeteer
Bat Country
Pandemic Horde
#1 - 2014-05-08 18:36:50 UTC  |  Edited by: Kismeteer
AttentionAttentionThis thread is only for historical use, please use the new stickied thread for the launcher!
AttentionAttention













AttentionONLY USE UBUNTU LTS All non-LTS releases are not to be trusted, unless you like messing with it constantly!

This is how to play eve with most modern versions of Linux, like all the cool kids in EG. I use Ubuntu 14.04 LTS because the LTS branch tends to be more stable than most other distros. Plus, it's Debian under the hood and I can install experimental packages if I want.

Note: My shell scripts use 'e1' as eve with launcher, and 'v1' without launcher. The launcher is slow and unreliable on Linux, but necessary to patch. This is due to an SSL bug associated with wine.

  1. Install Ubuntu 14.04 LTS: You can use desktop, or server if you're a masochist like me. These ship with wine 1.6.2, which is perfectly fine to run eve, but please install 1.7. I like LTS because it's not as unstable as other desktops, but you can install unstable stuff if you want the 'latest'.
  2. Install your video driver: I have an Nvidia GeForce card, so I use an nvidia driver. If you have a radeon, that's AMD, you need a different driver. I was using 'sudo apt-get install nvidia-current', with Settings | Software & Updates | Additional Drivers | Nvidia Proprietary. You can see your video card easily with 'lspci | grep -i vga' When in doubt, search google for linux and your video card's exact model. Note: You must reboot after installing a new video driver!
  3. Install Wine 1.7: (wine 1.6 included by default is buggy with SSL) sudo add-apt-repository ppa:ubuntu-wine/ppa; sudo apt-get update ; sudo apt-get install wine1.7
  4. Install Eve: Download the offline installer files ( http://community.eveonline.com/support/download/offline-installer/ ) and navigate to it with a file manager. Right click select 'Run as Wine Windows Loader'. If you can't run it, you might have to fix a permission. Graphical verison: http://i.imgur.com/Qh6D1.png
  5. Pick location: I chose C:\Games\CCP\EVE. (I changed Program Files (x86) to Games)
  6. Setup a few shell scripts.
  7. "This is your 'no updates' shell script. I save this in ~/bin/v1" wrote:

    # This runs in .wine, with standard display, using the desktop variable 'eve1' with a size, with a location.
    /usr/bin/env WINEPREFIX="$HOME/.wine" DISPLAY=":0.0" wine explorer /desktop=eve1,1024x768 "C:\Games\CCP\EVE\bin\exefile.exe" \/triPlatform=dx9

    "# This is your launcher shell script. Use it when you have updates to run. I save this in ~/bin/e1" wrote:

    # This runs in .wine, with standard display, using the desktop variable 'eve1' with a size, with a location.
    /usr/bin/env WINEPREFIX="$HOME/.wine" DISPLAY=":0.0" wine explorer /desktop=eve1,1024x768 "C:\Games\CCP\EVE\eve.exe" \/triPlatform=dx9

  8. Multibox: For multiple instances, you copy ~/bin/v1 to ~/bin/v2, and edit the file to use 'eve2' instead of 'eve1' on the command line. This can be as many as your machine can handle.
  9. Patch eve: After the install is complete, it will start the launcher itself. The launcher sometimes fails to load, this is due to an SSL bug particular to Linux unique to wine 1.6. Just wait for it to finish validating and patching though. If it fails, you can run the ~/bin/v1 script. When you launch eve in the future, use the v1 script.
  10. Launch eve: After you are patched, you can launch, and it will take awhile to launch the first time, particularly the EULA.
  11. Disable Captain's Quarters: Go to Settings | video Settings | uncheck 'load station environment'. You want to avoid loading Captain's Quarters. Alternately, you can just click the 'leave captain's quarters' while docked.
  12. Change to Fixed Window: Go to Settings | Display & Graphics | Windowed or Full Screen and set this to Fixed Window. This will make eve run inside the wine window.

Here is a script that will setup 3 instances for you as well:
Quote:

# Can skip this section if you have a bin directory setup and in path
mkdir ~/bin
PATH="${PATH}:~/bin" ; export PATH
# Fix up your multibox environment, the \ does a line break for easy editing.
echo '/usr/bin/env WINEPREFIX="$HOME/.wine" DISPLAY=":0.0" wine explorer \
/desktop=eve1,1024x768 "C:\Games\CCP\EVE\bin\exefile.exe" \/triPlatform=dx9' >~/bin/v1
echo '/usr/bin/env WINEPREFIX="$HOME/.wine" DISPLAY=":0.0" wine explorer \
/desktop=eve2,1024x768 "C:\Games\CCP\EVE\bin\exefile.exe" \/triPlatform=dx9' >~/bin/v2
echo '/usr/bin/env WINEPREFIX="$HOME/.wine" DISPLAY=":0.0" wine explorer \
/desktop=eve3,1024x768 "C:\Games\CCP\EVE\bin\exefile.exe" \/triPlatform=dx9' >~/bin/v3
# Use this to patch when needed
echo '/usr/bin/env WINEPREFIX="$HOME/.wine" DISPLAY=":0.0" wine explorer \
/desktop=eve1,1024x768 "C:\Games\CCP\EVE\eve.exe" \/triPlatform=dx9' >~/bin/e1
# Make all these shell scripts executable:
chmod a+x ~/bin/[ev][1-3] # FANCY, warning will match e2 and e3.
echo "You can run e1 to patch, and then v1 or v2 or v3 to play without the launcher."


You should be ready to login to eve. (You are most likely still bad at playing eve though.) If you have issues on Linux, post a paste of the exact error and we'll help you out. Please include your OS (cat /etc/lsb-release), wine version (wine --version), and video card (lspci | grep -i vga). For nvidia card, if module is loaded (lsmod | grep -i nvidia) and your nvidia driver version (nvidia-settings) is good.

Mine:
2015/08/26 - Ubuntu 14.04.3 LTS server, wine-1.7.50, NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2), nvidia 352.30 proprietary
dantes inferno
State War Academy
Caldari State
#2 - 2014-05-08 18:56:38 UTC
hax
Viktor Konstantine
Republic Military School
Minmatar Republic
#3 - 2014-05-17 20:18:47 UTC
I have everything up and running but my mouse is doing silly things in-game which is making it more or less unplayable. When I try and do something simple like click on a menu edge to resize a window, the camera will go spinning wildly and it will take a double-click on or in the window before the cursor changes and allows me to resize. Navigating in space and through the overview is very difficult as well, if not impossible. I experienced this in Wine 1.6 as well as 1.7.18.

Fresh install of Ubuntu 14.04 LTS, wine-1.7.18, NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1)
Kismeteer
Bat Country
Pandemic Horde
#4 - 2014-05-18 00:26:56 UTC  |  Edited by: Kismeteer
Make sure you are using the proprietary drivers, and do a full restart of X. Consider turing off the station environment together as well.

Is your load okay? Are you using too much memory? Make sure to turn down the graphics settings. If you are using too many resources, your experience can be majorly impacted. Do a 'free 'k' to see your memory use when eve is running, to make sure it's not that.

Anyway, just some ideas.


"Older stuff" wrote:

Has been needed in the past, you can ignore it.
# this is commented out, but here if you want to test overrides, which some people have needed.
apt-get install winetricks
export WINEDLLOVERRIDES="msvcr100,msvcr90,msvcr80=n,b;msvcrt=b,n"
#/usr/bin/aoss is optional if you want to use aoss for sound
echo '/usr/bin/env WINEPREFIX="$HOME/.wine" DISPLAY=":0.0" /usr/bin/aoss wine explorer \
/desktop=eve1,1024x768 "C:\Games\CCP\EVE\bin\exefile.exe"' >bin/v1

Some use 'playonlinux', a wine front end as well. Just do apt-get install playonlinux to install it.
Viktor Konstantine
Republic Military School
Minmatar Republic
#5 - 2014-05-18 13:56:14 UTC  |  Edited by: Viktor Konstantine
No dice on any of that I'm afraid. I was running the proprietary driver, installed via the software & updates gui, but I ran an apt-get install nvidia current and it looks like that downgraded me from 331.38 to 304. It had no effect on Eve but it seems to have hosed the resolution of my secondary display, just for fun(EDIT: Fixed with driver update).

Everything loads just fine, and memory usage does not seem disproportionately high. It's almost as if the game is not registering the fact that my mouse button is going back up after I press it, maybe? If I click in space, the camera will focus to where I've clicked, and then if I click again it will jump over to that location immediately. It's very strange, and it only seems to happen in Eve, everything else works normally.
Viktor Konstantine
Republic Military School
Minmatar Republic
#6 - 2014-05-18 15:15:52 UTC  |  Edited by: Viktor Konstantine
Additionally, manually installing the latest Nvidia drivers, 331.67, has had no effect. Something to do with Wine, maybe...? I've never used it before so I'm completely lost with troubleshooting it.
Kismeteer
Bat Country
Pandemic Horde
#7 - 2014-05-19 13:27:51 UTC
Try running winecfg, and attempt the 'Graphics | capture the mouse in full-screen windows' and see if it's any different. There are a couple different checkboxes ([ ] checkbox) in there to try out.

I have never heard of this, but maybe a search on the more serious WINE forums could shed some light?
Mikail Thiesant
Catiz is NOT my empress
#8 - 2014-05-19 19:23:04 UTC
Viktor Konstantine wrote:
It's almost as if the game is not registering the fact that my mouse button is going back up after I press it, maybe? If I click in space, the camera will focus to where I've clicked, and then if I click again it will jump over to that location immediately. It's very strange, and it only seems to happen in Eve, everything else works normally.



This sounds to me as the ALT+TAB problem. Few short topics on this issue here and here Basically the control keys (ALT, CTRL, some report TAB too) are being registered as pressed when you alt tab (or ctrl+alt+-> to another desktop). So you need to press them once again to cancel that.

Hope it helps.
Learned Vagrant
Black Horse Logistics Industries
#9 - 2014-05-27 08:16:42 UTC  |  Edited by: Learned Vagrant
First question: How do I get to the console?

Also, how do I bring up Help?
Torgeir Hekard
I MYSELF AND ME
#10 - 2014-05-27 09:45:10 UTC
Learned Vagrant wrote:
First question: How do I get to the console?

In an innumerable kind of ways.
Personally I get to console via ALT+~ courtesy of yakuake. Technically the most universal way to get to console would probably be ALT+CTRL+F1(-F8), but that would be too console for everyday use. Probably you'd want to find something terminal something somewhere among the applications installed.
Learned Vagrant wrote:

Also, how do I bring up Help?

man. man man for starers. But you'd want to start with google.
Kismeteer
Bat Country
Pandemic Horde
#11 - 2014-05-27 14:28:17 UTC
Learned Vagrant wrote:
First question: How do I get to the console?

Also, how do I bring up Help?


Control-alt-T is my personal favorite shortcut, in most windows managers. But going to the 'start' button in the upper corners and going to system terminal is another way.

And for help, I also back the 'google' thing. there are youtube videos out there that walk you through most linux things.
Learned Vagrant
Black Horse Logistics Industries
#12 - 2014-05-27 15:17:42 UTC
Cool. Thanks.
Delmond Conagher
Aliastra
Gallente Federation
#13 - 2014-05-27 17:37:08 UTC
Quote:
This is your 'no updates' shell script. I save this in ~/bin/v1

Do you mean /bin and not ~/bin or I do not understand something?
Learned Vagrant
Black Horse Logistics Industries
#14 - 2014-05-27 18:33:17 UTC
Ok. I'm using Sakura as the terminal (It was the first package I saw that sid 'Terminal')

I guess I didn't understand everything about updating the video drivers. I have a Radeon HD 4600. I tried replacing nvidia with radeon and the response was that it couldn't find radeon or current. Now that I think of it, i left out the '-'. However, when I looked in the directory you mention thathad your nvidia driver in it, I don't have anything. How do I get something like the Radeon driver in there. I know that's not very clear, but I can't see your post now.

Speaking of video, I have two monitors. Right now they both show the same thing. How do I extend one into the other? It would help to be able to look at your post and have another screen to follow the directions on.

I did get Wine installed successfully.

Also, how do I create a script?

I've already got Eve installed on the other Hard drive, which I can see, It's in C:\Program Files\CCP\Eve\. I noticed that, in the script, you put in a path like that. Do I need to do anything special to tell Ubuntu that is drive C:? It's just listed as '80 Gig' now.
Learned Vagrant
Black Horse Logistics Industries
#15 - 2014-05-28 01:29:23 UTC
Now I'm irate!

Everything was going fine. I was just waiting for answers to my questions, the I got a message that said I needed to re-boot. So I did, and that killed Ubuntu. I got the log in screen and logged in just fine. After that, nothing happened. No disk activity. Nothing.

So i put the install CD back in and re-started. Same thing. It started an install and then just stopped on the same page.

At that point I wasn't too upset because I wanted to increase the size of the Linux partition any way. So I used an app to delete the partition, recreated it and formatted it with NTFS in preparation for changing the size. A reboot is required after that.

Now, no matter what I do I get stuck at the GRUB Rescue prompt, and I don't know how to get out of it. It doesn't recognize any of the commands I type, like stop, exit, quit.

I'm wondering how bad off I am. I found a spare HD and installed XP on it so I could get on the net and look for help. Can I exit Grub rescue somehow and boot into XP?

If I can't do that I'm going to have to play musical BIOS, then remove all partitions from those two HDs, so essentially I lose my XP setup. There's nothing left of the Ubuntu install except the Grub installation on the primary HD, so that's no loss.

But during all of this I haven't come an inch closer to finding out whether I can get around the server connection problem or not.

SadSadSadSadSadSad
Torgeir Hekard
I MYSELF AND ME
#16 - 2014-05-28 02:22:20 UTC
Oh dog wat done...

Okay, booting for dummies:

1) BIOS looks at the list of possible boot drives it was given and finds the first drive from that that has a working boot sector.
2) BIOS executes the boot code in MBR of that drive.
3) The boot code loads whatever it wants.

In the case of XP it searches for ntldr on the active boot partition, loads that, loads boot.ini and whatever. Does not matter.

In the case of GRUB, it's a multi-stageloader (well, ntldr is multi-stage too, because x86 architecture limitations). BIOS launches Stage 1 in the MBR, Stage 1 bootstraps Stage 1,5 located in the first 30kb after MBR (sectors 1-63 are normally unused on MBR drives). Stage 1.5 contains filesystem drivers that it can use to find the /boot partition, read configuration, find kernel e.t.c.

The important part here is, whenever something asks you (or does not ask in case of windows installer) if you want to write the boot loader into the MBR it means the MBR of the first boot disk you set in BIOS. Which means it will inevitabely screw up your existing boot unless you swap the default boot disk in the BIOS before installing another OS on another drive. Which I almost always do if I want something to write the loader in MBR. Because you can always chainload another drive. Unless your boot loader just got overwritten.

IF you have an XP installation you can try to boot from XP installation disk and do fixboot and fixmbr from rescue console.
IF you want to chainload ntldr from grub, then you have to know where is the boot partition for XP.
You do something like
root (hd2,0)
chainloader (hd2,0)+1
Or the like. Depends on where is your XP.
You are limited to rrescue boot for a while until your fix your grub though.
Also, this one launched from ubuntu live CD unscrewed my EFI boot once, might help you too. But unlikely if you deleted your /boot partition.
https://help.ubuntu.com/community/Boot-Repair

PS:
1) You will have interesting times with HD4600 series. It's considered legacy by AMD, so catalyst (fglrx driver) may not work, and you might be left with open-source drivers (though i heard they work rather well these days).
2) Healing headaches with a guillotine might sound as a working idea but not necessarily the best one. Next time try less severe methods than doing complete re-install. Start with pressing ALT+CTRL+F1 for example. Then login, do sudo apt-get install links and you get internets in console (if your network is up, that is).
3) If you don't know whatyou are doing, don't install a new and unfamiliar OS on the only computer with an internet connection.
Neuntausendeins
#17 - 2014-05-28 02:36:15 UTC
Also keep in mind, that linux does not use NTFS as a file system. Most distributions can read and write NTFS without issue these days, but you should not try to use it for any kind of system partition unless you have a very good reason to. Use Ext4 instead.

Also try to use the resources already available on the net instead of asking about non Eve specific issues here. The ubuntu forums and ubuntu wiki are a much better source of information.

You can find the official documentation and wiki here: https://help.ubuntu.com/
Ubuntu Forum: http://ubuntuforums.org/

Look here for your video-card issues: https://help.ubuntu.com/community/RadeonDriver

And next time your system stops working, don't panic and flatten it right away. This is not windows, you can probably fix it.
Learned Vagrant
Black Horse Logistics Industries
#18 - 2014-05-28 10:41:19 UTC
I haven't done anything to the hard drive that has Grub on it. It was my primary and Ubuntu was installed in a partition on the secondary.

So far I have a nearly working fres XP install on one HD, A working fresh Ubuntu install on another HD, and the one with Grub and my old XP install is just laying on the desk sunning itself.

I shot myself in the foot again on the new XP install. I keep my password database on a flash drive, and decided to move it to a larger flash drive today. Note I said move. I could kill myself for that. That database has the keys for my driver updaters, but I can't get to it because I need a driver updated. What an idiot. It's not like I don't have any more flash drives. I just got lazy and didn't back it up today. A case of one strike and I'm out. But I did find an old version of the database the has the keys for a bunch of driver updaters, so maybe I can still get to the point where I can read that flash drive.

For more lessons on what not to do, just let me know what YOU are going to try next. Oops
Neuntausendeins
#19 - 2014-05-28 11:02:50 UTC
These sure are some issues you have there, dude.
Kismeteer
Bat Country
Pandemic Horde
#20 - 2014-05-28 12:29:31 UTC
Delmond Conagher:
~/bin/v1 means my home directory slash bin slash v1. So in my case: /home/kismeteer/bin/v1 I use that notation so it's in your path next time you login.

Learned Vagrant:
Video drivers are particular to your card. If you have a Radeon, that's an AMD card, NOT an nvidia card. You installed the wrong drivers, dude.

For help with your particular video driver, go to google and type 'linux Radeon HD 4600' or whatever your card is. This is the only way to use two monitors.

You can create a script with the commands I gave you above, under "Here is a script that will setup 3 instances for you as well:" Just paste all the stuff in that quote and you're set.

If yo'ure going to run from another drive, you have to find the full path to it after mounting it.

Your computer screen failed to load because you put the wrong video drivers, I suspect. Gparted is very good at expanding partitions.

It is a VERY good idea to install Ubuntu your first time to a hard drive you do'nt care about losing. 'Just in case'. It's a lesson in pain to understand how MBRs and GP's work.

Anyway, be careful Learned Vagrant. Sounds like you're messing with fire.
123Next pageLast page