#Linux Thread

1 messages · Page 2 of 1

short condor
#

there are probably many

covert salmon
#

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

short condor
#

yay memory leaks

covert salmon
#

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

covert salmon
#

Finally landed on the mun. Now I can’t get back in the capsule

solar quartz
#

just run apt-get inside

craggy nest
#

the hardest setup question

tired flame
#

im still having the backscreen issue after having turned off fullscreen, what else can i do?

#

and it also doesnt save my settings.

manic wadi
#

can we discuss the "pumping sim once" issue

orchid relic
#

the cow has spoken

 _______________ 
< I LOVE KERBAL >
 --------------- 
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
tardy sinew
# manic wadi can we discuss the "pumping sim once" issue

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
flat skiff
#

my game works fine, although 'pumping sim once' is by far the longest part of the load time (about 10 seconds every time)

tardy sinew
acoustic tartan
#

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

odd falcon
#

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

gleaming elk
#

Someone did the comparison earlier and said Windows was about 5fps better, but still only around 20fps.

wispy torrent
#

and then 25 to like 65 in low orbit

#

i7 9700k and 2080 running medium settings

odd falcon
#

if thats the more majority case, then there is some issue with Proton

#

maybe bring it up with valve?

native rampart
#

is there a tl;dr yet?

odd falcon
#

about linux performance with ksp2?

native rampart
#

yes

odd falcon
#

if you have a steam deck, its unplayable right now due to performance issues and it crashing steamos commonly

native rampart
#

expected

odd falcon
#

there seems to be a possible trend that linux performance under proton is much worse than windows native performance

small zenith
wispy torrent
#

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

odd falcon
#

is ksp2 DX12 or DX11 still?

native rampart
#

DX11 iirc

acoustic tartan
#

Went from like

#

10 fps to maybe 15

#

The change was extremely minor if present at all

wispy torrent
#

was your CPU usage pegged in both cases though?

acoustic tartan
#

50% cpu usage

#

So it was likely a cut choke

#

Hopefully physics get optimized and that is reduced

wispy torrent
odd falcon
#

my cpu is a 9700K and it sits at 80% the whole time

gleaming elk
#

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.

finite nebula
#

Yeah but is that per core or total?

acoustic tartan
#

Why wouldn’t it be physics related

#

It’s bottlenecking at the same frame rate on windows as on Linux

wispy torrent
#

I think a couple of us are hitting different bottlenecks

acoustic tartan
#

True

#

It’s not my graphics card

wispy torrent
#

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

acoustic tartan
#

Yeah

#

Mine feels cpu related as windows doesn’t give any boost to frame rate

wispy torrent
#

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

acoustic tartan
#

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

quaint parcel
#

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

small mango
#

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)

smoky raptor
#

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)

small mango
#

sure

quaint parcel
opaque stream
quaint parcel
#

not entirely but its runnning a stable 40 fps in VAB and 20-30 in flight

#

and that was after i added it

quaint parcel
#

I would guess

#

But theirs definitely a memory
Leak so.where I've noticed over the course of multiple launches my.performance.slowly degrades

odd falcon
#

Got a bit farther today

#

This is with DXVK. Game won’t run on WineD3D for me

short condor
#

It's really painful to see all of the amd gpu people getting decent results when you have an nvidia gpu

odd falcon
#

Steamos instantly crashed when I pressed go

odd falcon
short condor
#

cpu seems much more irrelevant than gpu tbh

#

ah that's a gpu

odd falcon
#

With the steam deck it’s not a cpu issue

short condor
#

amd has somewhat confusing naming lol

odd falcon
#

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

short condor
odd falcon
#

Well yeah, you’re right

short condor
#

the steam deck does have an advantage due to having an amd gpu

odd falcon
#

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

short condor
#

give it a few versions and it might be

odd falcon
#

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

flat skiff
#

there's a launch parameter which skips the launcher

#

eval $( echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" )

short condor
#

The launcher which basically exists for no reason at all

flat skiff
#

yeah idk what it's for

#

shareholders?

odd falcon
#

Publishers are nasty

short condor
#

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.

odd falcon
#

Does that not apply for AMD users?

flat skiff
# odd falcon Private Division

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 ????

acoustic tartan
#

After trying those codes y’all recommend it actually helped

#

Seems a majority of the lag is like

short condor
acoustic tartan
#

Coming from the trees???

odd falcon
acoustic tartan
#

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

odd falcon
#

I’ll try that on my steam deck

#

Still might suffer from the ram usage issues for me

acoustic tartan
#

The trees drop me by like 10 frames

#

Probably cause there’s just so many

odd falcon
#

I really hope the game gets better

acoustic tartan
#

It will

#

It’s more of a early beta build then a proper early acess

finite nebula
short condor
#

I feel like them using unity may not have been the best decision

quaint parcel
short condor
#

yes but I mean it's similar to cpu naming which can get a bit confusing

quaint parcel
#

All gpus ar preface by rx so

short condor
#

especially when they made the 3000xt cpus

odd falcon
#

Unity was the easiest choice

finite nebula
quaint parcel
#

So a gpu is rx-xxxx whereas cpu would just be xxxx

odd falcon
short condor
#

unreal is probably better

#

I've more or less just given up on ksp 2 until we get an update

odd falcon
#

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

short condor
#

The devs probably don't work on weekends, so probably at least a few days

finite nebula
short condor
#

wdym

#

I am confused

finite nebula
covert salmon
#

Anyone else notice that the fps in the vab goes down when you revert to vab?

ruby apex
#

Changing scenes eventually triggers a big drop in fps for me if thats what you mean

covert salmon
#

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

ruby apex
#

Same

#

Try making a save with a craft on a launchpad/runaway/space and load that directly, see if that makes a difference

odd falcon
#

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

odd falcon
#

This is the best I’ve gotten. 10-12 FPS on and looking at kerbin. Looking away it goes to around 23-27FPS

young sluice
#

considering, that's not that bad

small zenith
odd falcon
#

Oh yeah I can

minor apex
#

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.)

short condor
odd falcon
#

Ok I added my entry to the doc

sage junco
#

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

short condor
#

apparently a steam deck can outperform most nvidia gpus

odd falcon
sage junco
#

but it was not running well lol

#

really??

#

wow

odd falcon
#

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

sage junco
#

even my pc with a 1660 and a 2700x hit like 5-10fps when launching

#

maybe i used radial parts actually for that ship

short condor
#

this game appears to really hate nvidia gpus

sage junco
#

really?

#

interesting

#

saw a good reddit post on how all the draw calls except for 1 were running at 8ms(120fps)

odd falcon
#

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

sage junco
#

the one for the surface of the moon took way longer

#

looks like its a fairly easy fix for that

odd falcon
#

the SD uses LPDDR5-5500MHz

sage junco
#

some weird huge shader

odd falcon
#

running in quad channel too, so its very fast

sage junco
odd falcon
#

you can apparently overclock it to 6400MHz if you use some hack but im not gonna do it

sage junco
#

oh wow

short condor
#

could try zram swap too, may be faster

sage junco
#

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

odd falcon
#

it mostly seems like

#

the game seems to be fairly decent on ram usage, mostly

#

its just VERY heavy on VRAM

sage junco
#

huh interesting

#

ahh

#

i have 8gb

odd falcon
#

in KSC it goes up to 10GB of VRAM used

sage junco
#

jeez

odd falcon
#

so on the SD, that becomes 4GB dedicated and 6GB shared

sage junco
#

ive got a 2080super

#

yeah thats definitley not enoguh

#

swap makes stuff a lot slower

odd falcon
#

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

sage junco
#

yeah

short condor
#

The kernel is required to retrieve stuff from swap, and if it itself is swapped then it cannot be retrieved.

odd falcon
#

well, i meant like, most of the system services

#

stuff that isnt being actively worked on

short condor
#

ah yeah fair

hidden wolf
#

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?

odd falcon
#

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

minor apex
odd falcon
#

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

hidden wolf
hidden wolf
odd falcon
#

I hope so

#

Considering the priorities though

#

Not for a while

#

Valve likely will be the one to fix the private division launcher

minor apex
# odd falcon unfortunately because it doesnt work out of the box, its gonna be marked as unsu...

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.

minor apex
odd falcon
small zenith
#

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
minor apex
#

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.)

hidden wolf
#

Yeah dude the game itself is very unstable

young sluice
#

I'm sure they have linux nerds on the dev team, but they have much bigger issues right now

hidden wolf
#

It is still being built in a fundamental sense, so porting to other platforms will always come after that

minor apex
#

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.

short condor
small zenith
#

Funny how the two GPUs that are traditionally associated with bad drivers literally run better than Nvidia in this case

short condor
#

Well on linux nvidia is generally the bad one

small zenith
#

Yeah

#

Just think it's hilarious

short condor
minor apex
#

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.

short condor
#

and adding stupid launchers that nobody wanted

minor apex
#

Including their primary investor.

#

I suspect they even outsourced the stupid launcher to one of their subsidiars. JebYes

dapper flume
#

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

short condor
short condor
dapper flume
#

thanks! atleast im not the only one screwed

minor apex
#

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.

minor apex
#

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.)

opaque stream
#

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

odd falcon
#

Have we figured out why on DXVK it never compiles shaders?

tardy sinew
#

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

quaint parcel
craggy hawk
#

honestly given perf is so similar and proton worked at launch I think it's unrealistic to expect a native port

tribal pewter
#

proton did not work at launch

#

well it depends on your definition of "working"

orchid relic
#

if the devs build a version with vulkan i bet we would see way higher fps.

tribal pewter
#

absolutely

craggy hawk
#

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

tribal pewter
#

when i tried (endeavouros) i was barely able to move the camera in the vab

#

default settings and experimental proton

ruby apex
novel mantle
sage junco
#

I wonder if we’ll get a proton GE version with some KSP 2 fixes

novel mantle
sage junco
#

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

short condor
#

nvidia users are hitting an issue where it utilizes an excessive amount of pcie bandwidth (or at least I am)

novel mantle
short condor
#

Yeah

#

it's like 40-50% utilized

novel mantle
#

how can you tell?

short condor
#

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

novel mantle
#

can you please run nvidia-smi dmon while running game at kerbin?

short condor
#

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

unreal path
#

ok, I know it's not the best place to ask, but what linux kernel would you recommend for gaming only?

short condor
#

honestly probably doesn't matter much

#

as long as you're using something that isn't incredibly outdated

novel mantle
unreal path
#

sorry i meant distribution, not kernel lol

solar quartz
#

i've heard good things about pop os

short condor
#

probably doesn't matter much however many of us seem to be using arch or arch based distros...

novel mantle
solar quartz
#

if you love learning and hate having freetime gentoo is always an option

short condor
#

gentoo is stupid

#

Sorry but it really not practical to compile everything yourself

small zenith
novel mantle
static schooner
#

every 60 seconds in africa, a minute passes

ruby apex
# novel mantle Indeed, KSP is doing excessive transfers when FPS drops. What's your nvidia-smi ...

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)

odd falcon
#

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

odd falcon
#

Look at cities skylines

#

A proper vulkan implementation is Doom 2016

short condor
#

to be honest, even an opengl version of the game would be great at this point.

#

idk if unity opengl is any good though

craggy hawk
#

overall far lower transfer amounts than others are reporting

young sluice
#

3060 12gb?

wispy torrent
#

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

craggy hawk
wispy torrent
#

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.

young sluice
craggy hawk
#

i.e. the people with issues are running out?

young sluice
#

yeah

#

thats what it seems to me

wispy torrent
#

People with >> 12GB VRAM are reporting OK frames on proton I'm pretty sure

craggy hawk
#

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%

acoustic tartan
#

have we gotten space warp working for linux yet?

mystic oasis
hidden wolf
#

it's ok guys, i'll just play KSP1 againkerbnoooooo

halcyon frigate
#

Where are the craft files located on Linux (going crazy looking for them…)

flat skiff
halcyon frigate
#

Ta!

digital tartan
#

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

craggy hawk
#

that number for the prefixes changes btw, it's not deterministic afaik

#

954850

candid marsh
#

954850 should be the Steam AppID for KSP2 - doesn't change iirc.

acoustic tartan
#

has anyone gotten mods working?

glacial python
#

There are mods already?

brave plover
#

Yea, the KSP community is nuts!

glacial python
#

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!

acoustic tartan
#

moding atm is just adding in some files to the root directory

#

but this doesnt seem to work on linux

glacial python
#

There seems to be a lot that doesn't work on linux in general

short condor
#

when do we get an update?

minor apex
#

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

young sluice
#

specs?

short condor
#

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.

novel mantle
#

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...

orchid relic
#

kerbal space program 2 run above 20fps challenge (impossible)

odd falcon
novel mantle
#

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...

glacial python
#

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

craggy hawk
#

@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)

novel mantle
#

I mostly use a kerbal as a vessel for testing... limits a lot of wrong ship design by great deal

orchid relic
#

what does the WINE_CPU_TOPOLOGY=4:0,1,2,3 launch option even do?

fathom belfry
#

Could it be misreporting because of the double data rate?

#

Or does that not apply on pcie

novel mantle
#

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...

orchid relic
#

i thought it was like some dark magic that made the game run better

novel mantle
#

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...

craggy hawk
#

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

novel mantle
#

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!

craggy hawk
#

still, in-game the pci monitor shows you doing a lot more transferring

#

so pcie 4 might help some but probably not a ton

quaint parcel
#

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

novel mantle
wanton surge
#

I cant find the physicssettings.json in what steam settings says is my games local files. Where is it? running Manjaro KDE.

novel mantle
#

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

craggy hawk
#

no he wants to fix the noodle rockets

novel mantle
#

steamapps/compatdata/954850/pfx/drive_c/users/steamuser/AppData/LocalLow/Intercept Games/Kerbal Space Program 2/Global/PhysicsSettings.json

novel mantle
digital tartan
#

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

minor apex
#

I needed that info.

#

I would have found it, but you saved me several minutes.

#

Really saved me time there, thanks

wanton surge
#

i found it after I searched my root folder lol. impatient

glacial python
#
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)

finite nebula
glacial python
#

Numbers self-reported by individuals, 100% NOT scientific AT ALL, but provides a rough idea.

finite nebula
#

Because someone with a better card often has a better pc overall

glacial python
#

dunno, it was based off a spreadsheet where a dozen or so folks just self-reported some of their data.

queen ravine
glacial python
#

16GB VRAM 😉 -- You fall into that 'more memory' category.

orchid relic
#

GPU selection would be so much easier if you could just install VRAM like you do RAM

glacial python
#

I have had some video cards with expandable memory

finite nebula
#

Issue is that VRAM require a ton of bandwidth, and has incredibly tight limits on the length of traces

orchid relic
#

true

finite nebula
#

Not sure anyone has mentioned it, but they're apparently working on a Linux build

odd falcon
#

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

orchid relic
glacial python
#

I think I omitted the 1 entry for the steamdeck in the sheet because I didn't know what GPU it used.

short condor
#

The game needs a lot of optimization before it can really be playable on a steam deck

odd falcon
#

i made that entry, the steam deck doesnt use an off the shelf GPU

odd falcon
#

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

glacial python
#

but yeah, officially supporting the steamdeck will be huge for the game.

odd falcon
#

vram by default is 1GB but it can use the system memory if it needs to

odd falcon
finite nebula
odd falcon
#

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)

short condor
odd falcon
#

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

short condor
#

I wonder if a zram swap partition could help, it's compressed in ram and not on ssd.

finite nebula
odd falcon
#

ram compression would help a lot as well

finite nebula
short condor
#

disk io was never much of an issue with this game afaik

finite nebula
odd falcon
#

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?

short condor
#

cpu seems mostly irrelevant for this game as long as it's not a complete potato

finite nebula
short condor
#

fair

odd falcon
novel mantle
finite nebula
novel mantle
glacial python
#

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?

finite nebula
#

Maybe RAM speed and number of DIMMs installed vs available on board vs memory channels on CPU?

glacial python
#

oof, I don't even know how many memory channels my cpu has, let alone know how to retrieve that value from a command

finite nebula
#

Just thinking aloud for "things that could affect performance"

fathom belfry
#

loving the custom gpu 0405

#

what a banger (didnt realise i was scrolled up lol)

glacial python
#

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

finite nebula
#

tbh I'm not sure it has a noticeable effect

glacial python
#

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

novel mantle
#

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.

glacial python
#

I have absolutely no idea how to calculate MT/s from memory, any directions?

gaunt veldt
#

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

novel mantle
#

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)

glacial python
#

Would you still want to see number of sticks installed or just bugger that thought?

gaunt veldt
#

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

novel mantle
glacial python
#

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. 😛

novel mantle
#

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...

gaunt veldt
#

Quadros aren't really meant to be used for gaming, but they usually have higher than average vram for their age

glacial python
#

The quadro would actually be the perfect card, their high vram allows them to run early release code easier.

gaunt veldt
#

10+ years ago they weren't very good, just workstation graphics cards

#

Yeah

novel mantle
#

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?

glacial python
#

They did say "20-40"

#

maybe it was closer to the 20, I just split the difference when I set them to individual numbers.

fathom belfry
#

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?

glacial python
#

That's why I listed the first as KSC, it's a single static view that should be consistent for everyone.

ruby apex
#

.

#

Varies wildly between runs still, hence the range

#

Does stay closer to the lower 20 bound

gaunt veldt
#

Deleting the .resS files got me an extra 5-10 fps, though I'll play for a bit and see if that drops

ruby apex
#

Of note is that it does ensue some breakage with assets here and there, but doesn't seem to affect gameplay

finite nebula
novel mantle
gaunt veldt
#

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

finite nebula
gaunt veldt
#

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)

fathom belfry
gaunt veldt
finite nebula
#

Kinda seems like it's doing fewer transfers, if I'm reading the graph right

gaunt veldt
#

Us Linux users are playing the Windows version anyway, for now

#

Yeah

fathom belfry
glacial python
#

Seems like the game client is processing less asset data, and seeing that you deleted some assets, that makes sense.

finite nebula
#

I wonder if it's getting stopped on a DMA

ruby apex
#

Assets for the arrow keys and some other images in the tutorials dont show

#

And that's about as much as I've noticed

glacial python
#

got it updated in the sheet.

novel mantle
ruby apex
#

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)

short condor
#

removing files makes the game run faster?

novel mantle
gaunt veldt
#

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

short condor
#

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

minor apex
#

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.

finite nebula
#

384b + "infinity cache"

minor apex
static schooner
static schooner
#

i know, I should have mentioned it.

I just want to be able to use linux on my laptop so I could help :/

novel mantle
#

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).

tribal pewter
#

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

flat skiff
tribal pewter
#

...yes

flat skiff
#

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 😔)

tribal pewter
#

i am also not very smart apparently

novel mantle
# tribal pewter hats off to the devs at steam for making it work so well but it is annoying how ...

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...

wanton surge
#

whats the proton bug?

young sluice
sleek salmon
#

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

small zenith
short condor
#

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

final osprey
#

testing momentarily

short condor
#

works great with dxvk even

final osprey
#

did you add that after echo or after sed ?

short condor
#

idk, for ease of testing I started it from the command line lol

#

but I will figure it out

final osprey
#

what's the full line you used

#

oh jesus

final osprey
#

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

short condor
#

There's several other valid options, Fastest, Fast, Simple, Good, Beautiful, Fantastic (default)

final osprey
#

testing exactly how much faster now

short condor
#

Of course, fantastic appears to be the highest setting

final osprey
#

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

final osprey
#

I don't see any drawback to the argument though

final osprey
short condor
#

haven't gotten it to work launching from steam

#

if it works properly you shouldn't see 3d trees at ksc

final osprey
#

oh
I might not have done it right, one moment

short condor
#

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

final osprey
#

ohhhh editing my original message

#

trees are gone, definitely worked

short condor
#

you should now be getting 50+ fps in VAB probably

final osprey
#

I was already getting 140 but let me check

#

now getting 160

short condor
#

well for me it was a 5x improvement or more in some cases

final osprey
#

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

short condor
#

Probably because it decreases the vram requirements to something that an 8gb card can handle

final osprey
#

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)

odd falcon
#

lemme try it on my SD

#

that argument goes at the end?

final osprey
#

without mangohud if you don't want it (or haven't installed it)

odd falcon
#

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 ?

final osprey
#

try it? no idea

odd falcon
#

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

short condor
#

this beats wined3d while being less glitchy for me

odd falcon
#

does this command also work on windows???

final osprey
#

that is a good question

short condor
#

probably

orchid relic
#

-screen-quality Fastest probably works on windows too.

short condor
#

it is most likely also beneficial on windows

odd falcon
#

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

short condor
#

it improves vram usage but it still requires a decent amount

odd falcon
#

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

final osprey
#

I've had that a few times on launch, it normally just takes a second

odd falcon
#

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

final osprey
#

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?

odd falcon
#

are there any mods that exist yet that have helped with performance?

final osprey
odd falcon
#

it seems like it may improve performance on low VRAM systems

#

mostly because when it exceeds the dedicated amount, it moves towards system memory

small zenith
#

12gb vram gaming

odd falcon
#

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

final osprey
covert salmon
#

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.

covert salmon
#

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.

pure ice
#

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

covert salmon
#

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

covert salmon
#

I added my stats to the doc with the new option

ruby apex
opaque stream
# short condor There's several other valid options, Fastest, Fast, Simple, Good, Beautiful, Fan...

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

finite nebula
static schooner
#

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.

chrome plover
#

Didn’t mean to @ oh god such an old message I’m sorry

halcyon frigate
#

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)…

glacial python
acoustic tartan
#

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

glacial python
#

[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)

acoustic tartan
#

thanks!

#

im preping for a grand tour

#

all planets and Moons

#

need all the frames i can get aha

glacial python
#

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.

acoustic tartan
#

so far my best has been

#

Kerbin -> Moho -> Eve -> Duna

short condor
#

gg. The most I've done so far is a sideways mun landing

acoustic tartan
#

the reason that attempt failed was the ship tipped over

#

lol

#

the rest of the attempts failed due to kracken

glacial python
#

Also out of curiosity, anyone else have floating trees and bushes about 10m above KSC when launching crafts?

acoustic tartan
#

mainly me opening landing gear in high orbit

acoustic tartan
#

i dont have that

chrome plover
flat skiff
#

smh doesn't work at all, doesn't make my 60fps on launchpad go any higher 😔

orchid relic
#

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

small zenith
#

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

digital tartan
short condor
foggy plaza
#

What's the name of this tool?

tired flame
#

Is there a KSP2 launch option to disable fullscreen? My settings just keep bouncing back to default when I restart the game.

orchid relic
tired flame
#

Thanks, will try!

short condor
#

but it's written in python so I don't recommend using it

orchid relic
short condor
#

hmm yes, the tools both have a very similar ui style

wanton surge
orchid relic
ruby apex
#

@foggy plaza ^

foggy plaza
#

Okay, thanks

hidden wolf
wispy torrent
#

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.

short condor
#

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

wispy torrent
#

gotcha, thanks!

short condor
#

I found it by taking some inspiration from the modding people and reverse engineered the game

wispy torrent
#

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?

short condor
#

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

wispy torrent
#

Stunning. hahah

short condor
#

So if you really want I could even tell you exactly what each of the screen-quality options does

wispy torrent
#

Do tell!

#

knowledge is power here

short condor
#

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

short condor
#
candid marsh
#

Wow, screen-quality actually made the difference for me. ~30 FPS in space (~12 FPS with Kerbin in view, ~50 FPS looking into space). 🙂

wispy torrent
short condor
covert salmon
#

How well does this help on windows? Has anyone shared this with windows players?

short condor
#

I did mention it in #🔹ksp2_technical a while ago

#

idk how many people saw it

minor apex
#

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?

orchid relic
minor apex
#

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.

orchid relic
#

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

minor apex
#

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.

short condor
orchid relic
#

so... what now?

#

are there any other random environment variables that could potentially but probably not boost fps?

short condor
#

-screen-quality Fastest seems to fix vram issues

glacial python
#

IMO, blocky potato graphics are better than nothing at all.

chrome plover
#

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

halcyon frigate
#

(It may be obvious to some) but I just turned off “VSYNC” for a serious improvement in fps, and with no degradation of display….

covert salmon
#

Why would turning off vsync improve things? Improve from what?

odd falcon
#

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

acoustic tartan
#

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

wanton surge
#

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.

digital tartan
#

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

short condor
#

I doubt ksp 2 game speed would be tied to fps, at least in the future with multiplayer.

odd falcon
minor apex
#

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.

halcyon frigate
#

Looks like the “available for Linux” flag has disappeared from Steam…

finite nebula
short condor
odd falcon
#

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!

wanton surge
#

hmm

#

I should check what driver i'm using.

wanton surge
#

using the amdgpu kernel driver, I think thats the good one?

odd falcon
#

vulkan driver is the issue i was having.

#

seems on KSP2, or really anything, AMDVLK is pretty bad

#

vulkan-radeon is what you want

small zenith
#

Huh, guess it isn't

short condor
#

I would think cpu does not matter for what gpu driver should be used

odd falcon
#

It does not

acoustic tartan
#

supposedly the latest version of space warp works on linux but i cant get it working

short condor
#

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.

digital tartan
#

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

celest kettle
#

It would also be a good idea to add the played resolution, 720p is very different from 4k

halcyon frigate
digital tartan
halcyon frigate
#

Ah! Thanks.

short condor
#

yeah steam will let you download literally any windows game on linux

wanton surge
#

Sometimes it’s better than the native Linux builds of certain games, namely Black Mesa Definitive Edition.

chrome plover
small zenith
#

Linux nerds, assemble

hushed ibex
#

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

glacial python
rigid flame
#

is it just me or do the orbits no longer show up

rigid flame
#

hm, after a restart the orbits are there, but mun is just black

acoustic tartan
#

yeah i noticed a FPS increase

rigid flame
#

that's one way to get more fps, don't render anything lol

digital tartan
#

Noticeable improvement! I get stable 20 fps on the launchpad now, instead of 16

rigid flame
#

hm, exploding when going to EVA

#

but much better framerates

final osprey
#

added version column to the performance sheet
Will test with my computers sometime within a few days

short condor
wispy torrent
#

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

hushed ibex
minor apex
minor apex
#

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.

short condor
#

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.

short condor
#

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

hushed ibex
#

What are people using for the launch settings with this latest patch?

minor apex
short condor
hushed ibex
short condor
#

for me -screen-quality Fastest still seems necessary to get decent fps

digital tartan
#

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.

wanton surge
#

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.

final osprey
final osprey
short condor
#

full launch options should be eval $(echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) -screen-quality Fastest

orchid relic
sudden badger
#

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.

short condor
#

for me this even beat PROTON_USE_WINED3D

sudden badger
#

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 😆

final osprey
# orchid relic i just moved the whole steamapps ksp2 folder out to a different directory

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

wanton surge
wanton surge
#

does skip the launcher though which is nice.

short condor
#

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

wanton surge
#

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.

short condor
#

I mean in like the default camera position

#

sorry I should have specified

#

what are your specs?

wanton surge
#

6900HX cpu with integrated graphics, 32 gigs of DDR5.

short condor
#

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.

odd falcon
#

It’s Crysis. That’s as simple as it is

short condor
#

but can it run ksp 2?

orchid relic
#

anyone else having super buggy audio in the vab?

#

like unbelievably bad crackling audio?

knotty light
sterile stone
#

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

covert salmon
sterile stone
#

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

short condor
#

you sure you did it correctly?

sterile stone
#

im certain

#

i added it to launch options

short condor
#

@sterile stone

#

simply adding it somewhere does not necessarily mean it's going to work

wanton surge
sterile stone
#

what else can i say?

short condor
#

that's odd that it doesn't seem to do anything

sterile stone
#

im using protons experimental branch though, might try a stable one

short condor
#

Try proton ge

sterile stone
#

exact same thing on proton 7.0

#

definitely not an experimental bug

covert salmon
#

@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

short condor
#

particularly things that use a lot of vram (apparently steam can sometimes fall into this category...)

covert salmon
#

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.

short condor
#

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

sterile stone
#

i might try disabling kwin

#

see how much that helps

covert salmon
#

You’d be surprised

#

This game eats everything it can

sterile stone
#

lol

short condor
#

excess vram usage is the main issue in my experience

#

this game loves vram

sterile stone
#

i might try later, but honestly i think i can wait until therell be more optimisations

#

hopefully a native version

short condor
#

they're definitely working on it

covert salmon
#

If you have nvtop installed you can see the vram usage. I think yours is probably at 100%

sterile stone
short condor
#

steamdb

#

wow I get 55fps in orbit looking away from kerbin, 16 looking at kerbin

minor apex
minor apex
#

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.

hidden wolf
#

Hey y'all

#

How are things? I haven't checked since launch

digital tartan
hidden wolf
#

That's OK. Just checking in

#

Thanks for response

minor apex
#

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.

short condor
#

so overclock your vram obviously

minor apex
#

Probably will need to. My GPU likely has tons of headroom on that. I just need to enable overclocking.

short condor
#

yeah vram can sometimes overclock quite a bit. For example I have a stable +900 mhz overclock to 8900 mhz on my 1070

minor apex
#

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.

covert salmon
#

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.

small zenith
#

@covert salmon how does that compare to your previous results?

covert salmon
#

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

final spade
#

oh ! IT RUNS WITHOUT WINE3D !

minor apex
#

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

chrome plover
#

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

obtuse nimbus
#

How do you get steam to run ksp 2 without the launcher breaking?

gray igloo
#

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!

obtuse nimbus
#

I got the game to run on linux. oh god it's not running great

acoustic tartan
#

after patch 2 i dont realy notice many improvements

covert salmon
acoustic tartan
#

Rtx 3060

sterile stone
#

before it was like 6

acoustic tartan
#

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

chrome plover
minor apex
#

Anyone having trouble with the launcher crashing.

minor apex
#

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. JebGrumpy

#

However, these issues are much more likely to hit non-mature products, like KSP2 and the Private Division launcher, as well as problematic.

minor apex
#

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.