https://bugs.kde.org/show_bug.cgi?id=528876
Bug ID: 528876
Summary: [5.3.4.1 and 6.1.0-prealpha (git 216446e)] Krita
crashes when attempting to select the ACES 2.0 view
transform on any OCIO config while display/output
format is Rec. 2020 PQ (10-bit)
Classification: Applications
Product: krita
Version First nightly build (please specify the git hash!)
Reported In:
Platform: Microsoft Windows
OS: Microsoft Windows
Status: REPORTED
Severity: crash
Priority: NOR
Component: HDR
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 198494
--> https://bugs.kde.org/attachment.cgi?id=198494&action=edit
Text log containing system information and error details after the crash.
DESCRIPTION
Krita crashes when the ACES 2.0 view transform is selected on any OCIO config
(Blender, for example) when the display and/or preferred output format is set
to Rec. 2020 PQ (10-bit).
STEPS TO REPRODUCE
1. Go to Settings -> Display -> HDR Settings -> Set preferred output format to
"Rec. 2020 PQ (10 bit)"
2. Load any OCIO config that includes ACES 2.0 as a view option.
3. Set View: ACES 2.0 (Can be ACES 2.0 - SDR, 1000 nits, etc.)
OBSERVED RESULT
Krita crashes and displays a window with an error message:
---
Krita could not initialize the OpenGL canvas:
Failed to add fragment shader source from file: highq_downscale.frag - Cause:
ERROR: 0:24: '+' : wrong operand types - no operation '+' exists that takes a
left-hand operand of type 'mediump float' and a right operand of type 'const
int' (or there is no acceptable conversion)
ERROR: 0:25: '+' : wrong operand types - no operation '+' exists that takes a
left-hand operand of type 'mediump float' and a right operand of type 'const
int' (or there is no acceptable conversion)
ERROR: 0:26: '/' : wrong operand types - no operation '/' exists that takes a
left-hand operand of type 'mediump float' and a right operand of type 'const
int' (or there is no acceptable conversion)
ERROR: 0:27: '/' : wrong operand types - no operation '/' exists that takes a
left-hand operand of type 'mediump float' and a right operand of type 'const
int' (or there is no acceptable conversion)
ERROR: 0:67: '+' : wrong operand types - no operation '+' exists that takes a
left-hand operand of type 'mediump int' and a right operand of type 'const
float' (or there is no acceptable conversion)
ERROR: 0:68: '+' : wrong operand types - no operation '+' exists that takes a
left-hand operand of type 'mediump int' and a right operand of type 'const
float' (or there is no acceptable conversion)
Krita will disable OpenGL and close now.
---
EXPECTED RESULT
Krita should load the ACES 2.0 view normally without crashing.
SOFTWARE/OS VERSIONS
Operating System: Microsoft Windows 11
KDE Plasma Version: -
KDE Frameworks Version: -
Qt Version: Qt5 and/or Qt6
ADDITIONAL INFORMATION
This crash also occurs on both Krita versions 5.x and 6.x, but does not occur
if the display/output format is set to sRGB (8-bit). I could not get Krita 6.1
to dump a crash log, so I had to do it on Krita 5.3.4.1 instead, hence
Qt5Widgets.dll seen in the log.
--
You are receiving this mail because:
You are watching all bug changes.