I would like to try a different video display driver, but I'm not sure which one I'm currently using.
What's the simple way to see what driver my system is using currently?
I would like to try a different video display driver, but I'm not sure which one I'm currently using.
What's the simple way to see what driver my system is using currently?
Run
lshw -c video
, and look for the line with "configuration". The loaded driver is prefixed with "driver=". Example output:If you want more information about the loaded driver, run
modinfo
. Output ofmodinfo i915
:Note that
modinfo
works on filenames and aliases, not on module names. The majority of the modules will have the same name for the module name and filename, but there are exceptions. One of them isnvidia
.Another way of using these commands in order to show you the file name of the driver would be:
When loaded, the command
lsmod
will show thenvidia
module as loaded.modinfo nvidia
will error out. Why? Because there is no module named "nvidia", it's just an alias. To resolve the alias you can usemodprobe --resolve-alias nvidia
. Or to get the whole modinfo in one command:You could use the following command to see the currently used vga kernel driver:
Example output for an ATI / AMD graphic card:
if the open source Radeon driver is used:
if the proprietary Fglrx driver is used:
Complete Output with
lspci -nnk | grep -i vga -A3
Available kernel modules you can see with
lspci -nnk | grep -i vga -A3 | grep 'Kernel modules'
:Note: This does not work in every case!
For a SiS 65x/M650/740 PCI/AGP VGA Display Adapter, there is no "Kernel driver in use" line:
and the available
sisfb
kernel module is not the loaded driver, becauselsmod | grep sisfb
has no output (sisfb
is blacklisted). In this case alsosudo lshw -c video | grep Konfiguration
does not work. The output is:without any driver information.
Look for the line starting by " Driver:" You may have to install hwinfo package first.
The best information I've seen so far is in
nouveau
wiki. It can also help with non-nvidia cards: https://nouveau.freedesktop.org/wiki/Optimus/This is
xrandr --listproviders
andsudo cat /sys/kernel/debug/vgaswitcheroo/switch
. A lot of other useful info how to control power, outputs and offloading, etc.I have tried many ways without success, but this did work (Ubuntu 12.10):
One reason is that I have Nvidia Optimus card which makes things harder, so I added
optirun
before the command.Open a terminal and type:
This is a handy little program that can tell you all ya need to know about your PC.