ikwzm / udmabuf

User space mappable dma buffer device driver for Linux.
BSD 2-Clause "Simplified" License
539 stars 165 forks source link

How about using one same device node such as udmabuf0 in two different processes #86

Closed Homio closed 1 year ago

Homio commented 2 years ago

Hello, I use udmabuf for v4l2_memory as V4L2_MEMORY_USERPTR. It works fine when one process to read camera. But I have four camera, and use four same process to read them. when I input the same device node such as udmabuf0, the address to copy the image is overlaped. And I can not get the right image for them. Is there probability to create one device node and use it in different process.

rejuce commented 2 years ago

i had also multiple cameras, i solved it by defining multiple udma buffers, one for each camera

Homio commented 2 years ago

Yes, I also do that temporarily.😂