#Linux Thread
1 messages · Page 2 of 1
There’s been a lot of talk about how it runs out of vram very quickly even on high end cards
I have 8gb vram and it’s maxed out
I think my game may crash soon. My system ram has been slowly creeping up with each revert to the vab
yay memory leaks
I just want to land on the mun
I haven’t played kerbal in forever so I’m struggling to build something that’s capable of a round trip
Finally landed on the mun. Now I can’t get back in the capsule
just run apt-get inside
the hardest setup question
im still having the backscreen issue after having turned off fullscreen, what else can i do?
and it also doesnt save my settings.
can we discuss the "pumping sim once" issue
the cow has spoken
_______________
< I LOVE KERBAL >
---------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Yeah, for me it crashes when it reaches that on the loading screen after the main menu when running it under proton experimental with the launch options on lowest graphics:
PROTON_USE_WINED3D=1 DXVK_ASYNC=1 __GL_THREADED_OPTIMIZATION=1 __GL_SHADER_DISK_CACHE=1 %command%
In case this might be useful to anyone here is my system info:
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel:registered: Core:tm: i7-9700 CPU @ 3.00GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: B365M PRO Gaming Aegis R(MS-BZ01)
System Version: 1.0```
Edit: Just tested changing it from fullscreen to borderless/windowed, had no effect
my game works fine, although 'pumping sim once' is by far the longest part of the load time (about 10 seconds every time)
For me my entire system freezes before it can finish pumping sim once
I haven’t gotten my game to run better unfortunately
It’s likely there’s some form of CPU bottleneck due to poor physics optimization
Don’t get me wrong the game is still 100% playable
Just it’s slow
Super small crafts can get like
20 fps
Crafts that are small-medium get like
10 fps
I’m not bothering with medium - large
Also after landing on the mun my save file hardlocked
it doesnt make sense
has anyone compared it on the same system, same specs, windows vs linux?
my desktop (9700K, 32GB 2400mhz ddr4, 6600xt) runs the game around 47-60FPS medium 1080p on Windows
i dont know what it does in linux becuase i dont have access to it
Now pipe it to lolcat
Someone did the comparison earlier and said Windows was about 5fps better, but still only around 20fps.
Yea I saw a huge uplift in my case, 5 fps to like 35 in the VAB and launchpad
and then 25 to like 65 in low orbit
i7 9700k and 2080 running medium settings
if thats the more majority case, then there is some issue with Proton
maybe bring it up with valve?
is there a tl;dr yet?
about linux performance with ksp2?
yes
if you have a steam deck, its unplayable right now due to performance issues and it crashing steamos commonly
expected
there seems to be a possible trend that linux performance under proton is much worse than windows native performance
Tl;dr: ksp2 on Linux sucks but it works perfectly for me because I'm built different
hahah
I haven't fiddled much with the debugging side of proton and dxvk, but I'm planning to. my guess that it's the differences between device memory management in dxvk and direct x
is ksp2 DX12 or DX11 still?
No real change
DX11 iirc
Went from like
10 fps to maybe 15
The change was extremely minor if present at all
was your CPU usage pegged in both cases though?
50% cpu usage
So it was likely a cut choke
Hopefully physics get optimized and that is reduced
I believe DX11, though not positive. Edit: yea definitely DX11, since DXVK doesn't support DX12
my cpu is a 9700K and it sits at 80% the whole time
I saw 3GB VRAM on the title screen and 9 in an empty VAB. They said the game is unoptimized and they weren’t kidding.
Yeah but is that per core or total?
Why wouldn’t it be physics related
It’s bottlenecking at the same frame rate on windows as on Linux
I think a couple of us are hitting different bottlenecks
Mine definitely feels graphics driver related, since usage is pegged. Though I'm pretty sure the "utilization" is being consumed by transfers over the pcie bus
Some people may have success reducing the available cores as stated in this issue, WINE_CPU_TOPOLOGY=4:0,1,2,3 or something similar added to you launch options
I wonder if limiting to a single or dual cores improves or worsens things
Ah
Fps is way lower on wine3d for me
Though wined3d seems to be super hit and miss
For me it was like
10 -> 1-5
Completely destroyed performance
And caused a bunch of terrain to spawn wrong
I say it’s physics for me specifically as the less parts I use the more of a performance increase I get
At small enoguh planes I can easily hit 20+ fps
wow im now getting like 30-40 fps just by adding PROTON_USE_WINED3D=1 DXVK_ASYNC=1 to my launch options though im running all amd so that might have somthing to do with it
for me to suck as much performance out of the game, I use this incredibly long set of launch options: WINE_CPU_TOPOLOGY=4:0,1,2,3 eval $( echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) PROTON_USE_WINED3D=1 DXVK_ASYNC=1 __GL_THREADED_OPTIMIZATION=1 __GL_SHADER_DISK_CACHE=1 %command% In the VAB, I get about 60fps, and 30 everywhere else. during flight with the engine on, I get about 15 fps. (using proton experimental)
Any Linux users using an eGPU? I'm considering getting an eGPU for my laptop but haven't committed yet (although I hope to sometime during the early access)
Note that DXVK_ASYNC=1 seems to have been removed from recent versions of GE-Proton: https://www.gamingonlinux.com/2023/01/ge-proton-removes-the-dxvk-async-patch-in-version-7-45/
Cool, can you add yourself to the spreadsheet? https://docs.google.com/spreadsheets/d/12kCX2tRIiS85HR58gPX-enXMjALLWIIckLU_s_IVJ84/edit?pli=1#gid=0
sure
im using experimental so not sure if that applies to me
from what I can tell, DXVK_ASYNC=1 only does something when using GE-proton, are you sure it has an impact?
not entirely but its runnning a stable 40 fps in VAB and 20-30 in flight
and that was after i added it
I would guess
But theirs definitely a memory
Leak so.where I've noticed over the course of multiple launches my.performance.slowly degrades
It's really painful to see all of the amd gpu people getting decent results when you have an nvidia gpu
Steamos instantly crashed when I pressed go
I may do decent on pc at home. I have a 6600xt
With the steam deck it’s not a cpu issue
amd has somewhat confusing naming lol
Something is really not right with the gpu utilization of this game.
MSFS2020 runs flawless on SD
and that is generally more gpu needing
Ksp2 mostly would be cpu computations for fuel and other stuff
Graphics shouldn’t be too difficult
So there is really some issue with how the game is optimized
it's also not an incredibly buggy early access game
Well yeah, you’re right
the steam deck does have an advantage due to having an amd gpu
But I’d expect an early access release to kind of like.. be playable?
I’m not expecting 60 fps
Something at least 25fps for a early access would be expected
give it a few versions and it might be
I’m hoping for that
But I’m wanting to see if there is anything more I can do with this
Maybe if shaders are precompiled it will help? It doesn’t seem to be doing that though
I can’t even run the game from the actual executable because of the PD launcher
there's a launch parameter which skips the launcher
eval $( echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" )
The launcher which basically exists for no reason at all
Oh ok I’ll use this then
Idk if anyone has already noticed this but on nvidia the game has very excessive pcie bandwidth utilization as shown by nvidia settings, like 30-40% utilized continuously.
Does that not apply for AMD users?
yeah ofc i mean like what is it for, as it doesn't actually achieve anything
but of course it's because it makes shareholders happy because ????
After trying those codes y’all recommend it actually helped
Seems a majority of the lag is like
the fastest amd gpu I have is integrated and on a laptop with only 8gb of ram so I can't really say
Coming from the trees???
Which codes did you use?
WINE_CPU_TOPOLOGY=4:0,1,2,3 eval $( echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) PROTON_USE_WINED3D=1 DXVK_ASYNC=1 __GL_THREADED_OPTIMIZATION=1 __GL_SHADER_DISK_CACHE=1 %command%
Proton experimental
I really hope the game gets better
I mean it is early access, it's 0.1. KSP was alpha when it hit EA
I feel like them using unity may not have been the best decision
Not really for gpus it follows the same pattern as nvidia
yes but I mean it's similar to cpu naming which can get a bit confusing
All gpus ar preface by rx so
especially when they made the 3000xt cpus
Unity was the easiest choice
Anything else would've required a complete retooling
So a gpu is rx-xxxx whereas cpu would just be xxxx
I do hate how unity and unreal are so unoptimized
unreal is probably better
I've more or less just given up on ksp 2 until we get an update
Pretty much. Idk how long until the next
I’m hoping for one soon to get most of the bugs and major issues out
At this point, I don’t care about features, just get the game working
The devs probably don't work on weekends, so probably at least a few days
At least Dakota has done
Dakota, he's the CM
Anyone else notice that the fps in the vab goes down when you revert to vab?
Changing scenes eventually triggers a big drop in fps for me if thats what you mean
I usually have to relaunch the game multiple times before I get the vab to run at 20-30 fps again
I’m not really sure why. Whatever is making the fps drop in the vab just occasionally doesn’t happen
Same
Try making a save with a craft on a launchpad/runaway/space and load that directly, see if that makes a difference
So far on steam deck with the new launch parameters, half rate shading, and at the lowest res, I get 60FPS in the menu, 14 FPS in KSC, 27 FPS in VAB, and out of ram crashes any farther than that
I’m gonna increase the swap file size so the dedicated ram can be more available for vram
I just increased the UMA size to 4GB. Steam Deck has a 1GB VRAM by default
What I can see though is how much vram that KSP2 uses. In KSC it’s wanting 9.1GB
This is the best I’ve gotten. 10-12 FPS on and looking at kerbin. Looking away it goes to around 23-27FPS
considering, that's not that bad
If you haven't already, can you add in your input to the spreadsheet? In pins.
Oh yeah I can
I decided I'm going to wait for the first major optimization and bugfix patch to play. I already bought it, but I'll finish up my Fallout 4 game. That is just buggy enough (yeah, pretty damn buggy.)
I like buggy games I guess.
Probably because the Buggy games are pushing certain limits of computers.
Considering my favorite non-buggy games are City Skylines, Planet Coaster and OpenRCT2 those all push the limits of what computers can do, but just do so smoothly. (OpenRCT2 can get framerate loss if you overdo it.)
given how incredibly unoptimized the game is in it's current state, it may take a while.
Ok I added my entry to the doc
got it to run locally on steam deck
used protontricks to run the KSP2_x64.exe in desktop mode
cant load into a game tho
maybe RAM related
apparently a steam deck can outperform most nvidia gpus
ive gotten it running and ships in orbit at 20FPS
i had to go into the BIOS and set the GPU to have 4GB of VRAM available for it to be a bit more stable
even my pc with a 1660 and a 2700x hit like 5-10fps when launching
maybe i used radial parts actually for that ship
this game appears to really hate nvidia gpus
ahh i had to set it back to 1gb for GTA V to be more stable
really?
interesting
saw a good reddit post on how all the draw calls except for 1 were running at 8ms(120fps)
increasing swap may also help, but considering that the steam deck uses fairly good RAM, having more of it available for the game on the fly would help
the one for the surface of the moon took way longer
looks like its a fairly easy fix for that
the SD uses LPDDR5-5500MHz
some weird huge shader
running in quad channel too, so its very fast
i used cyroutilities to increase swap to 16GB and increase swappiness
you can apparently overclock it to 6400MHz if you use some hack but im not gonna do it
oh wow
could try zram swap too, may be faster
yeah i bet gta would benefit tho
i havent been able to hit the 90fps cyroutilties did in his video tho
even with the same utility and settings to my knowledge
idk what settings he used to play im using lowest possible
it mostly seems like
the game seems to be fairly decent on ram usage, mostly
its just VERY heavy on VRAM
in KSC it goes up to 10GB of VRAM used
jeez
so on the SD, that becomes 4GB dedicated and 6GB shared
well its not touching swap yet, since linux should be automatically throwing itself into swap
if things work right, swap should just be the kernel and its stuff that doesnt need fast speed
yeah
I don't think the kernel is able to swap itself
The kernel is required to retrieve stuff from swap, and if it itself is swapped then it cannot be retrieved.
well, i meant like, most of the system services
stuff that isnt being actively worked on
ah yeah fair
NOice.
The latest flags you guys shared got me running way better
eval WINE_CPU_TOPOLOGY=4:0,1,2,3 PROTON_USE_WINED3D=1 DXVK_ASYNC=1 __GL_THREADED_OPTIMIZATION=1 __GL_SHADER_DISK_CACHE=1 $( echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" )
it's "playable"
xD
10fps at least now and feels way smoother
ooo in VAB i'm getting like 40
weird graphical flickering and line occasionally anybody else?
ive heard that it can happen with the PROTON_USE_WINED3D=1 option
i experienced the rocket parts being pink as they loaded in with this
Yes, to get GOOD performance it will. However, the first pass of improvements is usually drastic.
my expectations are low, as long as they can somehow get it to 25-30fps MINIMUM specs, that'll be great
unfortunately because it doesnt work out of the box, its gonna be marked as unsupported in steam
ah yeah
I think this is subject to change though. It is early access, and I am sure eventually we'll just have a native port to use
I hope so
Considering the priorities though
Not for a while
Valve likely will be the one to fix the private division launcher
It does seem to work somewhat out of box in steam on proton experimental. The problem is with the launcher and it still crashes regularly and it's login functionality doesn't work due to improperly handled browser calls.
The game itself works perfectly on steam experimental once you get past the launcher. I haven't tried logging in on the system. However I did link my Private Division Account, Epic Games Account and Steam Account nicely using their website, which is something I've wanted to do for a while.
Do you have AMD gpu?
Yes, Horrible performance.
Even still, the game needs optimizations
Lessons learnt so far
- Your only real hope is an AMD GPU
- The kraken is basically the deciding factor on if you're playing KSP2 on Linux
I wouldn't mark it as compatible. I'd mark it as WIP. I hope Private Division can have whomever on their team is a Linux nerd work with Valve on getting proton working.
Even if they plan on making a Linux port (which would be after their current roadmap of getting things stable.)
Yeah dude the game itself is very unstable
I'm sure they have linux nerds on the dev team, but they have much bigger issues right now
It is still being built in a fundamental sense, so porting to other platforms will always come after that
As a note, if they are looking for Linux QA Juniors, I'm available. Sometimes getting things working on Proton give insight into where the problems lie because the Wine Stack allows much better tracing of problems.
Also, they should stay open to the idea of using DXVK on Windows, although the Vulkan stack for Unity is VERY similar, it is more tempermental when it comes to shader compiling.
DXVK can be less picky than Direct3D sometimes, on the other hand. It simply has a better preprocessor for legacy HLSL code.
This is compared to the modern SLang code that is preferred by the upstream project that Unity uses.
the one person with intel arc also got decent results
Funny how the two GPUs that are traditionally associated with bad drivers literally run better than Nvidia in this case
Well on linux nvidia is generally the bad one
Forget private division, from what I can tell the only thing they've "contributed" to the game is the stupid launcher. All the real work was done by intercept games.
Intercept games is a subsidiary of Private division.
However, yes, I meant intercept games when I said Private Division. Private Division is the bunch of pencil pushers that deal with contracts, paperwork and courting investors.
and adding stupid launchers that nobody wanted
Including their primary investor.
I suspect they even outsourced the stupid launcher to one of their subsidiars. 
I'v got a 1060 6gb and I range from 1-7 fps anywhere other than the main menu and map view. Arch Linux, xfce4, prime-run (because hybrid graphics, not ideal ik), Proton Expreimental, bought through steam. Looking at nvtop it seems like I run out of vram. Any similar problems/solutions?
Supposedly these are bad framerates for my card
nope. For now the game is just unplayable on nvidia. You can try PROTON_USE_WINED3D=1 if you like but it's still not amazing fps.
nah that's pretty much exactly what I'd expect.
thanks! atleast im not the only one screwed
I don't think manually setting CPU topology is necessary. Linux scheduler and wine seem to negotiate that well these days.
dxvk_async is obsolete.
And dxvk isn't loaded if you are using wined3d instead.
As a note, keeping them both in is harmless.
Does anyone know what display modes KSP2 is built with, or should I just probe to experiment? There are unity launch commands to override the display modes. If Vulkan is supported it may require being forced. Forcing vulkan could drastically improve performance if this is the case. (I don't know why they didn't build for Vulkan. Most Unity programs run better in Vulkan, and it is easier to tune performance for than D3D due to more control.)
yeah, I can't see any difference in fps between
WINE_CPU_TOPOLOGY=4:0,1,2,3 eval $( echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) PROTON_USE_WINED3D=1 DXVK_ASYNC=1 __GL_THREADED_OPTIMIZATION=1 __GL_SHADER_DISK_CACHE=1 %command%
and
eval $( echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) PROTON_USE_WINED3D=1 __GL_THREADED_OPTIMIZATION=1 __GL_SHADER_DISK_CACHE=1 %command%
getting 30 fps in KSP and 20-30 fps when flying a rocket
Have we figured out why on DXVK it never compiles shaders?
as a friend of his, hes gone through so many launch options that he doesn't even know how many
somehow that one works the best for him
I believe the devs have stated that a Linux port is on the extended road map as well as a Mac port
honestly given perf is so similar and proton worked at launch I think it's unrealistic to expect a native port
if the devs build a version with vulkan i bet we would see way higher fps.
absolutely
I mean, haven't seen radically different numbers, and all I had to do to get into the game was use experimental 🤷♂️ was there a fix/patch in the early hours? I was on the mun by 11am friday
when i tried (endeavouros) i was barely able to move the camera in the vab
default settings and experimental proton
AMD cards are far better off, Nvidia users are lucky if they get >5fps
nVidia users are apparently hitting some issue with graphics stack. @craggy hawk is even having the same graphics and driver as me, but I got terrible results while he does not...
I wonder if we’ll get a proton GE version with some KSP 2 fixes
Since linux version should be coming later, I would expect some fixes to make it work with proton experimental before native comes.
Do u know what proton GE is?
It’s a fork of proton experimental with community fixes for certain games
For some games that don’t work with proton experimental they work with proton GE
nvidia users are hitting an issue where it utilizes an excessive amount of pcie bandwidth (or at least I am)
using excessive pcie bandwidth is likely symptom that something that should work is not working actually...
how can you tell?
most reasonable things never go above 10% in my experience
nvidia settings tells me
I think this is related to the issue with using too much vram
I suspect what is happening is it is overflowing into system memory and needing to use a lot of bandwidth to keep up
can you please run nvidia-smi dmon while running game at kerbin?
sure
I'll just do ksc since I don't feel like launching to orbit rn
Sun Feb 26 10:36:16 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.85.05 Driver Version: 525.85.05 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 On | N/A |
| 42% 64C P0 68W / 151W | 8059MiB / 8192MiB | 100% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2911435 C+G ...ce Program 2\KSP2_x64.exe 6826MiB |
+-----------------------------------------------------------------------------+
Note that I have removed information for other stuff that happens to be running
it seems to have blocked it out for some reason but this is a 1070
ah wait dmon is a different thing
ok, I know it's not the best place to ask, but what linux kernel would you recommend for gaming only?
honestly probably doesn't matter much
as long as you're using something that isn't incredibly outdated
For gaming? use the kernel shipped with your distribution. Don't change it unless you have a specific reason...
sorry i meant distribution, not kernel lol
i've heard good things about pop os
probably doesn't matter much however many of us seem to be using arch or arch based distros...
nvidia-smi dmon -s tu , please! 🙂
if you love learning and hate having freetime gentoo is always an option
Agree but people are allowed to use what they want
Indeed, KSP is doing excessive transfers when FPS drops. What's your nvidia-smi dmon -s tu ?:
0 11075 8424 100 6 0 0
0 10799 8688 100 7 0 0
0 10230 8493 100 6 0 0
0 9352 6909 100 7 0 0
gpu rxpci txpci sm mem enc dec
Idx MB/s MB/s % % % %
every 60 seconds in africa, a minute passes
For the same scene, before and after triggering something that does a big fps drop:
Before, 20fps on the launchpad
# gpu rxpci txpci sm mem enc dec
# Idx MB/s MB/s % % % %
0 2553 1826 100 9 0 0
0 2480 1747 100 9 0 0
0 3014 1412 100 9 0 0
0 3183 1417 100 9 0 0
0 3296 1487 100 9 0 0
Stuck at 5fps afterwards
0 2577 4897 100 2 0 0
0 3737 6272 100 3 0 0
0 4455 4334 100 2 0 0
0 3610 4875 100 3 0 0
0 1697 4183 100 2 0 0
0 1916 6338 100 2 0 0
0 1752 4937 100 2 0 0
0 2633 4142 100 1 0 0
# gpu rxpci txpci sm mem enc dec
(Adding just for the sake of having more information)
It’s actually pretty low speed on idle
For most games I only see <1GB of activity on the bus
Since, pcie 3.0 max is 32GB/s and that’s never usually saturated by midrange graphics cards
Unity Vulkan is 💩
Look at cities skylines
A proper vulkan implementation is Doom 2016
to be honest, even an opengl version of the game would be great at this point.
idk if unity opengl is any good though
@novel mantle https://file.io/wFsZAIamiTLv
overall far lower transfer amounts than others are reporting
3060 12gb?
it's likely the latency of the transfers here that is important, not necessarily that it fills up bandwidth. If the vulkan draw calls are blocking on waiting for memcpys of assets over pcie, that can easily consume many miliseconds
yep
The reason this isn't an issue on windows is that memory management in DX11 is doing a lot more than what's being done in DXVK: removing unused assets from VRAM, keeping commonly used assets resident in VRAM, etc.
that's consistent with it being a vram issue
i.e. the people with issues are running out?
People with >> 12GB VRAM are reporting OK frames on proton I'm pretty sure
that makes a lot a of sense
although the nvidia-smi numbers must be dirty lies then
since theirs report 9% usage and mine say like 18%
have we gotten space warp working for linux yet?
Oh man, it definitely likes vram
it's ok guys, i'll just play KSP1 again
Where are the craft files located on Linux (going crazy looking for them…)
Saves are in 'compatdata/954850/dos_c/users/[username]/AppData/LocalLo
w/intercept Games/Kerbal Space Program
2/Saves/SinglePlayer/[savename]/'
I think crafts are stored there too
Ta!
Is [username] your actual username? For me, the directory is just called steamuser (not my actual username)
Wait I might have played myself
Disregard
no i was right, here's the full path: ~/.local/share/Steam/steamapps/compatdata/954850/pfx/drive_c/users/steamuser/AppData/LocalLow/Intercept Games/Kerbal Space Program 2/Saves/SinglePlayer
maybe we're using different proton versions
Crafts should be in [savename]/Workspaces btw
954850 should be the Steam AppID for KSP2 - doesn't change iirc.
has anyone gotten mods working?
There are mods already?
Yea, the KSP community is nuts!
I tried to get the game to run and it kept crashing out while trying to work on something in the VAB, let alone actually get something to launch... I couldn't imagine trying to add mods into the mix!
moding atm is just adding in some files to the root directory
but this doesnt seem to work on linux
There seems to be a lot that doesn't work on linux in general
when do we get an update?
I did get it working today. 15 fps but working.
It actually plays quite smoothly at 15fps and is, at least, a stable 15fps with no stutter. It drops to 10fps when on the surface.
Clearly it has the same issues with quad loading that KSP had, only MUCH worse.
I suspect the framerate would boost if I got out further from a celestial body, but my goal today was to attain orbit, so I only went to a little over 70k
specs?
it definitely does
I got out of kerbin's SOI a while ago and I was getting 15-20 fps, which is the best I have ever gotten using dxvk.
still terrible though
even though my 1070 isn't even that much below the minimum requirements.
Guys, I have a new challenge for you today! Could someone with decent FPS run this and report their numbers?:
while true; do cat /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/current_link_speed; sleep 3; done
what is cat /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/max_link_speed saying? I got only 16 GT/s with 3060 8GB which might be real bottneck here...
kerbal space program 2 run above 20fps challenge (impossible)
i could do this if i had my desktop on linux
Nope, for @craggy hawk , 20 fps is not impossible. It seems all it takes is 12 GB VRAM graphics 😉
because on my computer with KSP2 running, /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/current_link_speed never exceeds 8.0 GT/s PCIe despite max_speed is supposed to be 16 GT/s...
8.0GT/s for me and my Intel ARC, max of 16GT/s, though the game locks up when I tried to launch from the launchpad, so I wouldn't quite call it playable.
actually running manually from a different bottle doesn't lockup the game, (so that's a plus...), still just 8.0GT/s
Hey, have you tried manually setting all the graphics settings to low and then clicking apply like 5 times? That menu is super buggy for me, I realized the presets were only working like half the time
@novel mantle constant 16GT/S for me during both ^
max is 16 as well
but I found out today that there is a physics thread related to engines that is what's capping my FPS, so make sure you're testing with 1-engine rockets, or the Kerbal-2 at most
@novel mantle you may be onto something. I do have a fancyish mobo, DDR5/AM5, but I wonder if you can get the link to 16GT/s with other applications? Could be a mobo thing, or config thing, or a KSP thing (I find that unlikely)
I mostly use a kerbal as a vessel for testing... limits a lot of wrong ship design by great deal
what does the WINE_CPU_TOPOLOGY=4:0,1,2,3 launch option even do?
Could it be misreporting because of the double data rate?
Or does that not apply on pcie
yeah, these top-of-the-line CPUs/mobo might have the effect if the PCIe bandwidth is all its about. I also have only 2 dimm modules, you may have better performance if you have more/better RAM modules.
nah, just ignore WINE_CPU_TOPOLOGY - it makes your cpu report only 4 cores. I am pretty sure most issues we see with linux are not cpu-bound at all...
i thought it was like some dark magic that made the game run better
KSP2 is certainly using more than 4 cores of my 12. But no core is running 100%... which is unusual...
@craggy hawk my Nvidia Settings app is telling me I have Gen3 x16 PCIe with 8 GT/s max...
I have Gigabyte B550 VISION D-P with Ryzen 5 5600G with 2x8GB RAM configured to 3600 MT/s...
Ah there ya go then. mine is Gen4 x16, max of 16GT/s
GIGABYTE X670 AORUS ELITE AX AM5 / Ryzen 7 7950x / 4x16gb DDR5 @ 5600 MT/s
I still think vram is your main culprit tho, mine sits at ~9gb utilization in-game
what the heck...
I'm trying to quote your mobo's specs and it keeps deleting my message?
G-series Ryzen only does PCIe 3.0, non-G-series do PCIe 4.0
God damn it, what a tiny difference? I have picked the 5600G just to have the option to play with APU if I felt fancy!
still, in-game the pci monitor shows you doing a lot more transferring
so pcie 4 might help some but probably not a ton
Their is definitely some performance issues with linux, when i run the game on windows same hardware & settings i get a stable 60fps compared to 10 on linux
I am just guessing there may be some error in vulkan which may ignore my VRAM entirely because if finds that entire content vulkan wanted to allocate won't fit into my VRAM, but will fit into yours. Thus I will do much more transfers - which won't go well especially with less capable pcie. But that's just a speculation...
I cant find the physicssettings.json in what steam settings says is my games local files. Where is it? running Manjaro KDE.
Game saves are at folder below, but why do you need them?:
~/.local/share/Steam/steamapps/compatdata/954850/pfx/drive_c/users/steamuser/AppData/LocalLow/Intercept Games/Kerbal Space Program 2/Saves/SinglePlayer
no he wants to fix the noodle rockets
@wanton surge https://github.com/penumbra779/Kerbal-Joint-Re-Reinforcement linux instructions here
steamapps/compatdata/954850/pfx/drive_c/users/steamuser/AppData/LocalLow/Intercept Games/Kerbal Space Program 2/Global/PhysicsSettings.json
A linux user should know PhysicsSettings.json and physicssettings.json are different files 😉
I seem to get a handful extra frames per second in X11 compared to Sway
like 16 vs 12 (With K2 in low Kerbin orbit, looking at Kerbin)
could be a fluke of course
Thanks for telling me where all the files are.
I needed that info.
I would have found it, but you saved me several minutes.
Really saved me time there, thanks
i found it after I searched my root folder lol. impatient
Card Manu. VRAM(GB) MemType CPU(MHz) FPS
RTX 3060 Ti NVIDIA 8 GDDR6 1410 3
RTX 2060 NVIDIA 6 GDDR6 1365 5
RTX 2080 NVIDIA 8 GDDR6 1515 5
RTX 3050 Ti NVIDIA 4 GDDR6 735 5
RTX 2070 NVIDIA 8 GDDR6 1410 6
RTX 3060 NVIDIA 6 GDDR6 900 7
RTX 2070 (8GB) NVIDIA 8 GDDR6 1410 8
GTX 1070 NVIDIA 8 GDDR5 1506 10
RTX 3070 (egpu) NVIDIA 8 GDDR6 1500 10
RX 5700 XT AMD 8 GDDR6 1605 16
RTX 2070Ti NVIDIA 8 GDDR6 1605 20
RTX 3060 NVIDIA 8 GDDR6 1320 25
RTX 3080 10gb NVIDIA 10 GDDR6 1440 25
RX-6600XT AMD 8 GDDR6 2359 25
RTX 3070 NVIDIA 8 GDDR6 1110 30
ARC A770 Intel 16 GDDR6 2100 35
RX 6750 XT AMD 12 GDDR6 2150 45
RX 6750xt OC AMD 12 GDDR6 2495 50
RTX 3090 Ti NVIDIA 24 GDDR6X 1395 60
RX 7900 XT AMD 20 GDDR6 1500 65
I took the spreadsheet we collected over the weekend and sorted some of the numbers. in short more memory == more FPS.
(specs may not be 100%, I was just going off data the best I could find from searching for the GPU models)
Looks quite noisy when the 3060 6gb beats the ti
Numbers self-reported by individuals, 100% NOT scientific AT ALL, but provides a rough idea.
How well does other parts of their pc compare?
Because someone with a better card often has a better pc overall
Metrics
Submitter,CPU,GPU,Linux Kernel v,GPU Driver,RAM,Display server,OS,Proton,FPS (idle KSC),FPS (flying),Launch Options,Notes,
cdp1337,AMD Ryzen 5 5600G with Radeon Graphics,Intel ARC A770,6.2.0-060200-generic,Native (built-in),32GB,Wayland,Ubuntu 22.04,Experimental,35,eval $( echo "%comman...
dunno, it was based off a spreadsheet where a dozen or so folks just self-reported some of their data.
I have an RX6800 (16GB VRAM) and I'm getting at least 30-60fps in all scenarios. The performance on my Kubuntu PC has been so good that I turned off the FPS display.
16GB VRAM 😉 -- You fall into that 'more memory' category.
GPU selection would be so much easier if you could just install VRAM like you do RAM
I have had some video cards with expandable memory
Issue is that VRAM require a ton of bandwidth, and has incredibly tight limits on the length of traces
true
Not sure anyone has mentioned it, but they're apparently working on a Linux build
it would still be good to have the Steam Deck GPU in here just because
its a platform ppl would likely play on, which considering its popularity, is currently the most used device on Linux using Steam
around 22% of steam linux users are using the steam deck
hopefully this comes out soon!
I think I omitted the 1 entry for the steamdeck in the sheet because I didn't know what GPU it used.
The game needs a lot of optimization before it can really be playable on a steam deck
i made that entry, the steam deck doesnt use an off the shelf GPU
some rdna2 integrated gpu
its an RDNA2 based GPU under the RX 6000 series
under its real name, the "Custom GPU 0405" or just call it the steam deck
but yeah, officially supporting the steamdeck will be huge for the game.
vram by default is 1GB but it can use the system memory if it needs to
its already kind of impressive that its able to pull off what it did in my testing
It's using a shared memory architecture, isn't it?
essentially, yes
it by default has 1GB of the system ram dedicated to it, but it can use more of that if it needs to
it has 16GB of LPDDR5 (5500mhz)
It's not uncommon for games to need more than 1GB of vram tbh
of course, therefore it can use more of that if it needs to
and i stated in the note that setting it to 4G in the bios helps with out of memory crashes
increasing the swapfile would also help too
I wonder if a zram swap partition could help, it's compressed in ram and not on ssd.
Looks like it's in the playtest, test, and development branches, but not in the releasetest or candidate branch, so probs a while
ram compression would help a lot as well
Would also help in I/O usage, at least if it works as on Windows
disk io was never much of an issue with this game afaik
I meant in re paging
for the steam deck, the CPU seems to be performant enough
its the GPU issues that the game has
isnt it that when not loading the terrain items like trees and other stuff, that the FPS is improved by like 3x?
cpu seems mostly irrelevant for this game as long as it's not a complete potato
Which is arguably a good thing for the future
fair
wow
This spreadsheet does not tell complete story. But I took one result - AMD and Intel cards runs much better now. Only beefiest nVidia GPUs (24 GB VRA) runs quite well. I have been able to isolate that amount of VRAM of nVidia RTX 3060 is significant. 8 GB runs ~9 fps while 12 GB runs ~25 fps. Is there any nVidia user with >=12 GB VRAM who does not have decent fps?
One issue is that people with beefier computers often have beefy GPUs
Noone showed any evidence of the game being CPU bound. That's not what dragging performance to below 10 fps with nVidia. Linux nVidia users are hitting a flaw...
Indeed, folks were seeing what, about 10-15% of a single core at any given time while playing. Also anyone can add more columns to that sheet, it's open for new contributions to all.
If you know of a metric you'd like to see, go ahead and add it and maybe folks will update it.
do we want mainboard too?
Maybe RAM speed and number of DIMMs installed vs available on board vs memory channels on CPU?
oof, I don't even know how many memory channels my cpu has, let alone know how to retrieve that value from a command
If it's an intel it's on ark
Just thinking aloud for "things that could affect performance"
yeah true, my CPU is an AMD though, which I believe they have the same whitepapers
ok, I'll add those fields, I think I can rearrange them a bit anyway
tbh I'm not sure it has a noticeable effect
shrugs, GPU is probably the biggest factor here, but I'm happy to have as much data as folks want, this is a community project after all
I hope @craggy hawk won't mind I have submitted his details. We suspect that PCIe speed may make difference. You can read that at Nvidia Settings app.
I have absolutely no idea how to calculate MT/s from memory, any directions?
What are peoples' thoughts on having Passmark's benchmarks for both CPUs (Single and multi-threaded rating) and GPUs so we can compare like for like? https://www.cpubenchmark.net/cpu_list.php https://www.videocardbenchmark.net/gpu_list.php
PassMark Software - CPU Benchmarks - Over 1 million CPUs and 1,000 models benchmarked and compared in graph form, updated daily!
Don't include number of RAM slots and configuration in separate columns... most people likely won't know these (although can learn by running dmidecode at terminal)
Would you still want to see number of sticks installed or just bugger that thought?
I'd also like to make a suggestion for conditional formatting on the FPS, GPU memory and other parameters. Make red "poor", amber "average" and green "good". Might start to see a correlation with amount of graphics memory, for example
I expect that is completely irrelevant. Here is how I can see mine 2x8 GB modules
sudo dmidecode | grep MT/s
Speed: 3600 MT/s
Configured Memory Speed: 3600 MT/s
Speed: 3600 MT/s
Configured Memory Speed: 3600 MT/s
ok, and thanks for that command! I'll put it into the howto
oooh, look at you knowing how to use a spreadsheet better than me. 😛
See? We are getting the picture... is VRAM deciding factor? Could @opaque stream update his entry, please? I wonder if his RTX 3060 is 12 GB too...
If anyone here has access to some sort of modern Quadro (e.g. NVIDIA Quadro GV100 with 32GB of vram), that would be interesting...
Quadros aren't really meant to be used for gaming, but they usually have higher than average vram for their age
The quadro would actually be the perfect card, their high vram allows them to run early release code easier.
Well, it seems modern Quadros are actually pretty good these days :p https://www.videocardbenchmark.net/gpu.php?gpu=Quadro+GV100&id=3919
10+ years ago they weren't very good, just workstation graphics cards
Yeah
I find that results submitted by @ruby apex unlikely. Could someone please try to revert to nvidia-520 if that will not result in significant fps increase?
They did say "20-40"
maybe it was closer to the 20, I just split the difference when I set them to individual numbers.
maybe 20 looking at kerbin and 40 looking at space maybe
is there a way you could make some kind of benchmark mod? use the same craft and set the orbit and camera position?
That's why I listed the first as KSC, it's a single static view that should be consistent for everyone.
Refer to the comment about deleting the ress files, it is the one modification I saw the most change before and after
.
Varies wildly between runs still, hence the range
Does stay closer to the lower 20 bound
Deleting the .resS files got me an extra 5-10 fps, though I'll play for a bit and see if that drops
Of note is that it does ensue some breakage with assets here and there, but doesn't seem to affect gameplay
Such as? (So we can be aware of it in other help-threads)
Could you find how much video ram you have? Because even with 20 fps, you still got much more than rest of us. Such numbers usually have people wit 10+ GB VRAM.
Inquisitive rover on the runway with .resS files. 12 fps
Graphics pipe maxed out
Same conditions without resS files. 17 fps and also no periodic freezes
What're your specs?
See the spreadsheet, though in short a slightly overclocked i5-6600k with an undervolted Vega 64 (but still stock clock speeds. Undervolt stops throttling - a common issue on the Vega)
would this work on windows too or is it a linux thing
Pretty sure it would have the same effect on windows
Kinda seems like it's doing fewer transfers, if I'm reading the graph right
i will try
Seems like the game client is processing less asset data, and seeing that you deleted some assets, that makes sense.
I wonder if it's getting stopped on a DMA
The training menu center thing is broken
https://media.discordapp.net/attachments/1076272592526258247/1078823090001301595/image.png
Assets for the arrow keys and some other images in the tutorials dont show
And that's about as much as I've noticed
8GB GDDR6
got it updated in the sheet.
Strange! This piece doesn't fit the others... perhaps its the driver version?
Pretty sure its just the ress files, I can still tank the fps to get stuck at 5 if I change menus enough times
(Ie going to the KSC one a few times, hence why I explicitly call out skipping any menu for testing fps in my earlier message)
removing files makes the game run faster?
I doesn't work for me, I might get from 9 fps to 12 fps by deleting all *.resS, but nothing more. Not worth that under this conditions
Yup. See these messages. I only learned about it today
#🔷ksp2_general message
#🔷ksp2_general message
I'm not sure their suggestions regarding the processor will make that much difference unless you've got loads of stuff running in the background. A better idea there would just be to close everything except KSP 2. Though, Windows itself always has a lot much running in the background so maybe on a Windows system it can make a difference
Setting the preset to 'high', apply settings, then back to 'medium', apply settings makes a big difference to the framerate for me
wow it's stupid that that even makes a difference... However the game is now to the point where I would consider it to be somewhat playable.
looking at kerbin in flight, I get 10fps, looking away I get 20
30 if the game is paused
the game now feels comparable to ksp 1 with a decent sized rocket in RSS
Faster GPU memory too.
The 7900XT utilizes a wider memory arangement to get more bandwidth without overvoltaging the memory until the power draw burns up your power connector.
Not saying what cards might do that, but I obviously don't like the brand.
384b + "infinity cache"
Yes, more and better cache
i have 8 and I get 20+
Would you mind filling https://docs.google.com/spreadsheets/d/12kCX2tRIiS85HR58gPX-enXMjALLWIIckLU_s_IVJ84/edit?usp=sharing then?
I do be using windows tho, since my laptop installs linjx but I cannot launch it after I boot into windows
i know, I should have mentioned it.
I just want to be able to use linux on my laptop so I could help :/
This is Linux Thread, we all here want to be able to use Linux. Let me sum up for non-technical people. We are used to Steam's Proton being so successful with running Windows games that we expected KSP2 would be running near/at native Windows performance. But we instead see hardware configuration which on Windows should be able produce decent 20+ FPS at Kerbin to produce under 10 FPS - which is kinda unplayable. This is not because Linux has 10, 20 or 30 % lower performance than Windows. This is because Proton is affected by a bug which is preventing usual performance, allowing only fraction of particular hardware should be capable of.
This is not about the KSP2 is not well optimized yet. Perhaps even Windows users are hitting similar bugs - which might be the very reason why there is so many unhappy users. I believe Intercept Games would have done better, if they have not made public launch yet. But there are people even on Linux, which are able to enjoy the game. Only its few of them (owners of 10+ GB VRAM GPUs).
this is the first game i have played for which proton has been a significant obstacle to performance
hats off to the devs at steam for making it work so well but it is annoying how people use the excuse of "it said it didnt have linux support" when proton has worked so well on so many unsupported games
i assume you mean "it said it didn't have linux support"?
...yes
thought you were saying proton didn't work on windows or something lol
i am not very smart (that took me about two mins to figure out 😔)
i am also not very smart apparently
I believe its worth mentioning that it is not just Steam work which makes so much Windows stuff runnable. They called it Steam Proton, but it just environment where Steam make sure WINE can really shine, and indeed it does. I am not that familiar with WINE, but I assume Steam is actually a HUGE contributor, but not the only one.
And I bet what we are experience with Proton hitting something in graphics stack is the primary reason why Linux build was not made public in any way. Or at least I hope so...
whats the proton bug?
the linux build wouldn't have much to do with proton support though, no?
Just been playing around with cryoutilities. Game seems to be running a lot smoother now
No longer crashing every time you go back and forth in the VAB or main screen
Frame rate still drops a lot at some points but it no longer just crashes
I’ll get some screenshots
Graphics are set to medium
Low seems to run slower
Can you add any specific changes to the spreadsheet?
I've made an amazing discovery. Can someone try adding -screen-quality Fastest to their launch args? I'm now getting 85fps in the vab
testing momentarily
works great with dxvk even
did you add that after echo or after sed ?
idk, for ease of testing I started it from the command line lol
but I will figure it out
yeah this helps performance a LOT
eval $(echo "%command% -screen-quality Fastest" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) for steam launch args while skipping launcher
above does not work, ACTUALLY WORKS:
eval $(echo "mangohud %command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) -screen-quality Fastest
There's several other valid options, Fastest, Fast, Simple, Good, Beautiful, Fantastic (default)
testing exactly how much faster now
Of course, fantastic appears to be the highest setting
In the start screen it improved my fps from ~160 to ~400
KSC doesn't seem to change
VAB seems to get a slight boost
One of my ships performance did not see any noticable gain
Orbit around duna and landed also didn't
Seems to help in specific situations, but not everywhere. Could also be I'm on a high enough end computer that it just doesn't affect much, I will test on my laptop shortly
this does not work apparently
I don't see any drawback to the argument though
launching from cmd or steam?
haven't gotten it to work launching from steam
if it works properly you shouldn't see 3d trees at ksc
oh
I might not have done it right, one moment
noticably worse graphics but infinitely more playable
this works eval $(echo "mangohud %command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) -screen-quality Fastest
it's actually... smooth
you should now be getting 50+ fps in VAB probably
well for me it was a 5x improvement or more in some cases
and an improvement at the KSC view by ~15 fps from 60 to 75
I'll test on my laptop that actually has bad graphics in a moment
Probably because it decreases the vram requirements to something that an 8gb card can handle
VRAM before varied between 9 and 11 on my card, I'll check now
in the short time I tested, VRAM usage did not go above 8gb (or below 6)
yes, like this
without mangohud if you don't want it (or haven't installed it)
my argument is this before: eval $( echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) PROTON_USE_WINED3D=1 __GL_THREADED_OPTIMIZATION=1 __GL_SHADER_DISK_CACHE=1 %command%
afterward it would be eval $( echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) PROTON_USE_WINED3D=1 __GL_THREADED_OPTIMIZATION=1 __GL_SHADER_DISK_CACHE=1 %command% -screen-quality Fastest ?
try it? no idea
im using DXVK though so i dont use the wined3d option
ok
my observations so far
ram usage is INSTANTLY better
im no longer seeing 5.6GB total in menu now, only 4.7GB
this beats wined3d while being less glitchy for me
does this command also work on windows???
that is a good question
probably
-screen-quality Fastest probably works on windows too.
it is most likely also beneficial on windows
so my observations on the steam deck
framerate has not improved much?
i still get 11FPS looking at kerbin, 20FPS looking away
but memory usage has improved drastically
it improves vram usage but it still requires a decent amount
the game can actually load with 1G UMA
now using around 12GB total system memory
lemme run at a lower res and use FSR
OI
Uh
the steam deck
is now...
processing vulkan shaders??
it did it for a few seconds, but it seems to actually be compiling something now
I've had that a few times on launch, it normally just takes a second
running at 800x500 only improves framerate by about 2 FPS
vram usage is significantly improved however, which really helps with stability on the steam deck
on 3050 Ti laptop
before
Start - 100 fps
VAB - 10 fps
Launchpad - 5 fps
Flight - 3 fps
Duna orbit - 6 fps
after
Start - 120 fps
VAB - 10 fps
Launchpad - 5 fps
Flight - 3 fps
Duna orbit - 11 fps
so not perfect, but improved fps in some scenarios?
are there any mods that exist yet that have helped with performance?
maybe because I only have 4gb of VRAM on this, there isn't enough change to improve performance completely, but my 3090 ti didn't see much performance boost either because it already had enough vram? (this is a guess, which if true supports that cards between ~8-10 VRAM would see the most benefit)
it seems like it may improve performance on low VRAM systems
mostly because when it exceeds the dedicated amount, it moves towards system memory
12gb vram gaming
so i think in this case, it just improves the amount of vram that is accessible at full speed
but for unified memory systems, it just helps with memory usage amounts
so the steam deck wont improve drastically, but will help with stability due to the memory usage
definitely an improvement, thanks for sharing!
I think I’ll try it once the tornado warning in my area ends and I can leave my bathroom. I have a 2060 super with 8GB of vram, so I think I’m in the suite spot for this command.
Before
10-20 fps at KSC
5-25 fps in VAB
5 fps on launch pad
After
50-55 fps at KSC
50 fps in VAB
25 fps on launch pad
That’s a significant improvement for me across the board. I haven’t tried launching yet, but I’ve seen upwards of 60 fps (with vsync on a 60hz monitor) in space with no planets in view.
I’m still using nearly all 8GB of vram and 9.5GB ram, but I was using basically 100% vram before, now it’s closer to 95% of vram.
Worked for me, went from 7 fps at the KSC to 40, and around 80 in the VAB, on an RX 6600 8gb and 16gb RAM
Just launched a decent sized rocket and had one of my cleanest launches yet.
I’m getting about 30 fps in orbit looking at kerbin with 90% vram usage
Getting ~40 fps looking at the mun from orbit
I added my stats to the doc with the new option
That seems on par with my windows resource usage differences
Nice, does indeed lower vram usage. Note: it seems default is whatever you launched with last time, I did
eval $( echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) PROTON_USE_WINED3D=1 __GL_THREADED_OPTIMIZATION=1 __GL_SHADER_DISK_CACHE=1 %command% -screen-quality Fastests
when I then did
eval $( echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) PROTON_USE_WINED3D=1 __GL_THREADED_OPTIMIZATION=1 __GL_SHADER_DISK_CACHE=1 %command%
VRAM usage was still low and the trees where ugly when landing in the forrest, needed -screen-quality Fantastic to get back
AFAIK it'd be a Linux-native build
can someone test of disabling hyperthreading on your cpu increases fps on linux?
I wanted to test it myself but my laptop just nukes the linux bootloader every time.
I’m late but you are an amazing person for this
Didn’t mean to @ oh god such an old message I’m sorry
eval $(echo "mangohud %command%" | sed "s/PDLauncher/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) -screen-quality Fastest
This, for me, is magic. The graphics are maybe less good (at 1440), but the UI is now usable (previously for example, when adjusting my view of the ship, the tiniest mouse move would send the view uncontrollable spinning, small changes were simply not possible). Linux, decent/recent i7 with 64GB, but a paltry GTX970 (that’s just 4GB!).
Magic, thanks….
For clarity, I’m now getting a solid (!) 8fps on my ship view (up from 2-3), and 30 fps on map view (up from 12-15)…. Also, the GPU seems to be working harder - the colourful display I now get, says 100%, but nvidia-smi now reports it is running at 115W/200W (up from about 60W)…
Good find, seems to be helping quite a few folks.
Will test that when I’m home
May let me avoid using windows for my grand tour!
Also where are ships saved just in case I need to yoink my ship and move it over to windows
[STEAM_GAME_LIBRARY]/steamapps/compatdata/954850/pfx/drive_c/users/steamuser/AppData/LocalLow/Intercept Games/Kerbal Space Program 2/Saves/SinglePlayer/
(where STEAM_GAME_LIBRARY is $HOME/.steam/debian-installation by default.... I think)
thanks!
im preping for a grand tour
all planets and Moons
need all the frames i can get aha
HAH, good luck... judging from my experience and others that I've seen, just getting a simple craft not to bug out and RUD is an accomplishment in the current state.
gg. The most I've done so far is a sideways mun landing
the reason that attempt failed was the ship tipped over
lol
the rest of the attempts failed due to kracken
Also out of curiosity, anyone else have floating trees and bushes about 10m above KSC when launching crafts?
mainly me opening landing gear in high orbit
yeah, i have that too
i dont have that
Getting off work now but just saying it worked and I got a 3x boost in FPS
smh doesn't work at all, doesn't make my 60fps on launchpad go any higher 😔
so when the game came out i was getting like 3-4 fps at the ksc, but with -screen-quality Fastest and FSR, im getting about 55
With screen-quality fastest in vab I get 60-80
Getting about 40 in the pad
25-30 after launch
After removing it, the difference seems to be about f all
You already have fps in the double digits and you want more? Get outta here
lmao why is this message pinned
What's the name of this tool?
Is there a KSP2 launch option to disable fullscreen? My settings just keep bouncing back to default when I restart the game.
its -popupwindow for borderless fullscreen and -windowed for a normal window
Thanks, will try!
that looks like bpytop
but it's written in python so I don't recommend using it
its bashtop pretty sure
hmm yes, the tools both have a very similar ui style
This doesn’t work for me, or at least the performance isn’t noticeably better. Not using the WINED3D options as that deletes the KSC landmass.
with a custom bottles launch, i was able to get my fps at the KSC from 10 all the way up to 70. here's my config if anyone wants to give it a shot. note that you will have to change the KSP2_x64.exe path to wherever you have it installed. https://drive.google.com/file/d/1xp6xMIEnRja32skXOB6JSfIENC8vkdu3/view
Okay, thanks
Sorry, I have never used bottles. What do I need to install on ubuntu to use this?
just the bottles flatpak
Where does -screen-quality even come from? Is it just an argument of the game executable? Something seen on most unity games? Proton? I can't find any reference to it.
it's an argument to the game executable
I think it's a unity thing
the actual quality presets are specific to this game though
gotcha, thanks!
I found it by taking some inspiration from the modding people and reverse engineered the game
I was really happy to learn how easy it is to reverse engineer unity games. I'm guessing finding it was more work than ./KSP2_x64.exe --help though. 🙂 Suppose you decompiled a couple of the dlls and stumbled upon some of the C# code for handling the CLI args?
Nope. I used a thing called assetripper that basically turns the entire game into a unity project
I then opened it in unity (safe mode because it had errors), and was looking at the project settings
Stunning. hahah
So if you really want I could even tell you exactly what each of the screen-quality options does
iirc fastest uses half res textures, disables anti aliasing, and does several other things that I don't remember, I'll check when I get home
https://docs.google.com/spreadsheets/d/1bwuYTLDYO_zizYgmRXmF_YxHlxFHNQGlNzCBpfMeYxw/edit?usp=sharing I made a spreadsheet showing exactly what each option does
Sheet1
Preset,Pixel Light Count,Texture Quality,Anisotropic Textures,Anti Aliasing,Soft particles,Realtime Reflection Probes,Billboards Face Camera Position,Texture Streaming Memory Budget,Shadowmask Mode,Shadows,Shadow Resolution,Shadow Projection,Shadow Distance,Shadow Cascades,Vsync Count,LOD...
Wow, screen-quality actually made the difference for me. ~30 FPS in space (~12 FPS with Kerbin in view, ~50 FPS looking into space). 🙂
thanks! I shared this with others tracking KSP 2 performance on the DXVK repo
yeah that seems to be the case for most people that have tried it
How well does this help on windows? Has anyone shared this with windows players?
Has anyone determined if any of the standard Unity options for changing the graphics stack are built into to KSP2 yet? Specifically forcing Vulkan, OpenGL or earlier D3D options?
only D3D11 is supported in the current build sadly
Has anyone experimented with using DXVK to force the feature level lower?
As a note in WineD3D or D3DVK you can use registry entries to do the same.
I am not sure if DXVK honors these registry entries.
It might.
i had my nvidia driver bug out on me and it said feature level 10 was too low to run the game so i dont think theres much we can do with that
I bet at most we can cut it to 11.0, then. I suspect it is due to the fragment shader count. Technically the setting only lies to the program so it will install it's own limits. There is a way to strip access to some features by disabling DLLs.
I have. It either fails to launch or has really glitched graphics depending on what feature level you select.
so... what now?
are there any other random environment variables that could potentially but probably not boost fps?
-screen-quality Fastest seems to fix vram issues
IMO, blocky potato graphics are better than nothing at all.
My only complaints are when it’s just a glitch and not just bad graphics. (In terms of the fix, not KSP2 in general)
My extra small jet fuel tanks just spaz out
(It may be obvious to some) but I just turned off “VSYNC” for a serious improvement in fps, and with no degradation of display….
Why would turning off vsync improve things? Improve from what?
turning off vsync would let the game run as fast as possible
with it on, youre limited to your monitors' refresh rate
which if you are exceeding it during gameplay, your pc is a bit overpowered for what you do. your target performance should be the resolution and hz of your monitor, + a bit margins for futureproofing
also games running through proton tend to have
issues
with vsync
for example
my monitor is 60 hz
when playing warframe i accidentally had vsync on
and got like
15 fps
but after turning off vsync
i got well over 60 fps
something about how proton interacts with some games vsync settings causes problems on linux
its wierd
My brother in Christ no one is Vsync limited in this game unless they have a super computer.
I am vsync limited in KSP 1 though, even with scatterer, EVE-Redux and waterfall going full blast.
On the same hardware that gives 8 fps in KSP 2.
Technically vsync would limit updates to happen on a multiple of 16.66ms no? So even if you're not reaching 60fps, you might get your precious few frames ever so slightly earlier with vsync off. Not that you would notice at 8fps though.
Or like, half the screen would get the new frame earlier
It probably won't increase fps, but it might lower latency by at most 16.66 ms
On average 8ms
I doubt ksp 2 game speed would be tied to fps, at least in the future with multiplayer.
i never said that they were vsync limited, only that vsync would be a limiting factor above your monitors' refresh rate
The problem with VSync is that if the game isn't properly triple-buffering it can add substantial busy delay in the rendering stack.
They may need to fix this by changing it to use triple buffering.
Looks like the “available for Linux” flag has disappeared from Steam…
Source on that last bit: https://steamdb.info/app/954850/depots/, 954853
I don't think it ever was officially available for linux
finally got around to installing linux and ksp2 on my pc at home
1 FPS
lemme try with wayland
2 seconds/frame
im only getting like
1-2 FPS
oops
was using AMDVLK
mmmmmmmm 316 FPS
time to make a spreadsheet!
using the amdgpu kernel driver, I think thats the good one?
vulkan driver is the issue i was having.
seems on KSP2, or really anything, AMDVLK is pretty bad
vulkan-radeon is what you want
Isn't AMDVLK for ryzen CPUs?
Huh, guess it isn't
I would think cpu does not matter for what gpu driver should be used
It does not
supposedly the latest version of space warp works on linux but i cant get it working
I tried it about 2 weeks ago and it seemingly did nothing at all. It's of course entirely possible that I didn't install it correctly.
I added a GPU vendor column to the spreadsheet
It might make sense to scrub that from the specific GPU field? To make the data more consistent
Some people have put the vendor in, others not
Makes it kinda hard to read
I think it would make it clearer and easier to compare if we make it consistent, one field for vendor and one for product name
But I didn't wanna go in and change everyone's data without a discussion
It would also be a good idea to add the played resolution, 720p is very different from 4k
On release day it showed it as "Availablefor Linux", I was able to download it to a Linux system. Today it doesn't, and I can't...
Go into Steam settings -> Steam Play, and check the box that enables Steam Play for all titles
Ah! Thanks.
Cool, good call.
yeah steam will let you download literally any windows game on linux
Sometimes it’s better than the native Linux builds of certain games, namely Black Mesa Definitive Edition.
Also, Warhammer 3, it doesn’t run quite as good but you get the most recent updates at least so you can play with your friends on windows
Linux nerds, assemble
I just tried it without any flags, and was still 3fps when I went to launch, so going to play a bit later to see
WOT?
is it just me or do the orbits no longer show up
hm, after a restart the orbits are there, but mun is just black
yeah i noticed a FPS increase
that's one way to get more fps, don't render anything lol
Noticeable improvement! I get stable 20 fps on the launchpad now, instead of 16
added version column to the performance sheet
Will test with my computers sometime within a few days
things randomly exploding for seemingly no reason is an issue I have experienced both before and after the patch.
Yesterday I encountered a new (to me) bug where my craft begins to rotate rapidly with SAS on until it falls apart. Not sure if it was related, but at the same time I had a decoupler that drifted far away from the craft while still being attached
When I was launching yesterday, I couldn't keep control at all and instantly went into a spin where it shouldn't have, I do wonder if related to what you saw
I've seen a lot of Windows users complain too. I wonder if it is more common in Wine or not.
The more frequent issues on Linux might just be that more Linux users are willing to attempt to run the game on under-spec systems.
I really doubt it.
Things exploding is caused by logic in the game's code. This is something I am pretty much confident proton doesn't mess with as it would likely break a lot of stuff.
The types of issues proton can introduce are mostly performance related, although it's probably possible that some software relies on some very specific quirk of windows libraries in order to function correctly, and the wine version doesn't have that quirk because to be honest there's simply no way that the wine versions of libraries are 100% perfect.
or the library being less optimized like with dxvk
What are people using for the launch settings with this latest patch?
My thought is that the performance issues cause. Back when the various physics bugs were common in KSP1 the bugs were made infinately worse by low framerates until a function was put in to slow down time if the framerate got too low.
for me at least, same as before the patch
thank you! 👍
for me -screen-quality Fastest still seems necessary to get decent fps
Yea I just barely have a smooth enough framerate now that it doesn't bother me, I'm not itching to go back to slideshow mode just to get sharper shadows or whatever.
maybe its because my system is so low end but -screen-quality-fastest has no effect on performance.
game still draws trees and clouds.
I also didn't realize any of the supposed performance improvements in Patch 1, if anything it got worse.
the argument must be added at the very end of everything in launch options and is "-screen-quality Fastest", not "-screen-quality-fastest"
When you did this, where did you move UnityPlayer.dll and everything else?
If trees are still visible while at the ksc, then you haven't done it correctly.
full launch options should be eval $(echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) -screen-quality Fastest
i just moved the whole steamapps ksp2 folder out to a different directory
Thanks, @short condor . Copy pasting your launch options gave me the best KSP2 experience on Linux so far. Usually 30fps+ . Frames were better with PROTON_USE_WINED3D=1, but the missing/black terrain is a deal breaker.
for me this even beat PROTON_USE_WINED3D
I was hitting 100+fps sometimes with PROTON_USE_WINED3D=1 but of course it helps when you don't bother to render the ENTIRE PLANET 😆
Figured it out, on some distributions the file handler will create a sandboxed directory that doesn't have access to UnityPlayer.dll and the other stuff, and copy KSP_x64.exe there, which doesn't allow it to launch with wine. To get around this I did flatpak override --user --filesystem="host" com.usebottles.bottles
note that this is technically "less secure"
Also one of the more important options is that in bottles, the option that enables Steam libraries (I think it was Steam runtime or something) has to be on, or the game doesn't seem to work
unfortunately after all that effort, it lowered performance instead of raising it on my 3050 ti laptop machine no matter which settings I used. I will eventually test on my 3090 ti desktop though, and see what the results are
I pasted that exactly and still have trees when on the launchpad which means it doesn't work.
does skip the launcher though which is nice.
trees on launchpad is probably fine, it doesn't stop them from rendering them completely, it just sets the rendering range very low
but do you see any when in the ksc screen
not in flight mode
yes, lots
buttery smooth 8 fps on the launch pad
worst case scenario in KSP 1 (every visual mod loaded, staring down at Kerbin with a 90 part ship I net at least 4 times that on the same computer. The fact this game passed QA is a disgrace.
hmm that actually looks like it worked
I mean in like the default camera position
sorry I should have specified
what are your specs?
6900HX cpu with integrated graphics, 32 gigs of DDR5.
that's your problem lol
honestly given what hardware you have 8fps is kinda impressive
I have a 1070 and get about 25 with a similar camera angle
your cpu is great but this game currently seems incapable of benefiting from a great cpu.
It’s Crysis. That’s as simple as it is
but can it run ksp 2?
anyone else having super buggy audio in the vab?
like unbelievably bad crackling audio?
thats why its buggy
I'm on Arch with an RTX 2060 and i5 9th gen, game loads up pretty quickly, but once a save is loaded it's really heavy and runs at about 2 FPS. Takes up all system resources too, navigating outside the window is also quite difficult and unresponsive. This was on Proton's experimental branch though, I don't really know how others reached bearable FPS...
to me -screen-quality Fastest is not doing all that difference
maybe i gain a couple FPS out of it
I think you're probably hitting the vram wall. I have a 2060 Super, which has 8GB of vram, and I can get 30-60 fps sometimes with -screen-quality Good and low graphics settings, but my vram is almost completely full. I think I use just under 8GB of vram. Your card only has 6GB of vram, which is known to have significant performance issues.
i hear that the game runs fine though on the GTX 1660 on native, which has the same amount of vram, and less cores too. i think it has to be something else
That's odd
you sure you did it correctly?
like this?
@sterile stone
simply adding it somewhere does not necessarily mean it's going to work
Hey just like me!
that's odd that it doesn't seem to do anything
im using protons experimental branch though, might try a stable one
Try proton ge
@sterile stone do you have anything else running at the same time as the game? When I play, I can barely run anything else without massive performance issues.
specifically any windows that may be open at the same time
particularly things that use a lot of vram (apparently steam can sometimes fall into this category...)
I use a terminal with a transparent background and if I tried launching it while the game was already running, it just wouldn't launch so I had to launch it first to get nvtop. I haven't tried that again since the patch, but I think that probably wouldn't happen anymore depending on what scene I'm looking at.
I sometimes even run out of vram while playing the game and i can immediately tell because the game gets really slow
I run with screen quality fastest and anti aliasing enabled on the lowest setting since it makes things look way better with minimal performance cost
i dont think enough to really impact performance
i might try disabling kwin
see how much that helps
lol
i might try later, but honestly i think i can wait until therell be more optimisations
hopefully a native version
they're definitely working on it
If you have nvtop installed you can see the vram usage. I think yours is probably at 100%
do we have confirmation? they said that they are definitely considering it, but i dont think they are actively trying to get it to us rn
Yeah, I get near 100% VRAM usage w/ 8GB of VRAM. They REALLY need to optimize VRAM.
They need to use shared textures for all the parts, and use some form of real-time generated textures for terrain that will create terrains from much smaller textures. (2GB of texture should be able to texture several planets with the appropriate shader filters.)
If they want to sacrifice quality they could do it in 1GB.
Parts should be easy to fit in 1GB.
See how Restock got so many HD quality parts on so few textures for KSP1.
I have a little bit better framerates overall, much better when I'm not near a planet, but some of the performance issues are very much still a thing. Some bugs are gone, many remain
KSP2 is still slow as a snail on my computer. I'm going to need to do more detailed profiling, but I think GPU memory bandwidth is my limiting factor. The GPU's memory cranks up to a higher clock, but the GPU cores do not.
Framerate is still awful, but it is more consistent. No more drops into below 1fps.
so overclock your vram obviously
Probably will need to. My GPU likely has tons of headroom on that. I just need to enable overclocking.
yeah vram can sometimes overclock quite a bit. For example I have a stable +900 mhz overclock to 8900 mhz on my 1070
Well all I had to do was set it to the pre-OCed power profile mode from the manufacturer. Which honestly just changes some of the other clocks and how quickly they upclock.
I think it might also change some hidden settings such as turbo limiters.
It doubled my VRAM speed when playing the game.
I am not CPU limited, but I don't have an indicator of CPU-side RAM usage.
However, I don't have the module loaded for advanced CPU statistics. That might be what I need.
The new patch seems much better on vram. I’m on medium settings with no launch options except the one that skips the launcher and I’m getting 55 fps in the VAB on an RTX 2060 Super. Currently have a rocker with 116 parts loaded with no issues.
I’m using 6.4GB of VRAM out of 8 total
With no rocket loaded I’m getting 115 fps
46 fps on launch pad
60 fps looking down on kerbin
The maneuver planner is a lot easier to use.
Currently deorbitting with 35 fps looking at kerbin from about 50k meters up
Still only using 6.6GB of VRAM
Landing on some mountains with 25 fps.
After planting a flag, I couldn’t control my kerbal anymore.
@covert salmon how does that compare to your previous results?
It’s all significantly better. I don’t remember many exact numbers, but I have an entry in the pinned doc from I think before the first patch? I’m not sure when I did that, but you can also take my specs with my current results and compare it to other entries on the doc.
For most people, the issue has generally been that the game loves to eat up as much VRAM as possible, so the fact that I was able to play with a consistent ~6.5GB of VRAM means that the bar has been lowered a bit. In the last patch, I had the screen-quality flag set to Good and I was still using pretty much all of my VRAM
oh ! IT RUNS WITHOUT WINE3D !
I'm actually getting over 40fps in the VAB editor, up from 10fps
I mean, WOW!
I'm also getting around 35 fps in low orbit of Kerbin, making
I took off all launch settings (except skip launcher) and I am also running it just fine. Great to not have to use the launcher settings anymore, I hated how it messed up the xs fuel tanks, and I also like seeing the tree from a distance.
I do keep my settings on low though
How do you get steam to run ksp 2 without the launcher breaking?
Just logged back in after last attempting to play on launch day and to my surprise it’s actually playable on my steam deck now. Amazing quick work on the optimization!
I got the game to run on linux. oh god it's not running great
after patch 2 i dont realy notice many improvements
What are your specs? If your graphics card has less than 6GB of vram or already had ~10GB or more, then you probably won't see much difference.
Rtx 3060
i can now play the game at 30 fps
before it was like 6
like it seems a little more stable
i hit 15 fps now
more consistantly
but not that large of an improvement
so like from a plane launch
my framerate went from
5->10->15
Wanted to add on, I started getting issues at night time when I am at KSC. Not 100%, but I assume it has something to do with the light sources in this case.
During the day I still get good frames
The biggest improvements are in orbit. I get to 40fps-60fps in high orbit.
Anyone having trouble with the launcher crashing.
I was looking into the issue. It seems that Valve pushed updates for all their proton versions 7.0 and later, and some people have had problems with a few applications, especially in Experimental and the new 8.0. The problems seem to vary by video driver. I may have to resort to wine-d3d or skipping the launcher.
I'm sure that some other Private Division games have run into trouble as well and Private Division is working hard on it. Valve is already too as it hit their default config for a few other games. It only broke a very small number of 7.0 relying games, and broke more that were configured to latest or experimental. Most people are reporting a handful of their games not working. Problems include DXVK issues, Mono and various other libraries. I will look into detail later if it doesn't fix itself.
In the meantime I now know that Valve is aware and is working with all willing developers to fix it.
I find it SO annoying when these problems only affect some users on specific hardware and/or software configurations. BTW. 
However, these issues are much more likely to hit non-mature products, like KSP2 and the Private Division launcher, as well as problematic.
OK, the issue seems to be on Private Division side.
The error log reports an SSL Error 1. It seems they have a certificate issue.
