On Mon, Sep 12, 2022 at 09:10:22AM +0200, Matthias Schmidt wrote:
> >Synopsis: Display flickers upon touchpad movement
> >Environment:
> System : OpenBSD 7.2
> Details : OpenBSD 7.2 (GENERIC.MP) #720: Sun Sep 11 15:41:58 MDT
> 2022
>
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>
> Architecture: OpenBSD.amd64
> Machine : amd64
> >Description:
>
> Hi,
>
> I noticed a regression between 7.2-beta from Sept 6 and the current snapshot.
> As soon as I move the mouse with the trackpad the screen flickers. It does
> not
> happen if I use the keyboard. With all other snapshots before I never had
> that
> issue. I made a video for demonstration purposes:
>
> https://xosc.org/misc/flickr.mp4
>
> [ At first, I move the mouse, then type on the keyboard and the screen
> stops flickering, then switch to Firefox, move the mouse again and the
> screen again starts to flicker ]
>
> Cheers
>
> Matthias
>
> >How-To-Repeat:
>
> Upgrade to latest snapshot on this type of machine.
>
> >Fix:
> Dunno.
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));