The UI of our C++ applications and plugins is typically very complex and bitmap based (rendered to texture), that's why we have the vertical sync feature of the QWindow turned off since the very beginning (see https://doc.qt.io/qt-6.8/qsurfaceformat.html#setSwapInterval).
It appears, that with the introduction of more recent macOS display drivers and faster external displays, the non-synced operation has become unstable, in a way that it has become fatal for the customers with the respective high-end gear.
Repro:
- More recent macOS (Sequoia+), running on Max or Ultra class M-chip
- High-resolution display running at 120Hz+, highest resolution
- Start provided application built from provided code (with V-Sync disabled)
- Drag application's window to external screen's top-left position
Observation:
- System will get unresponsive and reboot
- After restart, log with kernel panic message is shown
Expectation:
- No crashes
Attachments:
- Kernel Panic log
- Minimal source code (please be aware of the `DISABLE_VSYNC` cmake option!)
Notes:
- We have this issue also filed with Apple under 16376349