Jump to content

The Linux compatibility thread!


Recommended Posts

I've hit driver problems as well since upgrading ubuntu 13.10->14.04. I was using the fglrx-updates driver and all was well. Since 14.04 that now causes the freezing described by brickmack. Tried the X.Org driver and KSP runs without crashing but the lag/framerate is hideous, about 6fps on the titlescreen and worse in flight. With the other fglrx driver KSP doesn't start at all and spits something about mono paths to the terminal, so no KSP for me until somehing gets fixed.

Hardware is i5 and Radeon 7870 with 8G ram, so not limiting. I had a large number of mods without too many issues before the ubuntu update.

What fglrx driver does the update bring with it? I am on Gentoo, and had that freezing experience with the 14.x drivers. Once I reverted to 13.2, the problem went away - is that an option on Ubuntu?

I had the same issue with the xorg drivers too with the frame rate going around 5fps. I didn't figure out how to fix it. glxgears showed 60fps, and DRI was working. I had glamor operational.

For now, it seems like the only workable AMD solution is the proprietary ATI drivers. I had been using nVidia with linux for years because of ATI driver issues, but I thought they were better these days.

Link to comment
Share on other sites

Edit 2: Does anyone know how to invoke the equivalent of the -popupwindow argument on Windows KSP under Linux? I'm having trouble finagling that into existence. It'd be nice to have a borderless window so I don't have to use my laptop for everything else while playing. >.>

Do you mean a window that is full screen, but still a Window? What desktop environment are you using? If KDE, then set the resolution in KSP to be the size of your screen, but still windowed mode, then right-click the titlebar / Application specific settings and enable "Hide titlebar and borders".

Link to comment
Share on other sites

Unfortunately no, I'm using Ubuntu's Unity (GNOME; "Unity" how's that for confusing when talking about a Unity3d application) environment. I suppose I could slap KDE on here too and just switch to it for KSP but if there's a way to do it with GNOME that'd be nice.

And yes, that's what I'm talking about. A window that fills the native resolution of the screen its on.

Link to comment
Share on other sites

You could install the openbox WM, for me it seems to run KSP in "borderless window" mode by default when you select fullscreen in the options. As a bonus it is extremely light WM for running games, not that you'll notice it with how GPU light ksp is.

Is there an "un-decorate" option in the gnome window menu? That's what you are looking for.

Link to comment
Share on other sites

And yes, that's what I'm talking about. A window that fills the native resolution of the screen its on.

Am I right in thinking this is because it is a multi-monitor setup and so normal fullscreen isn't useful (because it takes up all monitors?).

Link to comment
Share on other sites

I think it would be informative to run a poll of AMD/ATI vs Nvidia amongst users encountering bugs. I feel like ATI is really painful to work with on Linux.
I've been with nVidia on Linux basically forever, though I've rarely done anything that really needs 3d acceleration. As for KSP, it crashes on rare occasions, typically in the VAB, but is generally fine once I fixed the XL decoupler bug.
I've hit driver problems as well since upgrading ubuntu 13.10->14.04. I was using the fglrx-updates driver and all was well. Since 14.04 that now causes the freezing described by brickmack. Tried the X.Org driver and KSP runs without crashing but the lag/framerate is hideous, about 6fps on the titlescreen and worse in flight. With the other fglrx driver KSP doesn't start at all and spits something about mono paths to the terminal, so no KSP for me until somehing gets fixed.

Hardware is i5 and Radeon 7870 with 8G ram, so not limiting. I had a large number of mods without too many issues before the ubuntu update.

As a workaround, have you tried manually installing the 13.10 package? Download it from http://packages.ubuntu.com/saucy/fglrx-updates and install it with dpkg -i packagename.deb or by opening the package in the GUI.
Link to comment
Share on other sites

Am I right in thinking this is because it is a multi-monitor setup and so normal fullscreen isn't useful (because it takes up all monitors?).

No actually. The reason I want to get this is because I want fullscreen on a single monitor, but I also want the ability to alt-tab out of KSP to other applications while it's running, so I can do things like watch something with VLC while letting MJ do a very long burn and such. I have the same problem with Windows and OS X versions of KSP and am (perhaps wrongly) extending the same logic that running the game in a sort-of faked fullscreen mode will give me back that ability.

Unit: Not that I know of. Unity isn't all that customizable. You really have to fight with it. Anyway starting a KDE session instead of Ubuntu's Unity/GNOME thing does the job. It's way, way, way more customization than I need but still.

Now if only I could get a driver to work for my backlight so I can actually change the screen brightness.

Edited by phoenix_ca
Link to comment
Share on other sites

No actually. The reason I want to get this is because I want fullscreen on a single monitor, but I also want the ability to alt-tab out of KSP to other applications while it's running,

Aaah, I see. I wasn't aware alt-tab didn't work in fullscreen. Perhaps that is a unity thing?

Link to comment
Share on other sites

It's almost definitely a KSP thing. Maybe I can use workspaces to get around it.

Installing KDE for Ubuntu has created it's own raft of problems...reminding me why I avoid it in the first place. Aside from being a really heavyweight desktop environment, a lot of my applications are stuck using KDE interfaces in the default Unity environment. *sigh*

Yeah. Looks like it's time for me to wipe this Ubuntu install again with a clean one. Lots of fun with GParted again I'm sure when Ubuntu inevitably installs GRUB on my EFI partition when I don't want it to. -.-

Edited by phoenix_ca
Link to comment
Share on other sites

Yeeeaaaahhh, except that didn't work. O.o WEIRDNESS.

Besides this was all just me being silly. Easy solution to get what I wanted was to use workspaces. I'm way to used to running KSP under Windows, which lacks the very concept of workspaces (and I gave up on them with OS X when Apple stomped all over their older system that worked quite well...jerks).

Edit: Naturally, I've run into other trouble. Seemingly random crashes when loading on start. It's very confusing because absolutely nothing has changed with my KSP install. It just...loads a bit, and then boom. Crashes with nothing useful.

My KSP.log is flooded with these lines:

[EXC 06:32:09.871] NullReferenceException: Object reference not set to an instance of an object

Right after Module Manager finishes, the log is just full of these. Multiples after every load entry. I have absolutely no idea what the hell this is coming from.

Here's a full version of a failed start: http://pastebin.com/vBXD35qX

What's annoying is it really was just working. I got a successful start and figured I'd be done. Now, this. Out of nowhere.

Edited by phoenix_ca
Link to comment
Share on other sites

It may be something to do with this as it's just before the nullrefs:

[EXC 06:45:12.994] DirectoryNotFoundException: Directory '/home/USERNAMEREDACTED/Desktop/KSP_linux_modded/KSP_Data/../saves\' not found.
Link to comment
Share on other sites

Yeah. That's from DevHelper. I tried removing it but it didn't change anything.

I'm going to try a new copy of KSP, install mods a few at a time by copying them from the broken install, and look at the KSP.log file each time. Hopefully, something will come up. If not, I have an even more confusing problem on my hands. I'd wager its a problem with a plugin.

I'm only a little way in but it seems like the effect might be cumulative between various plugins.

Edited by phoenix_ca
Link to comment
Share on other sites

Well. B9 Aerospace causes a hard crash while loading, but it's not the only thing doing it. Removing it from the broken install with all the mods doesn't fix it. Still get a crash. This makes all of NO sense.

Edit: Or not. Gods dammit. This is the most confusing thing I've ever had to deal with in KSP.

Edited by phoenix_ca
Link to comment
Share on other sites

Must be due to excessive textures, there's a memory fix for the 64bit Linux version, have you tried that yet? If not then back up your binary and give it a go :)

A memory fix in the whatsit of the who now? >.<

Yes...clearly I missed...whatever it is you're talking about. Do you mean this stuff in the code box?

Edit: Well ****. That fixed it. Thanks for putting up with me Sal. :D Might I suggest adding to that post some example cases? In this case, I had no idea that the root issue was that memory error, or that that would fix it. For those of us who jump to "This is probably a particular mod crashing this" instead of "This is a segfault in the program itself, log files be damned". :P

Edited by phoenix_ca
Link to comment
Share on other sites

Yes, that's it, it's a set of memory offsets that make the 64bit version of KSP for Linux handle lots of addons better, the installer script by voidi does this for you though :)

Edited by sal_vager
Link to comment
Share on other sites

Yes, that's it, it's a set of memory offsets that make the 64bit version of KSP for Linux handle lost of addons better, the installer script by voidi does this for you though :)

What I would give for a stable 64-bit version of KSP. Unity, has been full of much disappoint the past few years. Hopefully that all finally changes this year when Unity 5 is released.

The funny thing is though this Linux install of KSP has way fewer weird issues for me now. My Windows install can't actually open the settings menu... >.>

Edited by phoenix_ca
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...