Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexplicable low framerates on linux distros when switching from 1.4 to 1.5beta1 #5216

Open
nailikmooc opened this issue Dec 1, 2024 · 3 comments

Comments

@nailikmooc
Copy link

Description

I tested stk 1.5beta1 on an Acer Aprire 7 laptop with a NVIDIA GTX 1060 graphic card and multiboot system with Windows 11, Kubuntu 24.04 and Mint 22.0. All 3 OS have and have STK1.4 installed and 1.4 run with framerates > 100 fps. On Windows 1.5bata1 also yields also a framerate > 100 fps, but on Kubuntu and Mint the framerate is only between 25 and 30 fps. The stk 1.4 installs on Kubuntu and Mint (tested with installation via distro and and with official the tarball extracted into a directory) yield framerates > 100 fps. The max frame rate of the 1.5beta1 installes is the unchanged defauld 120 fps

Steps to reproduce

Configuration

STK release version:
1.5beta1

official binary from official website:

System:
Kubuntu 24.04 and Mint 22.0.

Graphics card:
NVidia GTX 1060

CPU:
Intel(R) Core(TM) i7-8750H

Additional information

stdout.log:


input.xml:

Error message:


@CodingJellyfish
Copy link
Member

Hi. May I ask what graphics level are you using?

@CodingJellyfish
Copy link
Member

@nailikmooc Try reduce max-bones from 2048 to 1024 in stk-config

@qwertychouskie
Copy link
Contributor

I'm pretty sure it's because when running via run_game.sh, it's launching on the integrated graphics, while when running 1.4 from the launcher, the PrefersNonDefaultGPU=1 option in the .desktop file makes STK launch on the dGPU.

It might be worth replacing run_game.sh with a .desktop file, so users using the official binary have STK properly launch on their dGPU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants