Ok, looks good now.
Your system, graphics card and driver have always been fine. Just your monitor failed i.e. its edid. That’s why you suddenly had only 1024x768 resolution. That’s a hardware failure. You might try another cable or connector (if you don’t already have) but i doubt that will help.
To keep your monitor you will have to set up the monitor section in xorg.conf by hand with values from the datasheet of your monitor manually.
If you don’t have a xorg.conf generate one using nvidia-xconfig --no-use-edid --no-use-edid-freqs
In the montor section, you’ll have to set
HorizSync
VertRefresh
Modeline (for each resolution you want to use)
Modeline calculator:
[url]https://arachnoid.com/modelines/[/url]