| Summary: | Kwin crashes on login with magnifier enabled and InitialZoom > 1 | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | jacob ham <jacobryanham> | 
| Component: | effects-various | Assignee: | KWin default assignee <kwin-bugs-null> | 
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | kde, nate | 
| Priority: | VHI | ||
| Version First Reported In: | 6.4.3 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/4e1e1d65f488d764e1ddbb18888b2c6509fd4642 | Version Fixed/Implemented In: | 6.4.4 | 
| Sentry Crash Report: | |||
| Attachments: | Kwin_wayland backtrace | ||
| 
        
          Description
        
        
          jacob ham
        
        
        
        
          2025-07-19 22:17:00 UTC
        
       Further investigation reveals that this crash only occurs when the magnifier effect is loaded and InitialZoom != 1 in kwinrc. This means that logging out without first zooming out the magnifier will cause the next login to fail. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7926 Git commit 407fa6ee9367e8f00488b83d0be8b18261391c59 by Xaver Hugl. Committed on 23/07/2025 at 12:06. Pushed by zamundaaa into branch 'master'. plugins/magnifier: actually set the initial zoom properly toggle() doesn't actually do anything if the current zoom level is 1.0 and target zoom is not 1.0 M +1 -4 src/plugins/magnifier/magnifier.cpp https://invent.kde.org/plasma/kwin/-/commit/407fa6ee9367e8f00488b83d0be8b18261391c59 Git commit de0394cf9c2ac149b3d8e6140d6e340ae6afb521 by Xaver Hugl. Committed on 23/07/2025 at 12:06. Pushed by zamundaaa into branch 'master'. plugins/magnifier: allocate an fbo when rendering, and don't crash if it fails This is less error prone and can actually handle GPU resets M +18 -24 src/plugins/magnifier/magnifier.cpp https://invent.kde.org/plasma/kwin/-/commit/de0394cf9c2ac149b3d8e6140d6e340ae6afb521 Git commit 4e1e1d65f488d764e1ddbb18888b2c6509fd4642 by Xaver Hugl. Committed on 23/07/2025 at 12:56. Pushed by zamundaaa into branch 'Plasma/6.4'. plugins/magnifier: actually set the initial zoom properly toggle() doesn't actually do anything if the current zoom level is 1.0 and target zoom is not 1.0 (cherry picked from commit 407fa6ee9367e8f00488b83d0be8b18261391c59) M +1 -4 src/plugins/magnifier/magnifier.cpp https://invent.kde.org/plasma/kwin/-/commit/4e1e1d65f488d764e1ddbb18888b2c6509fd4642 Git commit e1c80aed50288255c14a55a71b9759dcef2bd4da by Xaver Hugl. Committed on 23/07/2025 at 12:57. Pushed by zamundaaa into branch 'Plasma/6.4'. plugins/magnifier: allocate an fbo when rendering, and don't crash if it fails This is less error prone and can actually handle GPU resets (cherry picked from commit de0394cf9c2ac149b3d8e6140d6e340ae6afb521) M +18 -24 src/plugins/magnifier/magnifier.cpp https://invent.kde.org/plasma/kwin/-/commit/e1c80aed50288255c14a55a71b9759dcef2bd4da |