[Gnome] configuration colord

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
otacon
Chu Ko Nu
Messages : 466
Inscription : sam. 07 sept. 2013, 19:22
Localisation : Limousin

[Gnome] configuration colord

Message par otacon »

Bonjour à tous,

Je suis sous gnome 3.12, et je cherchais à comprendre le fonctionnement de colord.
En effet, juste après demarrage :

Code : Tout sélectionner

[clement@arch ~]$ sudo journalctl -b | grep fail
[sudo] password for clement: 
mai 02 10:54:33 arch systemd[1]: Cannot add dependency job for unit syslog-ng.service, ignoring: Unit syslog-ng.service failed to load: No such file or directory.
mai 02 10:54:33 arch colord[403]: (colord:403): Cd-WARNING **: failed to get session [pid 349]: Erreur inconnue -2
mai 02 10:54:36 arch gdm-Xorg-:0[397]: failed to find screen to remove
mai 02 10:54:36 arch colord[403]: (colord:403): Cd-WARNING **: CdMain: failed to profile from fd: Corrupted tag 'meta' & Bad dictionary Name/Value
mai 02 10:54:45 arch colord[403]: (colord:403): Cd-WARNING **: CdMain: failed to profile from fd: Corrupted tag 'meta' & Bad dictionary Name/Value
la première ligne concernant colord (fail to get session) est là depuis longtemps.
Les deux dernières lignes sont apparues après la mise à jour de colord en 1.2.0-1

Le service colord

Code : Tout sélectionner

[clement@arch ~]$ sudo systemctl status colord
● colord.service - Manage, Install and Generate Color Profiles
   Loaded: loaded (/usr/lib/systemd/system/colord.service; static)
   Active: active (running) since ven. 2014-05-02 10:54:33 CEST; 30min ago
 Main PID: 403 (colord)
   CGroup: /system.slice/colord.service
           └─403 /usr/lib/colord/colord

mai 02 10:54:45 arch colord[403]: Automatic remove of icc-f425ad7b9b2463efff2fc46131503b95 from xrandr-Apple Computer Inc-Color LCD
mai 02 10:54:45 arch colord[403]: Profile removed: icc-f425ad7b9b2463efff2fc46131503b95
mai 02 10:54:45 arch colord[403]: device removed: xrandr-Apple Computer Inc-Color LCD
mai 02 10:54:45 arch colord[403]: Profile added: icc-801dd3f2ee65458f9472872bb7b169f6
mai 02 10:54:45 arch colord[403]: (colord:403): Cd-WARNING **: CdMain: failed to profile from fd: Corrupted tag 'meta' & Bad dictionary Name/Value
mai 02 10:54:45 arch colord[403]: Profile added: icc-1ebb723601f754fae741549815d355cc
mai 02 10:54:45 arch colord[403]: Profile added: icc-29418919aca71ddc7e9778750a9311fb
mai 02 10:54:46 arch colord[403]: Automatic database add icc-29418919aca71ddc7e9778750a9311fb to xrandr-Apple Computer Inc-Color LCD
mai 02 10:54:46 arch colord[403]: Automatic metadata add icc-29418919aca71ddc7e9778750a9311fb to xrandr-Apple Computer Inc-Color LCD
mai 02 10:54:46 arch colord[403]: Device added: xrandr-Apple Computer Inc-Color LCD
Le service cherche le bon profil, puis fini par le trouver.
Je n'ai pourtant qu'un seul profil de défini dans le gnome-control-center : xrandr-Apple Computer Inc-Color LCD

ce que voit colormgr :

Code : Tout sélectionner

[clement@arch ~]$ colormgr get-devices
Chemin d'objet:/org/freedesktop/ColorManager/devices/cups_HP_Officejet_7500_E910
Propriétaire: root
Créé:        mai  2 2014, 09:31:29 
Modifié:      mai  2 2014, 09:31:29 
Type:          printer
Activé:       Yes
Embarqué:     No
Modèle:       HP Officejet 7500 e910 hpijs
Vendeur:       Hewlett Packard
Numéro de série:socket://192.168.1.22:9100
Format:        ColorSpace.MediaType.Resolution
Scope:         temp
Espace de couleur:rgb
ID de périphérique:cups-HP_Officejet_7500_E910
Profil 1:      HP_Officejet_7500_E910-RGB..
Profil 2:      HP_Officejet_7500_E910-Gray..
Métadonnées: OwnerCmdline=/usr/bin/cupsd -f 

Chemin d'objet:/org/freedesktop/ColorManager/devices/xrandr_Apple_Computer_Inc_Color_LCD_clement_1000
Propriétaire: clement
Créé:        mai  2 2014, 09:31:43 
Modifié:      mai  2 2014, 09:31:43 
Type:          display
Activé:       Yes
Embarqué:     Yes
Modèle:       MacBookAir6,1
Vendeur:       Apple
Numéro de série:unknown
Seat:          seat0
Scope:         temp
Espace de couleur:rgb
ID de périphérique:xrandr-Apple Computer Inc-Color LCD
Profil 1:      icc-29418919aca71ddc7e9778750a9311fb
               /home/clement/.local/share/icc/edid-e3d1189b95fa33a3b67818c6008225e8.icc
Métadonnées: XRANDR_name=eDP1
Métadonnées: OutputPriority=primary
Métadonnées: OwnerCmdline=/usr/lib/gnome-settings-daemon/gnome-settings-daemon 
Métadonnées: OutputEdidMd5=e3d1189b95fa33a3b67818c6008225e8
J'ai récupéré le ICC natif de la machine dans les libraries d'OSX, puis l'ai importé dans gnome. Aucun changement. Je suis donc revenu au profil libre ci dessus qui donne entière satisfaction.

Quelque chose est corrompu. Mais quelle base de donnée de colord et comment y accéder ?
Vous auriez une piste ? :)
Répondre