Jump to content

The Linux Thread!


Recommended Posts

The 64bit binary will be there, you just need to tell the Steam client to use it in the same way you're doing currently, by adding %command%_64 to the custom launch options :)

Thats not what ive been doing which led to my confusion. Ive just been launching straight from the .exe ( bit of a habit i have for all my games ). Thank you. Thats exactly what i needed.

Link to comment
Share on other sites

Hey guys, having some pretty big issues.

I am using the FGLRX driver on debian testing (currently jessie).

First off the data, hardinfo: http://jsbin.com/xezolalisi/1/

Player.log: https://www.refheap.com/99623

KSP.log: https://www.refheap.com/99624

Part of /var/log/messages:

Apr 14 20:03:03 mordocai-pc org.gnome.zeitgeist.Engine[1215]: ** (zeitgeist-datahub:1538): WARNING **: zeitgeist-datahub.vala:226: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!

Apr 14 20:03:09 mordocai-pc org.gtk.Private.AfcVolumeMonitor[1215]: Volume monitor alive

Apr 14 20:03:10 mordocai-pc org.gnome.OnlineAccounts[1215]: goa-daemon-Message: goa-daemon version 3.14.2 starting

Apr 14 20:10:32 mordocai-pc assert_20150414201032_21.dmp[2442]: Uploading dump (out-of-process)#012/tmp/dumps/assert_20150414201032_21.dmp

Apr 14 20:10:34 mordocai-pc assert_20150414201032_21.dmp[2442]: Finished uploading minidump (out-of-process): success = no

Apr 14 20:10:34 mordocai-pc assert_20150414201032_21.dmp[2442]: error: HTTP response code said error

Apr 14 20:10:34 mordocai-pc assert_20150414201032_21.dmp[2442]: file ''/tmp/dumps/assert_20150414201032_21.dmp'', upload no: ''HTTP response code said error''

Apr 14 20:13:12 mordocai-pc kernel: [ 657.655882] SysRq : Keyboard mode set to system default

Apr 14 20:13:21 mordocai-pc kernel: [ 666.603623] SysRq : SAK

Apr 14 20:13:21 mordocai-pc kernel: [ 666.603654] SAK: killed process 928 (Xorg): task_session(p)==tty->session

Apr 14 20:13:21 mordocai-pc kernel: [ 666.603727] SAK: killed process 928 (Xorg): task_session(p)==tty->session

Apr 14 20:13:44 mordocai-pc kernel: [ 690.005415] SysRq : Keyboard mode set to system default

Apr 14 20:13:51 mordocai-pc kernel: [ 696.680209] SysRq : HELP : loglevel(0-9) reboot(B) crash© terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) powe

roff(o) show-registers(p) show-all-timers(q) unraw® sync(s) show-task-states(t) unmount(u) force-fb(V) show-blocked-tasks(w) dump-ftrace-buffer(z)

Apr 14 20:13:53 mordocai-pc kernel: [ 698.761076] SysRq : SAK

Apr 14 20:13:53 mordocai-pc kernel: [ 698.761108] SAK: killed process 710 (agetty): task_session(p)==tty->session

Apr 14 20:13:53 mordocai-pc kernel: [ 698.761199] SAK: killed process 710 (agetty): task_session(p)==tty->session

My entire computer is freezing. That particular time it froze during the main menu! Even Alt+SysRq+K wasn't bringing any functionality back, I had to use the reset button.

I have installed microsoft fonts, am using the launch options 'LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" LC_ALL=C %command%_64', and have done echo "0099e747: 00" | xxd -r - KSP.x86_64;echo "0099e74c: 00" | xxd -r - KSP.x86_64.

Any ideas?

Edit: Changed launch options to simply '%command%_64' and left all graphics settings default besides turning off anti-aliasing and I got through the flight tutorial. Tried again with a bigger resolution and it crashed in the menu. Going to see how stable it is with no graphic changes.

Edit2: Good news everyone! Like many before me, I have found that kerbal loves radeon drivers and hates fglrx! With the radeon drivers I can play with 1920x1080 highest texture detail with AA and edge highlighting full screen with no issues besides the known rotating FPS issue. If anyone else is like me and on debian jessie has found the need to switch between drivers these scripts may be helpful:

switch_to_fglrx: https://www.refheap.com/99625

switch_to_radeon: https://www.refheap.com/99626

Note that in the above scripts the commented out line is no longer needed due to the discovery that update-alternatives takes care of that file. In addition, note that the fglrx kernel module will still be running when running radeon but it doesn't appear to cause issues. If it bothers you, write a modprobe.d to blacklist fglrx and move it into/out of the correct directory in the scripts.

Edited by mordocai
Link to comment
Share on other sites

Does anyone here set niceness for the game? I have been experimenting with -10 nice and have noticed improved initial load time and minor stability increase. The stability may be placebo, but I know it make it load faster initially. I have 0 knowledge of linux other than setting it up for KSP so this may cause issues I am not awre of and was posting this here to get so input from more knowledgeable users. Thanks!

Link to comment
Share on other sites

Does anyone here set niceness for the game? I have been experimenting with -10 nice and have noticed improved initial load time and minor stability increase. The stability may be placebo, but I know it make it load faster initially. I have 0 knowledge of linux other than setting it up for KSP so this may cause issues I am not awre of and was posting this here to get so input from more knowledgeable users. Thanks!

The niceness doesn't have a huge impact on the system. -10 is fine, but don't use -20 :-)

Link to comment
Share on other sites

Hi,

I've been playing KSP for a while, and now I'm beginning to run into memory problems in the 32bit version of KSP, and I'm wary of Win64x. I've been toying around with the idea of installing Linux on my PC, and the idea of installing it onto a Flash Drive appeals, but I'm not entirely sure how invasive that'll be on my current PC, how effective it'll be, or anything else. Truth be told, the idea of being able to use a stable 64x platform is what appeals, and I know nothing else. I was wondering if someone could hold my hand and explain things for me, to help me decide whether it's a good idea for me. I don't plan to use Linux for anything else other than KSP, and I'm avoiding a Dual-Boot. Is it doable?

Thanks :)

Link to comment
Share on other sites

I think the linux version have a bug in it. I'm using Logitech Attack3 joystick and the throttle could only throttle from either 50% to 100% or 0% to 50%. Looking through the controller value in jstest-gtk says that full throttle is -32767 and lowest throttle is 32767, so I've set KSP throttle binding to inverted mode. The exact same game folder in exact same computer and same joystick but in Windows have proper throttling

Link to comment
Share on other sites

Installing to a flash drive has pros and cons. You'll have terrible loading speeds and unplugging the drive would crash. My advice is to buy a small 120 GB hard drive and install to that.

So if I installed it there, would it completely leave everything on my current hard drive as it is? And then is it possible to choose a default hard drive to boot from?

Link to comment
Share on other sites

So if I installed it there, would it completely leave everything on my current hard drive as it is? And then is it possible to choose a default hard drive to boot from?

Yes...What you would do is either a dual-boot (very easy to do, and completely separates the OS's), OR if its an external USB drive, you just make a one-time change to your BIOS settings, to have the computer boot off the external (Linux) drive first, if it is plugged in...If its not plugged in, the computer would then default right to your primary OS.

And why do you not want a dual-boot?

The only con i can think of with a dual-boot, would be it takes a couple clicks of user interaction at startup, and the < 30 sec. additional load time due to waiting for user interaction...?

Again, you can have a dual-boot setup so it automatically boots to your primary OS just like it always has...

Only when you wish to boot into the secondary OS, you would just bring up the boot menu with a single keystroke right after the BIOS loads, then select the secondary OS, and you're done...

Edited by Stone Blue
Link to comment
Share on other sites

Yes...What you would do is either a dual-boot (very easy to do, and completely separates the OS's), OR if its an external USB drive, you just make a one-time change to your BIOS settings, to have the computer boot off the external (Linux) drive first, if it is plugged in...If its not plugged in, the computer would then default right to your primary OS.

And why do you not want a dual-boot?

The only con i can think of with a dual-boot, would be it takes a couple clicks of user interaction at startup, and the < 30 sec. additional load time due to waiting for user interaction...?

Again, you can have a dual-boot setup so it automatically boots to your primary OS just like it always has...

Only when you wish to boot into the secondary OS, you would just bring up the boot menu with a single keystroke right after the BIOS loads, then select the secondary OS, and you're done...

Ohhh...so with a dual-boot, it's possible to have it automatically boot windows 7 (what I currently have), unless I specifically tell it to boot Linux? I didn't know that was possible

Link to comment
Share on other sites

^^ Exactly.... :D

I have had as many as 5 OS's installed at once, with no issues... A mix of Win XP, Win7, Win 8, and Linux...

Awesome :D I presume, thinking about it, that must be to do with the boot order of the hard drives...how could I be so daft!? Is the same effect possible on a single, partitioned drive?

Link to comment
Share on other sites

Awesome :D I presume, thinking about it, that must be to do with the boot order of the hard drives...

Yeah...There is a caveat with different Windows installs...I think when installing multiple instances of the SAME Win OS, no issue...But with DIFFERENT Win OS, IIRC, you are supposed to install the oldest version first, working on up to the newest...(ie XP first, then Vista, then Win7, then Win8...)...I dont think this is a problem when installing Linux (or any non-Windows OS), with any version of Windows already installed.

Is the same effect possible on a single, partitioned drive?

You mean a single INTERNAL hard drive?...Yes...The only limits to that are space requirements for each OS, and IIRC, you are limited to three(?) primary boot partitions?...Its been awhile since I've dealt with more than 3 OS installs...

Link to comment
Share on other sites

Yeah...There is a caveat with different Windows installs...I think when installing multiple instances of the SAME Win OS, no issue...But with DIFFERENT Win OS, IIRC, you are supposed to install the oldest version first, working on up to the newest...(ie XP first, then Vista, then Win7, then Win8...)...I dont think this is a problem when installing Linux (or any non-Windows OS), with any version of Windows already installed.

You mean a single INTERNAL hard drive?...Yes...The only limits to that are space requirements for each OS, and IIRC, you are limited to three(?) primary boot partitions?...Its been awhile since I've dealt with more than 3 OS installs...

Okay, thank you for you help :) You've cleared some stuff up. Don't expect to not hear from my at a later date, but I'll try my best :wink:

Have some rep :sticktongue:

Link to comment
Share on other sites

Well, after spending half a day messing with Kubuntu desktop, and not getting any further, figured I give Lubuntu a try...Now after two solid days of messing with THAT mess, I still cant even figure out how to even open KSP in Linux...So I think I'm done...Windows OS it is... :(

Link to comment
Share on other sites

Well apart from my current issue with bad fps in IVA Stone Blue, I was a big Debian purist so I tried everything else under the sun until I gave in and went with Ubuntu, and having a really good time granted that ssd is dedicated to only KSP related shenanigans.

Link to comment
Share on other sites

Edit2: Good news everyone! Like many before me, I have found that kerbal loves radeon drivers and hates fglrx! With the radeon drivers I can play with 1920x1080 highest texture detail with AA and edge highlighting full screen with no issues besides the known rotating FPS issue. If anyone else is like me and on debian jessie has found the need to switch between drivers these scripts may be helpful:

Hi, Did you do something special to enable AA? I used to enable it with GALLIUM_MSAA=8, but it doesn't work in Fedora since several months ago.

I have a Radeon card. Anyone knows how to enable anti-aliasing?

Edit: I see that the option GALLIUM_MSAA was removed in this commit. It should be enabled in the game somehow.

Edited by miceliux
Link to comment
Share on other sites

So, apparently, newer open source drivers perform much better than the AMD fglrx drivers, at least for me. I experimented a bit with newer open source drivers and they work quite well. I used the oibaf ppa, which (I think) isn't completely bleeding edge, but is newer than the old ones. I've tested this on a few Ubuntu derivatives, and it worked everytime (tested on 14.04, Linux Mint 17.1, elementaryOS Freya beta 1) If you're having issues with fglrx, try this:

Remove your previously installed drivers first. For Ubuntu, you can do this through the systems settings if you installed from there. Otherwise, Google it.

Add the newer ppa for the drivers with:

sudo add-apt-repository ppa:oibaf/graphics-drivers

Update your apt cache:

sudo apt-get update

Upgrade (install new software, essentially, will upgrade your open source drivers)

sudo apt-get upgrade

Sal, can you post this in the first page of the thread under AMD drivers?

This appears to have worked. I have successfully started KSP 1.0 with EVE installed!

EDIT: Or perhaps not. Just crashed again on restarting.

Here's my log if anyone can make sense of it.

Edited by politas
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...