Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M mutter
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 975
    • Issues 975
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 124
    • Merge requests 124
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • mutter
  • Merge requests
  • !2086

Merged
Created Nov 11, 2021 by Jonas Ådahl@jadahlMaintainer

Don't limit DMA buffer screen casting only to Intel

  • Overview 6
  • Commits 1
  • Pipelines 10
  • Changes 4

Quoting the two one commit:


backend/native: Only disable dmabuf screen cast when not hw accelerated

Don't attempt to predict whether we support DMA buffer screen casting
depending on EGL context type or driver name, but only whether we are
hardware accelerated. For all other cases, simply try and fall back to
shared memory if need be.

The reason we can do this now is that we only try to allocate DMA
buffers if the PipeWire client asked for it, and rely on that client to
know it can handle them.

However, in case we're not hardware accelerated, we never want to
attempt to use DMA buffer screen sharing, as we want to avoid
compositing into a DMA buffer on such hardware as doing so can be very
slow.

Related things that this relies on: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1067 and gnome-remote-desktop!63 (merged).

Edited Feb 07, 2022 by Jonas Ådahl
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/dma-buf-when-asked-for