All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
@ 2017-07-29  6:56 ` bugzilla-daemon
  2017-07-31  3:20 ` bugzilla-daemon
                   ` (35 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-07-29  6:56 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 735 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

Timo Aaltonen <tjaalton@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|intel-gfx-bugs@lists.freede |dri-devel@lists.freedesktop
                   |sktop.org                   |.org
          Component|DRM/Intel                   |DRM/AMDgpu
         QA Contact|intel-gfx-bugs@lists.freede |
                   |sktop.org                   |

--- Comment #18 from Timo Aaltonen <tjaalton@ubuntu.com> ---
Turns out that setting amdgpu.dpm=0 fixes the corruption..

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2330 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
  2017-07-29  6:56 ` [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU bugzilla-daemon
@ 2017-07-31  3:20 ` bugzilla-daemon
  2017-08-16 11:03 ` bugzilla-daemon
                   ` (34 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-07-31  3:20 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 539 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #19 from Alex_Zhang1@Dell.com ---
But that can not explain why with old intel driver can not be reproduced while
new driver can, I believe you draw this conclusion by verifying the issue on
the same machine and with same AMD video card and same AMD video card driver,
Is that right?(In reply to Timo Aaltonen from comment #18)
> Turns out that setting amdgpu.dpm=0 fixes the corruption..

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1411 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
  2017-07-29  6:56 ` [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU bugzilla-daemon
  2017-07-31  3:20 ` bugzilla-daemon
@ 2017-08-16 11:03 ` bugzilla-daemon
  2017-08-16 11:14 ` bugzilla-daemon
                   ` (33 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-16 11:03 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1426 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #20 from Ethan Hsieh <ethan.hsieh@canonical.com> ---
amdgpu.dpm=0 doesn't really work.
There are some issues when loading amdgpu driver with dpm=0.
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=1 glxgear: PASS
$ DRI_PRIME=1 glxgear -fullscreen: tearing
Device 2 (5917):
$ DRI_PRIME=1 glxgear: tearing
$ DRI_PRIME=1 glxgear -fullscreen: tearing

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2263 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (2 preceding siblings ...)
  2017-08-16 11:03 ` bugzilla-daemon
@ 2017-08-16 11:14 ` bugzilla-daemon
  2017-08-16 11:14 ` bugzilla-daemon
                   ` (32 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-16 11:14 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 329 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #21 from Ethan Hsieh <ethan.hsieh@canonical.com> ---
Created attachment 133542
  --> https://bugs.freedesktop.org/attachment.cgi?id=133542&action=edit
tearing on 5916&5917 (video)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1312 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (3 preceding siblings ...)
  2017-08-16 11:14 ` bugzilla-daemon
@ 2017-08-16 11:14 ` bugzilla-daemon
  2017-08-16 12:58 ` bugzilla-daemon
                   ` (31 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-16 11:14 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 329 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #22 from Ethan Hsieh <ethan.hsieh@canonical.com> ---
Created attachment 133543
  --> https://bugs.freedesktop.org/attachment.cgi?id=133543&action=edit
tearing on 5916&5917 (photo)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1312 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (4 preceding siblings ...)
  2017-08-16 11:14 ` bugzilla-daemon
@ 2017-08-16 12:58 ` bugzilla-daemon
  2017-08-17  1:51 ` bugzilla-daemon
                   ` (30 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-16 12:58 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 404 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #23 from Michel Dänzer <michel@daenzer.net> ---
Looks like there are two separate issues here — the corruption shown in Timo's
video in the original bug description, and the tearing shown in Ethan's video
and photo. They need to be tracked separately.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1223 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (5 preceding siblings ...)
  2017-08-16 12:58 ` bugzilla-daemon
@ 2017-08-17  1:51 ` bugzilla-daemon
  2017-08-17  2:00 ` bugzilla-daemon
                   ` (29 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-17  1:51 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 409 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #24 from Ethan Hsieh <ethan.hsieh@canonical.com> ---
The tearing issue which I saw when running glxgear with default window size is
same as the corruption shown in Timo's video.
The photo and video I uploaded were taken when running glxgear with full
screen.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1232 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (6 preceding siblings ...)
  2017-08-17  1:51 ` bugzilla-daemon
@ 2017-08-17  2:00 ` bugzilla-daemon
  2017-08-18 15:48 ` bugzilla-daemon
                   ` (28 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-17  2:00 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 596 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #25 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Ethan Hsieh from comment #24)
> The tearing issue which I saw when running glxgear with default window size
> is same as the corruption shown in Timo's video.

That's corruption, not tearing.

> The photo and video I uploaded were taken when running glxgear with full
> screen.

That's tearing, not corruption.

They're two separate issues that need to be tracked separately.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1524 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (7 preceding siblings ...)
  2017-08-17  2:00 ` bugzilla-daemon
@ 2017-08-18 15:48 ` bugzilla-daemon
  2017-08-18 17:36 ` bugzilla-daemon
                   ` (27 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-18 15:48 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 326 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #26 from Marek Olšák <maraeo@gmail.com> ---
So can anybody still reproduce the corruption as shown in Timo's video or not?

I'm NOT asking about the tearing in Ethan's video.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1142 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (8 preceding siblings ...)
  2017-08-18 15:48 ` bugzilla-daemon
@ 2017-08-18 17:36 ` bugzilla-daemon
  2017-08-23  7:49 ` bugzilla-daemon
                   ` (26 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-18 17:36 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 493 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #27 from Timo Aaltonen <tjaalton@ubuntu.com> ---
I don't have the hw to test, but what I know by now is that

- the tearing is gone at least with kernel 4.10
- corruption happens still, but _only_ when the charger is attached, meaning
that when the system is on battery the corruption is gone, and appears again
when charger is plugged in..

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1312 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (9 preceding siblings ...)
  2017-08-18 17:36 ` bugzilla-daemon
@ 2017-08-23  7:49 ` bugzilla-daemon
  2017-08-23  8:37 ` bugzilla-daemon
                   ` (25 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-23  7:49 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 313 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #28 from qwang13 <quanxian.wang@intel.com> ---
hi @Timo Aaltonen

Again, Would you create another bug to separately track tearing issue as Michel
comment#23 said?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1175 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (10 preceding siblings ...)
  2017-08-23  7:49 ` bugzilla-daemon
@ 2017-08-23  8:37 ` bugzilla-daemon
  2017-08-23  9:02 ` bugzilla-daemon
                   ` (24 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-23  8:37 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 481 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #29 from Michel Dänzer <michel@daenzer.net> ---
(In reply to qwang13 from comment #28)
> Again, Would you create another bug to separately track tearing issue as
> Michel comment#23 said?

Per comment 27, the tearing is already fixed with current upstream versions, so
there's no point in creating another report here for that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1457 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (11 preceding siblings ...)
  2017-08-23  8:37 ` bugzilla-daemon
@ 2017-08-23  9:02 ` bugzilla-daemon
  2017-08-23  9:03 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-23  9:02 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 698 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #30 from Ethan Hsieh <ethan.hsieh@canonical.com> ---
Created attachment 133710
  --> https://bugs.freedesktop.org/attachment.cgi?id=133710&action=edit
kern.log (drm.debug=0xe)

Here is the timestamp of kern.log

--- DC mode ---
1. timestamp: 16:49
$ DRI_PRIME=1 glxgears
2. timestamp: 16:50
Stop glxgears
3. timestamp: 16:51
plug power adaptor in
--- AC mode ---
4. timestamp: 16:52
$ DRI_PRIME=1 glxgears
===> corruption!!! <===
5. timestamp: 16:53
Stop glxgears
6. timestamp: 16:54
$ glxgears
7. timestamp: 16:55
Stop glxgears

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1667 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (12 preceding siblings ...)
  2017-08-23  9:02 ` bugzilla-daemon
@ 2017-08-23  9:03 ` bugzilla-daemon
  2017-08-23  9:03 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-23  9:03 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 311 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #31 from Ethan Hsieh <ethan.hsieh@canonical.com> ---
Created attachment 133711
  --> https://bugs.freedesktop.org/attachment.cgi?id=133711&action=edit
Xorg.0.log

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1246 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (13 preceding siblings ...)
  2017-08-23  9:03 ` bugzilla-daemon
@ 2017-08-23  9:03 ` bugzilla-daemon
  2017-08-23 14:29 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-23  9:03 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 307 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #32 from Ethan Hsieh <ethan.hsieh@canonical.com> ---
Created attachment 133712
  --> https://bugs.freedesktop.org/attachment.cgi?id=133712&action=edit
syslog

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1234 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (14 preceding siblings ...)
  2017-08-23  9:03 ` bugzilla-daemon
@ 2017-08-23 14:29 ` bugzilla-daemon
  2017-08-23 14:29 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-23 14:29 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 427 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #133710|text/x-log                  |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1111 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (15 preceding siblings ...)
  2017-08-23 14:29 ` bugzilla-daemon
@ 2017-08-23 14:29 ` bugzilla-daemon
  2017-08-24  3:49 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-23 14:29 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 427 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #133711|text/x-log                  |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1111 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (16 preceding siblings ...)
  2017-08-23 14:29 ` bugzilla-daemon
@ 2017-08-24  3:49 ` bugzilla-daemon
  2017-08-24 14:35 ` [Bug 101691] " bugzilla-daemon
                   ` (18 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-24  3:49 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 806 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #33 from Ethan Hsieh <ethan.hsieh@canonical.com> ---
Based on Michel's comment in #23, there are two separate issues here.
So, the test result in comment#20 should be

Test Result:
1. AC Mode: (Power Adapter)
Device 1 (5916):
$ DRI_PRIME=1 glxgear: no corruption issue
$ DRI_PRIME=1 glxgear -fullscreen: tearing
Device 2 (5917):
$ DRI_PRIME=1 glxgear: corruption (!!!)
$ DRI_PRIME=1 glxgear -fullscreen: tearing

2. DC Mode: (Battery)
Device 1 (5916):
$ DRI_PRIME=1 glxgear: no corruption issue
$ DRI_PRIME=1 glxgear -fullscreen: tearing
Device 2 (5917):
$ DRI_PRIME=1 glxgear: no corruption issue
$ DRI_PRIME=1 glxgear -fullscreen: tearing

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1670 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (17 preceding siblings ...)
  2017-08-24  3:49 ` bugzilla-daemon
@ 2017-08-24 14:35 ` bugzilla-daemon
  2017-08-25  2:46 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-24 14:35 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 514 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

Matt Turner <mattst88@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[KBL] gfx corruption on     |gfx corruption on windowed
                   |windowed 3d-apps running on |3d-apps running on dGPU
                   |dGPU                        |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1164 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (18 preceding siblings ...)
  2017-08-24 14:35 ` [Bug 101691] " bugzilla-daemon
@ 2017-08-25  2:46 ` bugzilla-daemon
  2017-08-25  8:48 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-25  2:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 828 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #34 from Ben Widawsky <ben@bwidawsk.net> ---
Just some thoughts...

The corruption are x-tiled cachelines, looks like stale ones. I don't know what
the vertical lines are. It looks to me like the memory is just misbehaving. I
wonder if when you plug in the machine if BIOS tries to crank up DDR, or
Graphics voltage. Is there some BIOS setting or update to tweak what happens on
AC?

Is this desktop environment using sprite planes? If the compositor is using all
one plane (which I think is likely), and display was at fault, everything would
be corrupt.


So please see if there is anything that can be done in BIOS to tell it to not
behave differently when on AC.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1631 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (19 preceding siblings ...)
  2017-08-25  2:46 ` bugzilla-daemon
@ 2017-08-25  8:48 ` bugzilla-daemon
  2017-08-25  9:33 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-25  8:48 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 980 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #35 from Alex_Zhang1@Dell.com ---
(In reply to Ben Widawsky from comment #34)
> Just some thoughts...
> 
> The corruption are x-tiled cachelines, looks like stale ones. I don't know
> what the vertical lines are. It looks to me like the memory is just
> misbehaving. I wonder if when you plug in the machine if BIOS tries to crank
> up DDR, or Graphics voltage. Is there some BIOS setting or update to tweak
> what happens on AC?
> 
> Is this desktop environment using sprite planes? If the compositor is using
> all one plane (which I think is likely), and display was at fault,
> everything would be corrupt.
> 
> 
> So please see if there is anything that can be done in BIOS to tell it to
> not behave differently when on AC.

Hi Ben,
  Has info the message to ODM. Is there any item in vbios concerning power?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1882 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (20 preceding siblings ...)
  2017-08-25  8:48 ` bugzilla-daemon
@ 2017-08-25  9:33 ` bugzilla-daemon
  2017-08-28  8:41 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-25  9:33 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1350 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #36 from Ethan Hsieh <ethan.hsieh@canonical.com> ---
Based on AMD's comment (The issue is gone without Compiz), I did some tests.

Here is the test result:
-----------------------------------
1) Run glxgears without a desktop environment
-----------------------------------
a. Logout
b. Switch to tty1
c. Stop lightdm and then start x
$ service lightdm stop
$ startx
d. Run glxgears

AC mode:
$ DRI_PRIME=1 glxgears -info
=> corruption issue is gone, but it is back when I touch touchpad.
Video: https://goo.gl/8p26HZ
Besides the corruption issue, sometimes the gear stopped when I touched the
touchpad.

DC mode:
$ DRI_PRIME=1 glxgears -info
=> Pass!!
-----------------------------------
2) Run glxgears with other window manager
-----------------------------------
a. Install TWM
$ sudo apt-get install twm
$ sudo apt-get install afterstep
b. Logout and then login with twm
c. Run glxgears

AC mode:
$ DRI_PRIME=1 glxgears -info
=> corruption issue is gone, but it is back when I touch touchpad.
Video: https://goo.gl/8p26HZ
Besides the corruption issue, sometimes the gear stopped when I touched the
touchpad.

DC mode:
$ DRI_PRIME=1 glxgears -info
=> Pass!!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2245 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (21 preceding siblings ...)
  2017-08-25  9:33 ` bugzilla-daemon
@ 2017-08-28  8:41 ` bugzilla-daemon
  2017-08-29  8:38 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-28  8:41 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 553 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #37 from Michel Dänzer <michel@daenzer.net> ---
I wonder if it could be related to the caching attributes of the system memory
pages being shared between the GPUs. AFAICT the amdgpu driver should end up
treating them as non-cacheable, and correspondingly program the AMD GPU not to
participate in cache coherency protocol for them. How does the i915 driver
treat the pages of imported buffer objects?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1360 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (22 preceding siblings ...)
  2017-08-28  8:41 ` bugzilla-daemon
@ 2017-08-29  8:38 ` bugzilla-daemon
  2017-08-29  8:39 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-29  8:38 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 336 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #38 from Ethan Hsieh <ethan.hsieh@canonical.com> ---
Created attachment 133861
  --> https://bugs.freedesktop.org/attachment.cgi?id=133861&action=edit
Xorg.0.log (ubuntu 17.04 + modeset)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1309 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (23 preceding siblings ...)
  2017-08-29  8:38 ` bugzilla-daemon
@ 2017-08-29  8:39 ` bugzilla-daemon
  2017-08-30  7:08 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-29  8:39 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1000 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #39 from Ethan Hsieh <ethan.hsieh@canonical.com> ---
Created attachment 133862
  --> https://bugs.freedesktop.org/attachment.cgi?id=133862&action=edit
Xorg.0.log (ubuntu 17.04 + intel&amdgpu)

I install Ubuntu 17.4 and can reproduce corruption issue in AC/DC mode.
Xorg.0.log:
[    21.309] (II) LoadModule: "modesetting"
[    21.309] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    21.310] (II) Module modesetting: vendor="X.Org Foundation"

But, the issue in DC mode is gone after I add two config files.

/usr/share/X11/xorg.conf.d/20-intel.conf 
Section "Device"
        Identifier "Intel Graphics"
        Driver "Intel"
        Option "DRI" "3"
EndSection

/usr/share/X11/xorg.conf.d/30-amdgpu.conf 
Section "Device"
        Identifier "AMDGPU"
        Driver "amdgpu"
        Option "DRI" "3"
EndSection

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2115 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (24 preceding siblings ...)
  2017-08-29  8:39 ` bugzilla-daemon
@ 2017-08-30  7:08 ` bugzilla-daemon
  2017-08-30  7:35 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-30  7:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1253 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #40 from Ethan Hsieh <ethan.hsieh@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.

[-- Attachment #1.2: Type: text/html, Size: 2133 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (25 preceding siblings ...)
  2017-08-30  7:08 ` bugzilla-daemon
@ 2017-08-30  7:35 ` bugzilla-daemon
  2017-10-17 20:52 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-08-30  7:35 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1259 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      i915 features|                            |GEM/Other
         QA Contact|                            |intel-gfx-bugs@lists.freede
                   |                            |sktop.org
                 CC|                            |michel@daenzer.net
           Assignee|dri-devel@lists.freedesktop |intel-gfx-bugs@lists.freede
                   |.org                        |sktop.org
          Component|DRM/AMDgpu                  |DRM/Intel

--- Comment #41 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Ethan Hsieh from comment #40)
> Cannot reproduce corruption issue with SNA_POWERSAVE enabled.

Interesting find. That can explain why the corruption is only reproducible with
the power supply connected with xf86-video-intel, but reproducible regardless
with the modesetting driver instead.

At this point, I think we really need someone at Intel to look into this in
more detail, reassigning.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3133 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (26 preceding siblings ...)
  2017-08-30  7:35 ` bugzilla-daemon
@ 2017-10-17 20:52 ` bugzilla-daemon
  2017-10-17 20:52 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-10-17 20:52 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 607 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

Daniel Vetter <daniel@ffwll.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         QA Contact|intel-gfx-bugs@lists.freede |
                   |sktop.org                   |
           Assignee|intel-gfx-bugs@lists.freede |dri-devel@lists.freedesktop
                   |sktop.org                   |.org
          Component|DRM/Intel                   |DRM/AMDgpu

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1535 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (27 preceding siblings ...)
  2017-10-17 20:52 ` bugzilla-daemon
@ 2017-10-17 20:52 ` bugzilla-daemon
  2017-10-17 21:42 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-10-17 20:52 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 215 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #52 from Daniel Vetter <daniel@ffwll.ch> ---
Reassigning to amdgpu.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1018 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (28 preceding siblings ...)
  2017-10-17 20:52 ` bugzilla-daemon
@ 2017-10-17 21:42 ` bugzilla-daemon
  2017-10-18  1:47 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-10-17 21:42 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 372 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #53 from Chris Wilson <chris@chris-wilson.co.uk> ---
Created attachment 134897
  --> https://bugs.freedesktop.org/attachment.cgi?id=134897&action=edit
Shotgun attempt to stop pulling external images into the L3 (mesa/i965)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1503 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (29 preceding siblings ...)
  2017-10-17 21:42 ` bugzilla-daemon
@ 2017-10-18  1:47 ` bugzilla-daemon
  2017-10-18 19:19 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-10-18  1:47 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 387 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #54 from Alex Deucher <alexdeucher@gmail.com> ---
Please see comment 37.  We support both snooped and unsnooped access to system
memory.  When we use unsnooped, we always use uncached memory.  Does i915
always assume dma_bufs are cached?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1236 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (30 preceding siblings ...)
  2017-10-18  1:47 ` bugzilla-daemon
@ 2017-10-18 19:19 ` bugzilla-daemon
  2017-10-18 22:07 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-10-18 19:19 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1210 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #55 from Daniel Vetter <daniel@ffwll.ch> ---
So parts of the reasons I've reassigned to amdgpu is that apparently someone
also seen these corruptions when everything is rendered on amdgpu, and i915
only displays. And the display engine is definitely only accessing memory
directly, bypassing cpu caches.

Changing stuff on the kernel on the i915 side didn't help (on import we treat
buffers as uncached and assume they're fully flushed). But we kinda
missed/didn't get around to testing the mesa caching mode overrides (which seem
to be wrong when texturing). So might need to move the bug to intel mesa (and
who knows what happened with the display issue, I guess we'll shrug that off
until confirmed with a video).

Aside: When exporting dma-buf from i915 we leave them in whatever caching mode
is preferred by that gpu platform, which on recent big core is fully cached
(i.e. requires snooping). We still might need to somehow teach dma-buf
importers about whether they need to use snooping reads/writes (through a new
flag/function/whatever).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2013 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (31 preceding siblings ...)
  2017-10-18 19:19 ` bugzilla-daemon
@ 2017-10-18 22:07 ` bugzilla-daemon
  2017-10-18 22:08 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-10-18 22:07 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 471 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #56 from Clinton Taylor <clinton.a.taylor@intel.com> ---
The tearing issue seen from comment #33 is actually a single triangle that is
being rendered late. Attached a screen shot from Unigine showing the "Bad"
triangle.

This issue has been fixed when using a later version of the kernel 4.10 as
stated in comment #27.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1378 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (32 preceding siblings ...)
  2017-10-18 22:07 ` bugzilla-daemon
@ 2017-10-18 22:08 ` bugzilla-daemon
  2017-10-19  8:39 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-10-18 22:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 355 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #57 from Clinton Taylor <clinton.a.taylor@intel.com> ---
Created attachment 134914
  --> https://bugs.freedesktop.org/attachment.cgi?id=134914&action=edit
Tearing during fullscreen is really a bad triangle

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1362 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (33 preceding siblings ...)
  2017-10-18 22:08 ` bugzilla-daemon
@ 2017-10-19  8:39 ` bugzilla-daemon
  2017-10-19 17:34 ` bugzilla-daemon
  2017-10-19 18:56 ` bugzilla-daemon
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-10-19  8:39 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 633 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #58 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Daniel Vetter from comment #55)
> So parts of the reasons I've reassigned to amdgpu is that apparently someone
> also seen these corruptions when everything is rendered on amdgpu, and i915
> only displays.

We'd need more information about how exactly that test was performed (i.e.
details about how exactly "everything is rendered on amdgpu, and i915 only
displays") and what the corruption looks like in that case.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1528 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (34 preceding siblings ...)
  2017-10-19  8:39 ` bugzilla-daemon
@ 2017-10-19 17:34 ` bugzilla-daemon
  2017-10-19 18:56 ` bugzilla-daemon
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-10-19 17:34 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1362 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

Lyude Paul <lyude@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #134890|0                           |1
        is obsolete|                            |
 Attachment #134897|0                           |1
        is obsolete|                            |

--- Comment #59 from Lyude Paul <lyude@redhat.com> ---
Created attachment 134923
  --> https://bugs.freedesktop.org/attachment.cgi?id=134923&action=edit
Mesa i965 patch to fix corruption issues

So it looks like that this patch for mesa from Daniel actually fixes the issue.
A very important note here: make -sure- whatever you are using as the
compositor (X, gnome-shell on wayland, etc.) is also using the version of mesa
with this patch as well because otherwise this will not fix your problem.

I did this myself by building and installing mesa into a prefix
(/home/lyudess/prefixes/mesa) and running:

ldconfig -v /home/lyudess/prefixes/mesa/lib

You should see all of the GL libraries get directed to your mesa prefix. After
that just reboot and try. You might be able to skip the reboot, but I did it
just to be safe :)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3048 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug 101691] gfx corruption on windowed 3d-apps running on dGPU
       [not found] <bug-101691-502@http.bugs.freedesktop.org/>
                   ` (35 preceding siblings ...)
  2017-10-19 17:34 ` bugzilla-daemon
@ 2017-10-19 18:56 ` bugzilla-daemon
  36 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2017-10-19 18:56 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 761 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101691

Daniel Vetter <daniel@ffwll.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|dri-devel@lists.freedesktop |intel-3d-bugs@lists.freedes
                   |.org                        |ktop.org
          Component|DRM/AMDgpu                  |Drivers/DRI/i965
            Version|unspecified                 |git
            Product|DRI                         |Mesa
         QA Contact|                            |intel-3d-bugs@lists.freedes
                   |                            |ktop.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1877 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2017-10-19 18:56 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-101691-502@http.bugs.freedesktop.org/>
2017-07-29  6:56 ` [Bug 101691] [KBL] gfx corruption on windowed 3d-apps running on dGPU bugzilla-daemon
2017-07-31  3:20 ` bugzilla-daemon
2017-08-16 11:03 ` bugzilla-daemon
2017-08-16 11:14 ` bugzilla-daemon
2017-08-16 11:14 ` bugzilla-daemon
2017-08-16 12:58 ` bugzilla-daemon
2017-08-17  1:51 ` bugzilla-daemon
2017-08-17  2:00 ` bugzilla-daemon
2017-08-18 15:48 ` bugzilla-daemon
2017-08-18 17:36 ` bugzilla-daemon
2017-08-23  7:49 ` bugzilla-daemon
2017-08-23  8:37 ` bugzilla-daemon
2017-08-23  9:02 ` bugzilla-daemon
2017-08-23  9:03 ` bugzilla-daemon
2017-08-23  9:03 ` bugzilla-daemon
2017-08-23 14:29 ` bugzilla-daemon
2017-08-23 14:29 ` bugzilla-daemon
2017-08-24  3:49 ` bugzilla-daemon
2017-08-24 14:35 ` [Bug 101691] " bugzilla-daemon
2017-08-25  2:46 ` bugzilla-daemon
2017-08-25  8:48 ` bugzilla-daemon
2017-08-25  9:33 ` bugzilla-daemon
2017-08-28  8:41 ` bugzilla-daemon
2017-08-29  8:38 ` bugzilla-daemon
2017-08-29  8:39 ` bugzilla-daemon
2017-08-30  7:08 ` bugzilla-daemon
2017-08-30  7:35 ` bugzilla-daemon
2017-10-17 20:52 ` bugzilla-daemon
2017-10-17 20:52 ` bugzilla-daemon
2017-10-17 21:42 ` bugzilla-daemon
2017-10-18  1:47 ` bugzilla-daemon
2017-10-18 19:19 ` bugzilla-daemon
2017-10-18 22:07 ` bugzilla-daemon
2017-10-18 22:08 ` bugzilla-daemon
2017-10-19  8:39 ` bugzilla-daemon
2017-10-19 17:34 ` bugzilla-daemon
2017-10-19 18:56 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.