Jump to content

My game is around 5fps constantly on linux


Recommended Posts

Hello everybody! I am very excited to update to the new release, but it is running at around 5 frames per second anywhere other than the main menu. The menu is perfectly smooth. I have tried to set the graphics to lower settings, but that didn't improve the situation. My computer is an Ubuntu Laptop that isn't a gaming machine by any means and has pitiful memory, but it runs 1.7.3 fine. I bought the game through Steam if that helps. I did a clean install, but the behavior persists.

I already looked through the KSP.log file, but I didn't see anything unusual. I saved a copy of the file if anyone wants to look at it.

Thanks for looking!

Link to comment
Share on other sites

  On 10/25/2019 at 3:15 PM, Curveball Anders said:

Does your laptop have two graphic modes?

I need to use the following on my laptop

"LC_ALL=C DRI_PRIME=1 ./KSP.x86_64"

 

Expand  

I tried launching it through the terminal with the command you gave me, but it didn't do anything differently. I don't think it is with KSP itself, but rather something about my computer and the way it runs KSP. The whole OS is running at a very slow frame-rate, but the CPU is around 15%-20%. It isn't the ram either, that less than half used.

Thanks for trying. By the way, where did you learn about the command-line graphics options? Just curious.

Link to comment
Share on other sites

  On 10/25/2019 at 8:49 PM, hwd2002 said:

I tried launching it through the terminal with the command you gave me, but it didn't do anything differently. I don't think it is with KSP itself, but rather something about my computer and the way it runs KSP. The whole OS is running at a very slow frame-rate, but the CPU is around 15%-20%. It isn't the ram either, that less than half used.

Thanks for trying. By the way, where did you learn about the command-line graphics options? Just curious.

Expand  

What video drivers do you have installed?

Link to comment
Share on other sites

  On 10/25/2019 at 9:14 PM, linuxgurugamer said:

What video drivers do you have installed?

Expand  

Sorry for my naiveté, but how would I find that? I am probably just using the basic ones that came with Ubuntu, as I haven't touched them as far as I can remember. I don't have a dedicated graphics card or anything nice, just a basic HP laptop.

I did run this command I found "lspci -k | grep -EA3 'VGA|3D|Display'"

and it printed this:

"

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
    Subsystem: Hewlett-Packard Company HD Graphics 620
    Kernel driver in use: i915
    Kernel modules: i915

 

"

I hope this helps. I think VGA is bad, right?

Link to comment
Share on other sites

  On 10/26/2019 at 12:51 PM, hwd2002 said:

Sorry for my naiveté, but how would I find that? I am probably just using the basic ones that came with Ubuntu, as I haven't touched them as far as I can remember. I don't have a dedicated graphics card or anything nice, just a basic HP laptop.

I did run this command I found "lspci -k | grep -EA3 'VGA|3D|Display'"

and it printed this:

"

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
    Subsystem: Hewlett-Packard Company HD Graphics 620
    Kernel driver in use: i915
    Kernel modules: i915

 

"

I hope this helps. I think VGA is bad, right?

Expand  

Not VGA, but the graphics controller is not a good one, and most likely is the source of your problems. 

What version of Ubuntu are you running?

What kernel are you running (uname -a)?

Link to comment
Share on other sites

Ubuntu is 18.04.3

uname -a returns:

Linux H-HP 5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

 

 

and the "model" isn't anything other than 14-cf0006dx. No name or anything like that.

The about page in the settings says: "Intel® HD Graphics 620 (Kaby Lake GT2)".

 

Link to comment
Share on other sites

  On 10/26/2019 at 8:55 PM, <noname> said:

It probably has to do with the new shader and texture settings. They went to a new version of Unity and added some higher resolution textures and some different shader settings. Make sure you have ALL of that stuff turned down as far as it will go and test again. Maybe post your settings.cfg somewhere we can look at it and make suggestions. If 1.7.3 ran ok, and now 1.8 is slow, it is likely something to do with the new graphics stuff in the new version.

Expand  

The textures seem to be the problem, as it only works normally at 8th resolution (The old textures I believe), anything other than that has massive framerate drops when I can see Kerbin.

Here is the config file:

  Reveal hidden contents

 

Link to comment
Share on other sites

 

You might try setting 'UNSUPPORTED_LEGACY_SHADER_TERRAIN = True' in your settings.cfg. I've never owned anything with intel HD graphics so I'm just poking about in the dark, but it can't hurt to try.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...