Issue Description:
Some users experience occasional crashes when running the Agora-based application on Windows. The crash occurs infrequently and appears to be related to video rendering operations within the SDK.
Platform/SDK:
Windows 10 (x64), Agora Native SDK for Windows v4.2.7.131
Error Message:
No visible error message; application crashes during video rendering initialization.
Solution and Root Cause:
The crash is caused by incompatibility between the system’s graphics driver (Direct3D9 / NVIDIA module) and the video rendering component of the Agora SDK. The stack trace shows the crash occurs within d3d9.dll and nvldumd.dll while initializing the Direct3D9 wrapper, indicating an outdated or unstable graphics driver.
To resolve the issue:
- Update the GPU driver to the latest version provided by the graphics card manufacturer (NVIDIA, AMD, or Intel).
- Restart the system after updating the driver to ensure the new version is properly loaded.
- If the crash persists, verify that no third-party overlay or screen recording software (such as Discord overlay or GeForce Experience) is active during video rendering.
- Confirm that the application is using the latest stable version of the Agora SDK.