It sounds like the main issue is that Xwayland has crashed first:
[ 31.095070] pi-asus-b450f-gaming gnome-shell[1400]: Connection to xwayland lost
Please follow the steps in comment #2 to help us diagnose the problem further.
It sounds like the main issue is that Xwayland has crashed first:
[ 31.095070] pi-asus- b450f-gaming gnome-shell[1400]: Connection to xwayland lost
Please follow the steps in comment #2 to help us diagnose the problem further.