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

            Bug ID: 461824
           Summary: Fullscreen Vulkan issues when game is running on
                    dedicated GPU on multi GPU setup
    Classification: Plasma
           Product: kwin
           Version: unspecified
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: compositing
          Assignee: kwin-bugs-n...@kde.org
          Reporter: minexpla...@gmail.com
  Target Milestone: ---

SUMMARY
Several problems when combining 2 gpu's usage in fullscreen mode on external
screens (plasmashell always reports running on integrated GPU (iGPU), while
games / apps run on dedicated GPU (dGPU) for maximum performance).
My laptop have 2 video output ports, one connected to iGPU and second to dGPU.
If external screen is connected to iGPU, then fullscreen Vulkan games running
on dGPU show just black screen with flashes of gameplay when changing volume
(when plasma volume bar shows up).
If external screen is connected to dGPU, then these games work fine, but if
volume bar shows up (or something else from shell on top of the window) game
freezes completely. 

Problems occur only for Vulkan apps / games, only for external monitor and only
when in fullscreen mode (using KWin window rules to disable fullscreen, set
manually size to fill the screen and keep the window on top mitigates the
issue).

Tested only on Wayland, because something is bugged and the whole system runs
at 1FPS on X11 (not related issue).

STEPS TO REPRODUCE
1. Connect external monitor to a laptop using iGPU + dGPU
2. Run Vulkan game in fullscreen mode on dGPU
3. Change system volume and let the volume bar disappear

OBSERVED RESULT
Game freezes or black screen

EXPECTED RESULT
Game working fine

SOFTWARE/OS VERSIONS
Linux: EndeavourOS 6.0.5-arch1-g14-1
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7
Graphics Platform: Wayland

ADDITIONAL INFORMATION
My laptop is Asus G14 RK402RJ (iGPU: Ryzen 7 6800HS + dGPU: AMD RX 6700S)

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

Reply via email to