oyranos-cms / oyranos

Colour Management System
https://gitlab.com/oyranos/oyranos
Other
18 stars 6 forks source link

oyDeviceGetProfile() gets not profile on uninitialised display #2

Closed beku closed 9 years ago

beku commented 9 years ago

see commit 1761fdbb3ec9e3982acbb6fbca9877b3a53a7bf3

beku commented 9 years ago

oyDeviceToJSON() "monitor" .. SUCCESS oyDeviceFromJSON() 26 .. SUCCESS WARNUNG 0,131535: oyOptions_s[0]="oyOptions_s" oyranos_cmm_disp.c:864 oyX1Configs_Modify() Could not obtain _ICC_DEVICE_PROFILE(_xxx) information for :0.0 WARNUNG 0,132128: oyOptions_s[0]="oyOptions_s" oyranos_cmm_disp.c:864 oyX1Configs_Modify() Could not obtain _ICC_DEVICE_PROFILE(_xxx) information for :0.0 WARNUNG 0,163422: [-1] oyranos_devices.c:1171 oyDeviceProfileFromDB() Could not get a "profile_name" from :0.0 registration: "org/freedesktop/openicc/device/monitor" rank: 0 WARNUNG 1,198997: [-1] oyranos_devices.c:391 oyDeviceSetup() implicitely selected /home/kuwe/.config/color/icc/devices/display/LP2480zx 2013-02-17 sRGB VLQ-HQ LabLUT_noVCGT.icc oyDeviceGetProfile("list") -1 .. FAIL !!! ERROR !!! _ICC_DEVICE_PROFILE(CARDINAL) = 0, 7, 110, 164 _ICC_PROFILE(CARDINAL) = 0, 7, 110, 164

Internally the profile is resolved and even setup, but not returned.

beku commented 9 years ago

A fix for the suspected reason is in master. see commit 31cdb1f19fbdf19946b9fc4a4efb1360a0f05f61 But the error in CompICC still persists.

beku commented 9 years ago

KolorServer is affected too

beku commented 9 years ago

added the clut test which shows the bug outside of the color servers. Interactive environments like a display color server are hard to debug.

beku commented 9 years ago

fix in git now