[colord] colord 1.2.11 breaks color management in Gnome

Michał Bartoszkiewicz mbartoszkiewicz at gmail.com
Fri Jul 17 03:06:45 PDT 2015


On Fri, Jul 17, 2015 at 10:43 AM, Richard Hughes <hughsient at gmail.com> wrote:
> On 16 July 2015 at 21:25, Michał Bartoszkiewicz
> <mbartoszkiewicz at gmail.com> wrote:
>> 2. My session tries to create xrandr-LVDS as my user, but gets an error.
>
> Can you share the error please, thanks.

The error is "device id 'xrandr-LVDS' already exists".

Here is a command line reproduction:
embe at grayswandir ~ $ colormgr create-device xrandr-LVDS temp display
device id 'xrandr-LVDS' already exists
embe at grayswandir ~ $ colormgr get-devices | grep xrandr
embe at grayswandir ~ $ sudo colormgr get-devices | grep xrandr
Object Path:   /org/freedesktop/ColorManager/devices/xrandr_LVDS_gdm_109
Device ID:     xrandr-LVDS

I believe the error is returned because
cd_device_array_get_by_id_owner (called by cd_main_daemon_method_call
at cd-main.c:1280) can return a device owned by any UID – it just
prefers theuid given as an argument.

Thanks,
-- 
Michał Bartoszkiewicz <mbartoszkiewicz at gmail.com>


More information about the colord mailing list