Skip to main content
Topic: NVIDIA not detected (Read 356 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

NVIDIA not detected

Good morning. I'm a beginner and I'm having a difficult time getting Artix (runit) to detect my RTX 4060 Ti. I've tried hard to fix it on my own, following what is written on the Arch wiki, here, and elsewhere online, but I always eventually get to a point where I can no longer access any GUI and need to start over. This is my first post in any Linux community; it's not entirely clear to me what format posts should be in and how to ask about this with etiquette so if I've made a mistake, please remove this and direct me to guides.

As per alium's post, here is my command line output (by the way, I cannot curl to paste.artixlinux.org due to Invalid API Key, but I don't see a place to get an API key or how to use it):
# lspci -v (unrelated: can anyone tell me why I get lspci: Unable to load libkmod resources: error -2 error with lspci but only when piping? I have already reinstalled the relevant packages)
# dmesg
# lsusb
# lsmod
#cat /var/log/Xorg.0.log

This is all from artix-plasma-runit-20240823-x86_64.iso installed as is except for pacman configured and acpi=off in GRUB because boot gets stuck unrecoverable even by magic SysRq otherwise. I don't know how to read these pastes yet, so I'm not sure where to go from here. I appreciate any guidance and I will do my best to help you help me. I want to learn.

Re: NVIDIA not detected

Reply #1
This is my first post in any Linux community; it's not entirely clear to me what format posts should be in and how to ask about this with etiquette so if I've made a mistake, please remove this and direct me to guides.
You did great.

lspci shows the card is detected but dmesg shows no sign of the kernel module being loaded, ditto lsmod.

What is the output of
Code: [Select]
pacman -Q |grep nvidia
and
Code: [Select]
cat /etc/modprobe.d/* 
If no output say so.

Re: NVIDIA not detected

Reply #2
Hi, thank you.
Code: [Select]
pacman -Q |grep nvidia
no output
Code: [Select]
cat /etc/modprobe.d/* 
I see cat: '/etc/modprobe.d/*': No such file or directory, that's all. Part of the issue at this point is that I haven't installed/configured the kernel modules yet, isn't it? I'll follow your directions so that I don't end up with a CLI-only system again.

Re: NVIDIA not detected

Reply #3
You don't have the nvidia drivers installed
Code: [Select]
sudo pacman -Syu nvidia nvidia-utils nvidia-settings

If you intend to game on Linux then probably also
Code: [Select]
sudo pacman -Syu  lib32-nvidia-utils
That requires the lib32 section in /etc/pacman.conf to be enabled.
Worry about it once you hopefully have a gui desktop.
Reboot after installing the drivers.

Re: NVIDIA not detected

Reply #4
Thank you very much! I remember that I've done this before, but this is the first time that it's worked (maybe I needed lib32-nvidia-utils this whole time -- though I don't play games, I do use FFmpeg often, so I thought it wouldn't hurt to install now). My eyes are relieved that my monitor now displays at the correct resolution and refresh rate, but certain actions like moving and maximizing windows is very laggy. Where do I go from here to make sure everything is working the way it's meant to?

P.S. I have many other problems on Artix (Linux in general, actually - most issues I have on Artix are issues I have on all other distributions) but I will save them for future topics. They seem a bit basic to me but I've had as much difficulty solving them as I have with this issue. Is there a more appropriate forum section for such questions, or can I just post them in this section as I run into them again?

Re: NVIDIA not detected

Reply #5
Glad you got it working.
Just pick whichever forum section seems most appropriate. There is some overlap and it doesn't really matter much.
The main thing to provide quality info, which you did.

Welcome to Artix.

Re: NVIDIA not detected

Reply #6
Thanks again. Good to know. One last question for this topic: is controlling the resolution at boot (i.e. motherboard logo, GRUB menu) possible? When I used to use Windows, my logo would be the correct size, but when I set Linux as my default boot option, and now that Linux is my only boot option, both my logo and GRUB is at a very small, blurry, stretched out (wrong aspect ratio) resolution. I am not sure what to look up to find this out.