thirtythreeforty Posted May 6, 2014 Share Posted May 6, 2014 Hello fellow Linux users. I have had the weirdest issue with KSP on Arch x86_64 lately and KSP support directed me here.KSP 0.23.5 ran flawlessly on my hybrid AMD 7730M setup with DRI_PRIME=1 under Linux 3.13.8.Upon upgrading Arch to Linux 3.14.1, graphics performance is about .5 frames/sec (not exaggerating!) with my AMD card. The framerate is fine with integrated Intel graphics, but of course the machine really struggles then.Does anyone know what is the matter? There is this one message in dmesg output that gets repeated about 9 times when sleeping, waking, powering off, etc. I don't know if it's relevant:[drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!!I can of course post the whole thing if you'd like.Thanks in advance! Link to comment Share on other sites More sharing options...
phoenix_ca Posted May 6, 2014 Share Posted May 6, 2014 (edited) Of course now I'm having problems with the camera. It seems specific to some mod or other, because the stock install isn't affected, but the camera lags terribly when I move it around.If I'm honest, it's probably crappy drivers causing it though. Clearly a graphics problem. I wonder if anyone has managed to make KSP work well with lots of mods and an AMD GPU. Edited May 6, 2014 by phoenix_ca Link to comment Share on other sites More sharing options...
Unit327 Posted May 6, 2014 Share Posted May 6, 2014 I recall someone mentioning something along the same lines, with lazor/romfarer stuff being the culprit. Could be my dodgy memory though.Also there's this. Link to comment Share on other sites More sharing options...
phoenix_ca Posted May 6, 2014 Share Posted May 6, 2014 (edited) I recall someone mentioning something along the same lines, with lazor/romfarer stuff being the culprit. Could be my dodgy memory though.Also there's this.Your memory serves you well. I did search the thread and found that post (you replied to it too), but since I don't use Lazor nor the Mission Controller Extended, I'm at a loss. Part of why I suspect that it's just bad memory management, what with having soooooo many mods. I'll have to see what I can do with it later. If it is bad memory management, reducing the texture quality significantly via in-game settings should solve it. Probably. Or it might not and I might have to go through all my mods, one-by-one again, now actually checking performance in-game.That has to wait though while I try to repair my blasted Win7 partition, which has decided to go kaput with the weird "missing operating system" error. Yeah, right. I BOOTED YOU USING PARALLELS JUST FINE DAMMIT!Edit: Deleting the settings.cfg sounds like a rather strange fix. O.o Edited May 6, 2014 by phoenix_ca Link to comment Share on other sites More sharing options...
paulkoan Posted May 6, 2014 Share Posted May 6, 2014 KSP 0.23.5 ran flawlessly on my hybrid AMD 7730M setup with DRI_PRIME=1 under Linux 3.13.8.Upon upgrading Arch to Linux 3.14.1, graphics performance is about .5 frames/sec (not exaggerating!) with my AMD card. The framerate is fine with integrated Intel graphics, but of course the machine really struggles then.What graphics drivers are you using? fgrlx or xorg? Link to comment Share on other sites More sharing options...
paulkoan Posted May 6, 2014 Share Posted May 6, 2014 Has anyone found a good solution for recording KSP under linux?I have tried SimpleScreenRecorder, but it can only do one sound source (so either mike or KSP sound, not both) without monkeying with pulse.I tried recordmydesktop too but this seems to have the same problem.Ideally, I want something that can stream both mike and game audio, desktop and webcam to twitch. Link to comment Share on other sites More sharing options...
phoenix_ca Posted May 6, 2014 Share Posted May 6, 2014 I recall someone mentioning something along the same lines, with lazor/romfarer stuff being the culprit. Could be my dodgy memory though.Also there's this.That makes no sense. In fact it rather defies logic. But deleting the settings.cfg did indeed work. Wacky.Now if only I could get my backlight controls to work I'd be golden. Link to comment Share on other sites More sharing options...
sal_vager Posted May 6, 2014 Author Share Posted May 6, 2014 (edited) paulkoan, simplescreenrecorder is about the easiest but yeah, you'll have to mess with Pulse, or try the open broadcaster system, it's also free and open source, and can record as well as stream Edited May 6, 2014 by sal_vager Link to comment Share on other sites More sharing options...
paulkoan Posted May 6, 2014 Share Posted May 6, 2014 paulkoan, simplescreenrecorder is about the easiest but yeah, you'll have to mess with Pulse, or try the open broadcaster system, it's also free and open source, and can record as well as stream I thought OBS was windows only!Are their any distros that carry it, or am I building it myself? Link to comment Share on other sites More sharing options...
sal_vager Posted May 6, 2014 Author Share Posted May 6, 2014 Can't find any binaries via googling, I think we need to build from source. Link to comment Share on other sites More sharing options...
paulkoan Posted May 6, 2014 Share Posted May 6, 2014 Can't find any binaries via googling, I think we need to build from source.Apparently the current version does not lend itself well to Linux, there is a rewrite underway that will make Linux support more realistic Link to comment Share on other sites More sharing options...
phoenix_ca Posted May 8, 2014 Share Posted May 8, 2014 (edited) Well, finally found a somewhat stable solution in Ubuntu 14.04 for playing KSP in sorta fullscreen. I say sorta because I do need to leave the topbar visible. Went into settings, disabled fullscreen, and set the resolution to the monitor's full width, and height minus 23px. (The height of the top bar determined with a screenshot and Gimp. WHY doesn't Gimp have a ruler tool? Goodness. I'm glad I subscribe for Adobe CC. Gimp is nowhere near what I'd need.)Set the Unity bar on the left to autohide and I'm good to go. Put the cursor on the left edge and I can easily launch stuff.Oh. The reason all this finagling was necessary is that every time I used KSP in fullscreen and just switched between workspaces, it'd flash the whole KSP screen a sort of purple (hmmm, maybe more fuchsia...yeah definitely fuchsia), and sometimes that glitch would stick. The mouse and menu buttons and all that would still work, but not being able to see any of it kinda hampered things. It looks like I'm going to have to try swapping the GRUB 2 loader onto the boot flagged partition though to try to get the backlight working. Maybe. Doubt it will. Unless that's BIOS. I honestly can't tell anymore. My brain is all messed-up between MBR and GUID syncing (goddamn Windows being goddamn anachronistic using MBR first instead of GUID) and all the other mess I had to fiddle with with a GParted live USB. O.oThe other downside with Linux is there's a decent amount of artefacting. Nice big blocks of the screen will freeze for a few frames. It's really obvious that the screen is getting updated strangely. Not top-down for each frame, but in squares starting from the bottom left and moving up to the top right. I don't know if that's crappy drivers or crappy Unity rendering though.Hrmph. Maybe I'll work harder at stripping-down my Windows install of parts. Maybe. Damn thing crashes at the drop of the hat though.Edit: Welp. That was quick. I figured-out that the artefacts were being caused by Adaptive MSAA. So that seems to be a no-go for AMD users. Plain ol' MSAA works just fine though, and the screen renders correctly (top-down).sal, you might want to update your post. It's possible that AA for AMD users is actually within the realm of possibility now. Just not their fancy-shmancy advanced stuff. Edited May 8, 2014 by phoenix_ca Link to comment Share on other sites More sharing options...
Unit327 Posted May 8, 2014 Share Posted May 8, 2014 What would grub and the mbr have to do with the backlight on your monitor/associated drivers? Link to comment Share on other sites More sharing options...
phoenix_ca Posted May 8, 2014 Share Posted May 8, 2014 What would grub and the mbr have to do with the backlight on your monitor/associated drivers?Absolutely nothing. Just many problems I created recently that make my head annoyed. Link to comment Share on other sites More sharing options...
Psykikk Posted May 8, 2014 Share Posted May 8, 2014 hey there, as my search function doesn´t quiet give me the solutions I was hoping for, I am asking the fellow guys right in this thread:I recently installed Linux Mint 16 with cinnamon desktop. I was trying to play native KSP 64Bit.However, the performance was abysmal and there was a graphics glitch (probe core was about 30 times the size of what it should be... VAB just wasn´t working at all..)I do suspect the graphics driver (nvidia card is used) not being properly configured, maybe not up to date.. so I have these questions before I start and try to debug / optimize :Is KSP running smoothly on Linux Mint 16 ?Is the 64bit version providing any noticeable advantages ?thanx in advance,Psy Link to comment Share on other sites More sharing options...
Seret Posted May 8, 2014 Share Posted May 8, 2014 Have you installed the proprietary drivers Psykikk, or are you using nouveau? Link to comment Share on other sites More sharing options...
Psykikk Posted May 8, 2014 Share Posted May 8, 2014 I tried to switch from nouveau to the proprietary drivers, but after I switched, cinnamon kept crashing and I couldn´t start KSP.I kept gettinbg messages than ObpenGL was not available / not supported.when I switched back to nouveau, cinnamon worked and KSP started, but gave the described bad performance.. Link to comment Share on other sites More sharing options...
sal_vager Posted May 8, 2014 Author Share Posted May 8, 2014 What's your language set to Psykikk? If it's not US or UK English you could have a mangled settings.cfg, with , and . transposed.This can cause the giant parts issue you mentioned.Delete the settings.cfg and start KSP with "LC_ALL=C ./KSP.x86_64" and see what happens Link to comment Share on other sites More sharing options...
Psykikk Posted May 8, 2014 Share Posted May 8, 2014 (edited) language settings in mint ? well i am german so .. another thing:i got the original nvidia drivers in and working now. the game starts up great, smooth and all. then once I can see the KSC, and pan around with the camwera to test performance, the game freezes. and the pc with it. i have a i5-3,4Ghz, 16Gb, nvidia gtx-560 rig which hasn encountered anyhting it couldnt handle as of yet.but mint and ksp with 64bit seems to have changed that.. what is missing ? what can I do ? checking system monitor it states that as soon as i run the gaem in full window mode (fullscreen) the cpu workload shoots up to 100%.. and swaps from core to core but one is always at 100%.. only way to change that is to kill the process (shut off the game).thx in advanceps.: I deleted the settings.cfg in the ksp folder and ran t with the default resolution. still: same crash behaviour Edited May 8, 2014 by Psykikk Link to comment Share on other sites More sharing options...
sal_vager Posted May 8, 2014 Author Share Posted May 8, 2014 Did you run KSP with "LC_ALL=C" ?It's quite important.... Link to comment Share on other sites More sharing options...
Psykikk Posted May 8, 2014 Share Posted May 8, 2014 thats what I typed int o the launch options in the linux steam client. Link to comment Share on other sites More sharing options...
sal_vager Posted May 8, 2014 Author Share Posted May 8, 2014 Ahh, it won't work that way, you need the following?LC_ALL=C %command%_64The command "LC_ALL=C ./KSP.x86_64" is for the terminal Link to comment Share on other sites More sharing options...
Psykikk Posted May 8, 2014 Share Posted May 8, 2014 I read up a little and felt dumb when I discovered that a minute ago.it is better now. although still default resolution.. as of now.another strange thing now (which I also found i the thread, but no solution :in the VAB, the mouse is soo seensitive that actual working in the VAB is nearly impossible... thx mate. help is really appreciated. Link to comment Share on other sites More sharing options...
Psykikk Posted May 8, 2014 Share Posted May 8, 2014 slowly getting there. working with much higher resolution and fullscreen now. the onyl thing so far that I can see is the irratic mouse behaviour Link to comment Share on other sites More sharing options...
sal_vager Posted May 8, 2014 Author Share Posted May 8, 2014 Yeah the mouse can be over sensitive, again it's a settings.cfg issue and a new settings.cfg now that you are using LC_ALL=C %command%_64 should work fine (You may have to delete it again) Link to comment Share on other sites More sharing options...
Recommended Posts