I try to run a CUDA simulation sample oceanFFT and encountered the following error:
$ ./oceanFFT
NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.[CUDA FFT Ocean Simulation] Left mouse button - rotate Middle mouse button - pan Right mouse button - zoom ‘w’ key - toggle wireframe [CUDA FFT Ocean Simulation] GPU Device 0: “Xavier” with compute capability 7.2 CUDA error at oceanFFT.cpp:296 code=999(cudaErrorUnknown) “cudaGraphicsGLRegisterBuffer(&cuda_heightVB_resource, heightVertexBuffer, cudaGraphicsMapFlagsWriteDiscard)” corrupted size vs. prev_size Aborted (core dumped)
A graphic window opened and closed briefly.
My work environment settings are:
- target: NX production module on CTI Quark board, headless, JetPack 4.5, L4T 32.5.
- host PC: laptop with Linux 18.04.
- Since the target is headless, I installed NoMachine to open the desktop of the NX. Xfce4 is installed on NX as a desktop.
When I first run Cuda sample oceanFFT, I hit a libGL error as stated in this thread:
I fixed it with re-link the libdrm.so to libdrm.so.2.4.0.
Other simulation sample programs also hit the sample error on my system. A Nvidia bug report log is attached. I collected this log after the oceanFFT failed.
Anyone has seen this problem and has known solution? Or any hint leading to a fix?
Thanks for your help.
nvidia-bug-report-tegra.log (375.0 KB)
Thanks.