From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
Date: Wed, 30 Aug 2017 07:08:29 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1860432000=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id C397F6E526
for ; Wed, 30 Aug 2017 07:08:29 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1860432000==
Content-Type: multipart/alternative; boundary="15040769091.5C9f203.28288";
charset="UTF-8"
--15040769091.5C9f203.28288
Date: Wed, 30 Aug 2017 07:08:29 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D101691
--- Comment #40 from Ethan Hsieh ---
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 =3D atoi(space + 1);
DBG(("%s: ac_adapter event new state=3D%d\n", __FUNCTION__, state));
+#if 0
if (state)
sna->flags &=3D ~SNA_POWERSAVE;
else
sna->flags |=3D SNA_POWERSAVE;
+#endif
+ DBG(("%s: enable SNA_POWERSAVE\n", __FUNCTION__));
+ sna->flags |=3D 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=3D0
[ 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=3D1
[ 123.003] _sna_acpi_wakeup: enable SNA_POWERSAVE
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15040769091.5C9f203.28288
Date: Wed, 30 Aug 2017 07:08:29 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Comme=
nt # 40
on bug 10169=
1
from Ethan Hsieh
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 =3D atoi(space + 1);
DBG(("%s: ac_adapter event new state=3D%d\n", __FUNCTION__, s=
tate));
+#if 0
if (state)
sna->flags &=3D ~SNA_POWERSAVE;
else
sna->flags |=3D SNA_POWERSAVE;
+#endif
+ DBG(("%s: enable SNA_POWERSAVE\n", __FUNCTION__));
+ sna->flags |=3D 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=3D0
[ 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=3D1
[ 123.003] _sna_acpi_wakeup: enable SNA_POWERSAVE
You are receiving this mail because:
- You are the assignee for the bug.
=
--15040769091.5C9f203.28288--
--===============1860432000==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1860432000==--