~hboetes


#11 wlsunset resets to default gamma between sunset and dusk 1 year, 14 days ago

Ticket created by ~hboetes on ~kennylevinsen/wlsunset

wlsunset runs fine until the failed message after which the gamma is returned to the daylight default.

setting temperature on output '47' to 4689 K
setting temperature on output '47' to 4665 K
gamma control of output 47 failed
setting temperature on output '47' to 4641 K

I've even created a script to automatically restarts wlsunset after it stopped working:

#!/bin/sh
while wlsunset -l 46.8 -L 8.5 2>&1| read line; do
    echo "$line" |grep -q failed && pkill wlsunset
done

This problem also happens with redshift. This problem also happens if I change to another location.

#10 wlsunset 100% load 1 year, 2 months ago

Comment by ~hboetes on ~kennylevinsen/wlsunset

I think it's because I logged on and off a few times. Does wlsunset die with the sway session? If it remains running we have the cause of our problem.

#10 wlsunset 100% load 1 year, 2 months ago

Ticket created by ~hboetes on ~kennylevinsen/wlsunset

At a few minutes before 11:00 wlsunset went crazy. Before killing it I straced the process and got lots of these lines:

sendmsg(5, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\6\0\0\0\0\0\10\0", iov_len=8}], msg_iovlen=1, msg_control=[{cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, cmsg_data=[7]}], msg_controllen=20, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = -1 EPIPE (Broken pipe)
poll([{fd=5, events=POLLOUT}], 1, -1)   = 1 ([{fd=5, revents=POLLOUT|POLLHUP}])