~kennylevinsen/wlsunset-devel

3 2

manual location results in video corruption when adjustments ramp up

Angel Segarra <angelsegarra@gmail.com>
Details
Message ID
<CAEmxmXteKahbssnktL5m1uB7aRuFHvAPFEgYht=eVLXHJvbdHg@mail.gmail.com>
DKIM signature
missing
Download raw message
Hi,

I'm using wlsunset 0.2.0 on Intel Iris Xe, logs don't show any errors
but output starts looking corrupted after around the 4th or 5th
adjustment until I kill wlsunset. The workaround for me is to set
custom sunset/sunrise and duration to 0.
Details
Message ID
<AT8Y4R.RACX946YCXCT2@kl.wtf>
In-Reply-To
<CAEmxmXteKahbssnktL5m1uB7aRuFHvAPFEgYht=eVLXHJvbdHg@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
Yeah, there are known issues with Xe and continuous gamma updates. Not 
sure why - I have seen it on a colleagues machine, but not having one 
myself makes it a little hard to debug.

I'm not sure if the issue is wlsunset, wlroots or kernel driver. The Xe 
hardware and kernel driver handles gamma very weird and very 
differently as the hardware implements non-linear gamma LUTs, but the 
user-space API is linear.
Angel Segarra <angelsegarra@gmail.com>
Details
Message ID
<CAEmxmXsP1uS51Zsb1Z4sVFR11tgtuUMR3kGjh5rdqVNyBXgwKw@mail.gmail.com>
In-Reply-To
<AT8Y4R.RACX946YCXCT2@kl.wtf> (view parent)
DKIM signature
missing
Download raw message
I tried another gamma control app and it had also had some problems on
this hardware during updates although it would eventually correct
itself, curiously redshift on X11 transitions smoothly on the same
hardware.  For now just doing the 1 shot corrections is enough for me
but I'll give it another try when the next versions of sway and
wlroots lands. Thanks.

On Thu, Dec 30, 2021 at 5:22 PM Kenny Levinsen <kl@kl.wtf> wrote:
>
> Yeah, there are known issues with Xe and continuous gamma updates. Not
> sure why - I have seen it on a colleagues machine, but not having one
> myself makes it a little hard to debug.
>
> I'm not sure if the issue is wlsunset, wlroots or kernel driver. The Xe
> hardware and kernel driver handles gamma very weird and very
> differently as the hardware implements non-linear gamma LUTs, but the
> user-space API is linear.
>
>
Details
Message ID
<21UX6R.C8YPJQROERSV1@kl.wtf>
In-Reply-To
<CAEmxmXsP1uS51Zsb1Z4sVFR11tgtuUMR3kGjh5rdqVNyBXgwKw@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
The Intel Xe issue is probably fixed in Linux 5.17:

https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3365
https://gitlab.freedesktop.org/drm/intel/-/issues/3916
Reply to thread Export thread (mbox)