[argyllcms] Re: dispcal under linux disables power saving for the display

  • From: Adrian Mariano <adrian@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Fri, 31 Oct 2008 11:34:59 -0400

Graeme Gill wrote:
Adrian Mariano wrote:
This point which I mentioned in passing seems to have gotten lost among the more interesting issues of color management, so I'll repeat it under a separate heading. I ran dispcal (from argyll 1.0.3) to calibrate my display, and subsequently my display won't turn off after inactivity. (It's good that it doesn't turn off during calibration, but I'd like it to restore the normal behavior once its done.) I haven't found a way to restore the normal behavior.

I'm not sure why that would be when run normally, since it
does attempt to restore the DPMS state on exit. I do
notice a problem though, if you kill it prematurely, which
is caused by the connection to the X server being severed
before the DPMS restore is flushed through. I will
fix this by making sure the an XSync happens before
the signal handler exits.
This would explain it. Someone came along in the middle of a calibration and clicked on something which wanted to be on top and it somehow caused the calibration window to go to the very bottom, clearly rendering the whole calibration bogus. We hit ^C after which dispcal could no longer even connect to the colorimeter. (I fixed this by unplugging and replugging the USB plug, but perhaps this can be improved?)


Other related posts: