You are not logged in.

#1 2013-09-30 14:14:03

nashod
Member
Registered: 2012-03-23
Posts: 40

nvidia command not found?

Ok, so I'm unsure this belongs here but it seemed like the most approprite section and I'm sorry if it's not.

So I recently reformated my pc to arch and installed the nouveau driver, then I decided I wanted play dota 2 and decided to uninstall nouveau and install nvidia drivers, until now it's all fine and dandy but the problem is I'm trying to run nvidia-xconfig and I get the following error message :

WARNING: Unable to locate/open X configuration file.

sh: pkg-config: command not found

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


and so I'm baffeled, I solved some problems that arose during the format process and post installation of arch using the wiki but I don't know where to go from here about this one.

Thanks for any and all help.

Last edited by nashod (2013-09-30 14:32:55)

Offline

#2 2013-09-30 14:33:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: nvidia command not found?

Are you sure it's not 'nvidia-xconfig'? There's no space before the dash.


Edit: Typo.

Last edited by karol (2013-09-30 14:36:02)

Offline

#3 2013-09-30 14:34:57

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: nvidia command not found?

For future reference:

~ > ls /bin | grep nvidia
nvidia-bug-report.sh
nvidia-debugdump
nvidia-settings
nvidia-smi
nvidia-xconfig

Offline

#4 2013-09-30 14:37:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: nvidia command not found?

Are you running nvidia-xconfig as root or with sudo?

Have you tried installing pkg-config or the whole base-devel?


@skottish
grepping the output of ls? Yuck ;-)
The wiki tells you which commands to run.

Offline

#5 2013-09-30 14:45:37

nashod
Member
Registered: 2012-03-23
Posts: 40

Re: nvidia command not found?

ueah no space before the dash, I installed pkg-config but now I get this warrning:

Unable to locate/open X configuration file.

Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
New X configuration file written to '/etc/X11/xorg.conf'

so at least I got the config file, at least trying to solve this problem is turning out to be a bit of a learning experience

edit: still steam is giving me an error about my system not using direct rendering, I tried adding myself to the video group, checking other solutions now

edit 2: ok managed to get that so all that is left is getting the PKG_CONFIG_PATH thing sorted out, any ideas?

Last edited by nashod (2013-09-30 14:57:36)

Offline

#6 2013-09-30 14:57:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: nvidia command not found?

You have to install xorg-server and friends. https://wiki.archlinux.org/index.php/Xorg


Edit: Post the command and the output you get. I don't know where this PKG_CONFIG_PATH error is coming from.

Last edited by karol (2013-09-30 14:58:48)

Offline

#7 2013-09-30 14:59:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: nvidia command not found?

Moving to Newbie Forum

See the Stickied topic for the System Administration subforum https://bbs.archlinux.org/viewtopic.php?id=163496

Last edited by ewaller (2013-09-30 15:01:16)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#8 2013-09-30 15:38:35

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: nvidia command not found?

I don't think your pkg-config is a problem. These days, the xorg.conf file isn't always created, as the X server can usually do a good job without it. So when you first run nvidia-settings, you may not have an xorg.conf file, so it tries to find one using pkg-config. But if that isn't installed, then it can't find it at all, which, as I said, isn't a problem. Now that you have saved one off (you'll need to run nvidia-settings as root in order to save it), you shouldn't be seeing this error again anyway.

Offline

Board footer

Powered by FluxBB