How can I test/troubleshoot Nvidia drivers?

Hi, I have a Dell XPS with a graphics card Nvidia GeForce GTX 1050. I had some issues with the nouveau drivers, so I installed the proprietary Nvidia drivers following the “easy” approach here ( https://en.opensuse.org/SDB:NVIDIA_drivers#Using_zypper ). The problems have gone, so I’d say that it worked.

Still, I would like to know for sure that this is working, and I have no idea how to double check it. For instance, in my old days I remember using glxinfo, glxgears and so on. What are the equivalent nowadays? Do you know of some simple application/game that I can use to benchmark the 3D acceleration somehow?

Something that puzzles me, and perhaps some guru can explain, is why I still see the intel drivers in lspci (I have removed non-relevant stuff):

# lspci
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 3D controller: NVIDIA Corporation Device 1c8d (rev a1)

Is this how it should be? What is the intel driver doing there? And a related question, how can I find out which kernel modules am I using related to graphics? I do not see anything related to nvidia in lsmod

I am aware my question are rather general and unspecific, but although I have the basis to understand all this, I find that there are some basic details that are missing in the documentation I could find online.

Thank you very much!

Same now but you have to install Mesa-demo-x

Most if not all consumer Intel CPU also have a GPU built in.

Is this a notebook? if so you may need bumblebee

If not turn off the Intel GPU in the BIOS/UEFI

first check that the module is load well into the kernel:

lspci -v | egrep  "3D|VGA" -A20

for test :

DRI_PRIME=1 glxinfo | grep "OpenGL vendor string"

on my laptop, with nvidia driver answer are “OpenGL vendor string: Intel Open Source Technology Center” but if i test

DRI_PRIME=1 glxspheres

the performance tells me that I’m on the Nvidia card

source : https://nouveau.freedesktop.org/wiki/Optimus/