Advanced Search

Search Results (Searched for: save preset)

  • PhoebeG93
17 Nov 2026 11:41
Same crash here - root cause found, plus a working workaround for 6.8.0.2155 (add-on build)

I hit exactly this crash and traced it through four crash dumps, the ReShade 6.8.0 source and the OptiScaler source. Short version: the add-on build decodes every CPU descriptor handle passed to ClearUnorderedAccessViewUint/Float as if it were a ReShade-encoded handle, with no validity check. In OptiScaler's DLSS-G mode, NVIDIA NGX ends up passing handles from heaps ReShade never saw, so ReShade reads a garbage heap entry and crashes. A small validity check fixes it: with a patched DLL, the story save that crashed every time now loads, and DLSS-G 3x runs alongside ReShade and its add-ons.

Setup
  • Red Dead Redemption 2 1.0.1491.50, DX12, 2560x1440 HDR, RTX 5080, driver 621.24, Windows 11
  • OptiScaler 10.0.0-dev (1e568bb3, nightly 20261116) as winmm.dll: Dx12Upscaler=dlss, FGInput=upscaler, FGOutput=dlssg, FGNvngxReplacement=None, [DLSSG] InterpolationCount=2, LoadReshade=true
  • Streamline 2.14.16, DLSS 310.9.16
  • ReShade 6.8.0.2155 with full add-on support, loaded by OptiScaler as d3d12-ReShade64.dll (also crashed as d3d12.dll and as an .asi). Add-ons: RealityFX and RenoDX DLSS5. Three of my four crashes happened before the RenoDX add-on was installed, so it isn't needed to trigger this.

What the dumps show
All four dumps are 0xC0000005 in the ReShade DLL at RVA 0x1311DB, or 0x13131B for its sibling (image base 0x180000000). The instruction is the same one you found: add rbx, [rcx+0x18]. Unwound with the on-disk images, the stack is:
Code:
ReShade  D3D12GraphicsCommandList::ClearUnorderedAccessViewUint / ...Float   <- fault NGX DLSS (nvngx_dlss.dll / driver model 160_E658700.bin) _nvngx.dll  NVSDK_NGX_D3D12_EvaluateFeature OptiScaler (winmm.dll) RDR2.exe    NVSDK_NGX_D3D12_EvaluateFeature_C   <- game's DLSS upscaler evaluate
The two functions are vtable slots 49 and 50 of ReShade's command list wrapper (vtable RVA 0x435B30): ClearUnorderedAccessViewUint at 0x131150 and ClearUnorderedAccessViewFloat at 0x131290. At the fault, r8 (the ViewCPUHandle) held values like 0x1850D410C0, 0x1817E94260, 0x18391CF1C0 and 0x1859D48120. Those look like real driver CPU descriptor addresses, not ReShade-encoded handles. Decoded as ReShade handles they give heap index ~0x181-0x185, which points at a garbage or NULL slot (your rcx=0 is the NULL case).

Root cause, ReShade side
In d3d12_command_list.cpp, both Clear UAV hooks do this under RESHADE_ADDON >= 2:
Code:
ViewCPUHandle = _device->convert_to_original_cpu_descriptor_handle(ViewCPUHandle);
In d3d12_impl_device.cpp the decode is:
Code:
heap_index = (handle.ptr >> heap_index_start) & 0xFFFFFFF;   // heap_index_start = 28 on x64 assert(heap_index < _descriptor_heaps.size() && _descriptor_heaps[heap_index] != nullptr);   // compiled out in release return { _descriptor_heaps[heap_index]->_orig_base_cpu_handle.ptr + (handle.ptr & (((1ull << heap_index_start) - 1) ^ 0x7)) };
_descriptor_heaps is a concurrent_vector, and its operator[] does no bounds check. _orig_base_cpu_handle sits at heap+0x18, which is the faulting [rcx+0x18]. Only CBV_SRV_UAV and SAMPLER heaps created through ReShade's wrapped device get encoded handles of the form (heapIndex << 28) | type | (shaderVisible << 2). Any handle from a heap created on an unwrapped device gets decoded as garbage. No ini option controls this; it depends only on the RESHADE_ADDON compile setting. That explains why the standard build works. Current main has the same code.

Why only with OptiScaler DLSS-G (not XeFG, not without ReShade)
In DLSS-G mode, OptiScaler starts Streamline with the native device: it deliberately unwraps ReShade's proxy (Util::GetReShadeOriginal in StreamlineProxy::SetD3D12Device) before slSetD3DDevice. sl.common then initialises NGX on that native device. My OptiScaler log shows "Init_Ext ... Device: 4A64280" from sl.common, and later the game's own init with ReShade's proxy device "C56FCD60". NGX most likely creates its internal descriptor heaps on the first (native) device. Meanwhile the game's DLSS evaluate still passes the game's ReShade-wrapped command list, so NGX's internal ClearUnorderedAccessView calls carry native handles straight into ReShade's hook.
With XeFG output, Streamline is never started, so NGX only ever sees ReShade's device, its heaps get encoded and nothing breaks. NGX is closed source, so the "NGX builds its heaps on the native device" part is inferred from the handle values and the logs, but everything else is visible in source.

Suggested fix for ReShade (sketch, not compiled)
Validate before decoding, and pass unknown handles through unchanged:
Code:
D3D12_CPU_DESCRIPTOR_HANDLE device_impl::convert_to_original_cpu_descriptor_handle(D3D12_CPU_DESCRIPTOR_HANDLE handle) const {     constexpr SIZE_T offset_mask = ((1ull << heap_index_start) - 1) ^ 0x7;     const size_t heap_index = (handle.ptr >> heap_index_start) & 0xFFFFFFF;     if (heap_index < _descriptor_heaps.size())         if (D3D12DescriptorHeap *const heap = _descriptor_heaps[heap_index];             heap != nullptr && (handle.ptr & ~offset_mask) == heap->_internal_base_cpu_handle.ptr)             return { heap->_orig_base_cpu_handle.ptr + (handle.ptr & offset_mask) };     return handle; // not from a ReShade-wrapped heap (e.g. created on the unwrapped device) }
Optionally, also check that the offset is below NumDescriptors * increment, and skip add-on events for handles that aren't recognised. The same unchecked decode exists in the device hooks: Create{ConstantBuffer,ShaderResource,UnorderedAccess}View, CreateSampler(2), CopyDescriptors(Simple) and the newer Device methods. D3D12GraphicsCommandList::SetDescriptorHeaps also static_casts every heap to D3D12DescriptorHeap* and reads ->_orig, so a native heap passed there is unsafe too.

Workaround: byte patch for 6.8.0.2155 add-on build only
This only applies to the exact file with sha256 0cee63f9c9f13f3ac909c5b4903f4dbb4b719a7ab3b4f13b0deaf83c814b94f7 (5,592,064 bytes). After the patch: 7c23717d876ad2a47e0eb938355a4678e2c9867d234ded522cd725625a0adf4d.
It does the check above in both Clear UAV hooks: index < vector size, segment allocated, entry non-NULL, and the type/flag bits match the heap's encoded base. Otherwise it passes the handle through. It also makes SetDescriptorHeaps unwrap only objects whose vtable is ReShade's heap wrapper. The code caves sit in zero slack at the end of .text. No relocations are touched and no branch targets fall inside the patched ranges. File offsets (= RVA - 0x1000 + 0x400 for .text):
Code:
0x000228  .text VirtualSize  7C 78 3D 00 -> 00 7A 3D 00 0x1305B9  ClearUAVUint      48 8B 8E A8 02 00 00 -> E9 C2 76 2A 00 90 90 0x1306F9  ClearUAVFloat     48 8B 8E A8 02 00 00 -> E9 F2 75 2A 00 90 90 0x12EC2A  SetDescriptorHeaps 48 8B 48 08 48 89 0C D3 -> E9 41 91 2A 00 90 90 90 0x3D7C80  cave A (98 bytes, was zeros): 48 8B 8E A8 02 00 00 48 3B AE A0 02 00 00 73 38 48 83 E2 FE 48 29 D5 40 30 F6 48 8B 04 C1 48 83 F8 3F 76 27 48 8B 0C E8 48 85 C9 74 1E 48 8B 41 28 4C 31 C0 48 BA 07 00 00 F0 FF FF FF FF 48 85 D0 75 08 E9 0A 89 D5 FF 40 30 F6 4C 89 C3 48 8D 0D ED FF FF FF E9 F8 88 D5 FF 00 00 00 00 00 00 00 00 0x3D7CF0  cave B (98 bytes, was zeros): 48 8B 8E A8 02 00 00 48 3B AE A0 02 00 00 73 38 48 83 E2 FE 48 29 D5 40 30 F6 48 8B 04 C1 48 83 F8 3F 76 27 48 8B 0C E8 48 85 C9 74 1E 48 8B 41 28 4C 31 C0 48 BA 07 00 00 F0 FF FF FF FF 48 85 D0 75 08 E9 DA 89 D5 FF 40 30 F6 4C 89 C3 48 8D 0D ED FF FF FF E9 C8 89 D5 FF 00 00 00 00 00 00 00 00 0x3D7D70  cave C (30 bytes, was zeros): 48 8D 0D 19 D7 05 00 48 39 08 75 06 48 8B 48 08 EB 03 48 89 C1 48 89 0C D3 E9 A4 6E D5 FF
Cave A disassembled (cave B is the same, resuming in the Float function at 0x131312):
Code:
mov rcx,[rsi+0x2A8]        ; segment table cmp rbp,[rsi+0x2A0]        ; heap index < vector size? jae pass and rdx,-2 / sub rbp,rdx / xor sil,sil   ; original instructions mov rax,[rcx+rax*8]        ; segment cmp rax,0x3F / jbe pass2   ; segment allocated? mov rcx,[rax+rbp*8]        ; heap entry test rcx,rcx / je pass2 mov rax,[rcx+0x28] / xor rax,r8 / mov rdx,0xFFFFFFFFF0000007 / test rax,rdx / jne pass2 jmp 0x1311D2               ; valid: original decode continues pass:  xor sil,sil pass2: mov rbx,r8          ; pass the native handle through        lea rcx,[zero_qword-0x18]   ; so the original "add rbx,[rcx+0x18]" adds 0        jmp 0x1311D2
I'm not attaching a modified DLL. The bytes above let anyone reproduce and check it.

Result
With the patched DLL, the story save that crashed on the first DLSS frame every time loads normally. DLSS-G 3x runs with ReShade, the Reality Redemption preset, RealityFX and RenoDX DLSS5 all active, and I played until I quit without a crash. That's one session so far.

Caveats
  • This is an unofficial binary patch for one specific build; a proper source fix is the real solution.
  • Add-ons now get the raw native handle in the clear_unordered_access_view events instead of a resolvable view. Mine didn't mind.
  • The device-level decode sites aren't patched. They weren't on the crash path, because NGX uses the native device for those calls.
  • A native handle whose upper bits happen to match a live heap index and type would still be misread, causing a wrong clear rather than a crash. This is very unlikely with real driver addresses.

Possible fix on the OptiScaler side (for reference)
Either initialise Streamline/NGX with the same device the game's NGX calls use, or unwrap the command list (Util::GetReShadeOriginal) before forwarding EvaluateFeature to NGX when NGX was initialised on the native device. Then NGX's internal commands never pass through ReShade's wrapper.
  • Aztec2012
25 Feb 2026 14:18
The save error with browser. In AppData folder.
  • Anmanxd
24 Jan 2026 16:52
ETS2 doesn’t open with ReShade. was created by Anmanxd
Hello, I am experiencing a launch failure with ReShade in Euro Truck Simulator 2. Description of the issue: 
  • When ReShade is installed, ETS2 does not launch at all.
  • In Steam, I click Play, it shows Launching, and then it immediately returns to Play.
  • No game window appears.
  • When ReShade is completely removed, the game launches and works normally.
  Important details: 
  • This happens even with a clean ReShade installation, without loading any preset.
  • The preset is not the cause.
  • The issue occurs with ReShade installed alone.
  • The only time the game reached the main menu was when forcing OpenGL (test only).
  • Even in OpenGL, the game crashes when loading a save (entering the 3D world).
  • Using DirectX 11, the game does not launch at all with ReShade.
  Additional context: 
  • I initially noticed this issue while testing the Project Next-Gen (PNG) graphics mod.
  • However, the problem persists after removing PNG and all other mods.
  • Therefore, PNG does not appear to be the cause.
  Steps already tested: 
  • Clean reinstall of Euro Truck Simulator 2
  • No mods installed
  • DirectX 11
  • OpenGL (test only)
  • Renaming dxgi.dll to d3d11.dll
  • Clean ReShade install (no preset)
  • GPU drivers up to date
  Result: 
  • Without ReShade → game launches normally
  • With ReShade → game fails to launch (Steam returns to “Play”)
  This appears to be a compatibility issue between ReShade and ETS2’s rendering pipeline on my system. Thank you for your time.
  • q1zzz
18 Dec 2025 02:22
Save Configuration Errors was created by q1zzz
Unable to save configuration and/or current preset. 
Please ensure file permissions allow write access to these paths and their parent directories:
C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V Enhanced\Reshade.ini
C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V Enhanced\NVE.iniI’ve tried everything I found online, but nothing works.Can anyone help fix this?
Displaying 1 - 4 out of 4 results.