Hi, folks!
I just installed CUDA Toolkit 10.1 on my Dell laptop, and I could run all examples, except the opengl graphic examples (in 2_Graphics). On simpleGL, I got:
./simpleGL
simpleGL (VBO) starting…
GPU Device 0: “GeForce GTX 1050 Ti” with compute capability 6.1
CUDA error at simpleGL.cu:433 code=999(cudaErrorUnknown) “cudaGraphicsGLRegisterBuffer(vbo_res, *vbo, vbo_res_flags)”
CUDA error at simpleGL.cu:445 code=400(cudaErrorInvalidResourceHandle) “cudaGraphicsUnregisterResource(vbo_res)”
And all examples return similar error (cudaGraphicsGLRegisterBuffer).
lspci gives:
lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
nvidia-smi gives:
Wed Oct 23 19:37:06 2019
±----------------------------------------------------------------------------+
| NVIDIA-SMI 418.87.00 Driver Version: 418.87.00 CUDA Version: 10.1 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 105… Off | 00000000:01:00.0 Off | N/A |
| N/A 42C P8 N/A / N/A | 0MiB / 4040MiB | 0% Default |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
±----------------------------------------------------------------------------+
lsmod |grep nvidia gives:
nvidia_uvm 929792 0
nvidia 18235392 19 nvidia_uvm
ipmi_msghandler 65536 2 ipmi_devintf,nvidia
glxinfo |grep OpenGL gives:
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 7.0, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 18.3.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
I have just one GPU a Geforce GTX 1050 Ti, and I need to run those examples in order to do my research in CUDA.
Thanks in advance.
Isaias.