lspci gives me the following information:$ lspci|grep VGA01:00.0 VGA compatible controller: NVIDIA Corporation GF104 [GeForce GTX 460] (rev a1)This is all correct, but this is generic name of the GPU. But Driver ManagerKDE Control Modulegives me much more interesting information: above all the options of drivers to install it saysNVIDIA Corporation N460GTX Cyclone 1GD5/OCThis is exactly the name the vendor (MSI) gave it.How can I find out such names without using KDE utilities? I'd prefer a console-based solution.In other words, where does the KCM take this name from?
How do I get vendor-given name of my video card?
linux;command line;hardware
You can use udevadm to get this information. For example on my system lspci gives me:# lspci|grep VGA  01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 650 Ti Boost] (rev a1)Querying udev instead I get:# udevadm info -q property -p /sys/bus/pci/devices/0000:01:00.0 DEVPATH=/devices/pci0000:00/0000:00:02.0/0000:01:00.0DRIVER=nvidiaID_MODEL_FROM_DATABASE=GK106 [GeForce GTX 650 Ti Boost] (GeForce GTX 650 Ti Boost TwinFrozr II OC)ID_PCI_CLASS_FROM_DATABASE=Display controllerID_PCI_INTERFACE_FROM_DATABASE=VGA controllerID_PCI_SUBCLASS_FROM_DATABASE=VGA compatible controllerID_VENDOR_FROM_DATABASE=NVIDIA CorporationMODALIAS=pci:v000010DEd000011C2sv00001462sd00002874bc03sc00i00PCI_CLASS=30000PCI_ID=10DE:11C2PCI_SLOT_NAME=0000:01:00.0PCI_SUBSYS_ID=1462:2874SUBSYSTEM=pciUSEC_INITIALIZED=22791556The ID_MODEL_FROM_DATABASE gives a more detailed description of the card.As for how to know the value to use for the -p argument, use the first part of the lspci output. For example if lspci showed 12:34.5, you would use /sys/bus/pci/devices/0000:12:34.5