"cudaExternamMemoryGetMappedBuffer" error running with multiple GPU

Hello, any news on this error?
I followed this: Create camera sensor fail on buffer and added these lines to the beginning of my script:

mport os 

os.environ['MESA_VK_DEVICE_SELECT'] = '10de:24b0' # When these are set it works but I am getting a segmentation fault
os.environ["CUDA_VISIBLE_DEVICES"] = '0'

The buffer error that is mentioned on this thread is not there anymore.
But I now am not getting these errors but I am getting a Segmentation fault and the images that I am receiving are not just black.
I have been stuck with this in a while, is there anyone who solved this problem?

Thank you very much!
Best,
Irmak.