#1104165 linux-image-6.12.22-amd64: Freezing with 'amdgpu_dm_plane_helper_prepare_fb bind failed' some time after returning from suspend

Package:
src:linux
Source:
src:linux
Submitter:
Gabriel Francisco
Date:
2025-08-14 08:37:02 UTC
Severity:
normal
Tags:
#1104165#5
Date:
2025-04-26 11:06:01 UTC
From:
To:
Dear Maintainer,

I was able to reproduce an issue with linux-image-6.12.21-amd64, linux-image-6.12.22-amd64 and linux-image-6.13-amd64 (6.13.11) packages by
opening/closing Guake several times while using the BurnMyWindows gnome extension.

The issue seems to occur only if the computer suspended/resumed at least once. After that, VRAM and GTT starts accumulating on radeontop each time Guake is open/closed.

At some point the computer freezes the message below:

[  214.326755] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.195930] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.230941] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.265730] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.301244] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.336096] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.371006] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.408435] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.443421] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.478270] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.513337] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.548296] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.583204] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.618290] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.649901] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  222.933237] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  225.158109] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  226.927983] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  228.929740] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  231.931984] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  233.931721] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  235.931533] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  238.932283] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  241.932109] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  244.915056] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  247.915510] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000894d1c8d bind failed
[  254.332517] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000563c83bf bind failed
[  254.575926] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  254.578779] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  254.589205] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  254.589449] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  254.591035] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  254.591275] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  254.847651] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  254.847950] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  255.539144] amdgpu 0000:07:00.0: amdgpu: 00000000563c83bf pin failed
[  255.539153] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12
[  255.552963] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  255.553115] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  255.554561] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  255.554710] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  256.299297] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000563c83bf bind failed
[  256.600451] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  256.600757] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  256.948925] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000205a1d81 bind failed
[  257.707352] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000205a1d81 bind failed
[  258.006468] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  258.006863] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  258.307423] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000563c83bf bind failed
[  258.433845] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  258.434054] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  258.851095] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  258.852613] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  258.973692] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000563c83bf bind failed
[  259.102985] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  259.103218] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  259.337738] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  259.508331] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  259.677533] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000563c83bf bind failed
[  259.885724] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  259.886016] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  260.054086] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  260.211254] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000563c83bf bind failed
[  260.287482] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  260.287726] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  261.130701] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000563c83bf bind failed
[  261.746921] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000205a1d81 bind failed
[  262.130549] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000563c83bf bind failed
[  262.763899] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000205a1d81 bind failed
[  263.015007] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  263.015385] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  263.380722] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000563c83bf bind failed
[  263.578777] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  263.579123] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  263.752316] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  263.961020] [drm:amdgpu_cs_parser_bos.isra.0 [amdgpu]] *ERROR* amdgpu_vm_validate() failed.
[  263.961376] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  264.181057] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* 00000000563c83bf bind failed
[  265.423897] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  265.425377] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  265.426794] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  265.428201] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  265.429533] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  265.431252] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  265.432778] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  265.434129] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  265.435554] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  265.436945] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  265.438807] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  265.440705] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  265.442668] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[  265.444879] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
* frozen here*

Greetings,
Gabriel Francisco

#1104165#10
Date:
2025-04-26 11:30:31 UTC
From:
To:
linux-image-6.12.25-amd64 is also affected
#1104165#15
Date:
2025-06-11 18:59:00 UTC
From:
To:
The linux-image-6.15-amd64 (linux 6.15.2) is also affected, although
less severe. The OOM kicks in and terminated my gnome-shell instead of
freezing the machine.

#1104165#22
Date:
2025-07-10 11:47:08 UTC
From:
To:
Hi Gabriel,

Sorry for the delay in responding to this.

Could you please report this upstream at
<https://gitlab.freedesktop.org/drm/amd/-/issues/>?

Then let us know the issue number or URL there, so we can keep track of
it.

Ben.

#1104165#27
Date:
2025-07-11 14:11:29 UTC
From:
To:
Hi Ben, no worries, all good :)

I found an issue reported by another user there with the same kernel
messages appearing after opening/closing windows. It looks very similar
to my issue.

I added a comment mentioning "suspend at least once" being important to
trigger the bug.

It's under https://gitlab.freedesktop.org/drm/amd/-/issues/4310.

Have a good weekend,
Gabriel Francisco

#1104165#32
Date:
2025-08-13 17:58:04 UTC
From:
To:
Hi there,

forgive me for the late reply. The bug I commented previously has been
closed and I submitted a new one under
https://gitlab.freedesktop.org/drm/amd/-/issues/4498

The kernel package 6.16-1~exp1 from experimental is also affected.

Greetings,
Gabriel