Am I using the Nouveau driver or the proprietary NVIDIA driver?
For a long time, I have used the NVIDIA proprietary driver. In Additional Drivers the NVIDIA driver was activated. However, I just "Removed" that driver because I would like to use the Nouveau driver for other reasons. Yet, I have reason to believe I am still using the NVIDIA driver as the output of modprobe -l
is as follows:
$ modprobe -l | grep 'nvidia'
kernel/drivers/video/nvidia/nvidiafb.ko
How do I really determine what driver I am using, and how to I enable Nouveau?
nvidiafb
is a framebuffer driver inside the Linux Kernel. Is not the proprietary module from nvidia. (nvidia.ko).
If you want to see the short description of the module, issue the following command in terminal
modinfo nvidiafb | grep description
If you want to read more a about framebuffer , read the FrambeBuffer on Ubuntu Wiki.
You can see if some nvidia package is installed by applying the following command
dpkg -l | grep -i nvidia
If you want to search if the nouveau module is loaded you can apply
lsmod | grep nouveau
If nvidia restricted module was loaded , then the nouveau module Cannot be loaded too (conflict each other).
Nvidia's (restricted) module name is nvidia
. Not nvidiafb or something similar.
Also you can search from Additional Drivers page . In example below , no proprietary drivers are in use
And another command that can show you, which driver is in use:
lspci -nnk | grep -iA2 vga
There you will see a line like
kernel driver in use: *****
If it's nvidia , then you have nvidia driver installed and in use. If it's nouveau, then you don't.
You can use excellent inxi
tool. Install it from repository :
sudo apt install inxi
or from github : https://github.com/smxi/inxi
Then do a query by :
$ inxi -Gx
Graphics: Card: NVIDIA GP104 [GeForce GTX 1080] bus-ID: 01:00.0
Display Server: X.Org 1.19.5 driver: nvidia Resolution: [email protected]
OpenGL: renderer: GeForce GTX 1080/PCIe/SSE2 version: 4.5.0 NVIDIA 390.25 Direct Render: Yes
At the third line You can see string NVIDIA 390.25
which means that I am using Nvidia Binary driver.
This is an old question but here is a reliable answer that you can count on in case someone else is looking for the same answer.
Run the following command:
sudo lshw -class video | grep driver=
Sample output:
configuration: driver=nouveau latency=0
If you want to get more details, run:
sudo lshw -class video
Here is a sample output:
*-display
description: VGA compatible controller
product: GP106M [GeForce GTX 1060 Mobile 6GB]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:124 memory:db000000-dbffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:e000(size=128) memory:c0000-dffff