X11 crash with AMDGPU, possibly OpenGL

I am using Debian 12,
xserver-xorg-video-amdgpu 23.0.0-1
firmware-amd-graphics 20230210-5
xserver-xorg 1:7.7+23
firmware-linux-free 20200122-1
firmware-misc-nonfree 20230210-5
CPU model name : AMD Ryzen 7 7840U w/ Radeon 780M Graphics
Kernel 6.11.5+bpo-amd64

Which BIOS version are you using? – I do not know

and experience random crashes in the display. Either X11 terminates and puts me back onto the login manager, or X11 terminates and colorful blocks of pixel soup appear on the screen. Keyboard input will not be processed on pixel-soup, so I cannot fall back onto getty, I need to reboot.
It can happen with the internal and external monitors, with and without a dock. It happens once a month on office workflows and every few hours on OpenGL workflows. Software like a FDM-printer-slicer or a game or hardware video decoding (mpv --hwdec) can trigger this bug every few hours.

I tried to disable tearing features

Section “OutputCLass”
Identifier “AMD”
MatchDriver “amdgpu”
Driver “amdgpu”
Option “TearFree” “off”
Option “VariableRefresh” “false”
Option “DRI” “3”
EndSection

without any change to the crash frequency.
I would like to stop the X11 crashes, I may sacrifice hardware acceleration and battery efficiency.