narzoul / DDrawCompat

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

The Sims 1 immediately crashes when using two monitors #119

Closed Tsune-Reient closed 2 years ago

Tsune-Reient commented 2 years ago

Greetings!

The Sims 1 immediately crashes when using two monitors, but if change "Expend these displays" to "Duplicate these displays" in multiple display settings, then the game will start OK, but it isn't comfortable to me. Is there any way to fix it?

Sorry if my English is not well, it's not my language.

narzoul commented 2 years ago

Is this on Windows 10 with DDrawCompat v0.3.1? Works fine for me with "Extend these displays". Please attach debug logs from the crash with the ReleaseWithDebugLogs build (in the debug version).

You can also try "Show only on 1" or "Show only on 2", no need to duplicate displays, if that's better.

Tsune-Reient commented 2 years ago

Here. DDrawCompat-Sims.log

The game doesn't start either with "Show only on" mode, only with "Duplicate these displays" for some reasons. Here's log with this mode. DDrawCompat-Sims (Show only on).log

narzoul commented 2 years ago

Thanks! The logs are very similar to the ones in this other issue: https://github.com/narzoul/DDrawCompat/issues/65 Do you have G-sync enabled? Try disabling it in NVIDIA control panel, at least for this game (or any other game that you use with DDrawCompat). I'm thinking that using "Duplicate these displays" probably disables it automatically, that's why it works.

Tsune-Reient commented 2 years ago

Yeah, G-sync was the problem. Disabling it for the game and enable after is an uncomfortable solution either, but more better than previously one. Thanks for the help. I don't think I would have figured it out on my own.

narzoul commented 2 years ago

You shouldn't have to disable it globally every time you launch the game. It should be possible to add an application-specific profile that disables it only for Sims.exe. I haven't had an NVIDIA GPU for a long time, so I'm not sure how to do it nowadays, but you should be able to find some guide online about how to add application profiles.

Edit: Maybe this helps: https://www.nvidia.com/content/Control-Panel-Help/vLatest/en-us/mergedProjects/nv3d/to_configure_uniques_3D_settings_for_my_applications_and_gamess.htm

Tsune-Reient commented 2 years ago

Oh, yes, I knew about possibility to add an application-specific profile, but I didn't think about possibility to disable G-sync from there, and it's actually possible! Now the issue is solved. I'm very grateful for helping me and, taking the opportunity, I would like to say thank you for this project!