Skip to content

True DMABUF support #175

@gnif

Description

@gnif

Now that the sources are no longer restricted from using GPL symbols, can we please have true Linux DMABUF import support?

Currently NVIDIA reports EGL_EXT_image_dma_buf_import however this is not true DMABUF support according to the Linux gfx documentation for DMABUF. Instead the driver is using some internal proprietary format that makes it impossible to use a DMABUF provided by another driver, such as Intel/AMD or some other external device like a capture card or even just local system RAM.

In the past NVIDIA have made several attempts to get true DMABUF support into the kernel which was rejected due to the GPL symbols being unavailable to them, see:

https://www.phoronix.com/scan.php?page=news_item&px=MTIwNDI
https://www.phoronix.com/scan.php?page=news_item&px=MTA1OTU

This would greatly benefit projects like Looking Glass where we are importing full screen textures directly from memory shared with a VM which is writing into the shared memory.

Note: This is already working on AMD and Intel GPUs . Currently we recommend against using NVidia GPUs to our user base due to the lack of this feature.

See our kernel module here where we create a valid DMABUF from shared RAM: https://github.com/gnif/LookingGlass/tree/master/module

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions