The Sims 3 keeps crashing with ACCESS_VIOLATION in d3d9.dll on RTX 3070
Hi,
I've been trying to troubleshoot a persistent crashing issue with The Sims 3 on my PC, and I'm running out of ideas. The crashes are intermittent, but usually happen after playing for a few minutes.
System:
- Windows 10 64-bit
- NVIDIA GeForce RTX 3070
- AMD Ryzen 9 7900X
- 32 GB RAM
- EA App version of The Sims 3, patch 1.69
The game recognizes the RTX 3070, and I have the framerate limited to 60 FPS with VSync enabled.
The most consistent pattern I've found in the crash logs is an ACCESS_VIOLATION. Many of the crashes point to Windows' d3d9.dll, often at exactly the same offset:
d3d9.dll + 0x00136b76/78
The base address changes between crashes, but the offset is frequently the same. My most recent crash was slightly different and reported an access violation in an unknown module instead.
I've also checked whether this is caused by the game's 32-bit memory limit. I installed Sims3SettingsSetter and enabled its expanded crash logging. During one of the crashes, the game still had roughly 2 GB of free virtual address space, so it does not appear to be running out of its 4 GB address space.
Things I have already tried:
- Limited the game to 60 FPS and enabled VSync
- Lowered basically all graphics settings to medium
- Clean-installed the latest NVIDIA graphics driver
- Reinstalled Microsoft Visual C++ 2005 Redistributable
- Reinstalling/updating ErrorTrap to the correct 1.69 Version 100
- Tested different combinations of NRaas mods and other script mods
- Tested with large groups of custom content removed
- Tested with a newly generated Sims 3 user folder
- GPU is correctly recognized by the game
- Texture memory fallback was fixed from 32 MB to 2048 MB
- Used Sims3SettingsSetter to monitor memory usage
- Disabled NVIDIA overlay
- Checked that compatibility mode is not enabled
However, after reading this ModTheSims discussion: https://modthesims.info/t/584593
I now understand that the textureMemory value apparently does not behave as a hard VRAM limit the way some older guides suggest. I'm planning to revert that modification as well, just to remove another variable.
At this point I'm wondering whether this could be some kind of DirectX 9 / modern NVIDIA driver interaction, especially because so many of the crashes repeatedly involve d3d9.dll.
Would DXVK be a reasonable next troubleshooting step, or is there something else I should test first?
Thanks!