Shadowdodoty I have a similar problem, it gets fixed after restarting godot (closing and opening again).
It's probably a bug, but I don't have enough information to file a bug report, or maybe they already know about it and it will get fixed in next version, but I haven't checked. I'm also in 4.2.2
This problem tends to happen when I leave the PC and the screensaver turns off the monitor, I imagine it has something to do with vulkan and stuff.
I'm on ubuntu 22.04, gnome in x11 mode.