[argyllcms] Re: dispwin: error when istalling profile

William Dutcher wrote:
I successfully compiled Argyll 1.0.3 on an amd64 machine (ubuntu 9.04). I was 
able to
create a profile, but when installing it, I get the error shown below. I get 
the same
results using dispwin from the debian sid package or from the Argyll binaries. 
Also get
the same error using an old profile generated from a previous working 32-bit 
installation.
Note that even with the error message the profile does seem to load in the 
current display
(at least I can see the display output change). In fact, with no options (i.e., 
'dispwin
VX922.icc'), there is no error. I get the error with either the -I or -L 
options.

  % dispwin -I VX922.icc
  X Error of failed request:  BadValue (integer parameter out of range for 
operation)
    Major opcode of failed request:  158 (RANDR)
    Minor opcode of failed request:  13 ()
    Value in failed request:  0x89
    Serial number of failed request:  12
    Current serial number in output stream:  14

Hi there,

Right, so this is a RRChangeOutputProperty() request that is failing.
Given that there is an XChangeProperty() with almost identical parameters
immediately preceding it, it's a bit hard to know which parameter
is the one that is causing the problem (ie. is 0x89 the output atom,
the atom value, or the number of bytes ?)

The property being set is the ICC profile so that applications will be able
to access the profile is associated with a given video output, which
is why you get the error only with dispwin -I or -L.

Possibly this is a symptom of a display driver not supporting XRANDR,
even though it says it does.

The verbose output of dispwin + the debug output (option -E) may provide
a few more hints as to what's going on, as I can't replicate the problem
on my 64 bit Linux system using the Intel X11 driver.

Graeme Gill.

Other related posts: