Does launching with PROTON_USE_WINED3D=1 make any difference with either of these?
Does launching with
PROTON_USE_WINED3D=1make any difference with either of these?
Nope, same D3DERR_INVALIDCALL error on both with that command.
Both display an additional window after clicking "OK".
Both apps do however generate a minidump and log file in your save data folder, in "Logs'.
Thanks for checking. A minidump won't help us here, only an apitrace would have been useful, had that worked.
One more thing to try, I guess: does it get any further with dxvk 2.4?
Thanks for checking. A minidump won't help us here, only an apitrace would have been useful, had that worked.
One more thing to try, I guess: does it get any further with dxvk 2.4?
Nope, doesn't get any further on 2.3 either, I will try to do an apitrace though, but I'm not sure if it will provide anything.
The Sims 2 Content Manager.trace.zip
Here's the trace for the Content Manager. :)
The Sims 2 Content Manager.trace.zip Here's the trace for the Content Manager. :)
Thank you. It has indeed captured something, however no D3DERR_INVALIDCALL errors to speak of, so it's still unclear why the crash happens. That being said, the things in the trace are somewhat nonsensical, and it appears to create textures, query them, and then not even release them fully? Perhaps it's simply running out of memory.
I assume both these utilities work on modern Windows? If so, it would be useful to capture an apitrace of that behavior, to see at least what the application expects to be proper in such cases, if there even is such a thing.
The Sims 2 Content Manager.trace.zip Here's the trace for the Content Manager. :)
Thank you. It has indeed captured something, however no D3DERR_INVALIDCALL errors to speak of, so it's still unclear why the crash happens. That being said, the things in the trace are somewhat nonsensical, and it appears to create textures, query them, and then not even release them fully? Perhaps it's simply running out of memory.
I assume both these utilities work on modern Windows?
They do, yes. :)
Here's also the HomeCrafter Plus trace too in case anything differs.
TS2HomeCrafterPlus.trace.zip
Here's also the HomeCrafter Plus trace too in case anything differs. TS2HomeCrafterPlus.trace.zip
Appears to be mostly identical to the other one. No errors here either, just nonsensical behavior.
Here's also the HomeCrafter Plus trace too in case anything differs. TS2HomeCrafterPlus.trace.zip
Appears to be mostly identical to the other one. No errors here either, just nonsensical behavior.
Content Manager loads almost instantly and works fine on Windows, I think HomeCrafter Plus has some issues on modern Windows though, it was working for me at one point however. Since both apps appear to have the same issue, I’ll try and see if I’m able to do an apitrace of Content Manager.
(NVM, HomeCrafter Plus is working it just took long time to load lol)
I’ll try and see if I’m able to do an apitrace of Content Manager.
If you can capture a trace of whichever is working on Windows, that would be fine and much appreciated.
I’ll try and see if I’m able to do an apitrace of Content Manager.
If you can capture a trace of whichever is working on Windows, that would be fine and much appreciated.
I got the Content Manager trace from windows. :)
The Sims 2 Content Manager(Windows).zip
I got the Content Manager trace from windows. :) The Sims 2 Content Manager(Windows).zip
Thank you. This trace looks vastly different and... sane. I'll have to figure out what's causing it to diverge so wildly with dxvk/WineD3D, which may take a while, but I have all that I need now.
While I haven't worked with apitraces before, I have noticed that right off the bat from line 8 it differs a bit:
Windows:
Linux:
Everything matches up until line 8 where the second Create9 function is and Linux instead does GetAdaptorDisplayMode? that doesn't happen on Windows until line 89.
It's also missing an additional GetAdaptorCount, and two GetAdaptorMonitor lines are missing from Windows. Linux is also missing the Create9Ex function entirely?
I'll have a quick look at Body Shop as that works on Linux, and see if it differs at all.
So Linux does the exact same thing on Body Shop, yet it's opening just fine there?
TS2BodyShop.1.zip
While I haven't worked with apitraces before, I have noticed that right off the bat from line 8 it differs a bit
That is a red herring. Games (and utilities) may have different paths depending on the hardware they're using or various other factors, it's nothing unusual.
The notable diverging point follows a call to IDirect3DDevice9::GetAvailableTextureMem which queries the total available video memory. We already have a memory limit in place here for The Sims 2, since it doesn't appear to work correctly without one. Extending this to the tools you've mentioned should fix things.
@Blisto91 is on the case and we should soon have a PR to fix them.
Both applications do not load and can cause freezes or crash Steam entirely depending on the system configuration.
Software information
The Sims 2 HomeCrafter Plus (Lets you create custom content for the game.)
The Sims 2 Content Manager (Lets you manage and enable/disable custom content.)
System information
The apps can cause Steam to crash completely, or on Steam Deck, cause a freeze which forces you to perform a hard reset, and I am unable to get an apitrace... I wanted to post an issue about these here first as I was unsure if the issue lies with Wine(Proton)/DXVK. I'm also posting this issue here in the event that a possible fix may fix some other apps or games having the same, if not similar issues.
Using wine directly, such as using the explorer from Protontricks to launch these apps, will result in the "D3DERR_INVALIDCALL" error.
Log files
Sims 2 Content Manager.log
Sims 2 Homecrafter Plus.log