0
  1. My nvidia drivers are failing to recognise and map, nvidia-smi doesn’t work no matter what troubleshoot.
  2. So we decided to do a factory reset instead. I see no options at all.
  3. I did press 1 multiple times according to the official documentation, didn’t work.
  4. I did sudo snap reboot —factory-reset didn’t work
  5. I did go into bios and see, I have secure boot enabled, and don’t see any option
  6. I went into grub terminal and don’t see any options so I pressed normal and saw the options, don’t work.

(Ps: it’s a university machine but I have root access and it help could do nothing)

Luuk
  • 286
  • 2
  • 9

2 Answers2

1

This sounds like an XY problem.

Problem: Something doesn't work

Wrong question: How do I reset

The correct solution is to diagnose the problem and fix it, not reset. If you reset / reinstall, you are likely to just end up with the same problem you currently have.

If the drivers are failing to detect your card, there are several possibilities:

  • The drivers may not have installed correctly (e.g., initrd failed to build or driver failed to compile)
  • You may have secure boot enabled and the driver is not signed or the driver's signing key didn't get correctly enrolled as a MOK; this will prevent the driver from loading, and you get a useful error from modprobe if you try
  • You may have the wrong drivers installed
  • Your hardware may have failed

You have given no details here about what you did to try to diagnose the problem.

A good start would be to try to modprobe nvidia and if that fails, check the errors (both from the command and the system logs). This should diagnose if the driver is missing, failed to build, or has a secure boot issue.

Another test would be to use lspci | grep -i nvidia to get your card model, and verify that you have installed the correct driver for the card. Each card has a range of driver versions that support it, and there are at least 4 distinct lines of nvidia drivers.

user10489
  • 5,533
0

To fully "reset" an Ubuntu system, reinstall with an installation medium. On modern systems, that does not take more than 20 minutes.

Installed systems do not have a "factory reset" option. An installed system is continuously updated by system updates and user installed programs.

To resetting a user account to factory defaults, move all existing files in the user's home directory out and copy the standard configuration files under "/etc/skel" to the user account. (Obviously, do this while the user is not logged in). Next time the user logs in, default configuration files will be created.

vanadium
  • 97,564