as you can see apparently no drivers are available for my nvidia card
i checked with nvidia-smi and i get this NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
i tried to install the drivers with sudo nvidia-installer-dkms and it seems to work i mean i don’t get any errors but inxi -G shows me the same result so i tried to install the drivers from the nvidia website with the .run file but still i do get some errors and nvidia-smi still fails
any ideas on what might be the problem ? thank you
That should be relatively new card.
Did you follow guide on arch wiki? link to wiki
This is a bad thing to do because you may be missing some dependencies.
The best way to do it is just pacman -Syu nvidia (or nvidia-lts if you use lts linux kernel). That should be pretty much the most important part. The wiki then list bunch of other steps which you may or may not have to do. In my experience the installing nvidia package was enough for me.
I am not sure how problematic it will be for you now since those installers you tried might left some junk files behing which may interfere with nvidia package in the repo.
yes i read those and tried the nvidia-installer-check and my card is supported and nvidia-installer-dkms seems to work but i still get driver: N/A from inxi -G
i already tried to install the nvidia package but it didn’t do much tho i did that after all what i stated before, should i try to make a fresh install and use only the arch wiki ?
You have a hybrid setup yes? So even with the nvidia drivers installed, your system will still default to booting into the Intel graphics. You have to tell your system to boot into the Nvidia GPU. Typically with hybrid, aka optimus setups, you can either use optimus-manager in the AUR OR my personal recommendation as it’s far simpler and easier to deal with is envycontrol which is also in the AUR
Once you have either of those setup (note: don’t use both, they will conflict with each other), then you’ll be one step closer to using your Nvidia GPU by default.
yes but even if i have a dual gpu setup drivers should be installed no ? i mean i shouldn’t get driver: N/A
and what about the output of nvidia-smi NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
i think i might try that if nothing gets the job done, it’s really annoying because everything is working fine beside the nvidia card thank you for your help
From your description, it seems you have done everything well and your system should work.
Since your system doesn’t work, either your description is not complete, or your system has something irregular.
Either way, we need more actual info, like terminal input and output from your terminal commands (including any error messages) and more detailed logs, like
I meant to add pacman -Qs nvidia to my post, thanks for this! This shows any user what is already installed on their system with the search term ‘nvidia’
@nirvanaK As an example to the command above, your setup should include something similar to the packages I have installed, but not all of them (like nvtop, nvidia-hook, & envycontrol I installed myself):
[scott@EndeavourOS ~]$ pacman -Qs nvidia
local/egl-wayland 2:1.1.10-1
EGLStream-based Wayland external platform
local/envycontrol 2.1.1-1
Easy GPU switching for Nvidia Optimus laptops under Linux
local/lib32-libvdpau 1.5-1
Nvidia VDPAU library
local/lib32-nvidia-utils 515.65.01-1
NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-1
Nvidia VDPAU library
local/libxnvctrl 515.65.01-1
NVIDIA NV-CONTROL X extension
local/nvidia-dkms 515.65.01-2
NVIDIA drivers - module sources
local/nvidia-hook 1.0-1
pacman hook for nvidia
local/nvidia-installer-common 1.3-1
Common scripts for nvidia-installer-dkms and nvidia-inst
local/nvidia-installer-db 2.5.8-1
Database for the script to setup nvidia drivers in EndeavourOS
local/nvidia-installer-dkms 3.5-1
Script to setup nvidia drivers (dkms version) in EndeavourOS
local/nvidia-settings 515.65.01-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 515.65.01-2
NVIDIA drivers utilities
local/nvtop 2.0.2-1
An htop like monitoring tool for AMD and NVIDIA GPUs
Graphics card (id: 25a2):
- Is supported by the nvidia-dkms driver.
- To install a driver for this card, you can use e.g. nvidia-installer-dkms.
so i run nvidia-installer-dkms everything works fine i reboot and install optimus-manager same problem as envycontrol i could not boot so i had to remove the package and btw still i have the same output for nvidia-smi and inxi -G and here is the output of journalctl -b -p3 --no-pager --no-hostname after all that
Aug 08 21:52:33 kernel: ACPI BIOS Error (bug): Failure creating named object [\_TZ.ETMD], AE_ALREADY_EXISTS (20211217/dswload2-326)
Aug 08 21:52:33 kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20211217/psobject-220)
Aug 08 21:52:33 kernel: ACPI Error: AE_NOT_FOUND, While resolving a named reference package element - \_SB_.PC00.LPCB.H_EC.SEN2 (20211217/dspkginit-438)
Aug 08 21:52:33 kernel: ACPI Error: AE_NOT_FOUND, While resolving a named reference package element - \_SB_.PC00.LPCB.H_EC.CHRG (20211217/dspkginit-438)
Aug 08 21:52:33 kernel: ACPI Error: AE_NOT_FOUND, While resolving a named reference package element - \_SB_.PC00.LPCB.H_EC.SEN4 (20211217/dspkginit-438)
Aug 08 21:52:34 kernel:
Aug 08 21:52:34 kernel: traps: Missing ENDBR: _nv011437rm+0x0/0x10 [nvidia]
Aug 08 21:52:34 kernel: kernel BUG at arch/x86/kernel/traps.c:252!
Aug 08 21:52:34 systemd[1]: Failed to start Load Kernel Modules.
Aug 08 21:52:35 kernel: spi-nor spi0.0: unrecognized JEDEC id bytes: c2 75 18 c2 75 18
Aug 08 21:52:35 kernel: Bluetooth: hci0: Wrong op received 1 expected 6
Aug 08 21:52:35 kernel: Bluetooth: hci0: Failed to send wmt func ctrl (-5)
Aug 08 21:52:35 kernel: ucsi_acpi USBC000:00: PPM init failed (-110)
Aug 08 21:52:38 kwin_x11[682]: kwin_xkbcommon: XKB: couldn't find a Compose file for locale "en_AG" (mapped to "en_AG")
Aug 08 21:52:39 wpa_supplicant[602]: bgscan simple: Failed to enable signal strength monitoring
Aug 08 21:52:40 pipewire[1416]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Value too large for defined data type
Aug 08 21:52:40 kernel: usb 3-7: Failed to query (GET_MIN) UVC control 6 on unit 2: -32 (exp. 2).
Aug 08 21:52:40 pipewire[1416]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Value too large for defined data type
Aug 08 21:52:40 kernel: usb 3-7: Failed to query (GET_DEF) UVC control 1 on unit 2: -32 (exp. 2).
Aug 08 21:55:34 systemd-udevd[315]: 0000:01:00.0: Worker [350] processing SEQNUM=3439 killed
Yes using nano add the kernel parameter to the existing default grub command line in /etc/default/grub. Then update grub with sudo grub-mkconfig -o /boot/grub/grub.cfg