常见问题

Need technical support?

Segmentation fault when Vulkan as render API is used

Question

The following error could appear on a Linux-based system with more than one GPU, if Movie NX is started with the CLI option "-renderapi vulkan" to utilize the Vulkan rendering API:

Received signal SIGSEGV, invalid memory reference

This is usually caused by the so-called Vulkan software renderer "llvmpipe" (a compatibility device, which renders the Vulkan frames on the CPU), which can be wrongly selected by Movie NX. Since "llvmpipe" is not compatible with Movie NX, you must exclude the device from the selection list by setting the following environment variable on your system:

export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json;

You must as well set the CLI option <-device %N> for the GPU sensor in the GPU configuration. On a SensCompute module, it is usually sufficient if the GPU %N is prepended. If the error still appears, try to set different combinations of GPU %N -- %C %A -device %N, e.g. for a SensCompute module with two GPUs:

GPU 0 -- %C %A -device 1
GPU 1 -- %C %A -device 0

Solution

Need technical support?
  • Date: 05.05.2025
  • Product: CarMaker
  • Version: 13.0
  • Component: MovieNX
  • Language: English

Tags