I am trying to run this command:
# rmmod nvidia
But I get:
ERROR: Module nvidia is in use
How can I know which process(es) is/are using the nvidia module?
There isn't a direct way that I know of to get the processes that are using a module.
You can try
You can also try
You may be able to remove the module using
As for the nvidia module, you should be able to remove it if you shut down X11.
worked for me.