We currently have almost no details... We don't know what OS/product/release you're using (ie. which Ubuntu product), nor if this new install, or you installed some package in the last session before this issue occurred (what changes you made will impact the best/easiest fix and only the operator will know what that is).
– guivercMay 14 '23 at 04:46
This has been asked in many forms here previously, and I've linked to the most populated duplicate. It seems the consensus is that this is most often an NVidia driver problem, where you have to boot into safe mode, and re-install NVidia drivers.
– Artur MeinildMay 14 '23 at 07:20