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

Got lags when use lamp in G2NoTR. #680

Open
Domarion opened this issue Sep 3, 2024 · 1 comment
Open

Got lags when use lamp in G2NoTR. #680

Domarion opened this issue Sep 3, 2024 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@Domarion
Copy link
Contributor

Domarion commented Sep 3, 2024

Describe the bug
When I am trying to use lamp which opens path to the chest in house i got lags and very slow lamp rotation animation.

Setup
Linux, kernel 6.1.100, commit 29d30f7, game started without any mods (all mods are installed as mod files). G2NoTR: GOG gold russian installation.

AMD Ryzen 7 5800X 8-Core Processor
Radeon RX 6800
32GB memory

Save-game & Screenshot & Video
screen
video
save_slot_20.zip

Application log
log.txt

@Domarion Domarion added the bug Something isn't working label Sep 3, 2024
@Try
Copy link
Owner

Try commented Sep 3, 2024

Hi, @Domarion !

Yes, this issue is related to slow update of ray-tracing acceleration structure. Engine uses heuristics to predict, if object is movable or not, to build TLAS once during the loading. For same reason animated characters/items are excluded from RT, as it just too slow.

There are about 2 cases when engine fails to predict, if Vob is static or not: portal to Jarkendar and the hidden wall controlled by this lamp.

For now this issue is "wontfix" - as we need to build solution for RT+animation and then just put this lamp and wall into animated bucket (tilt heuristics)

@Try Try added the wontfix This will not be worked on label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants
@Try @Domarion and others