You are not logged in.

#1 2025-03-27 12:15:33

rinshimotsuki
Member
Registered: 2025-03-27
Posts: 4

nvidia: command not found

hi, i am a really really new linux user here (especially arch). i've noticed some packages are complaining of how "nvidia" module doesn't exists. i checked the command that people use for nvidia usually which is "nvidia" (using swayfx btw). i've been searching all over google and i either don't know the keywords/might be a bit dumb or no one has talked about it before

[miku@Elysia ~]$ nvidia
bash: nvidia: command not found
[miku@Elysia ~]$ nvidia-xconfig

WARNING: Unable to locate/open X configuration file.


WARNING: Unable to parse X.Org version string.


ERROR: Unable to write to directory '/etc/X11'.

[miku@Elysia ~]$ sudo nvidia-xconfig
[sudo] password for miku: 

WARNING: Unable to locate/open X configuration file.


WARNING: Unable to parse X.Org version string.

New X configuration file written to '/etc/X11/xorg.conf'

[miku@Elysia ~]$ sudo nvidia-xconfig

Using X configuration file: "/etc/X11/xorg.conf".

WARNING: Unable to parse X.Org version string.

Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

[miku@Elysia ~]$ nvidia
bash: nvidia: command not found

output for "sudo pacman -Q nvidia"

nvidia-dkms 570.133.07-1

let me know for more outputs as i don't really know what to give sorry ;-;

Last edited by rinshimotsuki (2025-03-27 12:19:17)


sorry for my stupidity

Offline

#2 2025-03-27 12:24:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,530

Re: nvidia: command not found

Did the module actually build when you installed the nvidia-dkms package? Did you pay attention to the optional deps of the dkms package?

Edit: and no, the nvidia command is not a thing, and forget about nvidia-xconfig. You'll likely want to remove that config it created

Last edited by Scimmia (2025-03-27 12:29:11)

Offline

#3 2025-03-27 12:29:55

rinshimotsuki
Member
Registered: 2025-03-27
Posts: 4

Re: nvidia: command not found

what..? i must be too new for this


sorry for my stupidity

Offline

#4 2025-03-27 12:30:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,530

Re: nvidia: command not found

Did you read what pacman told you? Did you read the dkms wiki page like the nvidia wiki page told you?

Offline

#5 2025-03-27 12:33:44

rinshimotsuki
Member
Registered: 2025-03-27
Posts: 4

Re: nvidia: command not found

i guess i shouldnt be using arch linux since i understand nothing. sorry!


sorry for my stupidity

Offline

#6 2025-03-27 15:51:11

seth
Member
Registered: 2012-09-03
Posts: 62,240

Re: nvidia: command not found

If you want to change that condition: https://deepl.com/ and do not enter random commands into a shell.

If you do not understand what an error message means and you cannot find the answer with google, ask.
If the answer to your question is in the top 5 google results, you'll hear about that.

Why are you trying to use the dkms package itf?
If you're a "really really new linux user", you're probably not running some custom kernel and there're precompiiled versions for the main and LTS kernel.

Online

Board footer

Powered by FluxBB