Gnome 50 freeze on HDMI external monitor plug

On my laptop as soon as I plug my HDMI wire to use my external screen, the whole gnome desktop freeze. I can still mouse the mouse but anything else on both screen is stuck. I can still access the other terminal on Ctrl+Alt+F3. Note that as soon as I unplug the HDMI my embedded screen works and the Gnome desktop is working as usual.

I have an hybrid laptop with a Maxwell Nvidia card (using the 580 legacy driver) and an Intel Haswell processor. Everything worked perfectly with arch Linux on Gnome 49. Could it be an issue with the VRR on by default.

In my logs I can see this kind of error when I plug the HDMI:

gnome-shell[2050]: Created gbm renderer for ‘/dev/dri/card0’
gnome-shell[2050]: Failed to ensure KMS FB ID on /dev/dri/card1: drmModeAddFB2 failed (Invalid argument) and drmModeAddFB cannot be used as a fallback because format=0x30334241 (AB30).
gnome-shell[2050]: meta_frame_native_release: assertion ‘!frame_native->kms_update’ failed
kernel: nvidia-modeset: ERROR: Invalid request parameters, planePitch or rmObjectSizeInBytes, passed during surface registration
gnome-shell[2050]: Cursor update failed: drmModeAtomicCommit: Invalid argument
gnome-shell[2050]: Failed to ensure KMS FB ID on /dev/dri/card1: drmModeAddFB2 failed (Invalid argument) and drmModeAddFB cannot be used as a fallback because format=0x30334241 (AB30).
gnome-shell[2050]: meta_frame_native_release: assertion ‘!frame_native->kms_update’ failed
kernel: nvidia-modeset: ERROR: Invalid request parameters, planePitch or rmObjectSizeInBytes, passed during surface registration
gnome-shell[2050]: Failed to ensure KMS FB ID on /dev/dri/card1: drmModeAddFB2 failed (Invalid argument) and drmModeAddFB cannot be used as a fallback because format=0x30334241 (AB30).
gnome-shell[2050]: meta_frame_native_release: assertion ‘!frame_native->kms_update’ failed

I already tried to reinstall the graphic stack:
paru -S nvidia-580xx-settings nvidia-580xx-dkms nvidia-580xx-utils mesa

and restarted many times with external screen plugged/ unpluggep, powered/unpowered and all kind of combination like that.