SUMMARY STEPS TO REPRODUCE 1. Download krita 5.2.3 through dmg or brew on macOS (arm) 2. Go in display settings and switch from sRGB 8 bit to 10 bit 3. Close and Open Krita to apply HDR settings 4. Krita won't ever open again macOS: 14.5 Error Report: https://pastebin.com/NVe0hQwn
Confirmed on macOS with 5.2.3 and 5.3.0-prealpha-1c2c28d1, it also happens with 5.2.2. To change it back to 8-bit and prevent the crash, open ~/Library/Preferences/kritadisplayrc and remove the line 'rootSurfaceFormat=bt2020-pq'.
How did it happen that HDR feature is available on MacOS? I guess it was never designed to work on MacOS...
Looks like none of the hdr code is disabled on any platform that doesn't support HDR. That includes Linux, btw.
QSurfaceFormat::setColorSpace(QSurfaceFormat::ColorSpace colorSpace) is deprecated in Qt6...
Git commit 3cfd68df06eedb66e40ac7f2bbe93de250c92344 by Halla Rempt. Committed on 27/07/2024 at 08:21. Pushed by rempt into branch 'master'. Only check for the presence of bt2020PQColorSpace on Windows Since we use sh_zam's Qt branch on all platforms, bt2020PQColorSpace and scRGBColorSpace are defined on all platforms, making config-hdr.cmake.in always define HAVE_HDR. M +14 -10 CMakeLists.txt https://invent.kde.org/graphics/krita/-/commit/3cfd68df06eedb66e40ac7f2bbe93de250c92344
Git commit 3599b59e26ac4dff5343b7fb592cefdc7d1f442f by Halla Rempt. Committed on 27/07/2024 at 08:22. Pushed by rempt into branch 'krita/5.2'. Only check for the presence of bt2020PQColorSpace on Windows Since we use sh_zam's Qt branch on all platforms, bt2020PQColorSpace and scRGBColorSpace are defined on all platforms, making config-hdr.cmake.in always define HAVE_HDR. (cherry picked from commit c623c18c953e7bd3a619bab43f05176e1a1f90fb) M +14 -10 CMakeLists.txt https://invent.kde.org/graphics/krita/-/commit/3599b59e26ac4dff5343b7fb592cefdc7d1f442f
*** Bug 484564 has been marked as a duplicate of this bug. ***