Godot freezes and UI glitches

Godot Version

4.2.2

Question

Hello I’m working on my game for a week by now and I have a weird problem with godot. After a while of not using it( mostly i research things on internet) when I came back it freezes almost everything and the menus I can click they are black with no option in them. I am using Lmde and from what i searched it looks it have to do with my nvidia drivers, but i don’t know how to fix it. Any idea? Thanks in advance!