Tuesday, January 30, 2024

Vampire Survivors - the mysterious level 11586 cap and memory leak.



Vampire Survivors exp cap? The mysterious level 11586.

 



 

On a side not, it was finally requesting 35GB of RAM so had to end the run - the game clearly memory leaked about ~20MB every few seconds when moving and ~5-10% of that when staying still. Still had to wait dozens of minutes after quitting the stage for all the memory swapping and calculations to generate the summary. Afterwards the game wants 7GB of RAM. Celestial Dusting's flowers may not get properly freed from memory when they get off screen before being despawned.

Warning! Looking at max limit broken Celestial Dusting's animation may induce headaches and eye pains even in healthy persons. Would be nice for games to start deploying some sort of sensitization for too fast changing animations (flashing, colors - too rapid changes in displayed image parts to simulate rapid movements or sudden brightness/darkness) as standardized option to check. Said animations in games can go to such extremes that they are hardly neutral to persons with no health issues.

Some sort of lightweight AI that understands limits of what a human can still perceive as an actual motion and, without impacting the game play too much or at all, cleverly optimize such animations to be still understood by the human brain as well as have no negative impact on the person seeing such animations (partial and dynamic motion blurs and smoothed fading in and outs, contouring important elements in the game?)

Alternatively, displays or graphic cards could try to utilize such techniques (as an option and not enforced; possibly protected by a password as a part of parental control), properly process the image to be displayed and, detecting unsafely rapid changing elements of the portion of the screen (could be threshold set based), properly apply various image manipulation techniques to said portions of the screen to protect healthy or otherwise person from suffering from temporary health issues induced by rapid screen changes. Both, as little as possible artifacts as well as health should be taken into consideration.

No comments: