-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Render resolution locked to 70% on android #5242
Comments
By default, STK applies a lower render resolution on mobile devices based on the screen PPI to improve performance over native rendering, but if it prevents lowering the base resolution even further that's indeed not ideal. @deveee Want to have a look? I could try my hand at it too, but I can't test such code locally, and I'm not sure about how the game should behave if a user would like to restore the default scaling for his device. |
Render resolution is disabled when advanced pipeline is disabled (or for legacy pipeline) because it doesn't use rtt. I was trying to use rtt even if advanced pipeline is disabled but the rtt itself slows down rendering, so there is really no benefit. Or maybe it would be a bit faster if you use 50% or lower. @Mikhael-Danilov You can try to set Edit: Actually it is possible to change system resolution even without rooted device through adb, so you would get better performance for other apps too. |
Oh, I knew that it's disabled on graphics 1 and 2, it's the same on desktop of course, but somehow I didn't make the mental connection. Oopsie.
If the device/TV supports it, it's perhaps possible to set a lower resolution in the display settings and have it full screen? It will also produce an upscaled UI and look worse than it owuld with RTT, but I guess it wouldn't slow the rendering the same way since the upscaling would be handled by the TV? |
Right now in graphics 1 and 2, the spinner is disabled, but it still shows what the setting would be if RTT was enabled. Perhaps in graphics 1 and 2, we should either display 100% or have text explaining that it's unavailable? EDIT: or hide the RTT spinner completely |
@deveee Looks like RK3318 supports only OpenGLES 2, so it is already on I took a quick look at code, and it seems So I tried this naive path: (on linux desktop)
And it worked on kart preview in kart selection menu. Does it make any sense to try to wrap 3d part of FixedPipelineRenderer::render in GL1RenderTarget, or it would be a totally crazy? Using adb to change resolution would be inconvenient to end user (my 8 yo daughter), also Rockchip H96 Max RK3318 android shell has built-in resolution selector which acts really weird - it renders everything in 1920x1080 and then scale it down to selected resolution. |
Poor Performance on Rockchip H96 Max RK3318 (10 FPS on Low Settings)
Description:
Running STK 1.5-beta1 on a Rockchip H96 Max RK3318 TV box with a 1920x1080 display results in ~10 FPS on low graphical settings. Render resolution is locked to 70%, but further reducing it might improve FPS to a playable level.
Steps to Reproduce:
Expected Behavior:
Playable FPS (at least 30 FPS) on low settings.
Actual Behavior:
~10 FPS average, making the game unplayable.
Additional Information:
Request:
Configuration
STK release version:
1.5-beta1
STK Source (PPA, distribution package, official binary, etc.):
official binary
System:
Rockchip H96 Max RK3318
Graphics card:
ARM Mali-450 MP2 GPU
CPU:
RK3318
The text was updated successfully, but these errors were encountered: