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

Piotr Wojnarowski <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin-x11/-/commit/b3ac4f
                   |                            |9295d36f14da53417d416afbcaf
                   |                            |9146685
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Piotr Wojnarowski <[email protected]> ---
Git commit b3ac4f9295d36f14da53417d416afbcaf9146685 by Piotr Wojnarowski.
Committed on 09/09/2026 at 21:45.
Pushed by vladz into branch 'Plasma/6.7'.

backends/x11: Fix pixel clock overflow

XCB exposes dot_clock as uint32_t, and storing it in int overflows for
high-bandwidth modes. For example, 3840x2160 at 240 Hz has a dot clock
of 2332000000.

The resulting negative refresh rate wraps to 4294765262 mHz and creates
a zero-interval offscreen frame callback timer, making kwin_x11
consume an entire CPU core.

Use 64-bit arithmetic for the refresh-rate calculation.

M  +2    -2    src/backends/x11/standalone/x11_standalone_backend.cpp

https://invent.kde.org/plasma/kwin-x11/-/commit/b3ac4f9295d36f14da53417d416afbcaf9146685

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

Reply via email to