#Linux Thread
2159 messages · Page 3 of 3 (latest)
I wish they would have an option on the launcher to make it skip it.
what's the current consensus on the best launch options for linux systems?
I'm still having trouble with the launcher still. I'm going to try turning of DXVK for now.
However, it might be an SSL issue.
Hmm, OK, it was an issue with their swiftshader engine. They were running EGL on Vulkan on Direct3D, which was then being converted back to Vulkan by DXVK. I just ripped all those DLLS out and now it runs directly on the native EGL. Of course now I ran into the next issue, it doesn't recognize my install.
Next step is go through the Proton versions until one works, making sure those dlls stay deleted. Does anyone know where I can get stub copies of them to replace them with and mark read only?
growl, it reinstalls it's override libraries every time I launch it.
Oh, I can use wine to run the overrides.
d3dcompiler_47 is the file of issue. This is furthest down the chain. I should be able to run an wine override.
Logs when failing:
https://gist.github.com/Ruedii/84ffdc5e26ade36207ddac433c79b6e7
It is kind of a shame that TriggerAu decided to join the KitBash team instead of the KSP2 one. That guy was a genius at A/B testing and Smoke Tests.
He could have narrowed this down to a single design decision as the cause in no time flat.
Did you check if you have the CA in your certificate store?
Why wouldn't I, though?
I do have the standard certificates downloaded.
I do know the web site works on my browser so presuming it is pulling it from the base CA authority database, it should be there.
The error reports an unsupported cypher. I think Private Division is using some proprietary Windows Only cypher.
I'm going to try manually placing the updated launcher bundle in the directory.
OK, I got past the SSL issue by manually downloading the bundles and placing them where they were expected. Still running into the same issue.
Uploading logs to gist . . .
https://gist.github.com/Ruedii/4bd8c48d6a983c1d0c09274aabc0a76f Now to post on forum
Seems unlikely, it's TLS afterall
Running under the Garuda dedicated gaming distro is the best Linux experience I've had ... no launch options necessary it simply just runs and very well too I get 60fps on a RX6700XT. Under Ubuntu 20.04 I got 45fps and a memory leak that locked it up after 30-40 mins running, had to force Proton to use DX11 on there.
So turning off D3D-12 provides performance benefits? I hope they enable vulkan on their builds soon.
It helped for Ubuntu but I did not use an init string for Garuda, the G. OS has a custom low latency kernel and also utilises a custom build of the steam runtime referred to as the "native" runtime, it tries for DXVK as default ... I have SAM which does seem to benefit this title too ... many variables to choose from.
I now have a computer with a real graphics card that has 8 gigs of VRAM and in the surprise of the century KSP 2 actually runs ok. Not perfect but its a lot better than the 4.7 fps I was getting on integrated graphics.
Nice, what's your setup like?
RX 6900HX with Radeon 6600M and 32 gigs of DDR5. Mobile chips yeah but its in a mini pc with good cooling so the TDP can be boosted beyond what you'd get in a laptop.
performance improved from 5 fps to 30-40 on the pad and getting 60 when not looking at Kerbin.
Is that reduced latency (for gaming and high-resposive desktop) or ultra-low-latency (for realtime audio and science applications)?
Ultra-low-latency is horrible for gaming. The Ubuntu default low-latency kernels are ultra-low-latency. You need reduced latency settings like found in SteamOS 2.0 or SteamOS 3.0.
As a note, Ubuntu's general builds are "reduced latency" due to reduced latency being optimal for modern desktop.
Ultra low latency builds tend to have more I/O functions set to RT priority resulting in interruptions to the running application in exchange for a few hundred nanoseconds of reduced latency on the task.
They also have a rather short scheduler cycle resulting in more scheduler efficiency loss, in exchange to faster response in certain things, none of which games use.
Most of the reduced input latency patches have been integrated into the general kernel of standard distros, making low latency kernels largely unnecessary.
Can someone post a link to the various options to skip launcher? I need to find a way to change the directory of execution to get it to work.
Here's what I have: eval $( echo "%command%" | sed "s/PDLauncher\/LauncherPatcher.exe'.*/KSP2_x64.exe'/" )
My understanding is that they're not "ultra low latency" so much as "consistent latency". Everything is tuned to minimize the risk of unexpected latency spikes, at the cost of throughput and average latency.
i can no longer access the VAB 😢
What happens when you try to?
ah
Haven't done a lot of KSP2 debugging, but maybe check if it has a log somewhere?
Sorry i have no time to check for now
Opening the game up on steam deck just produces no window
I vastly improved my FPS and everything to a playable state with activating gamemode and the already mentioned launch options. Gamemode has to be installed via your usual packet manager first. then set your launch options to:
eval $(echo "gamemoderun %command%" | sed "s/PDLauncher/LauncherPatcher.exe'.*/KSP2_x64.exe'/" ) -screen-quality Fastest
or whatever suits you best. Gamemode works wonders on many other games, too.
anyone else has their game crash when going fullscreen ?
Yeah, solution for me was to make the game run windowed
OK, launcher still doesn't work on Linux? Anyone have luck with that, or am I just going to need to bypass it again.
Im still bypassing yeah
What screen res u got ? Mine is 2560x1600 which i think isnt in the current list they give
Much smaller. To deal with crashing I would use dxvk.conf to set it to dialog mode.
FPS stability is improved in the latest build. However, still bad FPS in certain circumstances. Flying low to the ground kills FPS.
The low FPS in certain circumstances is a Windows bug that just happens to be worse in Linux.
yeah not quite there but we now have something to play with
there is a problem with heat, too powerful at high atmosphere and not showing visually, when you break a part of your vessel there is a chance it switches to 'landed' state and orbits stop showing, landing legs don't feel very nice but that could be just me, there are still kracken attacks when not enough struts, changing window status risks crasjing on linux, also for high res, lookgin parallel to the horison bugs the camera out, looking down too, stages don't always work, sometimes not at all, i also sometimes get input lag, that might be linux only
what would be very great would be a science summary like we had in ksp1, it would be in the tracking station, it would show all completed science and yet to be completed science, that way we can plan for missions with that in mind
In case anyone else is having the same issues I had, it seems that ksp2 only applies certain settings after restart, atleast on linux. For my system it was texture quality, and just dropping that to medium went from 15 fps in ksc, to 60 mid flight
i dont know if this is just a linux issue but my ion engines dont work at time warp in kerbals, (or any planets) SOI.
it’s probably a base game issue. i don’t see why this would be specific to linux
It is a base game issue, I'm pretty sure. Doesn't work for anyone.
yeah, your right. i went to the buf reporting website and alot of people on windows and linux are experincing the same issue
bug
I just set up Hyprland, and KSP seems to launch in Xwayland whether I launch it from actual steam or by launching the executable directly. This is annoying because it makes it pixelated, and I suspect KSP2 will have the same issue. Short of switching back to X11, does anyone have a way to launch KSP natively under wayland?
maybe someone here can help this linux gamer: #1206654950432571482 message
I tried it and my pc crashes when going to the launch pad to the VAB
Has anyone goten the launcher working out of box on Proton yet?
Does it work on Glorious Eggroll out of box?
Is there a protontricks hack list to get it working?
I'm still using the skip launcher thing fromhttps://forum.kerbalspaceprogram.com/topic/212351-kssl2-a-simple-launcher-bypasser-for-ksp2/
afaik unity does not support wayland, at least not the versions that ksp(2) use
the pixelation should only be a problem if you're using fractional scaling though
Since it's running on Proton, that is the concern, and Proton requires XWayland to run in order to provide GLX context management.
Native Compiled Unity games can be compiled to support GLE as well as GLX and auto-detect.
There are scaling issues in both cases. Neither the Wayland scaling compositor nor the internal Unity one play nice in a GLE or XWayland/GLX environment.
The filter used is either missing or poorly implemented. This bug is documented on Steam and Proton upstream bug lists, as well as countless others.
Hopefully the KSP2 can get FidelityFX2 scaling instead soon. That will drastically improve quality of upscaled output.
Thank you for that link. Can this link get pinned?
afaik the benefit of using this link is that it doesn't break some mods and steam features like the launch argument way.
Yes, I'm well aware. That is why I've wanted such a program.
It would be nice if someone created such a program to replace all such launchers. Basically, it would be a small stub program written in .Net Core and compatible with Mono. It would set the environment of a game and be able to run under a wide variety of environments, providing options based on said environment.
It could also be used to adjust for certain quirks or replace the launcher in games that don't let you run without a launcher. First run it should prompt you for configuration unless you configure it by ini ahead of time.
BTW, is there a way to force KSP2 to use vulkan?
Is there an advantage to using it?
What version of Proton?
Default one when you enable it
You have to manually set the default for non-whitelist games.
Currently 8 is stable, 9 is beta and then there is experimental, which is 9 with more recent patches.
I think I might be on experimental then
The four currently most commonly used are 6.x ("Legacy" i.e. broke some stuff after this to fix other stuff.) , 8.x (latest stable), 9.x (Beta) and Experimental.
I believe Experimental is just a few git submissions ahead of 9.x at this point.
There is also the Glorious Eggroll (GE) version which is the most popular community build. It has some patches that Valve couldn't put in their release due to various legal or contractual reasons. However, with more and more of the A/V patents running up, there is less and less that is exclusive to GE.
Oh, nice, AMD FSR has been added to Glorious Eggroll. I hope that patch gets pulled into Valve's build soon.
That will help KSP performance SO much!
Finally upscaling without blocky blurry UI
I guess I will sound off.
Been playing KSP2 since launch day. Naturally it was buggy...but it was buggy the same as windows.
Originally loaded it up on an ancient RX590 Fatboy (just barely enough ram) video card, have since upgraded to RX 7900 XT. Linuxt Mint 21.3 w/Mate desktop. Updated Mesa 24.0.2 from kisak repo.
Run through steam with proton experimental.
I use these launch options in the steam launcher since the beginning, but I'm not really positive that they're necessary now. Just haven't changed them.
Launch Options: WINE_CPU_TOPOLOGY=4:0,1,2,3 bash -c 'exec "${@/%"PDLauncher/LauncherPatcher.exe"/KSP2_x64.exe}"' -- %command%
So i'm trying to run ksp2 but i get 3-4fps when i start playing (immediately when i join a campain)
in the main menu i get around 60+ fps
GPU Usage: 100%
CPU Usage: around 40-60%
RAM Usage: 8GB (out of 12) only the game and steam is running
specs:
CPU: Intel i5-6600 (4) @ 3.900GHz
GPU: AMD ATI Radeon RX 570 4GB VRAM
OS: Arch Linux x86_64
Might just be a specs issue? I don't think the main menu is very hard on performance, managed to run it at around 45fps on a really old laptop. As soon as it loads in you get closer to your inflight performance.
could be
Working fine for me
Kubuntu 23.10 KDE Plasma and X11
Ryzen 7 3700X
32gb 2666mhz
Rx 6700 XT
Proton 9.0 (beta)
What did you expect on a RX 570? it's wayyyyy below the minimum specs
The only time I get low frame rates is moving quickly horizontally near the surface. Typically this is only when flying aircraft anywhere below low altitudes. In orbit it is much better.
I haven't been playing KSP2 because the low framerates give me migrains.
3-4fps still seems very low, the rx 570 is much more powerful than something like a steam deck which runs the game much faster than that
(it's also only below the minimum specs by like 40% which isn't much compared to something like the deck which is below by a factor of 5)
steam deck has a 720p screen I think
an rx 570 is also a lot more powerful than a steam deck
In order to run the game on my laptop (ryzen 5 7040U with 16GB ram and no discrete graphics, roughly similar to an 1050ti) I have to set it to run at 720p
they didn't say what resolution they are using though, if they are trying 4K or something it might just about make sense
i think you made a typo in that cpu name, i can't find anything about a ryzen 5 7400u
sorry, I meant 7040u
you mean 7540u? i thought 7040u was just the name of the series rather than one specific cpu
the 7540u's integrated graphics are similar to a steam deck, the rx 570 is considerably better than both
ksp2 need wine to be run on linux ?
just scroll up, you'll find ppl posting their config, e.g. :#1078679649187532891 message
i've seen people using wine too
ok
but why does proton not work for you?
cuz idk it says i require some things and idk how to fix and same for wine
if u know how to fix i would be happy to get help
it's been while since I ran linux, but perhaps there are some around here that can help you. Or try the proton or wine forums, I bet there's nice people there too
ok
What does it say you need? And what distro you have?
What are the errors you are getting?
no thx i already fixed
i just updated my drivers cuz my drivers didnt came with DX11
i just distro hopped to mint and now none of the images/tutorials are working and are all showing the same image the game works normally but everything looks like this, the tutorials are playing and audio is working but i get no video the same image shows for going to the next level, completing primary missions. also the tutorial stops playing after 5 seconds so you have to manually move to a specific spot in the video. is anyone experiencing the same issue?
looks like a missing video decoder, do you have ffmpeg?
yes i do
i figued out why, i was on ffmpeg version 4.3 i just upgraded to version 7
oh there's a way to get the videos working now?
I thought they were borked from the start but I haven't kept up
Videos not playing in steam games are common due to ancient mesa, ancient ffmpeg, not setting up vulkan, etc. If everydoby would just stop relying on ubuntu... gosh I hate ubuntu with the fire of a thousand suns.
At least on mint it is easier to fix all these things.
i reinstalled the game and now the mission completion pictures work but the videos still dont work so i will try updating mesa and vulkan
The videos work on ubuntu
would call it skill issue
Videos always worked with Proton GE
It definitely works out of the box with latest Proton GE on Ubuntu. Just set it up in Lutris with wine runner pointed at the wine64.exe and the KSP2.exe
The 9.0 beta that steam distributes is not sufficient to make main menu graphics and videos work
It works for me
smart linux people please make open source KSP 
from what ive heard, linux users are so into their software/hardware that when a software company decided to put malware inside of their heavily used software, someone noticed that it took an extra 0.5 seconds to load the program, so he investigated and found the malware and reported it. linux users are the antivirus
lmao people take great pride in neovim launching half a second faster
(mine launches virtually instantaneously btw)
linex
xz Utils, but I think it was just taking up too much processing
Xz was found by a microshaft worker right
"Microsoft employee and PostgreSQL developer Andres Freund reported the backdoor after investigating a performance regression in Debian Sid.[7] Freund noticed that SSH connections were generating an unexpectedly high amount of CPU usage as well as causing errors in Valgrind"
Nvm it was found because of a performance regression but that was his actual job
his actual job is developing PostgreSQL, but using linux/ssh is part of that
im trying to do what this article says to get BepInEx to run properly but i get this error when i try https://docs.bepinex.dev/articles/advanced/proton_wine.html
i have wine version wine-9.0 (Ubuntu 9.0~repack-4build3)