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

[Mittorn's legacy launcher] Black bar on surface graphical bug (including flashlight lower fps and NPC models lag spike) #1774

Open
TheKingFireS opened this issue Aug 12, 2024 · 4 comments
Labels
Android Related to Android operating systems bug Something isn't working

Comments

@TheKingFireS
Copy link

TheKingFireS commented Aug 12, 2024

To reproduce this bug, pick any maps (best case is hazard course map).

Looking at NPC models will cause massive lag spike
sometime turn on flashlight will cause -15 fps.

gl_vbo is hardcoded disabled.
gl_dlightmode is disabled and enabled, still same effect.
switching to GLES2 will cause black screen (probably unrelated)
switching to GL4ES doesn't have black bar bug, but lower performance.
switching to Software doesn't have black bar bug and and it reduced NPC models lag spike, but it's Software mode.

Device: Samsung Galaxy Fame Lite
OS: Android 4.1.2 with TouchWiz armv7 32bit
CPU: Broadcom BCM21654/G clocked 849MHz, 1xCortex-A9 @ 849MHz (yes, only 1 core)
GPU: Broadcom VideoCore IV HW, GLES 2.0
RAM: 512 MB
Engine: 0.20 ver 3178, commit e43015e-dirty
(can't install latest version due to android 5 mininium and probably same bug "Can't find libSDL2.so" for Android 4.X)

Black bar (didn't happened on old engine):
image
Massive lag spike when looking at NPC models entity (same happened on old engine):
Screenshot_2007-04-08-05-30-04

@a1batross a1batross added bug Something isn't working Android Related to Android operating systems labels Aug 12, 2024
@mittorn
Copy link
Member

mittorn commented Aug 12, 2024 via email

@TheKingFireS
Copy link
Author

Is this gles1 renderer?

Yes.

Of course, you may try gles3compat renderer, it should work on any gles2 hardware, but it may be even slower than gl4es on pure gles2 hardware (probably except drivers, supporting persistent/coherent buffer storages).

Ok, I'll try.

@TheKingFireS
Copy link
Author

TheKingFireS commented Aug 12, 2024

Of course, you may try gles3compat renderer, it should work on any gles2 hardware, but it may be even slower than gl4es on pure gles2 hardware (probably except drivers, supporting persistent/coherent buffer storages).

True, switching to gles3compat renderer, almost same as gles1/nanogl renderer (black bar bug, NPC models lag spike and flashlight fps reducer)

@TheKingFireS TheKingFireS changed the title [Mittorn's legacy launcher] Black bar on surface graphical bug (including flashlight lower fps and hologram lag spike) [Mittorn's legacy launcher] Black bar on surface graphical bug (including flashlight lower fps and NPC models lag spike) Aug 13, 2024
@TheKingFireS
Copy link
Author

Turnout, my Fame Lite phone don't really like rendering NPC models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Related to Android operating systems bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants