I think I am also experiencing this bug. I'm seeing it manifest when I resume from sleep, none of my monitors wake up and I can't switch TTYs.
On Thu, 22 Apr 2021 21:10:15 +0000 "Maxime G." <max...@mxgo.fr> wrote: > Package: xserver-xorg-video-amdgpu > Version: 19.1.0-2 > Severity: critical > > Hi. > > Today I reinstalled a machine on Debian 11 Bullseye from testing (it was on Debian 10 Buster) and I had a crash of the AMD R9 380. > I could no longer change tty and Xorg was frozen, I could only move the mouse, the keyboard shortcut to reboot the kernel was not working. > After manual shutdown (electrical) I found undred lines of this in syslog: > > Apr 22 22:36:18 maxime-pc kernel: [18427.590382] amdgpu 0000:01:00.0: amdgpu: 000000003fb1172e pin failed > Apr 22 22:36:18 maxime-pc kernel: [18427.590464] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12 > Apr 22 22:36:18 maxime-pc kernel: [18427.605898] amdgpu 0000:01:00.0: amdgpu: 0000000003ab56e3 pin failed > Apr 22 22:36:18 maxime-pc kernel: [18427.606010] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12 > Apr 22 22:36:18 maxime-pc kernel: [18427.609057] amdgpu 0000:01:00.0: amdgpu: 0000000003ab56e3 pin failed > Apr 22 22:36:18 maxime-pc kernel: [18427.609139] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12 > Apr 22 22:36:18 maxime-pc kernel: [18427.610566] amdgpu 0000:01:00.0: amdgpu: 0000000003ab56e3 pin failed > Apr 22 22:36:18 maxime-pc kernel: [18427.610644] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12 > Apr 22 22:36:18 maxime-pc kernel: [18427.644577] amdgpu 0000:01:00.0: amdgpu: 000000003fb1172e pin failed > Apr 22 22:36:18 maxime-pc kernel: [18427.644659] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12 > > [...] > > Apr 22 22:37:15 maxime-pc kernel: [18484.803085] sysrq: HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usa > ge(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(v) show-blocked-tasks(w) dump-ftrace-buffer(z) > Apr 22 22:37:15 maxime-pc kernel: [18484.803096] sysrq: HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usa > ge(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(v) show-blocked-tasks(w) dump-ftrace-buffer(z) > Apr 22 22:37:18 maxime-pc kernel: [18487.595072] sysrq: HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usa > ge(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(v) show-blocked-tasks(w) dump-ftrace-buffer(z) > Apr 22 22:37:18 maxime-pc kernel: [18487.875072] sysrq: HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usa > ge(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(v) show-blocked-tasks(w) dump-ftrace-buffer(z) > > (here I was typing on the emergency kernel reboot shortcut on keyboard) > > I don't know what could be the reason for this. > But the problem has never occurred on Debian 10 Buster. > > > Thanks. > Max. > >