Thanks for the attachments. It looks like the Nvidia kernel driver encountered problems, which then caused problems in the Nvidia Xorg driver, and then Xorg crashed.
I would suggest the first thing to do is to remove the kernel parameter 'nvidia-drm.modeset=1' because that wasn't a mature supported option back in Ubuntu 20.04 (but it is in 22.04).
Thanks for the attachments. It looks like the Nvidia kernel driver encountered problems, which then caused problems in the Nvidia Xorg driver, and then Xorg crashed.
I would suggest the first thing to do is to remove the kernel parameter 'nvidia- drm.modeset= 1' because that wasn't a mature supported option back in Ubuntu 20.04 (but it is in 22.04).