Am Donnerstag, 3. Oktober 2013, 20:52:32 schrieb Marie-Noëlle Augendre:
> 2013/10/3 Tobias Ellinghaus <[email protected]>
> 
> > In theory it should work like this (for systems with >1 screen):
> > 
> > First darktable will see on which screen the majority of the center widget
> > is
> > on. Let this be screen number <number>.
> 
> I always put the darktable window on the 'big' screen; it that what you
> mean by the 'center widget'?

Well, I will try to explain.

With "center widget" I mean the big central part of darktable, where the 
thumbs of the lighttable, the image when in darkroom mode, the map or the 
tethering image are shown. The big thing int he middle with the light grey 
background.

Whenever you move the window around on your desktop there is exactly one 
(well, or more, but let's assume it's one) physical screen that displays the 
biggest part of this central part of darktable which is also the part that 
requires color correction. So when you move the window to your big screen, 
then darktable will know and use the color profile associated with that screen, 
once you move the window over to the laptop screen it will also notice and 
change to the corresponding profile.

To make a long story short, darktable just does what it's supposed to do 
(provided nothing is broken or buggy).

> > When _ICC_PROFILE_<number> is set that profile will be used as the system
> > display profile. When dt is compiled with colord support it will also try
> > to
> > ask that service for the display profile for the (most) relevant screen.
> 
> Where is _ICC_PROFILE_<number> to be set?
> I don't compile darktable, only install it from the Fedora repository;
> usually, I do this at home, with the 'big screen' connected.

_ICC_PROFILE and related are so called xatoms, that are bits of data set in 
your X server. Normally they get set when you load a display profile, at least 
most tools setting the profile take care of that. You can check if it is set 
using

xprop -display :0.0 -len 14 -root _ICC_PROFILE

However, for me it doesn't work most of the time. No idea why. But as I said, 
it's probably an issue with my setup.

> > Currently the only way to know which profile gets used is to start
> > darktable
> > with "-d control" and look for messages about loading profiles. darktable
> > checks whenever the window is moved or resized.
> 
> I got this, but don't how to interprete it:
> darktable -d control
> [color profile] we got a new screen profile from the _ICC_PROFILE (size:
> 21560)

This means that a display profile was found using the _ICC_PROFILE xatom. The 
size of the profile is 21560 bytes. If you have profiled your screen you could 
check if any of the screen profiles you have is that big. That way you can tell 
if the correct profile was found for your screen.

This is all a bit messy and fragile to set up, but at least darktable should 
be quite solid and do the correct thing if the other parts of the puzzle are 
correct.

Maybe Pascal can tell us more. I will ask him to look at this mail.

[...]

> Marie-Noëlle

Tobias

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to