On Sun, Sep 11, 2022 at 03:18:47AM +0000, James Cook wrote:
> >Synopsis: X11 keeps showing images from a few seconds ago
> >Category: kernel
> >Environment:
> System : OpenBSD 7.2
> Details : OpenBSD 7.2-beta (GENERIC.MP) #718: Fri Sep 9 14:46:40
> MDT 2022
>
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>
> Architecture: OpenBSD.amd64
> Machine : amd64
> >Description:
> After the latest sysupgrade -s, every few seconds, the contents of my
> display briefly goes back to what it was a few seconds ago.
What were you running before this?
>
> For example, I have a clock on my screen. I'll watch the seconds tick:
> :46
> :47
> :44
> :48
> ...
> It appears other places too. E.g. as I type this (in nvim in xterm)
> every once in a while the last few words I typed briefly disappear, and
> then come back. The interruption lasts varying lengths of time, from a
> small but noticable fraction of a second to maybe one second. How far
> back in time it goes also varies too. I think I saw it go back more
> than 20 seconds once.
>
> It doesn't seem to happen when I switch away from X11 to a virtual
> console that's in text mode. I ran a "while true; sleep 1; date" loop
> for a minute or two and didn't see any time travel.
> >How-To-Repeat:
> In X11, observe anything on the screen that's changing.
> >Fix:
> I haven't found a fix.
some defaults for power saving features recently changed
does this diff change what you see?
Index: sys/dev/pci/drm/i915/i915_drv.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/i915/i915_drv.c,v
retrieving revision 1.144
diff -u -p -r1.144 i915_drv.c
--- sys/dev/pci/drm/i915/i915_drv.c 8 Sep 2022 11:30:32 -0000 1.144
+++ sys/dev/pci/drm/i915/i915_drv.c 11 Sep 2022 03:45:07 -0000
@@ -2415,6 +2415,13 @@ inteldrm_attach(struct device *parent, s
dev_priv->params.enable_guc = 0;
dev_priv->params.request_timeout_ms = 0;
+ dev_priv->params.panel_use_ssc = 0;
+ dev_priv->params.enable_dc = 0;
+ dev_priv->params.enable_fbc = 0;
+ dev_priv->params.enable_psr = 0;
+ dev_priv->params.disable_power_well = 0;
+ dev_priv->params.enable_ips = 0;
+
/* Setup the write-once "constant" device info */
device_info = mkwrite_device_info(dev_priv);
memcpy(device_info, info, sizeof(*device_info));