[Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 30 07:08:29 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101691
--- Comment #40 from Ethan Hsieh <ethan.hsieh at canonical.com> ---
Cannot reproduce corruption issue with SNA_POWERSAVE enabled.
(Have to re-plug AC adapter to make the workaround work)
xserver-xorg-video-intel-2.99.917+git20160325/src/sna/sna_acpi.c
@@ -123,10 +123,14 @@ void _sna_acpi_wakeup(struct sna *sna)
state = atoi(space + 1);
DBG(("%s: ac_adapter event new state=%d\n", __FUNCTION__, state));
+#if 0
if (state)
sna->flags &= ~SNA_POWERSAVE;
else
sna->flags |= SNA_POWERSAVE;
+#endif
+ DBG(("%s: enable SNA_POWERSAVE\n", __FUNCTION__));
+ sna->flags |= SNA_POWERSAVE;
}
Xorg.0.org:
$ grep -r -i -e "ac_ad" -e "enable SNA" /var/log/Xorg.0.log
[ 112.044] _sna_acpi_wakeup: event string [41]: 'ac_adapter ACPI0003:00
00000080 00000000
[ 112.044] _sna_acpi_wakeup: ac_adapter event new state=0
[ 112.044] _sna_acpi_wakeup: enable SNA_POWERSAVE
[ 123.003] _sna_acpi_wakeup: event string [41]: 'ac_adapter ACPI0003:00
00000080 00000001
[ 123.003] _sna_acpi_wakeup: ac_adapter event new state=1
[ 123.003] _sna_acpi_wakeup: enable SNA_POWERSAVE
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170830/d34bc051/attachment.html>
More information about the dri-devel
mailing list