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
The Sims 2 doesn't create a window on Windows 10 with D9VK on my Nvidia GTX 2080 #363
Comments
The answer is simple - don't use Microsoft's garbage heap but Linux - win-win situation ;) |
@mozo78 I seriously did consider doing that for myself. But I wouldn't have a reasonable answer for others and the best way to keep a game alive is to always have more people playing and enjoying it. We can't have game preservation just be some YouTube videos. Seeing #306 made me decide to go ahead to collect data and post this issue. |
More people can play it on Linux too. Nobody really needs Windows. It's just a nasty old habit. |
Can you try the latest master builds? |
https://gist.github.com/nelsonjchen/0fb8c410bc614af3358c8cf7f994e4bb master@717d9c48
|
A commit has landed on master which now allows The Sims 2 to run by limiting max available memory: a5b0424 |
Please keep this issue open for a while. I want to test with 1.5GB of Max Available memory which I admittedly pulled out of my ass as a value to try. The new default of 3.5GB can enter the game but still crashes when entering some lots but the 1.5GB value seems to be very stable. Or should I make a new issue? |
Yes |
The Sims 2 is one of those games where it seems compatibility with later versions of Windows and newer hardware such as my Nvidia 2080 is seriously faulty. I've tried the fixes proposed in some Sims 2 threads about compatibility but the game continues to eventually devolve into purple textures and other serious rendering errors with the stock DX9 implementation after some runtime. These errors looked a lot like the errors that users would get with WineD3D and The Sims 2. Eventually, these errors persist, and somehow brick The Sims 2 installation even after I wipe the save data folders. I think there's some weird incompatibility inside the DX9 support with the modern Nvidia drivers, Windows 10 and however The Sims 2 uses these. I think I've tried all the dances inside that thread I linked and nothing is stable or persistent.
I became aware of DXVK as a usable workaround for Hitman 2 DX11 crashes on Windows with Nvidia before they added native DX12. 🤔 ! Then I found this for DX9. And then @tannisroot posted an issue on The Sims 2 Wine Patches to run on Linux GitHub Repo showing that this particular DirectX 9 to Vulkan fork had progressed to the point where it was working very well for Linux users and working around the WineD3D issues!
I extracted the 32-bit DLLs to the game's folder and the game launches, stays running inside Task Manager, but no window appears. In the D9VK logs, I appear to be getting
VK_ERROR_DEVICE_LOST
errors.https://gist.github.com/nelsonjchen/34c34dae85aae45e41018b584e6a8993#file-sims2ep9_d3d9-log-L118-L127
I provide a trace file below with the native DX9. I launched the game, a window appeared, I exited the game after the loading was completed.
For reference, I've been using these shortcut arguments:
"C:\Program Files (x86)\Origin Games\The Sims 2 Ultimate Collection\Fun with Pets\SP9\TSBin\Sims2EP9.exe" -w -CPUCount:1
I've also tried telling the game to limit its texture memory to 1024MB.
Please let me know if I've missed anything, if more info/tracing is needed, or any other way I can help. I'm really eager to see if this will help the community's compatibility issues.
Software information
The Sims 2 Ultimate Collection on Origin
4GB Patch applied
System information
Apitrace file(s)
Log files
The text was updated successfully, but these errors were encountered: