Here are the specs I'm working with:
- x86_64 architecture
- Intel Core i7-4790K processor
- Nvidia GeForce GTX 960 graphics card
- Ubuntu version 20.04.3 LTS
From what I can tell, this seems to be a common issue. I attempted to install one of Nvidia's graphic drivers by following some advice on the forums. Very quickly, things went downhill, and I was eventually unable to boot the system (the login page wouldn't display, and I would be stuck with a black screen).
I salvaged the OS after an entire day of trying by going into the Recovery Mode command line, deleting all of my Nvidia packages, tweaking the blacklists (which I believe is what caused the mess to begin with - someone suggested blacklisting the default, open-source driver), and trying to fix a broken bumblebee (I kept getting bbswitch errors).
Now I can boot the system and log in, which is great, but the aspect ratio is messed up and the graphics are awful. My intuition is that the default graphics driver (the xserver / xorg / nouveau one) is not working properly. I don't know where to start with fixing it, though!
First, is there any way I can revert the graphics card settings/packages back to default, without reinstalling the OS? Or if that isn't possible, would there be any way to reinstall Ubuntu without losing my personal files and/or app data?
If that isn't an option, where would you guys start with diagnosing the exact issue and fixing it? Thanks in advance!
EDIT ( @heynnema ):
Here is my output for dpkg -l *nvidia*
:
dpkg -l nvidia (pt1)
dpkg -l nvidia (pt2)
Here is my output for dkms status
:
dkms status
Finally, here is what I see in that Additional Drivers tab:
Additional Drivers
EDIT 2 ( @heynnema ):
Here is the error I get when attempting to use "Additional Drivers" to switch to nvidia-driver-495
attempt to install nvidia-driver-495
EDIT 3 ( @heynnema ):
Here is what I get from dpkg -l *nvidia*
:
dpkg -l *nvidia*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/tr>
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version >
+++-================================-=======================>
un libgldispatch0-nvidia <none> >
ii libnvidia-cfg1-470:amd64 470.82.00-0ubuntu0.20.0>
un libnvidia-cfg1-any <none> >
un libnvidia-common <none> >
ii libnvidia-common-470 470.82.00-0ubuntu0.20.0>
un libnvidia-compute <none> >
ii libnvidia-compute-470:amd64 470.82.00-0ubuntu0.20.0>
ii libnvidia-compute-470:i386 470.82.00-0ubuntu0.20.0>
rc libnvidia-compute-495:amd64 495.44-0ubuntu0.20.04.1>
un libnvidia-decode <none> >
ii libnvidia-decode-470:amd64 470.82.00-0ubuntu0.20.0>
ii libnvidia-decode-470:i386 470.82.00-0ubuntu0.20.0>
un libnvidia-encode <none> >
ii libnvidia-encode-470:amd64 470.82.00-0ubuntu0.20.0>
ii libnvidia-encode-470:i386 470.82.00-0ubuntu0.20.0>
un libnvidia-extra <none> >
lines 1-21