I have a system with both an Intel UHD Graphics Card and a NVIDIA GPU. However, I believe my system is not using (for videogames for example) the NVIDIA GPU, a much better one, for processing.
Apart from my system info, I'm sending you the output of the nvidia-settings command:
nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason:Topic automatically closed 6 months after creation. New replies are no longer allowed.
hcentaur13 wrote: ⤴Fri Nov 30, 2018 12:23 pm
Linux uses the open source driver in default. Open the driver manager and it lists the commerial nvidia driver to install.
I understand but there are multiple drivers displayed (check image below). However in video games, for example, I really don't think it's using the NVIDIA card. And if this NVIDIA driver is active in driver manager shouldn't nvidia-settings prompt differently?
Is the monitor connected to the graphics card or in the back of the Computers IO panel? if its on the graphics card it cannot be using the Intel graphics. it can in fact be using a software graphics rendering mode.
battlenut wrote: ⤴Fri Nov 30, 2018 8:37 pm
Is the monitor connected to the graphics card or in the back of the Computers IO panel? if its on the graphics card it cannot be using the Intel graphics. it can in fact be using a software graphics rendering mode.
lspci -nnk | egrep -A3 -i "3D|VGA"
ls /lib/modules/`uname -r`/kernel/drivers/char/drm/
ls /etc/modprobe.d
dpkg -l | grep -i nvidia
mokutil --sb-state
The forum reply window's “C” button (In-line code display) should be used for short lines or short sections in a line. It will cut off long lines, so use the </> button (code display window) instead. Some of your inxi output was cut off, but nothing of significance.
dpkg -l | grep -i nvidia
rc cuda-nsight-compute-10-0 10.0.130-1 amd64 NVIDIA Nsight Compute
rc cuda-nvtx-10-0 10.0.130-1 amd64 NVIDIA Tools Extension
ii libaccinj64-9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA ACCINJ Library (64-bit)
ii libcublas9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA cuBLAS Library
ii libcudart9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA CUDA Runtime Library
ii libcufft9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA cuFFT Library
ii libcufftw9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA cuFFTW Library
ii libcuinj64-9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA CUINJ Library (64-bit)
ii libcurand9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA cuRAND Library
ii libcusolver9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA cuSOLVER Library
ii libcusparse9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA cuSPARSE Library
ii libnppc9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Performance Primitives core runtime library
ii libnppial9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Performance Primitives lib for Image Arithmetic and Logic
ii libnppicc9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Performance Primitives lib for Image Color Conversion
ii libnppicom9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Performance Primitives lib for Image Compression
ii libnppidei9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Performance Primitives lib for Image Data Exchange and Initialization
ii libnppif9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Performance Primitives lib for Image Filters
ii libnppig9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Performance Primitives lib for Image Geometry transforms
ii libnppim9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Performance Primitives lib for Image Morphological operations
ii libnppist9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Performance Primitives lib for Image Statistics
ii libnppisu9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Performance Primitives lib for Image Support
ii libnppitc9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Performance Primitives lib for Image Threshold and Compare
ii libnpps9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Performance Primitives for signal processing runtime library
ii libnvgraph9.1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Graph Analytics library (nvGRAPH)
ii libnvidia-cfg1-410:amd64 410.78-0ubuntu1~gpu18.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-410 410.78-0ubuntu1~gpu18.04.1 all Shared files used by the NVIDIA libraries
rc libnvidia-compute-396:amd64 396.54-0ubuntu0~gpu18.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-410:amd64 410.78-0ubuntu1~gpu18.04.1 amd64 NVIDIA libcompute package
ii libnvidia-decode-410:amd64 410.78-0ubuntu1~gpu18.04.1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-410:amd64 410.78-0ubuntu1~gpu18.04.1 amd64 NVENC Video Encoding runtime library
ii libnvidia-fbc1-410:amd64 410.78-0ubuntu1~gpu18.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-410:amd64 410.78-0ubuntu1~gpu18.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-410:amd64 410.78-0ubuntu1~gpu18.04.1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii libnvrtc9.1:amd64 9.1.85-3ubuntu1 amd64 CUDA Runtime Compilation (NVIDIA NVRTC Library)
ii libnvtoolsext1:amd64 9.1.85-3ubuntu1 amd64 NVIDIA Tools Extension Library
ii libnvvm3:amd64 9.1.85-3ubuntu1 amd64 NVIDIA NVVM Library
rc nvidia-compute-utils-396 396.54-0ubuntu0~gpu18.04.1 amd64 NVIDIA compute utilities
ii nvidia-compute-utils-410 410.78-0ubuntu1~gpu18.04.1 amd64 NVIDIA compute utilities
ii nvidia-cuda-dev 9.1.85-3ubuntu1 amd64 NVIDIA CUDA development files
ii nvidia-cuda-toolkit 9.1.85-3ubuntu1 amd64 NVIDIA CUDA development toolkit
rc nvidia-dkms-396 396.54-0ubuntu0~gpu18.04.1 amd64 NVIDIA DKMS package
ii nvidia-dkms-410 410.78-0ubuntu1~gpu18.04.1 amd64 NVIDIA DKMS package
ii nvidia-driver-410 410.78-0ubuntu1~gpu18.04.1 amd64 NVIDIA driver metapackage
rc nvidia-kernel-common-396 396.54-0ubuntu0~gpu18.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-common-410 410.78-0ubuntu1~gpu18.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-410 410.78-0ubuntu1~gpu18.04.1 amd64 NVIDIA kernel source package
ii nvidia-opencl-dev:amd64 9.1.85-3ubuntu1 amd64 NVIDIA OpenCL development files
ii nvidia-prime 0.8.8.2 all Tools to enable NVIDIA's Prime
ii nvidia-prime-applet 1.0.7 all An applet for NVIDIA Prime
ii nvidia-profiler 9.1.85-3ubuntu1 amd64 NVIDIA Profiler for CUDA and OpenCL
ii nvidia-settings 415.18-0ubuntu0~gpu18.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-410 410.78-0ubuntu1~gpu18.04.1 amd64 NVIDIA driver support binaries
ii xserver-xorg-video-nvidia-410 410.78-0ubuntu1~gpu18.04.1 amd64 NVIDIA binary Xorg driver
For Optimus systems, which you have, the Nvidia driver should not be downloaded from Nvidia’s website because the nvidia-installer will overwrite the OpenGL libraries used by the Intel GPU, resulting in software rendering when the Intel GPU is selected.
The info you posted shows you did that. Did you remove it?
Secure Boot is enabled, which will prevent the Nvidia driver from loading. You should temporarily disable it in the BIOS. Once the Nvidia driver has been shown to load correctly, then I will give you info on how to re-enable Secure Boot.
You should then select the Nvidia GPU by using the nvidia-prime applet. After rebooting, use this command and post the output: inxi -Gx
roblm wrote: ⤴Sun Dec 02, 2018 7:56 pm
For Optimus systems, which you have, the Nvidia driver should not be downloaded from Nvidia’s website because the nvidia-installer will overwrite the OpenGL libraries used by the Intel GPU, resulting in software rendering when the Intel GPU is selected.
The info you posted shows you did that. Did you remove it?
So I should remove the Nvidia driver? I did not understand this part.
You previously installed a Nvidia driver which you downloaded from Nvidia’s website. Remove only that driver, if it has not already been removed, by adding --uninstall to the .run file. For example:
roblm wrote: ⤴Mon Dec 03, 2018 2:39 pm
You previously installed a Nvidia driver which you downloaded from Nvidia’s website. Remove only that driver, if it has not already been removed, by adding --uninstall to the .run file. For example:
The inxi output shows the Nvidia driver is now loading correctly.
If you want to re-enable Secure Boot for an added layer of security, then the Nvidia kernel modules that were built during the Nvidia driver installation will need to be signed.
Many distributions require modules to be signed with a trusted key when loaded into kernels running on UEFI systems with Secure Boot enabled.
Go down to my second post on page 2 in this topic, under the section: How to install the Nvidia driver with Secure Boot enabled; for drivers installed using Driver Manager, apt or Synaptic:
roblm wrote: ⤴Tue Dec 04, 2018 8:06 am
The inxi output shows the Nvidia driver is now loading correctly.
If you want to re-enable Secure Boot for an added layer of security, then the Nvidia kernel modules that were built during the Nvidia driver installation will need to be signed.
Many distributions require modules to be signed with a trusted key when loaded into kernels running on UEFI systems with Secure Boot enabled.
Go down to my second post on page 2 in this topic, under the section: How to install the Nvidia driver with Secure Boot enabled; for drivers installed using Driver Manager, apt or Synaptic: