-
-
Notifications
You must be signed in to change notification settings - Fork 494
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
Low frame rates in forest levels. #1851
Comments
cave levels is also having low frame rate issues |
I fixed the missing skyboxes, however I'm not so sure about the low frame rate. |
ok, I am currently replaying the entire game if i see any more bugs i will report it, |
Please, in the future report separate problems in separate GitHub issues. That way it's easier to track the progress on them. |
do you guys remember the old forest world map in the contrib levels the one with the keys in the top left corner |
The story is still in development; we have a lot of ideas and not enough hands to implement them. The story is still far from finished, but there are many things which are already planned and/or are currently in development. Content will come over the next releases, until, I presume, version 1.0 comes out. As for the lag, this is a known issue. As it's not easy to fix, it might take a while until improvements come. In the meantime, I'm afraid the only option is to try with a more performant device. |
A somewhat related issue: #1301 |
And how do i do that(change to opengl20) |
I don't know how to do it on Windows, but I assume you can add
I use GNU/Linux, so my config file is at |
I will try |
It worked and graphics didn't change at all to my eyes atleast but it went from 18fps in the shocking level to above 60 with draw redundant frames on |
Idea: if there were a option in the settings to change the renderers it would have been easy to change it for normal peoples who doesn't know how to edit config files and easier for testing purpose too. |
Idea: The vsync cannnot be completely disabled by the options menu |
IIRC, changing renderers was initially meant for devices which did not support a certain renderer at all, which would make the game entirely unusable (see #1667). That's why changing renderers is usually done outside the game. An in-game option wouldn't hurt, although it might not be as easily implemented as regular options. It picks OpenGL 3.3 by default since that's usually the fastest on the devices that support it well; other options are available when certain versions of OpenGL aren't available. Note that using a weaker rendering engine will turn off certain graphic features (such as refraction, reflection on empty bonus blocks, etc.) |
As for the v-sync, press Ctrl+F2 while in-game to enable developer mode, and toggle the appropriate options. When in developer mode, you can access the debug menu by pressing F2 anytime. (You can also press F1 for some super-secret options ;p) |
I have been using the cheat menu since version 0.3.5a 😅 |
Idea:The show controller option in config is actually really nice for speedrunning And its amusing to watch which key i press. An option in the menu will also help (I have nothing going on in my life right now thats why i comment often, only if you are wondering) |
Can you guys please see whether the commit above improves anything? |
In the rainy level I get ca. 70 FPS with 5a883af (master) and 6914916 (before the changes) with opengl renderer. With opengl20 renderer I get ca. 160 FPS. I have an intel GPU. When I opened #1301 I had a much older graphics driver and operating system, so I may no longer be able to reproduce the problem. |
The reason why the skyboxes were black, is because somebody decided to get rid of the sky parts, in case people wanted to use multiple backgrounds at once. Story mode wasn't really updated with this in mind, last i checked. |
This is an XCode Instruments of the Going Down level (which contains a rain particle system). I didn't finish playing, I just spent a few seconds jumping around in the rain. I'm not sure if it's useful. We spend most time inside GLPainter::draw_texture(TextureRequest const&) (as somewhat expected) which calls OpenGL functions. No idea how to improve that. |
Did b0aff6a improve any of the framerate issues with rain particles? |
i can't download the latest build because the artifact button is missing for me for some reason so i can't test |
The old way to download #1793 doesn't work anymore |
nevermind found it |
the shocking level went from 17 fps to 35 with auto renderer in config |
I've taken another stab at trying to improve the rendering speed. Can you check the latest nightly? |
on SuperTux-v0.6.2-890-g4600d4453-win64 its still 35 fps no change. the last change "b0aff6a" made the level Shocking go from 17 to 35 |
The commit above improves this even further, but I still believe that this is probably the wrong place to fix it. The Opengl33Context is the culprit here, but I don't know enough about this. |
If I understand the compositor code correctly, with Opengl33 it renders almost everything two times per frame, which often halves the frame rate: |
Is this bug to be considered fixed yet? |
I bought a gpu.and the fps is always above 150 with draw redundant frames. So i think there is no need for this issue to be open |
**SuperTux version:SuperTux-v0.6.2-852-g515d0c069-win64
System information: windows 8.1 | i7 3770 | intel hd 4000(gpu)|1366x768 resolution
skybox missing/black
in some levels eg: above the artic skies in world one, welcome to Antarctica first level in world 1
And low frame rates\fps in level selector menu and in some levels where many layers of background and foreground /transparent exists goes below 40 fps and 30 fps in level selection menu | screenshots below
my pc can play halo 4 and crysis , so its not the gpu
I am running it in windowed mode to take screenshots otherwise its always fullscreen
The text was updated successfully, but these errors were encountered: