Thank you, and my apologies for the confusion.
What I'm seeing now is that dispwin does set the calibration (vcgt) into
the video card for each display (using -d 1 or 2 as argument). However
irrespective of the -d argument, the -I only ever affects the X atom for
the first screen, even if I call this from the 2nd monitor:
$ dispwin -d 2 -I ~/profils/[pa248 monitor profile]
$ darktable-cmstest
DP-3 X atom: _ICC_PROFILE (766368 bytes)
description: PA248_#1_2018-11-02_14-05_120cdm2_2.2_S_XYZLUT+MTX
DP-0 X atom: _ICC_PROFILE (0 bytes)
description: (none)
$ xprop -root -display :0.0 -len 8 | grep "ICC"
_ICC_PROFILE(CARDINAL) = 0, 11, 177, 160, 97, 114, 103, 108
$ xprop -root -display :0.1 -len 8 | grep "ICC"
[nothing]
I would like to understand better the interaction between dispwin and
X11/Xrandr, and it would be marginally useful to be able to look at
photos rendered correctly on the two monitors (one wide-gamut, the other
"narrow"-gamut).
However that is not critical for me, what counts is that I know that
color mgt is correctly set up for my main monitor.
Normand
Le 2020-02-09 à 18 h 51, Graeme Gill a écrit :
Normand Fortier wrote:
Hi,
dispwin -?
-display displayname Choose X11 display name
-d n[,m] Choose the display n from the following list (default 1)
Optionally
choose different display m for Video LUT access
1 = 'Monitor 1, Output DP-3 at 0, 0, width 2560, height 1440'
2 = 'Monitor 2, Output DP-0 at 0, 0, width 1200, height 1920'
$ dispwin -v -I -display 'Monitor 2, Output DP-0 at 0, 0, width 1200, height
1920'
~/profils/pa248_2018-11-02.icc
Dispwin: Error - Unable to open the default display
You have to pass the -display option the X11 display name. The string
you passed is the ArgyllCMS generated description of the display.
See for instance this: <https://gerardnico.com/ssh/x11/display>
on X11 display names. X11 being a networked windowing system allows
you to specify a remote window server via this mechanism.
(There is no programmatic way of enumerating X11 display names,
so dispwin can't list them.)
$ dispwin -v -I -d 2 ~/profils/pa248_2018-11-02.icc
This succeeds but sets the profile for the main display (1).
When you say "sets the profile", do you mean the profile, or the
calibration 'vcgt' being set in the graphics card hardware ?
Note the difficulties created by various X11 servers in dealing
with multiple displays, when they don't correctly support XRANDR 1.2.
<https://www.argyllcms.com/doc/Installing_Linux.html#multimonitor>.
Trying the same commands from my secondary display (2) gets the same result
(only the main
monitor display is affected, according to darktable-cmstest).
If I'm invoking dispwin correctly, does this mean that my graphics card (quadro
2000) can
only hold one LUT?
Maybe. But it's unclear from what you report since you aren't distinguishing
between the profile and the calibration/characterization.
See <https://www.argyllcms.com/doc/calvschar.html>.
Cheers,
Graeme Gill.