lspci | grep -i "vga" extracts and displays your system's graphics
hardware details, specifically identifying older types of cards/controllers (see below).
lspci: Lists all PCI (Peripherial Component Interconnect) buses and devices attached
to your motherboard (such as GPUs, audio cards, and network adapters).
| grep -i "vga": Pipes the massive list to grep, searches case-insensitively
(-i) for the word "vga" (which isolates graphics controllers), and prints the matching linedetails.
01:00.0 VGA compatible controller: NVIDIA Corporation GA106 [GeForce RTX 3060] (rev a1)
01:00.0 (Bus:Device.function)
VGA compatible controller
NVIDIA Corporation GA106 [GeForce RTX 3060]
(rev a1)
lspci -k |grep -iA2 -E "vga|3d"
lspci | grep -iE "vga|3d|display"
lspci -k |grep -iA2 -E "vga|3d"
glxinfo | grep -iE "opengl vendor|opengl renderer"