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

            Bug ID: 500166
           Summary: Tearing not working on Wayland
    Classification: Plasma
           Product: kwin
           Version: 6.3.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: compositing
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
So, I been testing to get tearing working, I have enabled
QT_LOGGING_RULES="kwin_core.debug=true" to get the tearing log, but I am don't
get anything if VRR is on I get 

Feb 16 02:16:00 syntist-pc kwin_wayland[1747]: kwin_core: Changed presentation
mode to KWin::PresentationMode::VSync
Feb 16 02:16:01 syntist-pc kwin_wayland[1747]: kwin_core: Changed presentation
mode to KWin::PresentationMode::AdaptiveSync
Feb 16 02:22:55 syntist-pc kwin_wayland[1747]: kwin_core: Changed presentation
mode to KWin::PresentationMode::VSync

And when i disabled vrr, I don't get any output.

I have tried Wayland + Vulkan, Xwayland + DXVK, xwayland + vulkan with Intel
GPU (IGPU) and Nvidia GPU (DGPU) 
I also make sure show compositing effect is not showing meaning the app is
running in direct scannout. I don't see any tearing either.

STEPS TO REPRODUCE
1. Turn on allow tearing and kwin_core log
QT_LOGGING_RULES="kwin_core.debug=true"
2. Run the game in full screen (direct scannout mode + immediate vulkan)
3. journalctl -f | grep 'Changed presentation mode' 

OBSERVED RESULT

Mode is never changed to tearing.

EXPECTED RESULT

Mode should change to tearing

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i7-12800H
Memory: 15.3 GiB of RAM
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: NVIDIA RTX A1000 Laptop GPU


ADDITIONAL INFORMATION
It was working when we were testing the ticket, but after it never worked for
me.

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

Reply via email to