Skip to content

[1.2.1] Consistent crash in NvRemixBridge.exe during D3D9 module destruction on second device creation #100

@deefour

Description

@deefour

Environment

  • Mod version: 1.2.1
  • Game version: GTA IV Complete Edition (1.2.0.59, Steam)
  • GPU: RTX 4070 Super
  • CPU: Ryzen 7 7800X3D
  • RAM: 64 GB
  • OS: Windows 11 Home
  • Driver: 595.79 (32.0.15.9579)
  • Bridge: remix-main+8c7b09b8
  • DXVK Runtime: remix-main+57982652
  • Display: 5120x1440 (49" ultrawide)

Bug description

NvRemixBridge.exe crashes with Exception 0xc0000005 (access violation) every launch during the game's second D3D9
device creation. The crash is 100% reproducible.

GTA IV creates two D3D9 devices during initialization:

  1. A thread-safe device (~3s after launch) — succeeds
  2. A NON thread-safe DeviceEx (~17s later) — succeeds, then module destruction crashes the bridge server

bridge64.log always shows this sequence:
Server side D3D9 Device created successfully!
Server side D3D9 DeviceEx created successfully!
D3D9 Module destroyed.
Exception 0xc0000005 at !

bridge32.log shows the client-side trigger:
Creating a NON thread-safe D3D9 device.
[WndProc][set] Calling WndProc::set(...) without an intermediate unset(). Calling implicitly...
A null pFullscreenDisplayMode was passed to IDirect3D9Ex::CreateDeviceEx().

What I've tried (all produce the same crash)

Change Result
Moved install out of Program Files to C:\SteamLibrary Same crash
Disabled FusionFix (renamed .asi) Same crash
Removed extra mods (WarcacoRTX, autopbr) — base gta4rtx only Same crash
Set threadSafetyPolicy = 1 in bridge.conf Crash at different offset, still crashes
Added -width/-height to commandline.txt Same crash
Set manual_game_resolution = [1920, 1080] Same crash
Updated driver from 591.74 → 595.79 Same crash (offset shifted slightly)
Used _LaunchWithProcessorAffinity_Half_GTA4__Half_Remix.bat Same crash
Cleared NVIDIA shader caches Same crash
Disabled AMD iGPU in BIOS Same crash

Logs

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions