Heavy flicker after alt-tabbing in NFS 2 and NFS High Stakes
PlayNeth opened this issue · comments
Hello, was testing the latest version of DDrawCompat and decided to experiment with the alt-tab solutions for these two games.
From my testing with keepvidmem(1)
set, both games present the same flickery behavior, but aside from that everything else seems to work like normal (no missing/glitchy textures etc).
As for it set to (0)
, the dashboard of the car in NFS 2 (Software Renderer) turns completely black but goes back to normal once you switch views or pause/unpause the game. HS on the other hand black screens entirely with just the audio playing in the background.
OS: Windows 8.1
GPU: Intel iGPU
CPU: 3rd gen Celeron
DDrawCompat-nfs2sen.log
DDrawCompat-nfs4.log
The flickering is caused by a bug in the keepvidmem(1) setting. It doesn't keep the back buffers of the primary surface chain. This should fix that:
ddraw.zip (diff.txt compared to v0.5.2)
NFS 2 is software rendered as you mentioned, so keepvidmem won't help it, since none of those resources are stored in video memory. There is no difference between AltTabFix=off, keepvidmem(0) and keepvidmem(1) according to my testing (except for the above bug).
Working like a charm now, thanks.
As for NFS II I initially thought it was affecting it somehow but after retesting it always behaves the same yeah
Fixed in v0.5.3.