[SOLVED] SMAA Crashes Sims 3

  • wafumayo
  • Topic Author
More
3 months 2 weeks ago #1 by wafumayo SMAA Crashes Sims 3 was created by wafumayo
Hello! I've made a reply about my issues a while ago in a conversation for Sims 4 but I don't want to hijack OP's topic so made a new one. The issue is the same though. Reshade was working perfectly fine on my laptop (Windows 10) but after I upgraded to a new computer that has Windows 11 on it, it's been giving me grief. I can open my game, play without any issue, turn on shaders, open up Reshade menu, etc. without an issue. It's when SMAA's turned on that there's a problem. Presets that contain SMAA will instantly crash the game to desktop and I know it's SMAA doing it because I've tested it with other effects. I've looked around forums, installed and uninstalled different versions, downloaded d3d9.dll, etc. and nothing's working. Other than the SMAA issue, Reshade works beautifully in the game though!

I'm not sure where Reshade sends its error logs but I've a Sims 3 crash log here: docs.google.com/document/d/1ZC_HJbZ8qEiA...hS8/edit?usp=sharing

This isn't urgent because the preset I generally use when playing doesn't use SMAA, but it's been bothering me for months and I'd like to solve the issue. For reference, I've recently updated to 6.3.1 and the error persists, as it did on Reshade 6.2.0. Earlier versions of Reshade which other simmers recommend straight up don't let me open the game, so I can't downgrade like I did on my old laptop.

Thank you!

Please Log in or Create an account to join the conversation.

  • wafumayo
  • Topic Author
More
3 months 1 week ago #2 by wafumayo Replied by wafumayo on topic SMAA Crashes Sims 3
I figured it out and am posting an update in case someone else has a similar issue. The solution was very simple and the problem that led up to it was very ridiculous but please, this is my first time owning a PC ;o;

It turns out that I'd stuck the PC cord into the wrong hole and it wasn't actually using my fancy Nvidia graphics card. It was using the shoddy graphics card that came with the PC tower. So SMAA would crash because I guess it couldn't handle it. Now that I've fixed it, SMAA is okay again.

Please Log in or Create an account to join the conversation.

  • crosire
More
2 months 3 weeks ago #3 by crosire Replied by crosire on topic SMAA Crashes Sims 3
Thank you for the crash dump! It pointed to a bug in D3D9on12 (there exists no D3D9 driver for some Intel laptop GPUs, so Windows will try to convert to D3D12 behind the scenes), which is not something that ReShade can solve. This is why the problem does not occur with e.g. NVIDIA GPUs, because there is an actual D3D9 driver for those and thus D3D9on12 is not involved.

However, I found what's triggering the bug, and as such also have a workaround that can be applied to SMAA.fx to prevent it from happening. Simply go to the Sims 3 installation directory, navigate to reshade-shaders\Shaders and open SMAA.fx with a text editor. Find line 106, which says:
#define SMAASampleLevelZero(tex, coord) tex2Dlod(tex, float4(coord, coord))
and replace it with the following:
#define SMAASampleLevelZero(tex, coord) tex2Dlod(tex, float4(coord, 0, 0))
Save and exit the text editor and that's it. It will now load successfully without crashing.

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.