From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU Date: Wed, 16 Aug 2017 11:03:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0636897731==" 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 EC84C6E429 for ; Wed, 16 Aug 2017 11:03:20 +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 --===============0636897731== Content-Type: multipart/alternative; boundary="15028814004.dCf8CDc9.7683"; charset="UTF-8" --15028814004.dCf8CDc9.7683 Date: Wed, 16 Aug 2017 11:03:20 +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 #20 from Ethan Hsieh --- amdgpu.dpm=3D0 doesn't really work. There are some issues when loading amdgpu driver with dpm=3D0. It leads to using Intel as OpenGL renderer (glxinfo) instead of AMD. Error Message: Xorg.0.log:[ 24.261] (II) UnloadModule: "amdgpu" I got two patches from AMD to fix the issue. After applying patches, tearing issue is back. Here are some new findings: The issue can be reproudced on 5916&5917. But, I only see the issue on 5916 when running glxgears with fullscreen. When unplugging power adapter and running glxgear with default window size,= the issue on 5917 is gone. Test Environment: Device 1 (5916): a. Graphics Cards: Intel [8086:5916] + AMD [1002:6900] b. Kernel: 4.4.0-45 Device 2 (5917): a. Graphics Cards: Intel [8086:5917] + AMD [1002:6900] b. Kernel: 4.4.0-73 Test Result: 1. AC Mode: (Power Adapter) Device 1 (5916): $ DRI_PRIME=3D1 glxgear: PASS $ DRI_PRIME=3D1 glxgear -fullscreen: tearing Device 2 (5917): $ DRI_PRIME=3D1 glxgear: tearing $ DRI_PRIME=3D1 glxgear -fullscreen: tearing 2. DC Mode: (Battery) Device 1 (5916): $ DRI_PRIME=3D1 glxgear: PASS $ DRI_PRIME=3D1 glxgear -fullscreen: tearing Device 2 (5917): $ DRI_PRIME=3D1 glxgear: PASS $ DRI_PRIME=3D1 glxgear -fullscreen: tearing --=20 You are receiving this mail because: You are the assignee for the bug.= --15028814004.dCf8CDc9.7683 Date: Wed, 16 Aug 2017 11:03:20 +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 # 20 on bug 10169= 1 from Ethan Hsieh
amdgpu.dpm=3D0 doesn't really work.
There are some issues when loading amdgpu driver with dpm=3D0.
It leads to using Intel as OpenGL renderer (glxinfo) instead of AMD.
Error Message: Xorg.0.log:[ 24.261] (II) UnloadModule: "amdgpu"
I got two patches from AMD to fix the issue.
After applying patches, tearing issue is back.

Here are some new findings:
The issue can be reproudced on 5916&5917.
But, I only see the issue on 5916 when running glxgears with fullscreen.
When unplugging power adapter and running glxgear with default window size,=
 the
issue on 5917 is gone.

Test Environment:
Device 1 (5916):
a. Graphics Cards: Intel [8086:5916] + AMD [1002:6900]
b. Kernel: 4.4.0-45
Device 2 (5917):
a. Graphics Cards: Intel [8086:5917] + AMD [1002:6900]
b. Kernel: 4.4.0-73

Test Result:
1. AC Mode: (Power Adapter)
Device 1 (5916):
$ DRI_PRIME=3D1 glxgear: PASS
$ DRI_PRIME=3D1 glxgear -fullscreen: tearing
Device 2 (5917):
$ DRI_PRIME=3D1 glxgear: tearing
$ DRI_PRIME=3D1 glxgear -fullscreen: tearing

2. DC Mode: (Battery)
Device 1 (5916):
$ DRI_PRIME=3D1 glxgear: PASS
$ DRI_PRIME=3D1 glxgear -fullscreen: tearing
Device 2 (5917):
$ DRI_PRIME=3D1 glxgear: PASS
$ DRI_PRIME=3D1 glxgear -fullscreen: tearing


You are receiving this mail because:
  • You are the assignee for the bug.
= --15028814004.dCf8CDc9.7683-- --===============0636897731== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0636897731==--