inxi is available in just about every distro's repository--it's an extremely useful system information script.
For graphics info, try "inxi -G":
Code: Select all
Graphics: Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: N/A
Display: x11 server: X.Org 1.20.10 driver: intel resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.3.4
This is an Optimus laptop, I'm a bit behind the times and use Bumblebee instead of PRIME to use the Nvidia card with the proprietary (so no Mesa) driver:
Code: Select all
$ optirun inxi -G
Graphics: Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: nvidia v: 460.73.01
Display: x11 server: X.Org 1.20.10 driver: intel resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 460.73.01
⌁