All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
@ 2019-05-13 11:04 bugzilla-daemon
  2019-05-13 13:25 ` bugzilla-daemon
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-05-13 11:04 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 110671
           Summary: Regression: DP outputs out of sync on dual-DP tiled 5k
                    screen
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: bugs@bzatek.net

With kernel 5.1.1 I get corrupted image on my Dell UP2715K screen (again). The
symptomps are similar to the ones in bug 98461 (see also attachment 127570). In
my theory this is caused by the two DisplayPort outputs not being in sync - the
screen needs both tiles to be in sync (i.e. scanlines to match) to make a
composite final image.

The Dell UP2715K monitor has two DP 1.2 inputs, two tiles expecting
2560x2880@60Hz modes (as exposed in EDID/DisplayInfo data). Connected to Radeon
Pro WX2100 (Polaris 12).

This used to be actually working reliably in kernel 4.20.0, yesterday I fired
up kernel 5.1.1 and only got garbage on my screen. Also tested drm-tip kernel
that includes drm-next-5.2 branch from the agd5f repo
(https://patchwork.freedesktop.org/patch/304430/) - same issue.

I haven't got time to bisect the change yet, I was hoping you could point me to
a possible commit that broke this. By any chance, do you AMD guys have a 5k
tiled screen inhouse for testing?

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

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

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

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

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

* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
  2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
@ 2019-05-13 13:25 ` bugzilla-daemon
  2019-05-13 19:22 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-05-13 13:25 UTC (permalink / raw)
  To: dri-devel


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

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicholas.kazlauskas@amd.com

--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
Please attach the corresponding output of dmesg and Xorg log file.

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

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

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

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

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

* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
  2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
  2019-05-13 13:25 ` bugzilla-daemon
@ 2019-05-13 19:22 ` bugzilla-daemon
  2019-05-13 19:23 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-05-13 19:22 UTC (permalink / raw)
  To: dri-devel


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

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

Tomas Bzatek <bugs@bzatek.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugs@bzatek.net

--- Comment #2 from Tomas Bzatek <bugs@bzatek.net> ---
Created attachment 144250
  --> https://bugs.freedesktop.org/attachment.cgi?id=144250&action=edit
dmesg drm.debug=0x1e (kernel 5.1.0-rc5-g9d6fea5744d6)

This is drm-next-5.2 branch, head 9d6fea5744d6798353f
"drm/amdgpu/psp: move psp version specific function pointers to early_init"

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

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

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

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

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

* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
  2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
  2019-05-13 13:25 ` bugzilla-daemon
  2019-05-13 19:22 ` bugzilla-daemon
@ 2019-05-13 19:23 ` bugzilla-daemon
  2019-05-13 19:38 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-05-13 19:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Tomas Bzatek <bugs@bzatek.net> ---
Created attachment 144251
  --> https://bugs.freedesktop.org/attachment.cgi?id=144251&action=edit
Xorg.0.log (kernel 5.1.0-rc5-g9d6fea5744d6)

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

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

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

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

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

* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
  2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
                   ` (2 preceding siblings ...)
  2019-05-13 19:23 ` bugzilla-daemon
@ 2019-05-13 19:38 ` bugzilla-daemon
  2019-05-18 12:31 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-05-13 19:38 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Tomas Bzatek <bugs@bzatek.net> ---
Created attachment 144252
  --> https://bugs.freedesktop.org/attachment.cgi?id=144252&action=edit
dmesg drm.debug=0x1e (kernel 4.20.0-zen-g742adf1bca12-dirty)

For the record, this is a custom 4.20.0 kernel that is proven realiable.

Basically agd5f drm-next-4.21 branch at 674e78acae0dfb4beb5613
"drm/amd/display: Add fast path for cursor plane updates"

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

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

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

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

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

* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
  2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
                   ` (3 preceding siblings ...)
  2019-05-13 19:38 ` bugzilla-daemon
@ 2019-05-18 12:31 ` bugzilla-daemon
  2019-05-18 12:33 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-05-18 12:31 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Denys <d.budelkov@gmail.com> ---
Have same issue on Vega FE + Dell UP2715K.
Also it may be related to this bug:
https://bugs.freedesktop.org/show_bug.cgi?id=105651

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

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

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

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

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

* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
  2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
                   ` (4 preceding siblings ...)
  2019-05-18 12:31 ` bugzilla-daemon
@ 2019-05-18 12:33 ` bugzilla-daemon
  2019-05-20 20:23 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-05-18 12:33 UTC (permalink / raw)
  To: dri-devel


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

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

Denys <d.budelkov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=105651

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

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

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

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

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

* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
  2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
                   ` (5 preceding siblings ...)
  2019-05-18 12:33 ` bugzilla-daemon
@ 2019-05-20 20:23 ` bugzilla-daemon
  2019-05-20 21:12 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-05-20 20:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Tomas Bzatek <bugs@bzatek.net> ---
Manual bisect so far:

good 0f74e484912626 drm/amd/display: 3.2.15
bad  cf7d98d254e9ff drm/amd/display: 3.2.16

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

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

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

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

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

* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
  2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
                   ` (6 preceding siblings ...)
  2019-05-20 20:23 ` bugzilla-daemon
@ 2019-05-20 21:12 ` bugzilla-daemon
  2019-06-15 21:06 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-05-20 21:12 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Tomas Bzatek <bugs@bzatek.net> ---
The offending commit is

commit 5fc0cbfad4564856ee0f323d3f88a7cff19cc3f1
Author: Wenjing Liu <Wenjing.Liu@amd.com>
Date:   Fri Jan 18 18:19:51 2019 -0500

    drm/amd/display: determine if a pipe is synced by plane state

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

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

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

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

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

* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
  2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
                   ` (7 preceding siblings ...)
  2019-05-20 21:12 ` bugzilla-daemon
@ 2019-06-15 21:06 ` bugzilla-daemon
  2019-07-22 20:30 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-06-15 21:06 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Denys <d.budelkov@gmail.com> ---
Still no luck with 5.1.10

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

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

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

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

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

* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
  2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
                   ` (8 preceding siblings ...)
  2019-06-15 21:06 ` bugzilla-daemon
@ 2019-07-22 20:30 ` bugzilla-daemon
  2019-08-08 20:41 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-07-22 20:30 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from Denys <d.budelkov@gmail.com> ---
Broken in 5.3-rc1

Workaround to revert 5fc0cbfad4564856ee0f323d3f88a7cff19cc3f1 is still working.

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

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

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

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

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

* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
  2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
                   ` (9 preceding siblings ...)
  2019-07-22 20:30 ` bugzilla-daemon
@ 2019-08-08 20:41 ` bugzilla-daemon
  2019-08-08 20:48 ` bugzilla-daemon
  2019-11-19  9:26 ` bugzilla-daemon
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-08-08 20:41 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from Denys <d.budelkov@gmail.com> ---
Just added some debug to rc3 and tried to check what happens(in context of
5fc0cbfad4564856ee0f323d3f88a7cff19cc3f1).

So in program_timing_sync() there is preparing of groups of pipes for sync. 
And looks like(in my case) pipe_set[j]->plane_state is always true, 
and all elements > 0 is removed from the pipe_set in this case, 
hence group_size == 1 and dc->hwss.enable_timing_synchronization() newer
called.

Contrary with old check
!pipe_set[j]->stream_res.tg->funcs->is_blanked(pipe_set[j]->stream_res.tg) is
always false and we have our sync.

Maybe it should be !pipe_set[j]->plane_state instead of
pipe_set[j]->plane_state ?
I applied this change to my 5.3.0-rc3 build and so far everything looks ok.

I do not understand the purpose of is_blanked or plane_state, maybe with mst
hubs or other stuff it may be a different story, but in my simple config it
looks like just a typo.

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

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

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

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

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

* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
  2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
                   ` (10 preceding siblings ...)
  2019-08-08 20:41 ` bugzilla-daemon
@ 2019-08-08 20:48 ` bugzilla-daemon
  2019-11-19  9:26 ` bugzilla-daemon
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-08-08 20:48 UTC (permalink / raw)
  To: dri-devel


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

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

Denys <d.budelkov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=101633

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

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

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

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

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

* [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen
  2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
                   ` (11 preceding siblings ...)
  2019-08-08 20:48 ` bugzilla-daemon
@ 2019-11-19  9:26 ` bugzilla-daemon
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2019-11-19  9:26 UTC (permalink / raw)
  To: dri-devel


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

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

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #11 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/781.

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

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

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

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

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

end of thread, other threads:[~2019-11-19  9:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-13 11:04 [Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen bugzilla-daemon
2019-05-13 13:25 ` bugzilla-daemon
2019-05-13 19:22 ` bugzilla-daemon
2019-05-13 19:23 ` bugzilla-daemon
2019-05-13 19:38 ` bugzilla-daemon
2019-05-18 12:31 ` bugzilla-daemon
2019-05-18 12:33 ` bugzilla-daemon
2019-05-20 20:23 ` bugzilla-daemon
2019-05-20 21:12 ` bugzilla-daemon
2019-06-15 21:06 ` bugzilla-daemon
2019-07-22 20:30 ` bugzilla-daemon
2019-08-08 20:41 ` bugzilla-daemon
2019-08-08 20:48 ` bugzilla-daemon
2019-11-19  9:26 ` 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.