My GUI is gone and Nvidia smi is not working

I’m glad you got it working again. Could you tell me which gnome extensions you tried to install? It would be helpful for us to know so we can document it or fix it.

For future reference, these Sparks basically just run on Ubuntu. I’ve played with a lot of Nvidia drivers and packages (CUDA etc.) on other systems, and ended up breaking the installed display driver a number of times. For people that don’t want to lose anything on their Spark and be forced to start from scratch, what worked for me in the past on other Ubuntu systems is:

sudo apt-get purge nvidia-driver*
sudo apt autoremove
sudo apt-get autoclean
sudo apt install nvidia-driver-XX

Where “nvidia-driver-XX” is the latest supported Nvidia driver for the Spark. On my other Ubuntu systems I’m currently running “nvidia-driver-580-open”, but someone from Nvidia would need to speak up as to what driver is best for Sparks at the moment, and this will also change over time.

this was the one i was installing, and some commands that chatgpt gave, as there is no clipboard available natively for linux

these sort of commands GPT also suggested, and ig they were the main reasons my image got broken, as even GPT don’t know which one are right, so i won’t suggest to do this :)

These commands would not have broken your install unless you installed the wrong driver, which I mentioned in my previous post. I just checked one of my Sparks, and indeed the driver I mentioned I was using elsewhere is the correct driver for the Spark (nvidia-driver-580-open). If you installed a server or non-open driver it would have either broken or left things still broken. Those 4 commands are the correct commands to recover from a failed Nvidia driver on Ubuntu.

We strongly recommend to not run sudo apt-get purge nvidia* since installing the necessary drivers is more complicated on Spark. Secure boot needs precompiled drivers so we recommend only updating through the DGX Dashboard and following the User Guide.

Retracting my prior statement. I see there are a bunch of other nvidia drivers. My other systems are only Nvidia GPU and nothing else Nvidia so the command is safe there. It would probably be safe to just purge nvidia-driver* which would hit only the GPU driver, but I see what you mean. For the record, though, the install command above does install a secure-boot safe driver, so that in itself wouldn’t have been an issue. Other missing drivers would have been, though.