So here’s what I have done so far:
- Blacklisted
nouveau
by doing:
sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
- Checked my device ID of the GPU. It is GeForce GT 720M which is listed as a legacy driver which is supported by the 390.xx drivers. So I removed
video-hybrid-intel-nvidia-prime
by running:
sudo mhwd -r pci video-hybrid-intel-nvidia-prime
- Installed the 390.xx drivers by doing:
sudo mhwd -i pci video-hybrid-intel-nvidia-390xx-bumblebee
But even after that, when i run:
inxi -G
I still get:
Graphics: Device-1: Intel Haswell-ULT Integrated Graphics driver: i915 v: kernel
Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] driver: N/A
Display: x11 server: X.Org 1.20.10 driver: intel resolution: 1366x768~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2) v: 4.5 Mesa 20.3.1
If I run mhwd -li
, I get:
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-hybrid-intel-nvidia-390xx-bumblebee 2020.11.30 false PCI
Warning: No installed USB configs!
- I tried configuring the settings by doing:
sudo nvidia-setting
and got a message that “You do not appear to be using the NVIDIA X driver. Please edit your X configuration file by running nvidia-xconfig
as root, and restart the X servver.”
So I ran:
sudo nvidia-xconfig
which gave me this message:
WARNING: Unable to locate/open X configuration file.
New X configuration file written to '/etc/X11/xorg.conf'
The file looks like this:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 390.138 (buildmeister@swio-display-x64-rhel04-01) Thu May 14 05:09:33 PDT 2020
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
- Then I rebooted my system and now when I run
sudo nvidia-settings
it still displays the same error message that I need to edit my X config. It also displays the following message in the console:
ERROR: NVIDIA driver is not loaded
ERROR: Error querying enabled displays on GPU 0 (Missing Extension).
ERROR: Error querying connected displays on GPU 0 (Missing Extension).
ERROR: nvidia-settings could not find the registry key file. This file should have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The application profiles will continue to work, but values cannot be
prepopulated or validated, and will not be listed in the help text. Please see the README for possible values and descriptions.
Is there an additional step I’m missing? Does the driver need to be turned on in some way before its useable? Please guide me.
Thanks