Hello,
I was working upon a game engine and encountered weird bug: the sample crashed with the access violation after a few seconds of work.
I’ve spend more work to localize the problem and came with minimal code that reproduces the crash.
I am pretty sure it’s the nvidia driver bug for the following reasons:
- The bug is very “tender”. If you change one of the shaders or depthStencilState switching logic, then the bug goes away. Similarly it goes away if the app is run in 32-bit mode.
- The bug reproduces on 3060 ti(with latest drivers), but it doesnt reproduce on Intel HD 4000.
Now, the bug details:
- Operating system: Windows 10 Home. Ver. 22H2. Build 19045.3448
- Hardware: Palit NVIDIA Geforce 3060 ti.
- Driver version: 537.42
- System information:
NVIDIA System Information 09-29-2023 12-01-00.txt (3.5 KB) - Reproducable project: GitHub - rds1983/DirectXCrash: Weird DirectX Crash
Open it in IDE and run. In a few seconds, it’ll crash with the access violation.
Video of how it crashes on my machine(the crash happens on 16th second):
dxCrash.zip (499.8 KB)