[amdgpu][drm] *ERROR* flip_done timed out

Bug #2047154 reported by bgueas
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux-hwe-6.2 (Ubuntu)
Confirmed
Undecided
Unassigned
linux-hwe-6.5 (Ubuntu)
New
Undecided
Kleber Sacilotto de Souza

Bug Description

amdgpu 0000:0c:00.0: [drm] *ERROR* flip_done timed out
gru 21 16:32:25 karol.home.prv kernel: amdgpu 0000:0c:00.0: [drm] *ERROR* [CRTC:84:crtc-0] commit wait timed out
gru 21 16:32:36 karol.home.prv kernel: amdgpu 0000:0c:00.0: [drm] *ERROR* flip_done timed out
gru 21 16:32:36 karol.home.prv kernel: amdgpu 0000:0c:00.0: [drm] *ERROR* [CONNECTOR:119:HDMI-A-1] commit wait timed out
gru 21 16:32:40 karol.home.prv dbus-daemon[1317]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=2>
gru 21 16:32:46 karol.home.prv kernel: amdgpu 0000:0c:00.0: [drm] *ERROR* flip_done timed out
gru 21 16:32:46 karol.home.prv kernel: amdgpu 0000:0c:00.0: [drm] *ERROR* [PLANE:67:plane-5] commit wait timed out
gru 21 16:32:46 karol.home.prv kernel: ------------[ cut here ]------------
gru 21 16:32:46 karol.home.prv kernel: WARNING: CPU: 3 PID: 100858 at /var/lib/dkms/amdgpu/6.2.4-1664922.22.04/build/amd/amdgpu/../di>
gru 21 16:32:46 karol.home.prv kernel: Modules linked in: xt_recent tls xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_i>
gru 21 16:32:46 karol.home.prv kernel: reed_solomon pstore_zone efi_pstore sunrpc ip_tables x_tables autofs4 ib_uverbs ib_core amdgp>
gru 21 16:32:46 karol.home.prv kernel: CPU: 3 PID: 100858 Comm: Xorg Tainted: P W OE 6.2.0-26-generic #26~22.04.1-Ubuntu
gru 21 16:32:46 karol.home.prv kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X470 Master SLI, BIOS P4.40 03/29>
gru 21 16:32:46 karol.home.prv kernel: RIP: 0010:amdgpu_dm_atomic_commit_tail+0x3b20/0x4200 [amdgpu]
gru 21 16:32:46 karol.home.prv kernel: Code: ff 4c 89 9d 78 fc ff ff ba 01 00 00 00 31 f6 4c 89 95 80 fc ff ff 41 b9 01 00 00 00 50 5>
gru 21 16:32:46 karol.home.prv kernel: RSP: 0018:ffffb5fb50ee7818 EFLAGS: 00010002
gru 21 16:32:46 karol.home.prv kernel: RAX: 0000000000000246 RBX: 0000000000013195 RCX: 0000000000000000
gru 21 16:32:46 karol.home.prv kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
gru 21 16:32:46 karol.home.prv kernel: RBP: ffffb5fb50ee7ba0 R08: 0000000000000000 R09: 0000000000000000
gru 21 16:32:46 karol.home.prv kernel: R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000246
gru 21 16:32:46 karol.home.prv kernel: R13: 0000000000000000 R14: ffff9710a5d8d118 R15: ffff9710a5d8d000
gru 21 16:32:46 karol.home.prv kernel: FS: 00007f3267b4ea80(0000) GS:ffff97179eac0000(0000) knlGS:0000000000000000
gru 21 16:32:46 karol.home.prv kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
gru 21 16:32:46 karol.home.prv kernel: CR2: 000055ef7d6bfb20 CR3: 0000000250f4e000 CR4: 00000000003506e0
gru 21 16:32:46 karol.home.prv kernel: Call Trace:
gru 21 16:32:46 karol.home.prv kernel: <TASK>
gru 21 16:32:46 karol.home.prv kernel: commit_tail+0xc5/0x1a0 [drm_kms_helper]
gru 21 16:32:46 karol.home.prv kernel: ? drm_atomic_helper_swap_state+0x246/0x380 [drm_kms_helper]
gru 21 16:32:46 karol.home.prv kernel: drm_atomic_helper_commit+0x137/0x160 [drm_kms_helper]
gru 21 16:32:46 karol.home.prv kernel: drm_atomic_commit+0x99/0xd0 [drm]
gru 21 16:32:46 karol.home.prv kernel: ? __pfx___drm_printfn_info+0x10/0x10 [drm]
gru 21 16:32:46 karol.home.prv kernel: drm_mode_obj_set_property_ioctl+0x179/0x430 [drm]
gru 21 16:32:46 karol.home.prv kernel: ? drm_mode_createblob_ioctl+0xff/0x130 [drm]
gru 21 16:32:46 karol.home.prv kernel: ? __pfx_drm_mode_obj_set_property_ioctl+0x10/0x10 [drm]
gru 21 16:32:46 karol.home.prv kernel: drm_ioctl_kernel+0xc3/0x160 [drm]
gru 21 16:32:46 karol.home.prv kernel: drm_ioctl+0x27b/0x4c0 [drm]
gru 21 16:32:46 karol.home.prv kernel: ? __pfx_drm_mode_obj_set_property_ioctl+0x10/0x10 [drm]
gru 21 16:32:46 karol.home.prv kernel: ? __pm_runtime_suspend+0x7b/0x110
gru 21 16:32:46 karol.home.prv kernel: amdgpu_drm_ioctl+0x4e/0x90 [amdgpu]
gru 21 16:32:46 karol.home.prv kernel: __x64_sys_ioctl+0x9d/0xe0
gru 21 16:32:46 karol.home.prv kernel: do_syscall_64+0x5c/0x90
gru 21 16:32:46 karol.home.prv kernel: ? do_syscall_64+0x69/0x90
gru 21 16:32:46 karol.home.prv kernel: ? exit_to_user_mode_prepare+0x3b/0xd0
gru 21 16:32:46 karol.home.prv kernel: ? syscall_exit_to_user_mode+0x2a/0x50
? do_syscall_64+0x69/0x90
gru 21 16:32:46 karol.home.prv kernel: entry_SYSCALL_64_after_hwframe+0x72/0xdc
gru 21 16:32:46 karol.home.prv kernel: RIP: 0033:0x7f3267f1a75f
gru 21 16:32:46 karol.home.prv kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 2>
gru 21 16:32:46 karol.home.prv kernel: RSP: 002b:00007ffedd454d30 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
gru 21 16:32:46 karol.home.prv kernel: RAX: ffffffffffffffda RBX: 00007ffedd454dc0 RCX: 00007f3267f1a75f
gru 21 16:32:46 karol.home.prv kernel: RDX: 00007ffedd454dc0 RSI: 00000000c01864ba RDI: 000000000000000e
gru 21 16:32:46 karol.home.prv kernel: RBP: 00000000c01864ba R08: 0000000000000084 R09: 00000000cccccccc
gru 21 16:32:46 karol.home.prv kernel: R10: 00007f32683caf38 R11: 0000000000000246 R12: 000055fadb2889b0
gru 21 16:32:46 karol.home.prv kernel: R13: 000000000000000e R14: 000055fadb08ef40 R15: 000055fadb08f4b0
gru 21 16:32:46 karol.home.prv kernel: </TASK>
gru 21 16:32:46 karol.home.prv kernel: ---[ end trace 0000000000000000 ]---
gru 21 16:32:46 karol.home.prv kernel: ------------[ cut here ]------------
gru 21 16:32:46 karol.home.prv kernel: WARNING: CPU: 3 PID: 100858 at /var/lib/dkms/amdgpu/6.2.4-1664922.22.04/build/amd/amdgpu/../di>
gru 21 16:32:46 karol.home.prv kernel: Modules linked in: xt_recent tls xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_i>
gru 21 16:32:46 karol.home.prv kernel: reed_solomon pstore_zone efi_pstore sunrpc ip_tables x_tables autofs4 ib_uverbs ib_core amdgp>
gru 21 16:32:46 karol.home.prv kernel: CPU: 3 PID: 100858 Comm: Xorg Tainted: P W OE 6.2.0-26-generic #26~22.04.1-Ubuntu
gru 21 16:32:46 karol.home.prv kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X470 Master SLI, BIOS P4.40 03/29>
gru 21 16:32:46 karol.home.prv kernel: RIP: 0010:amdgpu_dm_atomic_commit_tail+0x3b30/0x4200 [amdgpu]
gru 21 16:32:46 karol.home.prv kernel: Code: 89 95 80 fc ff ff 41 b9 01 00 00 00 50 51 48 c7 c1 38 b9 1d c1 e9 be f9 ff ff 0f 0b e9 5>
gru 21 16:32:46 karol.home.prv kernel: RSP: 0018:ffffb5fb50ee7818 EFLAGS: 00010082
gru 21 16:32:46 karol.home.prv kernel: RAX: 0000000000000001 RBX: 0000000000013195 RCX: 0000000000000000
gru 21 16:32:46 karol.home.prv kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
gru 21 16:32:46 karol.home.prv kernel: RBP: ffffb5fb50ee7ba0 R08: 0000000000000000 R09: 0000000000000000
gru 21 16:32:46 karol.home.prv kernel: R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000246
gru 21 16:32:46 karol.home.prv kernel: R13: 0000000000000000 R14: ffff9710a5d8d118 R15: ffff9710a5d8d000
gru 21 16:32:46 karol.home.prv kernel: FS: 00007f3267b4ea80(0000) GS:ffff97179eac0000(0000) knlGS:0000000000000000
gru 21 16:32:46 karol.home.prv kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
gru 21 16:32:46 karol.home.prv kernel: CR2: 000055ef7d6bfb20 CR3: 0000000250f4e000 CR4: 00000000003506e0
gru 21 16:32:46 karol.home.prv kernel: Call Trace:
gru 21 16:32:46 karol.home.prv kernel: <TASK>
gru 21 16:32:46 karol.home.prv kernel: commit_tail+0xc5/0x1a0 [drm_kms_helper]
gru 21 16:32:46 karol.home.prv kernel: ? drm_atomic_helper_swap_state+0x246/0x380 [drm_kms_helper]
gru 21 16:32:46 karol.home.prv kernel: drm_atomic_helper_commit+0x137/0x160 [drm_kms_helper]
gru 21 16:32:46 karol.home.prv kernel: drm_atomic_commit+0x99/0xd0 [drm]
gru 21 16:32:46 karol.home.prv kernel: ? __pfx___drm_printfn_info+0x10/0x10 [drm]
gru 21 16:32:46 karol.home.prv kernel: drm_mode_obj_set_property_ioctl+0x179/0x430 [drm]
gru 21 16:32:46 karol.home.prv kernel: ? drm_mode_createblob_ioctl+0xff/0x130 [drm]
gru 21 16:32:46 karol.home.prv kernel: ? __pfx_drm_mode_obj_set_property_ioctl+0x10/0x10 [drm]
gru 21 16:32:46 karol.home.prv kernel: drm_ioctl_kernel+0xc3/0x160 [drm]
gru 21 16:32:46 karol.home.prv kernel: drm_ioctl+0x27b/0x4c0 [drm]
 drm_ioctl+0x27b/0x4c0 [drm]
gru 21 16:32:46 karol.home.prv kernel: ? __pfx_drm_mode_obj_set_property_ioctl+0x10/0x10 [drm]
gru 21 16:32:46 karol.home.prv kernel: ? __pm_runtime_suspend+0x7b/0x110
gru 21 16:32:46 karol.home.prv kernel: amdgpu_drm_ioctl+0x4e/0x90 [amdgpu]
gru 21 16:32:46 karol.home.prv kernel: __x64_sys_ioctl+0x9d/0xe0
gru 21 16:32:46 karol.home.prv kernel: do_syscall_64+0x5c/0x90
gru 21 16:32:46 karol.home.prv kernel: ? do_syscall_64+0x69/0x90
gru 21 16:32:46 karol.home.prv kernel: ? exit_to_user_mode_prepare+0x3b/0xd0
gru 21 16:32:46 karol.home.prv kernel: ? syscall_exit_to_user_mode+0x2a/0x50
gru 21 16:32:46 karol.home.prv kernel: ? do_syscall_64+0x69/0x90
gru 21 16:32:46 karol.home.prv kernel: entry_SYSCALL_64_after_hwframe+0x72/0xdc
gru 21 16:32:46 karol.home.prv kernel: RIP: 0033:0x7f3267f1a75f
gru 21 16:32:46 karol.home.prv kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 2>
gru 21 16:32:46 karol.home.prv kernel: RSP: 002b:00007ffedd454d30 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
gru 21 16:32:46 karol.home.prv kernel: RAX: ffffffffffffffda RBX: 00007ffedd454dc0 RCX: 00007f3267f1a75f
gru 21 16:32:46 karol.home.prv kernel: RDX: 00007ffedd454dc0 RSI: 00000000c01864ba RDI: 000000000000000e
gru 21 16:32:46 karol.home.prv kernel: RBP: 00000000c01864ba R08: 0000000000000084 R09: 00000000cccccccc
gru 21 16:32:46 karol.home.prv kernel: R10: 00007f32683caf38 R11: 0000000000000246 R12: 000055fadb2889b0
gru 21 16:32:46 karol.home.prv kernel: R13: 000000000000000e R14: 000055fadb08ef40 R15: 000055fadb08f4b0
gru 21 16:32:46 karol.home.prv kernel: </TASK>
gru 21 16:32:46 karol.home.prv kernel: ---[ end trace 0000000000000000 ]---
gru 21 16:32:56 karol.home.prv /usr/libexec/gdm-x-session[100858]: (II) AMDGPU(0): EDID for output DisplayPort-0
gru 21 16:32:56 karol.home.prv /usr/libexec/gdm-x-session[100858]: (II) AMDGPU(0): EDID for output DisplayPort-1
gru 21 16:32:56 karol.home.prv /usr/libexec/gdm-x-session[100858]: (II) AMDGPU(0): EDID for output DisplayPort-2
gru 21 16:32:56 karol.home.prv kernel: amdgpu 0000:0c:00.0: [drm] *ERROR* [CRTC:84:crtc-0] flip_done timed out

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg (not installed)
ProcVersionSignature: Ubuntu 6.2.0-26.26~22.04.1-generic 6.2.13
Uname: Linux 6.2.0-26-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckResult: unknown
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Thu Dec 21 16:59:15 2023
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus: amdgpu/6.2.4-1664922.22.04, 6.2.0-26-generic, x86_64: installed
ExtraDebuggingInterest: Yes, if not too technical
GpuHangFrequency: Several times a week
GpuHangReproducibility: Occurs more often under certain circumstances
GpuHangStarted: Since a couple weeks or more
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M] [1002:73df] (rev c5) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Navi 22 [Radeon RX 6700/6700 XT / 6800M] [1043:05cb]
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-26-generic root=UUID=7dfa3296-1c9f-43fe-86e6-54cd1268d8b4 ro quiet splash kvm.ignore_msrs=1 amdgpu.runpm=0 i8042.nopnp vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/29/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P4.40
dmi.board.name: X470 Master SLI
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP4.40:bd03/29/2021:br5.17:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnX470MasterSLI:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.2.5-0ubuntu0.1~22.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 22.2.5-0ubuntu0.1~22.04.1
version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.5
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
bgueas (bgueas) wrote :
bgueas (bgueas)
summary: - Xorg freeze amdgpu drm
+ [drm] *ERROR* flip_done timed out
tags: added: amdgpu
affects: xorg (Ubuntu) → linux-hwe-6.2 (Ubuntu)
summary: - [drm] *ERROR* flip_done timed out
+ [amdgpu][drm] *ERROR* flip_done timed out
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-hwe-6.2 (Ubuntu):
status: New → Confirmed
Revision history for this message
XA Hydra (xa-hydra) wrote (last edit ):

This has become an intermittent issue in the past few months. I am currently on the latest 6.5 kernel and running Wayland. 22.04, Radeon RX 6600

kernel: amdgpu 0000:0b:00.0: [drm] *ERROR* [CRTC:87:crtc-0] flip_done timed out

Hard freezes display output at random during use. Causing quite a problem for daily use.

Changed in linux-hwe-6.5 (Ubuntu):
assignee: nobody → Kleber Sacilotto de Souza (kleber-souza)
Revision history for this message
XA Hydra (xa-hydra) wrote (last edit ):

There are many issue in the AMD gitlab referencing flip_done timed out freezes. Seems to affect a lot of people. I'm still locking up daily.

Here is an example, FWIW https://gitlab.freedesktop.org/drm/amd/-/issues/1707

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.