eoyilmaz / displaycal-py3

DisplayCAL Modernization Project
https://eoyilmaz.github.io/displaycal-py3/
GNU General Public License v3.0
698 stars 55 forks source link

Displaycal crashes when directed to create a LAB LUT ICC profile. #347

Open RyuConnor opened 2 months ago

RyuConnor commented 2 months ago
Input black L*a*b*: 0.703564 -0.001953 -0.001953
Input white L*a*b*: 100.000000 -0.001953 -0.001953
Output black RGB: 0.0000 0.0153 0.0683
Output white RGB: 99.9989 99.9994 100.0000
Filling cLUT...
100%
Generating output curves...
Setting curve entry #0 (0.002871 0.000000 0.003274) to black because it got clipped
Setting curve entry #4095 (1.000000 1.000000 1.000000) to white because it got clipped
Smoothing B2A1...
Generating B2A0 table by inverting A2B0 table
Using chromatic adaptation transform matrix: Bradford
--------------------------------------------------------------------------------
Moving files of incomplete run to /home/hellfire/.local/share/DisplayCAL/incomplete/N173HHE-G32 #1 2024-03-31 20-57 120cdm² D6500 2.2 M-S LabLUT
DisplayCAL: Uninhibited org.freedesktop.ScreenSaver
DisplayCAL: Uninhibited org.freedesktop.PowerManagement.Inhibit
┌──────────────────────────────────────────────────────────────────────────────┐
│ Argyll CMS xicclu: Invalid white XYZ: 0.9651 0.9998 0.8232                   │
└──────────────────────────────────────────────────────────────────────────────┘

ArchLinux: 6.8.2-arch2-1 python 3.11.8-1 displaycal 3.9.12-1 argyllcms 3.1.0-1

RyuConnor commented 2 months ago

Generating an XYZ LUT instead of a L*a*b* LUT is a workaround.

eoyilmaz commented 3 weeks ago

Should we close this. Seems like an ArgyllCMS issue to me.

RyuConnor commented 3 weeks ago

I wasn't sure if it was Argyll or DispCal. Happy to report it to the Argyll mailing list if the bug exists there.