Nvidia Driver install

Hi

I’m just returning to linux and use to use Antergos.

I found a page about installing nvidia drivers but when I run nvidia-installer-check
it says command not found.

That said, I have a GeForce GTX 1660 SUPER SC ULTRA. So can any one kindly point me in the right direction?

Thanks in advance.

It should be installed by default, but you can install it manually.

$ pacman -Ss nvidia-installer
endeavouros/nvidia-installer 3-1
    Script to setup nvidia drivers in EndeavourOS
endeavouros/nvidia-installer-db 2.4.8-1
    Database for the script to setup nvidia drivers in EndeavourOS
endeavouros/nvidia-installer-dkms 3.3.8-1
    Script to setup nvidia drivers (dkms version) in EndeavourOS

You can install

  sudo pacman -S nvidia-installer-dkms

which provides you with the tools.
But because you don’t have it by default, is your system converted from Antergos, or what?

By the way, your card should be well supported.

2 Likes

Just did a fresh install yesterday, I had to install the nvidia-installer-dkms. I think that it may not be installed by default currently or in some cases it doesn’t install it. This was installed using the latest iso that was just released.

2 Likes

Did you install with the free or non-free boot option?

I took a look at the latest ISO from the 20th and nonfree is currently the default choice at the top. Do you mean you selected it, chose to install EOS, and still didn’t get the nVidia drivers?

Could you show the output of command

  lspci -k | grep -B2 "Kernel driver in use:" | grep -PA2 'VGA|Display|3D'

I usually install with free, because I have a hybrid laptop. I get a black screen boot with non-free due to the hybrid aspect. I wonder if that may be why it didn’t install by default on my system.

1 Like
lspci -k | grep -B2 "Kernel driver in use:" | grep -PA2 'VGA|Display|3D'
01:00.0 VGA compatible controller: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile] (rev a1)
	Subsystem: ASUSTeK Computer Inc. Device 18d1
	Kernel driver in use: nvidia
--
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c1)
	Subsystem: ASUSTeK Computer Inc. Device 18d1
	Kernel driver in use: amdgpu
--
06:00.7 Non-VGA unclassified device: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/Renoir Non-Sensor Fusion Hub KMDF driver
	Subsystem: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/Renoir Sensor Fusion Hub
	Kernel driver in use: i2c_amd_mp2

This is post configuration of my optimus laptop. Because I like to torture myself, I plan on doing another fresh install to test out some other display managers and a possible switch method for my ryzen/nvidia system.

Thanks for the info!
Because you have an that kind of graphics cards setup, I guess you didn’t start the install session with the Nvidia option? OK, you actually confirmed that already…
That could explain why you didn’t have nvidia-installer-dkms installed by default.

@manuel
I found these entries interesting.

Looks like this is one.

And the other:

There is a lot of interesting things about this computer. Like it throws the following error no matter what settings I try. I have no issues with the back light for either the display or keyboard once I have the correct packages installed.

systemd-backlight@backlight:acpi_video0.service loaded failed failed Load/Save Screen Backlight Brightness of backlight:acpi_video0

Here is my whole system info as well.

System:    Kernel: 5.8.10-arch1-1 x86_64 bits: 64 compiler: N/A 
           parameters: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=c3a253f2-3c00-43a0-b66d-f3bf4c7aa166 rw quiet 
           resume=UUID=9bb67969-3b97-4179-b96f-18a4ccc71c12 loglevel=3 nowatchdog 
           Desktop: Cinnamon 4.6.7 tk: GTK 3.24.23 dm: LightDM 1.30.0 Distro: EndeavourOS 
Machine:   Type: Laptop System: ASUSTeK product: Zephyrus G GU502DU_GA502DU v: 1.0 serial: <superuser/root required> 
           Mobo: ASUSTeK model: GU502DU v: 1.0 serial: <superuser/root required> UEFI: American Megatrends v: GU502DU.302 
           date: 03/26/2020 
Battery:   ID-1: BAT0 charge: 42.9 Wh condition: 61.0/76.0 Wh (80%) volts: 15.8/15.8 model: ASUSTeK ASUS Battery type: Li-ion 
           serial: N/A status: Charging 
CPU:       Info: Quad Core model: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen+ 
           family: 17 (23) model-id: 18 (24) stepping: 1 microcode: 8108102 L2 cache: 2048 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 36738 
           Speed: 1222 MHz min/max: 1400/2300 MHz boost: enabled Core speeds (MHz): 1: 1241 2: 1356 3: 1280 4: 1325 5: 1252 
           6: 1220 7: 1392 8: 1391 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: ASUSTeK driver: nvidia v: 455.23.04 
           alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:2191 
           Device-2: Advanced Micro Devices [AMD/ATI] Picasso vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 06:00.0 
           chip ID: 1002:15d8 
           Display: x11 server: X.Org 1.20.9 driver: amdgpu,nvidia display ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3") s-diag: 583mm (23") 
           Monitor-1: eDP-1-0 res: 1920x1080 hz: 120 dpi: 142 size: 344x194mm (13.5x7.6") diag: 395mm (15.5") 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: NVIDIA TU116 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           chip ID: 10de:1aeb 
           Device-2: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio vendor: ASUSTeK 
           driver: snd_hda_intel v: kernel bus ID: 06:00.1 chip ID: 1002:15de 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 06:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.8.10-arch1-1 
Network:   Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter vendor: AzureWave driver: rtl8821ce v: N/A 
           modules: 8821ce port: e000 bus ID: 03:00.0 chip ID: 10ec:c821 
           IF: wlan0 state: up mac: dc:f5:05:27:77:4b 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel 
           modules: r8168 port: d000 bus ID: 04:00.0 chip ID: 10ec:8168 
           IF: enp4s0 state: down mac: 04:d4:c4:6e:4a:b5 
Drives:    Local Storage: total: 942.70 GiB used: 9.25 GiB (1.0%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW512G8 size: 476.94 GiB block size: physical: 512 B logical: 512 B 
           speed: 31.6 Gb/s lanes: 4 serial: BTNH90150CPB512A rev: 002C scheme: GPT 
           ID-2: /dev/nvme1n1 vendor: Western Digital model: WDBRPG5000ANC-WRSN size: 465.76 GiB block size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: 1940D3800853 rev: 102000WD scheme: GPT 
Partition: ID-1: / raw size: 456.66 GiB size: 448.50 GiB (98.21%) used: 9.25 GiB (2.1%) fs: ext4 dev: /dev/nvme1n1p2 
Swap:      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 8.80 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme1n1p3 
Sensors:   System Temperatures: cpu: 48.6 C mobo: N/A 
           Fan Speeds (RPM): cpu: 4000 
           GPU: device: nvidia screen: :0.0 temp: 40 C device: amdgpu temp: 48.0 C 
Info:      Processes: 244 Uptime: 7m Memory: 15.38 GiB used: 1.56 GiB (10.2%) Init: systemd v: 246 Compilers: gcc: 10.2.0 
           Packages: pacman: 885 lib: 237 flatpak: 0 Shell: Bash v: 5.0.18 running in: gnome-terminal inxi: 3.1.06

I’m not sure what you mean. You have no issues with the backlighting for the keyboard or display if the right packages are installed?

Did you install them and it’s working now?

Edit: Sometimes using acpi_backlight=vendor as a kernel parameter works to solve the issue.

systemd-backlight@backlight:acpi_video0.service loaded failed failed Load/Save Screen Backlight Brightness of backlight:acpi_video0

Its been an error from day one when I got this pc over a year ago. I have yet to have it mess anything up, I have tried all the acpi-backlight parameters listed on the arch wiki and it never goes away. Just another interesting thing about this pc.

So you tried that one?

Edit: You could also try acpi_backlight=none

2 Likes

I guess I never tried to add the option of none, now that error is gone!!!

2 Likes

I also have this
Display: x11 server: X.Org 1.20.9 driver: amdgpu

and I also had

systemd-backlight@backlight:acpi_video0.service loaded failed failed Load/Save Screen Backlight Brightness of backlight:acpi_video0

Masking
systemd-backlight@backlight:acpi_video0.service
got rid off that failed message. See also:

If you have any issue you can also mask the service. That is another option. So you would just remove this if it gives any other problem and stop the service and mask it using systemctl as @pebcak has posted. Masking prevents the service from starting.

1 Like