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

[Nintendo Switch] Dynamic Lighting Slowdown #1866

Open
loafofdread opened this issue Oct 29, 2024 · 10 comments
Open

[Nintendo Switch] Dynamic Lighting Slowdown #1866

loafofdread opened this issue Oct 29, 2024 · 10 comments

Comments

@loafofdread
Copy link

Whenever any kind of dynamic lighting is active (flashlight, environmental lights, etc) it causes severe fps loss. The only solution is to disable it entirely, but renders the game unplayable.

@nekonomicon
Copy link
Member

nekonomicon commented Oct 29, 2024

Try to set cvars gl_vbo 1 and gl_vbo_dlightmode 1 into opengl.cfg.
Anyway it's an old trouble with glBegin/glEnd-chains and immediate GPU mode.

@a1batross
Copy link
Member

VBO can be enabled from the menu, btw @nekonomicon

As for gl_vbo_dlightmode, it can be toggled from the console or in config. But it requires map restart.

@nekonomicon
Copy link
Member

Oh, nice.

@loafofdread
Copy link
Author

Try to set cvars gl_vbo 1 and gl_vbo_dlightmode 1 into opengl.cfg. Anyway it's an old trouble with glBegin/glEnd-chains and immediate GPU mode.

Unfortunately, this does not fix the issue. I should add that I am using the latest release as well.

@mittorn
Copy link
Member

mittorn commented Oct 30, 2024 via email

@fgsfdsfgs
Copy link
Contributor

How severe is severe? In my testing it was there, but it was not severe at all in most cases.

@loafofdread
Copy link
Author

If any kind of dynamic lighting is present in a busy area it can drop below 10fps. It's especially bad in Opposing Force.

@fgsfdsfgs
Copy link
Contributor

fgsfdsfgs commented Nov 13, 2024

It wasn't that horrible back when I tested it. Something must've changed then.
UPD: Just checked on my Switch. With either the old build I had on there or the latest version I can have the flashlight on, run around shooting guns, etc, and it does not drop below 60. I'll upload my config in a bit.
What firmware version do you have?

@fgsfdsfgs
Copy link
Contributor

Here are my configs. You can try them, just keep in mind that the keybinds are not set properly. Of note is that gl_vbo is 0.
configs.zip

@loafofdread
Copy link
Author

I am running the continuous master build on an Erista Switch with FW 19.0.0 and AMS 1.8.0.

Trying your configs seems to have helped a bit, but it still really slows down in areas where there are environmental dynamic lights, especially if using the flashlight.

For an example of a bad area like this, try my save from Opposing Force.

save002.zip

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

No branches or pull requests

5 participants