Skip to content

Zero-copy display-buffer import for GPU rendering to avoid rutabaga_resource_transfer_read CPU readback on custom hypervisor backend #183

Description

@zhaoenjin

We have successfully run the gfxstream solution on our self-developed hypervisor, but we've found a performance issue. The most severe one is that after the GPU finishes rendering a frame, the rendered data is read back from the GPU into the display's sanout buffer via
"rutabaga_resource_transfer_read", and this incurs significant performance overhead. So I'd like to ask: is there a way to import the display's buffer to the GPU for rendering, achieving memory sharing and avoiding this memory readback/copy?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions