Skip to contentSkip to conversation

New: drm:drm_atomic_helper_wait_for_dependencies - drm_kms_helper - flip_done timed out

Bug 208373 [email protected] 1 participant 7 messages Jun 29, 2020 – Nov 20, 2020

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=208373

            Bug ID: 208373
           Summary: drm:drm_atomic_helper_wait_for_dependencies -
                    drm_kms_helper - flip_done timed out
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.7.2
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Hi Kernel Team,

With 5.7.2, observe this issue:

[1263266.374115] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:crtc-0] flip_done timed out
[1263276.614099] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [PLANE:34:plane-0] flip_done timed out
[1266457.945569] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:crtc-0] flip_done timed out
[1266468.185524] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [PLANE:34:plane-0] flip_done timed out
[1268050.016722] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:crtc-0] flip_done timed out
[1268060.256836] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [PLANE:34:plane-0] flip_done timed out
[1270654.054668] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:crtc-0] flip_done timed out
[1270664.294675] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [PLANE:34:plane-0] flip_done timed out
[1271127.144282] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:crtc-0] flip_done timed out
[1271137.384328] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [PLANE:34:plane-0] flip_done timed out
[1274245.495567] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:crtc-0] flip_done timed out
[1274255.735657] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [PLANE:34:plane-0] flip_done timed out
[1279238.818759] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:crtc-0] flip_done timed out
[1279249.058822] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]

*ERROR* [PLANE:34:plane-0] flip_done timed out

dmesg | grep drm

[    2.598899] [drm] DMA map mode: Caching DMA mappings.
[    2.599179] [drm] Capabilities:
[    2.599297] [drm]   Rect copy.
[    2.599369] [drm]   Cursor.
[    2.599412] [drm]   Cursor bypass.
[    2.599461] [drm]   Cursor bypass 2.
[    2.599510] [drm]   8bit emulation.
[    2.599558] [drm]   Alpha cursor.
[    2.599605] [drm]   Extended Fifo.
[    2.599653] [drm]   Multimon.
[    2.599696] [drm]   Pitchlock.
[    2.599740] [drm]   Irq mask.
[    2.599784] [drm]   Display Topology.
[    2.599834] [drm]   GMR.
[    2.599873] [drm]   Traces.
[    2.599915] [drm]   GMR2.
[    2.599955] [drm]   Screen Object 2.
[    2.600005] [drm]   Command Buffers.
[    2.600054] [drm]   Command Buffers 2.
[    2.600105] [drm]   Guest Backed Resources.
[    2.600160] [drm]   DX Features.
[    2.600476] [drm]   HP Command Queue.
[    2.600527] [drm] Capabilities2:
[    2.600573] [drm]   Grow oTable.
[    2.600620] [drm]   IntraSurface copy.
[    2.600671] [drm] Max GMR ids is 64
[    2.600721] [drm] Max number of GMR pages is 65536
[    2.600782] [drm] Max dedicated hypervisor surface memory is 0 kiB
[    2.600857] [drm] Maximum display memory size is 16384 kiB
[    2.600925] [drm] VRAM at 0xe8000000 size is 4096 kiB
[    2.600990] [drm] MMIO at 0xfe000000 size is 256 kiB
[    2.601616] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.601785] [drm] Screen Target Display device initialized
[    2.601890] [drm] width 640
[    2.601938] [drm] height 480
[    2.601986] [drm] bpp 32
[    2.621888] [drm] Fifo max 0x00040000 min 0x00001000 cap 0x0000077f
[    2.625498] [drm] Using command buffers with DMA pool.
[    2.625580] [drm] Atomic: yes.
[    2.630205] fbcon: svgadrmfb (fb0) is primary device
[    2.642217] [drm] Initialized vmwgfx 2.18.0 20200114 for 0000:00:0f.0 on

minor 0

cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-5.7.2-vanilla root=UUID=27e2847b-d1ad-427c-97ed-b0b65028d30a ro video=SVIDEO-1:d

lspci | grep 00:0f.0
00:0f.0 VGA compatible controller: VMware SVGA II Adapter

lspci -s 00:0f.0 -vvvvv
00:0f.0 VGA compatible controller: VMware SVGA II Adapter (prog-if 00 [VGA controller])
Subsystem: VMware SVGA II Adapter
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 16
Region 0: I/O ports at 1070 [size=16]
Region 1: Memory at e8000000 (32-bit, prefetchable) [size=128M] Region 2: Memory at fe000000 (32-bit, non-prefetchable) [size=8M] [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=00 <?>
Capabilities: [44] PCI Advanced Features
AFCap: TP+ FLR+
AFCtrl: FLR-
AFStatus: TP-
Kernel driver in use: vmwgfx
Kernel modules: vmwgfx

with 5.7.0, this issue not observe or not appear.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 208373] drm:drm_atomic_helper_wait_for_dependencies - drm_kms_helper - flip_done timed out

https://bugzilla.kernel.org/show_bug.cgi?id=208373

--- Comment #1 from Alex Deucher ([email protected]) --- If this is a regression between 5.7.2 and 5.7.0, can you bisect?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 208373] drm:drm_atomic_helper_wait_for_dependencies - drm_kms_helper - flip_done timed out

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=208373

Lucas ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Lucas ([email protected]) ---
Having the same/similar issue with 5.8.0-2 it also started at 5.7.2 for me. I can reproduce by turning my monitors off for a few hours and then trying to turn them back on.

[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:52:plane-4] flip_done timed out

------------[ cut here ]------------

WARNING: CPU: 14 PID: 250498 at

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_mpc.c:197 mpc1_insert_plane+0x422/0x430 [amdgpu]

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 208373] drm:drm_atomic_helper_wait_for_dependencies - drm_kms_helper - flip_done timed out

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=208373

--- Comment #3 from Lucas ([email protected]) ---
(In reply to Alex Deucher from comment #1)

Quoted 1 line

If this is a regression between 5.7.2 and 5.7.0, can you bisect?

How do you Bisect? I can try doing that if it helps.

Also, kernel 8.5.3-2 seemed to solve the issue for me but it will still happen if I leave the screens off for over 24 hours then power them back on. That's better than just powering them off overnight and having it happen.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 208373] drm:drm_atomic_helper_wait_for_dependencies - drm_kms_helper - flip_done timed out

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=208373

--- Comment #4 from Alex Deucher ([email protected]) --- Google for "kernel git bisect howto"

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 208373] drm:drm_atomic_helper_wait_for_dependencies - drm_kms_helper - flip_done timed out

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=208373

Gluzskiy Alexandr ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #5 from Gluzskiy Alexandr ([email protected]) --- Created attachment 292383
--> https://bugzilla.kernel.org/attachment.cgi?id=292383&action=edit
dmesg

i have similar problem on 5.8.5

if i switch SDL/SDL2 app to fullscreen mode, screen going black, gpu driver hangs, X and SDLX app cannot be killed, following appears in dmesg:

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 208373] drm:drm_atomic_helper_wait_for_dependencies - drm_kms_helper - flip_done timed out

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=208373

--- Comment #6 from Michel Dänzer ([email protected]) ---
The original report here is about the vmwgfx driver; issues with amdgpu should be tracked elsewhere.

sander44, are you seeing any problem other than the messages?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel