~craftyguy

Oregon, US

~craftyguy/caerbannog-devel

Last active 7 months ago

~craftyguy/caerbannog-announce

Last active 10 months ago

~craftyguy/ridecasa

Last active 1 year, 6 months ago

~craftyguy/public-inbox

Last active 2 years ago
View more

Recent activity

Re: gamma control of output failed a month ago

From Clayton Craft to ~kennylevinsen/wlsunset-devel

On Thu, 09 Sep 2021 22:40:19 +0200 Kenny Levinsen <kl@kl.wtf> wrote:
> Hmm, this is weird indeed. We're definitely also going to need the 
> output of drm_info to check the capability of your hardware.

I asked on the #pinebook IRC channel and some theories seem to be that gamma
gamma LUTs are not implemented/working for this gpu on the mainline kernel...

So, in that case, sorry for wasting your time since it's obviously a kernel/drm
problem!

Re: gamma control of output failed a month ago

From Clayton Craft to ~kennylevinsen/wlsunset-devel

On Wed, 08 Sep 2021 20:48:55 +0200 Kenny Levinsen <kl@kl.wtf> wrote:
> Well, that ruined my hunch. Do share the debug log once you have it. :)

Ok, log attached, sorry for the delay.

Re: gamma control of output failed a month ago

From Clayton Craft to ~kennylevinsen/wlsunset-devel

> Hmm, my immediate hunch is that we're getting informed of the new 
> output too early, before its fully modeset and able to do anything yet.

Ah forgot to add that this is just running wlsunset after sway has loaded, i.e.
I have a term. emulator open in sway and "wlsunset". So it doesn't happen only
when wlsunset it exec'd by sway on startup.

Re: gamma control of output failed a month ago

From Clayton Craft to ~kennylevinsen/wlsunset-devel

To be clear, I see a LOT of output when I run "sway -d", but I see only that one
line added to the output when I run wlsunset and it fails.

I'll get you a full log in a few, since that requires reloading sway :)

Re: gamma control of output failed a month ago

From Clayton Craft to ~kennylevinsen/wlsunset-devel

On Sun, 05 Sep 2021 21:54:38 +0200 Kenny Levinsen <kl@kl.wtf> wrote:
> You could try gathering sway debug output while running this wlroots 
> branch: 
> https://github.com/kennylevinsen/wlroots/tree/gamma-control-debug
> 
> When wlsunset fails with "gamma control of output XYZ failed", then 
> there should be *some* message in the debug output saying "gamma 
> control failed". Getting the debug output including (but not limited 
> to) might be helpful.

I applied your patch to wlroots 0.14.1 (I didn't want to have to build sway
master too..), and get this error now in the sway debug output:

[ERROR] [wlr] [types/wlr_gamma_control_v1.c:217] gamma control failed: gamma size was zero

Re: gamma control of output failed 3 months ago

From Clayton Craft to ~kennylevinsen/wlsunset-devel

On Sun, 18 Jul 2021 15:05:23 +0200 Kenny Levinsen <kl@kl.wtf> wrote:
> Take a look at the debug output from sway, it might sway why it 
> couldn't apply the gamma update.
> 
 Hmm, running sway with `sway -d`, I see absolutely nothing printed by sway when
 wlsunset shows that error.
> 

gamma control of output failed 3 months ago

From Clayton Craft to ~kennylevinsen/wlsunset-devel

I'm trying to run wlsunset on Alpine Linux (edge), Sway 1.6.1, and wlroots 0.14,
and it's not setting gamma on the display:

$ wlsunset
registry: adding output 39
gamma control of output 39 failed
calculated sun trajectory: midnight sun
setting temperature to 6500 K

Display is the built-in panel on a PineBook Pro.

Any idea what might be going on? Thanks!

-Clayton

[PATCH sxmo-utils] sxmo_lisgdstart: log output to file 6 months ago

From Clayton Craft to ~mil/sxmo-devel

Useful when identifying/debugging lisgd crashes, and other strange behavior.

The log location is the same place where dwm logs to, so this seemed
appropriate.
---
 scripts/core/sxmo_lisgdstart.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/core/sxmo_lisgdstart.sh b/scripts/core/sxmo_lisgdstart.sh
index 117e275..afc971a 100755
--- a/scripts/core/sxmo_lisgdstart.sh
+++ b/scripts/core/sxmo_lisgdstart.sh
@@ -45,5 +45,5 @@ else
		-g '1,UD,R,*,P,sxmo_inputhandler.sh scrolldown_short' \
[message trimmed]

[PATCH sxmo-utils 4/4] deviceprofiles/librem5: set BACKLIGHT var to correct device 6 months ago

From Clayton Craft to ~mil/sxmo-devel

---
 scripts/deviceprofiles/sxmo_deviceprofile_librem5r4purism.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/deviceprofiles/sxmo_deviceprofile_librem5r4purism.sh b/scripts/deviceprofiles/sxmo_deviceprofile_librem5r4purism.sh
index 280c3fb..5cb86e3 100644
--- a/scripts/deviceprofiles/sxmo_deviceprofile_librem5r4purism.sh
+++ b/scripts/deviceprofiles/sxmo_deviceprofile_librem5r4purism.sh
@@ -3,3 +3,4 @@
export SPEAKER="Speaker"
export HEADPHONE="Headphone"
export EARPIECE="Earpiece"
export BACKLIGHT="/sys/devices/platform/backlight-dsi/backlight/backlight-dsi"
--
[message trimmed]

[PATCH sxmo-utils 3/4] programs/sxmo_setpinebacklight: drop unused application 6 months ago

From Clayton Craft to ~mil/sxmo-devel

---
 Makefile                         |  8 +------
 programs/sxmo_setpinebacklight.c | 40 --------------------------------
 2 files changed, 1 insertion(+), 47 deletions(-)
 delete mode 100644 programs/sxmo_setpinebacklight.c

diff --git a/Makefile b/Makefile
index 6804dff..08055c3 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,6 @@ PREFIX:=/usr

PROGRAMS = \
	programs/sxmo_setpineled \
[message trimmed]