LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   nvidia driver opensuse 12.2 kde (https://www.linuxquestions.org/questions/linux-newbie-8/nvidia-driver-opensuse-12-2-kde-4175430561/)

jonnynitro138 10-04-2012 04:41 PM

nvidia driver opensuse 12.2 kde
 
First I have a nvidia graphics card gtx 460 v2. I installed the nvidia-settings Configuration Tool for nVidia GPUs. When I try to use this program I get an error message; it reads:
"You do not appear to be using the NVIDIA X driver.Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server."
My question is how do I do this?
Thank you
Jonnynitro138

suicidaleggroll 10-04-2012 04:47 PM

Have you installed the nvidia driver yet?

guyonearth 10-04-2012 05:01 PM

Are you running it as root? You have to run it as root for it to work right. You also have to have the nvidia driver installed and activated, just installing nvidia-settings won't do that.

jonnynitro138 10-05-2012 11:48 PM

reply to reply
 
I don't think that I am running it as root all I did was: "zypper install x11-video-nvidia" (for the driver), and then: 'Configuration Tool for nVidia GPUs' through the apper. This is all that I know what to do if I am missing something a step or 6 all help would be greatly appreciated.
Thank you
Jonnynitro138

guyonearth 10-06-2012 12:15 AM

You have to run the configuration tool as root or the settings will not be written to xorg. If you are prompted for a password, that is why.

jonnynitro138 10-06-2012 01:06 AM

reply to reply
 
How do I run the config. tool ass root? I only know how to access the 'nvidia settings' through the Kick Off Application Launcher, I just type "nvidia" in the search bar then select 'nvidia setting', and thats when I get the message, "You do not appear to be using the NVIDIA X driver.Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server."
Thank you
Jonnynitro138
Sorry I'm a super newbie at this.

msxenix 10-06-2012 01:29 AM

in a terminal try typing

sudo nvidia-xconfig

It should ask for your password.

Knightron 10-06-2012 03:28 AM

OK mate, I'm assuming you knew what you were doing when you installed the nvidia drivers and you have actually installed it. do the following.
Code:

open yast.
go down and select 'system services'.
in the new window, at the top select 'expert mode'
the window has now changed the content and just below expert mode where you just clicked, you can change your 'default runlevel' change it to number '3'.
reboot.
you will boot into the command line. login, su to root and run the following command.

nvidia-xconfig

if you can't such to root, it means on the install you went with the default and use sudo instead, if this is the case, don't worry about su to root. instead once you've logged in, just initiate the following.

sudo nvidia-xconfig

once that has all been done type yast under root (su) or if you use sudo;
sudo yast
you will be in the n cursers mode of yast. once again
press down twice to go to 'system' and enter.
go down eight times to 'system services' enter.
press tab 8 times to get to highlight expert mode, enter.
press tab 17 times to highlight the run level, enter.
press down and a little window will display, highlight option '5' enter.
press f10
press f9
run the appropriate command below depending if you use sudo or not.

reboot

sudo reboot

I hope I've helped, sorry bout me strange use of code tags, I'm typing off my phone which I don't normally.

jonnynitro138 10-06-2012 12:19 PM

reply to Knightron
 
First thank you.
I made a print out of what you advised me to do so I wouldn't get lost, sucks when that happens. I made into root and typed 'nvidia-xconfig' then enter. I recieved the message: "If 'nvidia-xconfig' is not a typo you can use command-not-found to look up the package that contains it, like this: cnf nvidia-xconfig" so I did and I recieved the following message: "nvidia-xconfig: command not found"
(I wasn't sure how to write this display so I put everything in quotations that was on my screen.)
On a good note, my opening suse screen no longer has lines in it so that I can see the materializing globe before the log in screen :), thank you.
Jonnynitro138
Oh, the directions were very easy to follow :)

Knightron 10-06-2012 08:04 PM

If that command didn't work, then it sounds like you don't have the nvidia drivers installed.
Quote:

Originally Posted by jonnynitro138 (Post 4798557)
zypper install x11-video-nvidia

Do you have the appropriate repository enabled or did you just initiate that command with the default repositories that come enabled with Opensuse?

jonnynitro138 10-07-2012 04:36 PM

reply to Knightron
 
I have the default OPensuse repositories. How can I tell if I have successfully installed a driver or other software?
Thank you
Jonnynitro138

Knightron 10-07-2012 08:18 PM

Ok, well Opensuse does not have the Nvidia drivers in there official repository.
Before you add it i recomend you have everything up to date.
Firstly, if this is a new install; Opensuse installs only parts of meta packages from the dvd. eg if you are running kde, right click desktop, go to desktop settings and you will notice you have only two wallpapers. Once you connect to a network, open Yast, go into software management and once the repos are refreshed, just click accept, and let it install the rest of the meta packages. After it's done i recommend a reboot.
Once you're systems running again, open a terminal and run the following command.
Code:

sudo zypper up
This is to update. In Opensuse after a update, to restart all the programs and services i just do a reboot, i think it's easier, so reboot once the updates are done. If there was updates, after the reboot, i always open up the terminal and do a 'sudo zypper up' again, just to make sure it got them all (It doesn't always for some reason), and repeat until there's no more updates.

Here's how to install the Nvidia driver.
Open Yast.
Go to 'Software Repositories'.
At the bottom, select, 'add'.
Now you've a bunch of different options on how you want to add a repo. Select 'Community Repositories' and then click next.
You will now see the most popular repos made available with the Openbuild service. You want to tick the nVidia Graphics Driver repo and click add.
Once this has been done, while still in Yast, open 'Software management'. In the search bar type 'Nvidia' you will notice some packages are already ticked and about to be installed, that is because Opensuse as detected your graphics card and auto selected the appropriate drivers for you. click accept and once everything is installed do a reboot. Once you're system is running again, try to access the nvidia-settings Configuration Tool again and if you get an error again, do the instructions i gave you in my first post again.

Good luck

John VV 10-07-2012 08:34 PM

you might want to try reading the OpenSUSE nvidia INSTALL INSTRUCTIONS
they ARE posted on the opensuse wiki

http://en.opensuse.org/SDB:NVIDIA
amd using the nvidia repo and zypper
http://en.opensuse.org/SDB:NVIDIA_drivers

or even the "one click" if you do not want to take the time and LEARN how to do it.

jonnynitro138 10-11-2012 05:13 AM

reply to replies
 
Thank you all for the great help. I now have it working :)

Knightron 10-11-2012 06:55 AM

Great to hear we were able to help you mate.


All times are GMT -5. The time now is 04:49 AM.