Home › Forums › Help and Support › Calibration Profile Lost after Standby (Linux Mint)
- This topic has 6 replies, 2 voices, and was last updated 7 years, 2 months ago by DispCalUser.
-
AuthorPosts
-
2017-01-02 at 17:51 #5325
Hi,
I recently profiled my external display (using Spyder 5 Pro) connected to a laptop, running Linux Mint 17.3 with DisplayCAL/Argyll-CMS. The creation of the profile worked without any problems and after the process was finished I installed the profile over the corresponding menu point (profile as system standard option). The profile was correctly applied and if I boot up the system it is loaded automatically. The problem occurs if the system resumes after standby, then the calibration profile is not loaded (even though it was before standby) and I have to perform it by myself using DisplayCal. Any help would be appreciated!
2017-01-03 at 14:44 #5333Hi,
if the system itself does not provide a default means to preserve calibration, you can run
displaycal-apply-profiles
manually from a terminal, or possibly add a script to /etc/pm/sleep.d that runs it for you when you resume from suspend:#!/bin/sh case "$1" in resume|thaw) displaycal-apply-profiles esac
2017-01-03 at 18:26 #5339Hi,
thank you very much for your quick answer. Unfortunately this solutions isn’t working for me since as far as I understood everything correctly the scripts in sleep.d are executed before the xserver resumes. Therefore I found in pm-suspend.log the following error:
Running hook /etc/pm/sleep.d/11_load_dispprofile resume suspend:
Unable to access the X Display, is $DISPLAY set properly?
/etc/pm/sleep.d/11_load_dispprofile resume suspend: Returned exit code 1.So I guess I need to find a way to execute the command after the xserver resume but found up to now no solution that worked for me…
2017-01-03 at 23:30 #5344Running hook /etc/pm/sleep.d/11_load_dispprofile resume suspend:
Unable to access the X Display, is $DISPLAY set properly?
/etc/pm/sleep.d/11_load_dispprofile resume suspend: Returned exit code 1.Does this work?
#!/bin/sh case "$1" in resume|thaw) DISPLAY=:0.0 ; export DISPLAY displaycal-apply-profiles esac
- This reply was modified 7 years, 2 months ago by Florian Höch.
2017-01-04 at 17:30 #5363Hi,
unfortunately not, pm-suspend.log:
Running hook /etc/pm/sleep.d/99_load_disp_profile resume suspend:
No protocol specified
Unable to access the X Display, is $DISPLAY set properly?
/etc/pm/sleep.d/99_load_disp_profile resume suspend: Returned exit code 1.2017-01-04 at 21:18 #5365I’ve one more variation that may or may not work:
#!/bin/sh case "$1" in resume|thaw) DISPLAY=:0 displaycal-apply-profiles esac
2017-01-05 at 21:11 #5378Hi,
also no success, same error, strange. Seems to be more a Linux than DisplayCal specific problem I guess. Currently I’m a little busy so I will try to find a solution when I have a little more time. For now seems like I have to live with the manual load from console without automation. Anyway thank you for trying to help 🙂
-
AuthorPosts