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

            Bug ID: 522374
           Summary: Direct Scanout fails to active for native SDL game
                    (dota 2), when tearing enabled (wayland and xwayland)
    Classification: Plasma
           Product: kwin
      Version First 6.7.1
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: compositing
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

I tested Dota 2 (Wayland and Xwayland) and CS2

Am on nvidia, so for xwayland I have to set the Allow Tearing Rule to On, I can
see 
```
Changed presentation mode to KWin::PresentationMode::AdaptiveAsync
```
But game is not direct compositing anymore (check using show compositor in kde6
debug), but when I force Allow Tearing to no, it works and presentation mode is
```
Changed presentation mode to KWin::PresentationMode::AdaptiveSync
```

I tested wine-wayland and xwayland, forcing tearing on, on wine games work
fine, direct scanout always work, but only native game using sdl3, it's not
working. Enabling Tearing disables direct scanout.


In case of cs2 (wayland), Direct Scanout Works only if i am using same
resolution as the monitor, it doesn't work if i use smaller resolution.

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

Reply via email to