Importing with cuImportExternalMemory
any file descriptor obtained via gbm_bo_get_fd
returns error 999.
What am I doing wrong ?
You might need to make sure you are properly using a GBM backend provided by NVIDIA.
The GBM device is created with gbm_create_device
with a file descriptor from /dev/dri/renderD128
which is the only render node on my system and I only have 1 Nvidia GPU.