So the good news is that it is showing it found the GPU (GPU:0).
The other message after the upgrade:
‘The following packages were automatically installed and are no longer required:’
This just means you should be free to remove those packages, it has left them there for now.
A previous package that was installed required those packages, but after the upgrade those packages are no longer required.
To clear this you can do the following:
sudo apt autoremove
nvidia-smi would not likely show a much usage on a short code. If you run something a little longer you should see the utilization.
Here is another way to view utilization:
- nvidia-smi --query-gpu=index,gpu_bus_id,utilization.gpu,utilization.memory,power.draw --format=csv -l
- nvidia-smi dmon