Skip to content

Did you know?

lspci -k shows which driver your graphics card is using.

Check the "Kernel driver in use" line: nvidia, nouveau, amdgpu, i915 or xe. Seeing nouveau after installing NVIDIA? Reboot.

Explained

When graphics are slow or a second monitor won’t work on Linux, the first question is which driver is actually loaded. lspci lists PCI devices, and the -k option adds the kernel driver bound to each one:

lspci -k | grep -EA3 'VGA|3D|Display'

Read the Kernel driver in use line under the graphics device. nvidia means NVIDIA’s own driver is running, nouveau means the open-source NVIDIA driver is, amdgpu is AMD’s driver and i915 or xe is Intel’s. The Kernel modules line lists the drivers that could handle the device. Seeing nouveau right after you installed the NVIDIA driver usually means a reboot is still needed or the driver failed to build for the current kernel.

The grep pattern matters: some GPUs show up as “VGA compatible controller”, while many laptop graphics chips and data-centre cards appear as “3D controller” or “Display controller”.

Learn more

← All tech tips · Suggest a fix

Back to top