How can I find what video driver is in use on my system?
Run lshw -c video
, and also seek the line with "configuration". The crammed vehicle driver is prefixed with "driver = ". Instance result :
*-display description: VGA compatible controller product: Core Processor Integrated Graphics Controller vendor: Intel Corporation physical id: 2 bus info: [email protected]:00:02.0 version: 02 width: 64 bits clock: 33MHz capabilities: vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:45 memory:fd000000-fd3fffff memory:d0000000-dfffffff ioport:1800(size=8)
If you desire even more details concerning the crammed vehicle driver, run modinfo
. Result of modinfo i915
:
filename: /lib/modules/2.6.35-24-generic/kernel/drivers/gpu/drm/i915/i915.ko
license: GPL and additional rights
description: Intel Graphics
author: Tungsten Graphics, Inc.
license: GPL and additional rights
... stripped information for saving space ...
depends: drm,drm_kms_helper,video,intel-agp,i2c-algo-bit
vermagic: 2.6.35-24-generic SMP mod_unload modversions
Note that modinfo
works with filenames and also pen names, out component names. Most of the components will certainly have the very same name for the component name and also filename, yet there are exemptions. Among them is nvidia
.
An additional means of making use of these commands in order to show you the documents name of the vehicle driver would certainly be :
modinfo -F filename `lshw -c video | awk '/configuration: driver/{print $2}' | cut -d= -f2`
When filled, the command lsmod
will certainly show the nvidia
component as filled. modinfo nvidia
will certainly mistake out. Why? Due to the fact that there is no component called "nvidia", it is simply an alias. To settle the alias you can make use of modprobe --resolve-alias nvidia
. Or to get the entire modinfo in one command :
modinfo $(modprobe --resolve-alias nvidia)
Related questions