You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. In Empire Earth II many users are complaining that sometimes game freezes after ALT+TAB. We use d3d8to9 (with little modifications, but I restored the official d3d8to9 release version for tests).
As you can see, it usually returns after ~100 milliseconds. However, sometimes it takes 40144+ milliseconds.
I believe that there is some fixed timeout in function ProxyInterface->Reset(&PresentParams) which is 40 seconds.
I wonder what could be the problem? Is there any possibility to figure out what goes wrong?
I noticed that with DirectX 8, the Reset() function finishes much faster. I mean, instantly after ALT+TAB I can see the game window. With d3d8to9 it takes a moment to show the screen (from black). I wonder if there is some extra check available, that would determine if Reset() is needed? Or maybe this game expect some different reset method?
The ALT+TAB bug is not easily easily reproducible. It happens randomly, usually after fast spamming of ALT+TAB key. The only thing I'm 100% sure about is that freeze occurs at that Reset function from DirectX 9.
Any help and tips would be very welcome!
EDIT:
I forgot to mention that the problem seems to only occur on computers with Nvidia graphics card. I personally am not able to reproduce this bug on my laptop with integrated AMD card, only on Desktop PC with RTX2070.
The text was updated successfully, but these errors were encountered:
Hi. In Empire Earth II many users are complaining that sometimes game freezes after ALT+TAB. We use d3d8to9 (with little modifications, but I restored the official d3d8to9 release version for tests).
I detected, that the freeze occurs in function:
Exactly at step:
In my pseudo-log it looks following:
As you can see, it usually returns after ~100 milliseconds. However, sometimes it takes 40144+ milliseconds.
I believe that there is some fixed timeout in function
ProxyInterface->Reset(&PresentParams)
which is 40 seconds.I wonder what could be the problem? Is there any possibility to figure out what goes wrong?
I noticed that with DirectX 8, the Reset() function finishes much faster. I mean, instantly after ALT+TAB I can see the game window. With d3d8to9 it takes a moment to show the screen (from black). I wonder if there is some extra check available, that would determine if
Reset()
is needed? Or maybe this game expect some different reset method?The ALT+TAB bug is not easily easily reproducible. It happens randomly, usually after fast spamming of ALT+TAB key. The only thing I'm 100% sure about is that freeze occurs at that
Reset
function from DirectX 9.Any help and tips would be very welcome!
EDIT:
I forgot to mention that the problem seems to only occur on computers with Nvidia graphics card. I personally am not able to reproduce this bug on my laptop with integrated AMD card, only on Desktop PC with RTX2070.
The text was updated successfully, but these errors were encountered: