What is the issue?
Some users on Windows 10 and Windows 11 are experiencing issues with the Nx Witness Desktop client, including crashes or the application not opening at all. These problems often occur shortly after launching the client or when working with layouts that include multiple items. In some cases, users have also reported memory leaks or slow performance.
When a crash occurs, it may be accompanied by the following error message or a similar one:
What is the cause of the issue?
The underlying issue is related to OpenGL support. Many modern graphics drivers, especially those for Intel integrated GPUs and some NVIDIA GPUs, do not fully support OpenGL on Windows. As a result, the default graphics rendering option used by the Nx Witness Desktop client (OpenGL) can lead to crashes and instability.
What is the short term solution?
Force the Nx Witness Desktop client to use DirectX
- Close the Nx Witness Desktop client
- Create a directory called
nx_iniat the location below, if it does not already exist.C:\Users\<username>\AppData\Local\ - In the
nx_inidirectory, create a blank.inifile calleddesktop_client.ini.
Optional: Start the Nx Witness Desktop client once, it should generate all default values for this file, and close the Desktop client again. - Open the
desktop_client.inifile with a text editor, like Notepad. - Add or uncomment (remove the # character) and change the following line, and save your changes so it looks like this:
graphicsApi="direct3d11" - After launching the Nx Witness Desktop client, you can verify that the graphics API has changed in the About (F1) window of Nx Witness Desktop client.
Downgrade to a stable NVIDIA driver if using OpenGL
You may consider installing NVIDIA driver version 32.0.15.5639, which has been tested and is known to work reliably in many cases. However, results can vary depending on the specific hardware configuration of your system.
What is the long term solution?
Starting from version 6.1, the Nx Witness Desktop client uses a new Rendering Hardware Interface (RHI) that supports multiple graphics API backends. This allows the Nx Witness Desktop client to automatically use the most suitable rendering option for your system: Direct3D (default on Windows), Metal (macOS), Vulkan (default on Linux if supported by the graphics card), or modern OpenGL (used on Linux when Vulkan isn't available).
Script to change the API:
To make it easy to switch the graphicsApi to either DirectX or OpenGL, we’ve created a simple batch script for Windows. Just download the script and double-click to run it; no additional setup needed.
You can download the graphicsApiChange.bat script using the link below:
Comments
0 comments
Article is closed for comments.