https://bugs.kde.org/show_bug.cgi?id=510847

            Bug ID: 510847
           Summary: Feature request: implement zero-copy shared buffers on
                    iGPU+dGPU systems
    Classification: Plasma
           Product: kwin
      Version First 6.4.5
       Reported In:
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: egl
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY

While playing games (Xwayland) on my iGPU+dGPU system, with the monitor
connected to the iGPU while the game is running on the dGPU, I can see that 
- Kwin: 100% utilization on both GPUs
- Mutter: 100% only on the dGPU, while the game is in fullscreen,
mid-utilization otherwise (in "overview" mode for example, where compositing is
happening)

This would entirely remove performance issues where the iGPU is too slow to
follow (see bug bug 510579) and would make using the iGPU as primary entirely
equivalent (or better?) to plugging the screen to the dGPU in terms of
performance, while having better power savings when the dGPU is unused (in
which case it's entirely off, it saves 40W in my machine)

I suspect that this is because gnome uses "accelerated iGPU/dGPU framebuffer
sharing" in zero-copy mode [1] for which I could not see a counterpart in
Kwin's code-base.

Thank you very much!

[1]
https://gitlab.gnome.org/GNOME/mutter/-/blob/4ebec786d7aed50a9a2fb0d22305a1995378937d/src/backends/native/meta-renderer-native.c#L2031


SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.18
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.3
Kernel Version: 6.17.2-tkg-eevdf (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 9950X3D 16-Core Processor
Memory: 64 GiB of RAM (60.5 GiB usable)
Graphics Processor 1: AMD Radeon Graphics
Graphics Processor 2: AMD Radeon RX 6950 XT


ADDITIONAL INFORMATION
This came up while I was reporting bug 510579

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to