protonscr

Sourcefilmmaker crashing or rendering black image when exporting

dxvkopen windows
doitsujin/dxvk#4914 · opened 2025-05-15 by KnightSFM · updated 2025-06-05 · 9 comments · github
KKnightSFM 2025-05-15 github

So I been using the 2.5.3 DXVK script for my Sourcefilmmaker to get rid of that pesky memory limit, but recently it's been doing this odd thing where when I go to export a image and or animation it ether crashes or exports a pure black image, now I narrowed it down to what triggers it, when i use Volumetric lighting and or Ambient Occlusions, now this goes further as i did a number of tests and have found that each time this happened was right after a GPU update OR a windows update, when I have a GPU update I have to restart the PC for sfm to work again, with a windows update I have found that I have to delete the D3D9 script and put in a fresh one. I was wondering if there was a permeant fix.

my specs

GPU: Nvidia RTX 4070

cpu: RYZEN 9

OS: Windows 11

ram: 69gig

BBlisto91 2025-05-15 github

Hi there. What script are you talking about?

KKnightSFM 2025-05-15 github

Hi there. What script are you talking about?

https://github.com/doitsujin/dxvk/releases/tag/v2.5.3 this one here, I tried the 2.0 but that never worked, I used the D3D9 file from the 32bit folder

BBlisto91 2025-05-15 github

When you say script do you just mean downloading the release and using the files?
Also you should test with 2.6.1 as older releases aren't supported

KKnightSFM 2025-05-15 github

When you say script do you just mean downloading the release and using the files? Also you should test with 2.6.1 as older releases aren't supported

yes thats exactly what I mean, I was told by others to put the D3D9 file into the game bin folder and then it takes away SFM's memory limit, I'll try the newest one to see if it works

BBlisto91 2025-05-15 github

and then it takes away SFM's memory limit

That is not true. It'll have the same memory limitations as without dxvk.
That is not so say that there can't be differences in the usage (not necessarily in dxvk's favor)

KKnightSFM 2025-05-15 github

and then it takes away SFM's memory limit

That is not true. It'll have the same memory limitations as without dxvk. That is not so say that there can't be differences in the usage (not necessarily in dxvk's favor)

well it was working till about a week ago whenever I'd go to export a image it'd crash

BBlisto91 2025-06-04 github

@KnightSFM Friendly ping

KKnightSFM 2025-06-04 github

@KnightSFM Friendly ping

so far I been using the updated 2.6 version, things seem to be going better, had an instance the other day where it did the whole rendering a black image but after restarting the pc it fixed it so still testing to see if it does anything bad again, gonna keep this open so the creator can see and maybe test it out

KKnightSFM 2025-06-05 github

new info, for some reason and idk why, but my personal model when that script is inside of sfm, makes sfm crash or export a black image, the model doesn't seem to be corrupted and when the script is taken out it exports just fine, but whenever both the scritp and my model is inside of sfm it crashes or exports a black image both on export

Nothing extracted yet.