narzoul / DDrawCompat

DirectDraw and Direct3D 1-7 compatibility, performance and visual enhancements for Windows Vista, 7, 8, 10 and 11
BSD Zero Clause License
925 stars 70 forks source link

Game Laghaim Freze after 1-5 min #58

Closed Jailobeam closed 4 years ago

Jailobeam commented 4 years ago

Hey you are doing a great job

The Game (Laghaim) run very fine with the latest experimental release but its Freeze after 1-5 min log says 0:05:48.804 ERROR: Resource::copySubResource failed: 0x887a0005

do you have an idea how to solve it?

ddraw.log

narzoul commented 4 years ago

Sounds like a driver crash or similar. I'll try to reproduce it later but it's probably related to NVIDIA drivers, which I can't check at the moment... Have you updated your drivers recently?

Are you on Windows 7 or 10? Is the game windowed or full screen? Are you sure the same issue doesn't happen without DDrawCompat?

If you could reproduce the issue and upload the logs produced by the ReleaseWithDebugLogs build, that could be helpful. In this case, please make sure you don't type in your password and don't enable "show password" or similar, as those might be visible in the log. Use a saved password or a dummy account/password that you don't mind getting compromised.

Jailobeam commented 4 years ago

Hey Yes im on Win 10 and the Game is windowed (1024x768 ) Game FPS without DDrawCompact 15-20 FPS no Crashes With Compact 40+ FPS Crash after 1~5 min Driver is Up to Date Nvidia 440.97 Card is the GTX 980 M 8gb I tried with Debug but the game have max 1-2 FPS and Dont Crash, log was over 4gb without crash :(

narzoul commented 4 years ago

Which client do you use? The one at laghaim.online does not freeze for me. Also, how do you display the fps?

Jailobeam commented 4 years ago

https://lholdschool.de/ FPS with Nvidia or Fraps

narzoul commented 4 years ago

Same with that client. No freezes.

However, using Fraps definitely causes the display to freeze, all the time from starting the game (but not with the error log you have). It updates only a single frame when deactivating/reactivating the window. But this is a long standing known incompatibility with overlay tools like this (see e.g. issue #13).

I hope you're not running Fraps or similar tools all the time. If you do, please try running the game with those closed.

Does only the screen freeze, but the game and sounds continue working? Or does the client crash and close completely?

Jailobeam commented 4 years ago

Now for Test Nvidia Overlay OFF Fraps OFF I report how it works

Jailobeam commented 4 years ago

No same Problem Game Freez but dont close

Game Music keep playing but game relevant effekts stops

ddraw.log

Shiyoda commented 4 years ago

Hi,

this is my log, with the exact same problem. Especially when you press ALT or ALT + F in Game and hover over the items which dropped. It will instantly close the client.

ddraw.log

Shiyoda commented 4 years ago

I tried it again. This time without pressing ALT or ALT + F(ALT + Shift) for a while. I only got some stuttering while playing. It began instantly after connecting to the server. The lag spikes were there for 1-2 seconds in an interval of maybe 20 seconds.

After i pressed ALT + Shift to show the items which dropped. Then i had around 5minutes zu play and the game freezed and after a while my computer does the same.

ddraw.log

Jailobeam commented 4 years ago

Yes narzoul you are right on intel works with some display bugs but no freezes

do you think it is possible fix it for Nvidia ?

narzoul commented 4 years ago

I have an older Nvidia card lying around somewhere (GTX 760), I might swap it in over the weekend or so and see if I can reproduce the issue that way. Hopefully it's fixable.

Shiyoda commented 4 years ago

@narzoul

Think this is the latest of the old drivers for GTX 760 which was released in 2014: https://www.geforce.com/drivers/results/77224

Maybe try that out if you switching the cards.

narzoul commented 4 years ago

I think I managed to fix it... please test the latest experimental release and let me know how it goes.

Jailobeam commented 4 years ago

incredible It's going very well for 1.5 hours

will test it further

Thank you so much