How can I test is the NVIDIA closed driver running or the noveau open source one?

Hi

I have successfully completed the 3 steps in the Easy way to get NVIDIA drives at the https://en.opensuse.org/SDB:NVIDIA_drivers
I have used the zypper inr option and it worked fine. After reboot graphics is still working but I have not noticed any significant improvement in rendering 3D objects.
The Easy way to get NVIDIA drives at the https://en.opensuse.org/SDB:NVIDIA_drivers does not say anything to remove the noveau driver. Don’t know is it loaded in the memory. How can I test is the NVIDIA closed driver running or the noveau open source one?

In Yast the following packages are displayed as installed:
libdrm_nouveau2
nvidia-computeG04
nvidia-gfxG04-kmp-default
nvidia-glG04
x11-video-nvidiaG04
xf86-video-nv
xf86-video-nouveau

Thank you!
Marek

On 03/11/2016 06:26 PM, keevvee wrote:
>
> Hi
>
> I have successfully completed the 3 steps in the Easy way to get NVIDIA
> drives at the https://en.opensuse.org/SDB:NVIDIA_drivers
> I have used the zypper inr option and it worked fine. After reboot
> graphics is still working but I have not noticed any significant
> improvement in rendering 3D objects.
> The Easy way to get NVIDIA drives at the
> https://en.opensuse.org/SDB:NVIDIA_drivers does not say anything to
> remove the noveau driver. Don’t know is it loaded in the memory. How can
> I test is the NVIDIA closed driver running or the noveau open source
> one?
>
> In Yast the following packages are displayed as installed:
> libdrm_nouveau2
> nvidia-computeG04
> nvidia-gfxG04-kmp-default
> nvidia-glG04
> x11-video-nvidiaG04
> xf86-video-nv
> xf86-video-nouveau

If you have the Nvidia driver loaded you can run /usr/bin/nvidia-settings

You can run glxinfo | grep OpenGL in terminal. Example below, First without nvidia, and second with

no_more_mr_win_guy@linux-36eq:~> glxinfo | grep OpenGL
**OpenGL** vendor string: Intel Open Source Technology Center
**OpenGL** renderer string: Mesa DRI Intel(R) Ivybridge Mobile  
**OpenGL** core profile version string: 3.3 (Core Profile) Mesa 11.0.8
**OpenGL** core profile shading language version string: 3.30
**OpenGL** core profile context flags: (none)
**OpenGL** core profile profile mask: core profile
**OpenGL** core profile extensions:
**OpenGL** version string: 3.0 Mesa 11.0.8
**OpenGL** shading language version string: 1.30
**OpenGL** context flags: (none)
**OpenGL** extensions:
**OpenGL** ES profile version string: **OpenGL** ES 3.0 Mesa 11.0.8
**OpenGL** ES profile shading language version string: **OpenGL** ES GLSL ES 3.00
**OpenGL** ES profile extensions:


no_more_mr_win_guy@linux-36eq:~> optirun glxinfo | grep OpenGL
**OpenGL** vendor string: NVIDIA Corporation
**OpenGL** renderer string: GeForce GTX 660M/PCIe/SSE2
**OpenGL** core profile version string: 4.4.0 NVIDIA 352.63
**OpenGL** core profile shading language version string: 4.40 NVIDIA via Cg compiler
**OpenGL** core profile context flags: (none)
**OpenGL** core profile profile mask: core profile
**OpenGL** core profile extensions:
**OpenGL** version string: 4.5.0 NVIDIA 352.63
**OpenGL** shading language version string: 4.50 NVIDIA
**OpenGL** context flags: (none)
**OpenGL** profile mask: (none)
**OpenGL** extensions:

Thank you for quick reply. I will test both options tomorrow!

On 03/11/2016 06:26 PM, keevvee wrote:
>
> Hi
>
> I have successfully completed the 3 steps in the Easy way to get NVIDIA
> drives at the https://en.opensuse.org/SDB:NVIDIA_drivers
> I have used the zypper inr option and it worked fine. After reboot
> graphics is still working but I have not noticed any significant
> improvement in rendering 3D objects.
> The Easy way to get NVIDIA drives at the
> https://en.opensuse.org/SDB:NVIDIA_drivers does not say anything to
> remove the noveau driver. Don’t know is it loaded in the memory. How can
> I test is the NVIDIA closed driver running or the noveau open source
> one?
>
> In Yast the following packages are displayed as installed:
> libdrm_nouveau2
> nvidia-computeG04
> nvidia-gfxG04-kmp-default
> nvidia-glG04
> x11-video-nvidiaG04
> xf86-video-nv
> xf86-video-nouveau
>
>
> Thank you!
> Marek
>

Another way is too look at lsmod and see what module is loaded.

OK. Thank you! Good news!

First of all am I able to run the /usr/bin/nvidia-settings

The glxinfo | grep OpenGL returns


cygi@linux-ktp1:~> glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro 2000/PCIe/SSE2
OpenGL core profile version string: 4.4.0 NVIDIA 361.28
OpenGL core profile shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.0 NVIDIA 361.28
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 361.28
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

And finally the lsmod found no libdrm while the following were found:


Module                  Size  Used by
nvidia_modeset        745472  3 
nvidia_uvm            606208  0 
nvidia              10043392  60 nvidia_modeset,nvidia_uvm
drm                   385024  3 nvidia

While its obvious that you’re using the nvidia stack, I point out that what you wrote here by no means has or provides any indication to the former for the following reasons:

  • lsmod lists the kernel
    modules (i.e. drivers) that are currently loaded into system memory - libdrm is a middleman userspace
    library

Hi Tyler_K,

Thank you for correction.

I’m reading now the documentation of the Nouveau (some parts run in kernel, some run in the user space - I’ve picked the wrong one).