Which NVIDIA driver on newly upgraded Lenovo Laptop

Please forgive me for wanting to understand what all the recommended actions will do, before I do them. I have carefully read the document that @sgt-mike has recommended. I read and used it to try to narrow down the questions, There are five questions below in bold that I would like to see answered.

But first:

Thank you. Sorry for the drama, @1fallen, but no, no .run installs were done.

You then make a suggestion that sounds valuable and leads to my first question

This suggestions was also echoed by @sgt-mike.

Question 1: This command will remove whatever nvidia driver is now installed, and, hopefully, get the system ready for a clean install of ā€œthe right driverā€, right?

The document starts by recommending the following two diagnostics, which I did and show the results

$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module  535.183.01  Sun May 12 19:39:15 UTC 2024
GCC version:
sudo ubuntu-drivers list
[sudo] password for scohen: 
udevadm hwdb is deprecated. Use systemd-hwdb instead.
...
nvidia-driver-535, (kernel modules provided by nvidia-dkms-535)
nvidia-driver-550-open, (kernel modules provided by nvidia-dkms-550-open)
nvidia-driver-535-open, (kernel modules provided by nvidia-dkms-535-open)
nvidia-driver-535-server, (kernel modules provided by nvidia-dkms-535-server)
nvidia-driver-535-server-open, (kernel modules provided by nvidia-dkms-535-server-open)
nvidia-driver-550, (kernel modules provided by nvidia-dkms-550)
oem-sutton-barrett-meta

By the way, the output of the ā€œserverā€ version of this command - sudo ubuntu-drivers list --gpgpu, is the same as the above.

This is presumably the listing all the drivers it is okay to install, it says nothing about what might actually be installed, and nothing in this list matches the version number returned by the first command. It seems important to me to understand what I have now before I go about changing it. So …

Question 2: How might I relate the output of the first command,
NVIDIA UNIX x86_64 Kernel Module 535.183.01, to one of the drivers listed in the second command?

Next, the document differentiates between ā€œgeneric (desktop and gaming)ā€ and ā€œservers and/or computing purposes.ā€ I find this distinction confusing. What are ā€œcomputing purposesā€?

Question 3:
Do I want
Installing the drivers for generic use (e.g. desktop and gaming)
-or-
Installing the drivers on servers and/or for computing purposes
Does it matter?

The next fork in the road is installing a specific driver version or doing autodetect versions of the ubuntu-drivers install command. @sgt-mike recommended a command that does autodetect. Other commenters have mentioned installing the recommended version.

Question 4: autodetect or install a specific version?

Question 4a: if installing a specific version, which one?
@sgt-mike said I should install 535 (which is already installed but maybe not the ubuntu version)

@ubfan1 said I should run the ubuntu-drivers devices command which returned a recommendation of nvidia-driver-550 - distro non-free recommended
So I suppose the question is 535 or 550?

Next:
Manual driver installation (using APT). I haven’t looked deeply enough into this because no one here has recommended these commands.

Question 5: can I for now ignore Manual Driver installation (using APT)?
I’m assuming I can, but it’s in the document so I’m asking,

If we can answer the questions above, I will have a better idea of how to proceed. Thanks.

I agree that the GUI method is inferior.

I could be wrong but I think the ā€œmanually installed driverā€ entry appears because of you upgrading from 22.04 to 24.04 and the system loses track of its version (I don’t do ā€œupgradeā€, always clean install, but remember that upgrading without removing proprietary graphic driver may cause problems from some times ago)

so you first remove it

then just install either 535 or 550.

You can also get 560. It is not on the recommended list not because it doesn’t work, but because it is not in Ubuntu’s standard repo yet You have to get it from the graphic driver ppa (ubfan1 explained it in his last post in your previous thread)

Then when done, reboot.

Edited: There seemed to be some issues with the 535 according to this reddit thread so they got 550, but now 550 is in the repo so you can install it like sgt-mike, no need for the graphic driver ppa.

https://www.reddit.com/r/linux_gaming/comments/1hk6q6r/have_they_fixed_the_550_nvidia_driver_on_24041_lts/

1 Like

Yes
Question 2: How might I relate the output of the first command,
NVIDIA UNIX x86_64 Kernel Module 535.183.01, to one of the drivers listed in the second command?

Computing is what I do on servers example transcoding as I run a headless server I don’t need the GUI as Headless servers are CLI only so in transcoding or AI or even Virtual Machines, or data mining I’m after the Cuda cores in the GPU to act as a processor offloading my main processor cores.

See question #2 are you using the GPU to track astronomaical bodies in the heavens or rather using the GPU for desktop display… If it’s graphical display huuhh yes use the gaming /desktop
look closely at the command

sudo ubuntu-drivers install

That AUTO detect the GPU and the use as in your using a desktop version
Question 4a: if installing a specific version, which one?
again

sudo ubuntu-drivers install

If that fails simple answer
purge the drivers again…
then

sudo ubuntu-drivers install nvidia:535
or for driver 550
sudo ubuntu-drivers install nvidia:550
or even go with driver 560
sudo ubuntu-drivers install nvidia:560

but honestly do the auto version 1st then look where I listed the eye candy comment
THAT IS ALL the available Ubuntu drivers…
The guide is combining desktop and servers into one document

Now let’s cover something Linux has hundreds of commands that can basically do the same thing.
That explains why you hear different ways to do a task, most of us use different way (commands) to do the exact same things so yes you will see where we say different things.

But in one sense we are actually saying the same thing, one driving a chevy I’m driving a Dodge, someone else is driving a Harley yet we all get to the same location.

1 Like

@monkeybrain
HOLY do do …
they brought back 470?
There might be hope yet for those old GTX550Ti I threw in a box … I might need to check the driver version again for the GTX550ti’s …(then again maybe it was 450 was the last supported driver for the GTX550Ti’s)

Back to the OP’s issues… from that post 550 @monkeybrain might be best
BUT do the auto detect method….
I don’t own your graphic card but my Geforce 1070 and Geforce 1090’s in my desktop’s run well on 550, but your might not, then again it might.

oh BTW a driver that says open is open source.—… Nonfree = proprietary such as Nvida
server is for a headless server… That should greatly narrow your choices

$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 535.183.01 Sun May 12 19:39:15 UTC 2024
GCC version:

OK you have do have driver 535 loaded
specially

  • NVRM: Stands for ā€œNVIDIA Runtime Module,ā€ which is the core kernel module responsible for interacting with the NVIDIA GPU on Linux systems.
  • NVIDIA UNIX x86_64: Specifies that this driver is intended for a UNIX-like operating system running on a 64-bit x86 processor architecture.
  • Kernel Module 535.183.01: Represents the specific version of the NVIDIA driver installed.

This MIGHT be left over from earlier
(appears to be dated Sun May12 at 19:39 UTC time 2024)

Hence is why three of us are saying use purge…
so purge
the reissue

 cat /proc/driver/nvidia/version

Why we are checked that the driver actually purged
if no driver details…
then issue

sudo ubuntu-drivers list

Why??? allows the system to search for drivers to match up
and Like I said eye candy…
Then

sudo ubuntu-drivers install

you could reissue the cat command to see which version loads. or just read the rolling screen.

what I didn’t cover but monkeybrain did was reboot as in shutdown and restart completely that forces the new driver in the loading of the OS.
I’ll reintegrate this part of the manual method ONLY IF the driver is giving issues after attempting the auto detect method above after you reboot the system as the final part of the purge is accomplished with a reboot.

sudo ubuntu-drivers install nvidia:535
or for driver 550
sudo ubuntu-drivers install nvidia:550

note I didn’t type open…or server… or anything other than the driver package number…
so when you type

sudo ubuntu-drivers list

You note the drivers that end in a number i.e. 535 550 that is the actual choices for you.
in my experience. And sometimes it might take two or three times purging and reloading to get a clean install of a driver.
if you load several differing drivers yeah it causes issues…

As I explained above, it will not, it has no clue how the existing driver got onto your system since it seems it did not come as any package format the system knows about…

This is where the GUI version is superior since it will protect you from installing two different drivers for the same device… The CLI version of the tool gives you the power to do this though, with unknown results (I guess it is assumed you know how the former driver got onto the system and you know how to manually remove it before calling ubuntu-drivers install)

It is very likely the tool does the right thing to not trash your system, but the old driver will stay around on disk if you do not manually remove it.

@sgt-mike Thanks for concisely answering my questions.

It’s the latter. I guess these GPUs can also be used for their computing power. I hadn’t really known that and it’s not what I need.

I guess we’re saying it boils down to

sudo apt autoremove --purge nvidia*
sudo ubuntu-drivers install

with the option to do

sudo apt autoremove --purge nvidia*
sudo ubuntu-drivers install nvidia:535

or

sudo apt autoremove --purge nvidia*
sudo ubuntu-drivers install nvidia:550

Ah, a dissenting voice!

@ogra: If a driver stays on disk but the system is not configured to use it, how does that matter?
If it does matter, what, beyond
sudo apt autoremove --purge nvidia*
needs to be done to remove it from disk before installing new driver? IOW, where is this driver located?

As for GUI method being better, what will it do if I update using the present config shown in the screenshot below( which, as I have said, cannot be changed).
image

Can you tell me?

Well, you have proven above that this is a useless command anyway:

apt does not know about the driver at all so apt remove (or autoremove) will simply be a no-op, ubuntu-drivers is just a fancy frontend to apt doing some hardware detection to find the right package version for your hardware and usually making sure that only one driver is in use … if apt does not know about the driver it can not do anything to remove it …

The tool will make sure to install and configure the new driver for you while not touching the old one it does not know about, the question here is if the old driver will in any way interfere with it when it stays on disk

The nvidia driver package is not just a driver, it contains all the libraries for GL/GLES processing etc and these libs are usually closely tied to the exact driver binary… if the system finds the old libs but has the new driver in use you might end up without any GUI on the machine, this is a bit of gambling here …

Did you say you installed the .run version directly from nVidia. Not sure about capitalization. Must path & name or capitalization must match the version you installed.
It has its own uninstall.
I have not used it, but found this where xxx.xx is version:

sudo ./NVIDIA-Linux-x86-xxx.xx.run --help
sudo ./NVIDIA-Linux-x86-xxx.xx.run --uninstall

If any version from Ubuntu or the ppa, then you run the purge command posted above.

It seems any duplication of drivers creates issues that then are difficult to resolve. You must purge back to no driver and using terminal or using nouveau as a basic mimimal driver to install preferred or correct driver.

Trying not to dramatic here.
No, I did NOT say I had installed a .run version directly from Nvidia. I have not. You and others seem to believe that in spite of what I am saying, I must have done so, that either intentionally or unintentionally, I am lying, I am quite clear on what I did do. I even wrote down on paper the comnmands I did with the Lenovo tech support guy to get the upgrade from 22.04 to 24.04 to go, so I could look at them later in case anything went wrong,

This is all in this comment: Which NVIDIA driver on newly upgraded Lenovo Laptop - #4 by stevecoh1

Can we please try to suggest ways I can get out of this predicament and stop trying to guess what error I must have committed?

@ogra : this sounds like a compelling argument not to do what @sgt-mike and @1fallen are suggesting I try. @sgt-mike and @1fallen - care to comment?

But what are you suggesting I do instead? Other than expressing confidence in the ā€œGUI methodā€, I’m not sure what you mean. I want to get to a point where I have a stable, upgradable GPU driver installed on my new machine. What concrete steps do you think will get me there?

Thats a bit of a tricky question :slight_smile:

Theroetically (and what the GUI actually expects from you) you would use the same .run file that was used to install the driver (probably by lenovo originally) and execute it with the --uninstall option, that would cleanly remove the old driver …

Now … missing that .run file I’m actually not sure where to it installs all the bits and pieces it brings along …

I’d personally start with something like:

find /usr/lib -name '*nvidia*'

To find the libs and files it brought along …

But there might also be files that use ā€œnvā€ in the name and not the full ā€œnvidiaā€ string … so the find commnand above might still leave you with some files or libs you don’t want…

The ā€œconfidenceā€ in the GUI method I’m exposing is simply ā€œIt prevents you from shooting yourself in the foot by not allowing you to install two drivers at the same timeā€ (which the CLI version of the tool does not prevent)

Note that once you have removed all these files your GUI will stop working until you have a proper driver installed again …

99% of us have never seen anything like this, so there is no clear path forward, It’s like a rabbit hole now.

For the life of me I can’t reproduce your puzzle, I have installed 22.04 then upgraded to 24.04 with my driver still installed (535) and then removed 535 for 550 and it just works.

But @ogra is correct 2 differently installed drivers will come back and bite you hard.

The only thing I can think of is rollback to 22.04 and stay there, or just purge the nvidia driver from22.04 first if possible, then upgrade to 24.04 if you want.

EDIT: Please show us this first:

nvidia-smi
1 Like

+1 on the command from @1fallen …
I should have thought of that earlier.

@stevecoh1
dissenting voice … Nope … @ogra is pointing out the facts of how apt works…
apt can’t removing something it didn’t install …
another fact is none of us including you are certain how the existing driver was installed
so yes it would be common to try one command … check if the driver was purged … find out it wasn’t issue a different command to purge and recheck again. and continue different commands until removed then select a path to install the correct driver.

@oldfred @1fallen @monkeybrain @ogra
Steve these are the persons I ask questions when I have a system that is acting up, and put great stock in what they say. When I have a issue that I’m not sure of how to fix.

Now this is not to contradict what anyone has said but simply to add sanity back into the thread. Are some of us spit balling thoughts and ideas. Yes I am, but there is a common theme purge all the nvida driver and install a fresh.

true statement … and in my case I use old equipment for my use … why I’m a cheap skate. so yes I would not have a chance to recover from a issue such as this.

not a bad thought … that might work , is it the best idea IDK… but is a option.

another good suggestion … might reveal how the drivers got installed there… or at least all the drivers from Nvida that might be lurking.

but yes please do try try this as well as what ogra suggested.

it might be a dead end , then again it might not … only one way to find out.
I’m going to excuse myself … need to look at a thread on the old UF site that ā€œmightā€ be relevent… after I get back from a VA medical appointment …

Ok luckily hit the area on UF that I was thinking of that ā€œMIGHTā€ help …

@ogra @1fallen @oldfred @monkeybrain ONLY
Folks remember MAFoElffen from UF?
He did a Hardware script that the link was posted on UF that he donated to the forum and is hosted on Git hub. I’m wondering if it would have any value to this?

Ok. Thanks for the admissions this is something new, spitballing, etc.

now that makes some sense. I know I didn’t do it.

You all have suggested some further diagnostics. I will try each one and let you know.

maybe just find all nvidia files and delete them by hand, then install a driver from the repo and reboot. Like here.

https://forums.developer.nvidia.com/t/how-do-i-completly-remove-an-nvidia-driver-by-hand/238053/3

Agggh I set here too long …researching … punching out to go to medical … Look over my question if the script would have value … just a thought …
Bye Folks…

$ find /usr/lib -name '*nvidia*'
/usr/lib/libnvidia-gtk3.so.510.47.03
/usr/lib/modprobe.d/nvidia-kms.conf
/usr/lib/modprobe.d/nvidia-runtimepm.conf
/usr/lib/modprobe.d/nvidia-graphics-drivers.conf
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/nvidia-peermem.ko
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/nvidia.ko
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/nvidia-modeset.ko
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-modeset.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-uvm.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-peermem.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm.mod
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-peermem.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-uvm.mod
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia.mod
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-peermem
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-peermem/nvidia-peermem.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-gem-user-memory.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-format.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-gem.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-crtc.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-gem-dma-buf.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-connector.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-linux.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-utils.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-modeset.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-helper.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-fb.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-encoder.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-fence.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-drv.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm.mod.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-modeset.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-modeset.mod.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-uvm
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-drm.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-peermem.mod
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia.mod.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-modeset.mod
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-peermem.mod.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-uvm.mod.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-uvm.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-modeset
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/bits/nvidia-modeset/nvidia-modeset-linux.o
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/nvidia-uvm.ko
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-535/nvidia-drm.ko
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-470
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-470/bits/nvidia-uvm.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-470/bits/nvidia-peermem.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-470/bits/nvidia.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-470/bits/nvidia-modeset.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-470/bits/nvidia-drm.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/drivers/usb/typec/altmodes/typec_nvidia.ko
/usr/lib/modules/6.5.0-1022-oem/kernel/drivers/i2c/busses/i2c-nvidia-gpu.ko
/usr/lib/modules/6.5.0-1022-oem/kernel/drivers/hid/hid-nvidia-shield.ko
/usr/lib/modules/6.5.0-1022-oem/kernel/drivers/net/ethernet/nvidia
/usr/lib/modules/6.5.0-1022-oem/kernel/drivers/platform/x86/nvidia-wmi-ec-backlight.ko
/usr/lib/modules/6.5.0-1022-oem/kernel/drivers/video/fbdev/nvidia
/usr/lib/modules/6.5.0-1022-oem/kernel/drivers/video/fbdev/nvidia/nvidiafb.ko
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-550
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-550/bits/nvidia-uvm.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-550/bits/nvidia-peermem.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-550/bits/nvidia.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-550/bits/nvidia-modeset.ko.sig
/usr/lib/modules/6.5.0-1022-oem/kernel/nvidia-550/bits/nvidia-drm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/nvidia-peermem.ko
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/nvidia.ko
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/nvidia-modeset.ko
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-modeset.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-uvm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-peermem.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm.mod
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-peermem.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-uvm.mod
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia.mod
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-peermem
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-peermem/nvidia-peermem.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-gem-user-memory.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-format.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-gem.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-crtc.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-gem-dma-buf.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-connector.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-linux.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-utils.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-modeset.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-helper.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-fb.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-encoder.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-fence.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm/nvidia-drm-drv.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm.mod.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-modeset.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-modeset.mod.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-uvm
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-drm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-peermem.mod
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia.mod.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-modeset.mod
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-peermem.mod.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-uvm.mod.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-uvm.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-modeset
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/bits/nvidia-modeset/nvidia-modeset-linux.o
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/nvidia-uvm.ko
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535/nvidia-drm.ko
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-470
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-470/bits/nvidia-uvm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-470/bits/nvidia-peermem.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-470/bits/nvidia.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-470/bits/nvidia-modeset.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-470/bits/nvidia-drm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/drivers/usb/typec/altmodes/typec_nvidia.ko.zst
/usr/lib/modules/6.8.0-52-generic/kernel/drivers/i2c/busses/i2c-nvidia-gpu.ko.zst
/usr/lib/modules/6.8.0-52-generic/kernel/drivers/hid/hid-nvidia-shield.ko.zst
/usr/lib/modules/6.8.0-52-generic/kernel/drivers/net/ethernet/nvidia
/usr/lib/modules/6.8.0-52-generic/kernel/drivers/platform/x86/nvidia-wmi-ec-backlight.ko.zst
/usr/lib/modules/6.8.0-52-generic/kernel/drivers/video/fbdev/nvidia
/usr/lib/modules/6.8.0-52-generic/kernel/drivers/video/fbdev/nvidia/nvidiafb.ko.zst
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-550
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-550/bits/nvidia-uvm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-550/bits/nvidia-peermem.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-550/bits/nvidia.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-550/bits/nvidia-modeset.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-550/bits/nvidia-drm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-550srv
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-550srv/bits/nvidia-uvm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-550srv/bits/nvidia-peermem.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-550srv/bits/nvidia.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-550srv/bits/nvidia-modeset.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-550srv/bits/nvidia-drm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535srv
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535srv/bits/nvidia-uvm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535srv/bits/nvidia-peermem.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535srv/bits/nvidia.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535srv/bits/nvidia-modeset.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-535srv/bits/nvidia-drm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-565srv
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-565srv/bits/nvidia-uvm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-565srv/bits/nvidia-peermem.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-565srv/bits/nvidia.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-565srv/bits/nvidia-modeset.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-565srv/bits/nvidia-drm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-470srv
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-470srv/bits/nvidia-uvm.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-470srv/bits/nvidia-peermem.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-470srv/bits/nvidia.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-470srv/bits/nvidia-modeset.ko.sig
/usr/lib/modules/6.8.0-52-generic/kernel/nvidia-470srv/bits/nvidia-drm.ko.sig
/usr/lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-ngx.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-pkcs11-openssl3.so.535.183.01
/usr/lib/x86_64-linux-gnu/directfb-1.7-7/gfxdrivers/libdirectfb_nvidia.so
/usr/lib/x86_64-linux-gnu/libnvidia-vulkan-producer.so
/usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.535.183.01
/usr/lib/x86_64-linux-gnu/libGLESv2_nvidia.so.2
/usr/lib/x86_64-linux-gnu/libnvidia-fbc.so.1
/usr/lib/x86_64-linux-gnu/libnvidia-fbc.so
/usr/lib/x86_64-linux-gnu/libEGL_nvidia.so.0
/usr/lib/x86_64-linux-gnu/libnvidia-encode.so.1
/usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
/usr/lib/x86_64-linux-gnu/libnvidia-fbc.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-glsi.so.535.183.01
/usr/lib/x86_64-linux-gnu/gbm/nvidia-drm_gbm.so
/usr/lib/x86_64-linux-gnu/libnvidia-nvvm.so
/usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.535.183.01
/usr/lib/x86_64-linux-gnu/libGLESv1_CM_nvidia.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.535.183.01
/usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-allocator.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-ml.so
/usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.1
/usr/lib/x86_64-linux-gnu/libnvidia-pkcs11.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so.1
/usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-nvvm.so.4
/usr/lib/x86_64-linux-gnu/libnvidia-cfg.so
/usr/lib/x86_64-linux-gnu/libnvidia-vulkan-producer.so.535.183.01
/usr/lib/x86_64-linux-gnu/libGLESv2_nvidia.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-tls.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-api.so.1
/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1
/usr/lib/x86_64-linux-gnu/libGLESv1_CM_nvidia.so.1
/usr/lib/x86_64-linux-gnu/libnvidia-encode.so
/usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1
/usr/lib/x86_64-linux-gnu/libnvidia-egl-gbm.so.1
/usr/lib/x86_64-linux-gnu/libnvidia-egl-gbm.so.1.1.0
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-rtcore.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-allocator.so
/usr/lib/x86_64-linux-gnu/libnvidia-encode.so.535.183.01
/usr/lib/x86_64-linux-gnu/libEGL_nvidia.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-allocator.so.1
/usr/lib/x86_64-linux-gnu/nvidia
/usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
/usr/lib/x86_64-linux-gnu/nvidia/xorg/libglxserver_nvidia.so
/usr/lib/x86_64-linux-gnu/nvidia/xorg/libglxserver_nvidia.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so
/usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so
/usr/lib/x86_64-linux-gnu/libnvidia-nvvm.so.535.183.01
/usr/lib/x86_64-linux-gnu/libnvidia-ngx.so.1
/usr/lib/firmware/nvidia
/usr/lib/udev/rules.d/71-nvidia.rules
/usr/lib/libnvidia-gtk2.so.510.47.03
/usr/lib/nvidia
/usr/lib/systemd/system-sleep/nvidia
/usr/lib/systemd/system/nvidia-hibernate.service
/usr/lib/systemd/system/nvidia-resume.service
/usr/lib/systemd/system/nvidia-suspend.service
/usr/lib/systemd/system/nvidia-persistenced.service
/usr/lib/python3/dist-packages/NvidiaDetector/__pycache__/nvidiadetector.cpython-312.pyc
/usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py

Great, but also … OOPS … that definitely finds more than just the nvidia libs … the last lines are part of the ubuntu-drivers tool, you do not want to remove these in any case, else ubuntu-drivers will not work anymore …