[colord] dispwin sets the wrong X.org _ICC_PROFILE atom

Niccolò Belli darkbasic at linuxsystems.it
Sat Nov 26 22:23:19 UTC 2016


On sabato 26 novembre 2016 22:59:12 CET, Alexey Galakhov wrote:
> Fixed in xiccd 0.2.3. Please upgrade.

Thanks. dispwin doesn't still behave as expected, but I don't know who's 
the culprit now:

$ darktable-cmstest 
darktable-cmstest version 2.2.0rc1+29~g0993bb3
this executable was built with colord support enabled
darktable itself was built with colord support enabled

eDP1    the X atom and colord returned different profiles
        X atom: _ICC_PROFILE (0 bytes)
                description: (none)
        colord: 
"/home/niko/.local/share/icc/edid-a56d2a66752fe81bf2d6d7b2d7b2651d.icc"
                description: RGB built-in

DP1-1   the X atom and colord returned different profiles
        X atom: _ICC_PROFILE_1 (692 bytes)
                description: DELL U2515H
        colord: 
"/home/niko/.local/share/icc/edid-f0afd74779f78cf97e8036fe4e643a75.icc"
                description: DELL U2515H

DP1-8   the X atom and colord returned different profiles
        X atom: _ICC_PROFILE_2 (692 bytes)
                description: DELL U2515H
        colord: 
"/home/niko/.local/share/icc/edid-987f6788fca1ca0a257164f10b2b3f31.icc"
                description: DELL U2515H

$ dispwin -d 1 -I "./.local/share/DisplayCAL/storage/U2515H #1 2016-09-25 
18-25 D6500 2.2 M-S XYZLUT+MTX/U2515H #1 2016-09-25 18-25 D6500 2.2 M-S 
XYZLUT+MTX.icc"
XRRGetOutputPrimary returned 70
Primary is at CRTC 0
XRRGetCrtcInfo of Screen 0 CRTC 0 has 1 Outputs Valid Mode
Checking XRandR 1.2 VideoLUT access
Adding Screen 0 CRTC 0 Output 0
Display 0 name = ':0.0'
Got EDID for display
XRRGetCrtcInfo of Screen 0 CRTC 1 has 1 Outputs Valid Mode
Checking XRandR 1.2 VideoLUT access
Adding Screen 0 CRTC 1 Output 0
Display 1 name = ':0.1'
Got EDID for display
XRRGetCrtcInfo of Screen 0 CRTC 2 has 0 Outputs No Mode                     
                                                 
CRTC skipped as it has no mode or no outputs                                
                                                 
XRRGetCrtcInfo of Screen 0 CRTC 3 has 0 Outputs No Mode                     
                                                 
CRTC skipped as it has no mode or no outputs                                
                                                 
new_dispwin called                                                          
                                                 
new_dispwin: Opened display OK                                              
                                                 
new_dispwin: DirectColor fdepth 8, rdepth 8, ndepth 8, edepth 16, r/g/b 
shifts 16 8 0                                        
dispwin_get_ramdac called                                                   
                                                                            
                                                                            
                         
Getting gamma using Randr 1.2                                               
                                                                            
                                                                            
                         
dispwin_get_ramdac returning OK                                             
                                                                            
                                                                            
                         
Saved original VideoLUT                                                     
                                                                            
                                                                            
                         
dispwin_clone_ramdac called                                                 
                                                                            
                                                                            
                         
clone is done                                                               
                                                                            
                                                                            
                         
dispwin_clone_ramdac called                                                 
                                                                            
                                                                            
                         
clone is done                                                               
                                                                            
                                                                            
                         
new_dispwin: return sucessfully                                             
                                                                            
                                                                            
                         
Loading calibration from file './.local/share/DisplayCAL/storage/U2515H #1 
2016-09-25 18-25 D6500 2.2 M-S XYZLUT+MTX/U2515H #1 2016-09-25 18-25 D6500 
2.2 M-S XYZLUT+MTX.icc'                                                     
                           
Got color vcgt calibration                                                  
                                                                            
                                                                            
                         
dispwin_del_ramdac called                                                   
                                                                            
                                                                            
                         
dispwin_clone_ramdac called                                                 
                                                                            
                                                                            
                         
clone is done                                                               
                                                                            
                                                                            
                         
dispwin_install_profile './.local/share/DisplayCAL/storage/U2515H #1 
2016-09-25 18-25 D6500 2.2 M-S XYZLUT+MTX/U2515H #1 2016-09-25 18-25 D6500 
2.2 M-S XYZLUT+MTX.icc'                                                     
                                 
Setting _ICC_PROFILE property                                               
                                                                            
                                                                            
                         
dispwin_set_ramdac called                                                   
                                                                            
                                                                            
                         
Setting gamma using Randr 1.2                                               
                                                                            
                                                                            
                         
dispwin_set_ramdac returning OK                                             
                                                                            
                                                                            
                         
dispwin_del called                                                          
                                                                            
                                                                            
                         
dispwin_del_ramdac called                                                   
                                                                            
                                                                            
                         
dispwin_set_ramdac called                                                   
                                                                            
                                                                            
                         
Setting gamma using Randr 1.2                                               
                                                                            
                                                                            
                         
dispwin_set_ramdac returning OK                                             
                                                                            
                                                                            
                         
dispwin_set_ramdac called
Setting gamma using Randr 1.2
dispwin_set_ramdac returning OK
dispwin_del_ramdac called
Restored original ramdac
dispwin_del_ramdac called
About to close display
finished

$ darktable-cmstest 
darktable-cmstest version 2.2.0rc1+29~g0993bb3
this executable was built with colord support enabled
darktable itself was built with colord support enabled

eDP1    the X atom and colord returned different profiles
        X atom: _ICC_PROFILE (2815280 bytes)
                description: U2515H #1 2016-09-25 18-25 D6500 2.2 M-S 
XYZLUT+MTX
        colord: 
"/home/niko/.local/share/icc/edid-a56d2a66752fe81bf2d6d7b2d7b2651d.icc"
                description: RGB built-in

DP1-1   the X atom and colord returned different profiles
        X atom: _ICC_PROFILE_1 (728468 bytes)
                description: U2515H #1 2016-09-25 18-25 D6500 2.2 M-S 
XYZLUT+MTX
        colord: "/home/niko/.local/share/icc/U2515H #1 2016-09-25 18-25 
D6500 2.2 M-S XYZLUT+MTX.icc"
                description: U2515H #1 2016-09-25 18-25 D6500 2.2 M-S 
XYZLUT+MTX

DP1-8   the X atom and colord returned different profiles
        X atom: _ICC_PROFILE_2 (728468 bytes)
                description: U2515H #1 2016-09-25 18-25 D6500 2.2 M-S 
XYZLUT+MTX
        colord: "/home/niko/.local/share/icc/U2515H #1 2016-09-25 18-25 
D6500 2.2 M-S XYZLUT+MTX.icc"
                description: U2515H #1 2016-09-25 18-25 D6500 2.2 M-S 
XYZLUT+MTX


Niccolò Belli


More information about the colord mailing list