Nvidia for Newbies part 1

If you’re new to Linux in general & Opensuse in particular this How to is for you.
Now the 1st thing to read this first:
SDB:Configuring graphics cards - openSUSE
However if you’re impatient as I was when I started here’s the How To.

Introduction:
This how to will have screenshots so you’ll know what to expect. It is from my own experience at installation, so you 'll have a good idea of how it’s done.
This is done in 3 parts.
When you need to bring up a terminal (Konsole in KDE Terminal in Gnome,xfce) it’ll have this:

 CLI stuff here 

DO NOT copy & paste directly from any code as your username won’t be the same as mine, I’m robbie you very likely are not.

The How To:

This part is done while you’re still in nouveau

  1. Reboot your computer set it to nomodeset just like in this screenshot:
    http://a.imageshack.us/img411/4139/nomodesetexample.th.jpg](http://img411.imageshack.us/i/nomodesetexample.jpg/)
  2. If you haven’t already get the Nvidia drivers from here:
    Drivers - Download NVIDIA Drivers
    In this case we’re getting the 256.35 drivers. Save it to Download, leave it there.
    3.Open a terminal type in “su” without the quotes. As you type in your root password you’ll see no dots after Password,this is a security feature not a problem.
    The font will turn red after you’ve entered your password. Red for root get it? what you’ll get will look like this:
robbie@dapc:~> su
Password: 

Now to blacklist nouveau once you are in as root that’s what this means “#” as root do not type # into terminal!, now type this:

 #  echo "blacklist nouveau" >> /etc/modprobe.d/50-blacklist.conf 

press Enter close Terminal
4.Open Yast go to System then go to the /etc/sysconfig Editor find then click the plus on System to expand it then find then click the plus on Kernel it should look like this:
http://a.imageshack.us/img25/4862/yastshot1.th.jpg](http://img25.imageshack.us/i/yastshot1.jpg/)
5.When you get there you’ll see the value set to “no” just click on the no & delete it by backspacing
then type in yes just like in the picture click through the OK’s.
6.With Yast still open Go to Software Management in the Search type then check to install the following: gcc
make
kernel
After you type kernel in search in the pane to the right check to install kernel-source,kernel-sym,kernel-desktop & kernel-desktop- devel
After step 7 this part is done on a black screen

As part 2 This post continues with step 7:
7.Press Ctrl-AltF1 you’ll get something like this:
http://a.imageshack.us/img411/9720/consolelogin.th.jpg](http://img411.imageshack.us/i/consolelogin.jpg/)
8.Type in your username 1st in my case that’s robbie at the password prompt give your user password not root. It’ll look like this:

 dapc login:robbie
       Password:

After that you’ll see the “Have a lot of fun”
9.Now type in su now at the prompt give your root password
10.The font will now turn red type this:

init3

11.If you kept the Nvidia drivers in Download type in something like this:

 cd /home/robbie/Download 

Of course it’ll be your username not mine & it’ll look something like this:

 Download _ 

12.Now type in like so:

sh Nvidia-Linux-x86_64-256.35.run 

13.You should get this:
http://a.imageshack.us/img801/2139/88664685.th.jpg](http://img801.imageshack.us/i/88664685.jpg/)
14.Select Accept by using the arrow keys after you Accept click Enter
15.Click through the yeses & OK’s until you get this:
http://a.imageshack.us/img801/2139/88664685.th.jpg](http://img801.imageshack.us/i/88664685.jpg/)
16.Type reboot

After your PC is back up & running You are now in Nvidia

As part 3 Now we set up the screen resolution:

  1. In KDE in Kickoff (kmenu) in Search type nvidia in Gnome in the slab type nvidia
  2. Click the Nvidia X Server Settings you’ll get a big box with a lot of setting tools
  3. Select the X Server Display Configuration it’ll look like this:
    http://a.imageshack.us/img541/4130/nvidiaserver3.th.jpg](http://img541.imageshack.us/i/nvidiaserver3.jpg/)
    A. set your screen resolution click Apply
    B. set your xorg.conf go to step 4
  4. When you click Save to X Configuration File you’ll get this:
    http://a.imageshack.us/img85/5058/savex2.th.jpg](http://img85.imageshack.us/i/savex2.jpg/)
    5.In the box by default it will store it to you /etc/x11/xorg.conf Do Not click Save if you do it’ll tell you ,you aren’t root & have no permissions.
    6.Uncheck the Merge with existing file
  5. Change the /etc/x11/xorg.conf to /home/yourusername/xorg.conf like I did in the screenshot this’ll put the xorg.conf in your /home
  6. Now open a terminal type in su give the root password & type this with your username
 cp /home/robbie/xorg.conf /etc/X11 

there is a space between conf & /etc
9. Restart your PC
If all has gone well when your PC is back on you’ll have the screen res of your choice.

Acknowledgements:

Thank you Romanator for the CLI blacklisting method.
A Special thanks to oldcpu you & all your hard work that made these posts possible!

Cheers Robbie, nice piece of work. I took the liberty to edit the above post, it contained some wrong “code” block, and “BOLD” instead of just “B”.

please edit step 7. from yourusername/home/xorg.conf to /home/yourusername/xorg.conf for it to work

Knurpht,
Thanks for the fix, as you say in your sig Anything that can go wrong… will teach us.

Thanks :slight_smile: Works for me… But it is bit of work >:(

Hi! I am a beginner, of course I had troubles with X (skype and more :d ) in this version of suse, but this tutorial works for me.
Thank you! My desktop cube is spinning now :slight_smile:

Hi all,

Anyone know what’s happened to the nVidia repo’?, the above looks like a major step backwards to me!

Thanks.

The nvidia repos still have to be filled for 11.3 (by Nvidia). Until then you can install the driver using the above method

It doesn’t work for me, after reboot all I get is a black screen. I’ve tried installing older versions and with the repo, which is now working, and still get the same. I installed it from the failsafe entry, editing menu.lst to write “nomodeset”, in GRUB, Yast,… and still nothing. Nouveau works but can’t use desktop effects.

My nvidia is 9600GT and worked in opensuse 11.2 with the nvidia driver. Is there any other way I could try? Thanks.

Take a look at the SPECIFIC instructions in this guide to see if it helps: SDB:Configuring graphics cards - openSUSE Note that for the proprietary driver it refers you to here: SDB:NVIDIA drivers - openSUSE Pay attention to the WARNING on the top of that page.

Thanks, but I followed that and couldn’t make it work. Anyway, when I saw the new driver I also downloaded it for my Windows partition, I tried to install it and got the same behaviour. I think it must be some trouble with my BIOS settings, I’ve been playing with the BIOS configuration with no luck for now. I’ll reach the nvidia people if I can’t make it work. Thanks a lot for your help!

Note there is also a nVidia forum … the Linux part of the nVidia forum is here: NVIDIA Linux - nV News Forums

Phew! That’s a mouthful. :smiley: Thanks!

Thanks for all the good info you supply on these forms, really appreciated. A request for smaller image files please (links). I’m on a very slow dial-up and it will take all night to load all those 2.9mb pics. I’ve been looking for days for an article like this. Very new to SuSE and just trying to find info is very frustrating at times. Thanks again.

Hello Sagemta !

First I have to thank you for your nearly idiot-proof instruction,for me,it works!
Nethertheless,there are some little points left to go over.
If you assume,the new users have no meaning about working on the console,it would
be better,to link them to a special “First steps on a console”-thread,like you did
with the “SDB:Configuring graphics cards”.
And what is about after success,do I have to change-back the setting in the sysconfig?
For the future,I would suggest,to store each NVIDIA-version from their repo in a local
repo.Then you have the option,to install the actual best fitting version easily with Yast!

Greetings !

lostinspace