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

Heavy flicker after alt-tabbing in NFS 2 and NFS High Stakes #316

Closed
PlayNeth opened this issue May 20, 2024 · 3 comments
Closed

Heavy flicker after alt-tabbing in NFS 2 and NFS High Stakes #316

PlayNeth opened this issue May 20, 2024 · 3 comments

Comments

@PlayNeth
Copy link

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

@narzoul
Copy link
Owner

narzoul commented May 22, 2024

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).

@PlayNeth
Copy link
Author

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

narzoul added a commit that referenced this issue Jul 2, 2024
@narzoul
Copy link
Owner

narzoul commented Jul 2, 2024

Fixed in v0.5.3.

@narzoul narzoul closed this as completed Jul 2, 2024
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

2 participants