Closed Tintin-Asterix closed 5 years ago
What driver and OS is this? Allocating 1MB shouldn't fail.
I’m running Win10 Enterprise 2019 LTSC (1809) with a GTX 1080 and NVIDIA driver 436.30.
Tested it on another two completely different computers with AMD/nvidia GPUs etc and it still crashes when there are too many particle spawns.
To be fair, it crashes on 3 different computers but they are all on Windows 10. Maybe it works on Windows 7.
Thanks, there was a bug in the realloc 0a6540aeb69d40ccb240f19a3521d50a271b1eab
Increasing -particles value in normal Quakespasm allows more particles to be displayed at one time (blood/explosions etc etc). You can set it really high and literally have thousands of particles on-screen. The monster spawn particle effect (teleport effect) doesn't crash.
vkQuake crashes if you set the -particles value to about 6000 or above in my testing and then trigger a monster spawn in-game. The teleport effect particles that generate when a monster spawns crashes the game.
Edit: Just any time there are loads of particles on screen it crashes. Rocket a dozen or so monsters and it often crashes. Any time the "Reallocating dynamic VBs" messages pop up in-game over 1MB.
My logs show these entries:
Reallocating dynamic VBs (1048576 KB)
QUAKE ERROR: vkAllocateMemory failed