Found A newbie friendly way for nvidia & nouveau

Hey everybody! I found a newbie freindly way for nvidia & noveau.

As some of us know the nouveau driver is the kernel default & it’s really only a very basic driver. If one wants all the cool stuff it’s proprietary or nothing.
However, getting it out & making way for the nvidia driver while easy for some of us won’t be for the new guys. So I made this step by step with them in mind.
1.Get the Nvidia drivers from here:
http://www.nvidia.com/Download/index5.aspx

The one you want is 256.35 Save it to Downloads
2.Reboot your PC when the boot screen comes up type in nomodeset just like in this image:
http://wiki.opensuse.org/images/thumb/8/8f/Nomodeset-example.jpg/704px-Nomodeset-example.jpg
3.In Kde in the Kickoff(Kmenu)Applications>System>File Manager-Super User Mode
Gnome I think it’s Gnomesu. Give the root password at the prompt click the root folder Gnome is Filesystem. the modprobe.d folder. Now look for a text document called 50-blacklist.conf scroll to the end & add this line: blacklist nouveau
Click save then close.
4.Now open Yast>System>/etc/sysconfig Editor Once there Click on System, click Kernel, then click NO_KMS_IN_INTRD
where it has a no take that out type in yes click OK
5.Install the Nvidia drivers the alleged Hard Way here:
http://en.opensuse.org/NVIDIA/The_hard_way

If all went well you see that INSTALLATION WAS SUCCESSFUL notice at the of the hard way.
Reboot.
Now if all has gone well your 11.3 install now has the nvidia drivers, but you don’t have the screen resolution you want. Here’s how to get that:
1.In KDE type nvidia in the search box on Kickoff in Gnome type nvidia in the search on the Slab
2.Set your prefered settings click Apply a box will come up asking if you want to keep them if you do click Accept
3.Now you’ll get a box asking if you want to put his in your home file click the browse in the pane to the right scroll through until find: xorg.conf Once you do select it click OK
4.Open Dolphin(nautilus in Gnome) /home/xorg.conf
5.Kickoff(Kmenu)Applications>System>File Manager-Super User Mode
Gnome I think it’s Gnomesu. In this Look for & open the etc folder then look for & open X11 then Look for & the open xorg.d folder
6.In the xorg.d folder look for 2 text documents one will be called 50-monitor the other will be called 50-screen
7.Now go back to your /home/xorg.conf find the Monitor Section it will look something like this:
Section “Monitor”
# HorizSync source: edid, VertRefresh source: edid
Identifier “Monitor0”
VendorName “Unknown”
ModelName “Gateway HD1700”
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 76.0
Option “DPMS”
EndSection
Copy everything from Section “Monitor” to End Section DO NOT GO ANY FURTHER THEN THIS SECTION!!
DO NOT COPY ANY OTHER SECTION JUST THIS ONE.
8.Open the 50-monitor document delete everything in there then paste the
Section “Monitor” from step 7 here in 50-monitor. Save & close
9.Now go back to your /home/xorg.conf find the Screen Section it will look something like this:
Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
Option “TwinView” “0”
Option “TwinViewXineramaInfoOrder” “CRT-0”
Option “metamodes” “1024x768_75 +0+0; 1024x768 +0+0”
SubSection “Display”
Depth 24
EndSubSection
EndSection
Copy everything from Section “Screen” to End Section DO NOT GO ANY FURTHER THEN THIS SECTION!!
DO NOT COPY ANY OTHER SECTION JUST THIS ONE.
10.Open the 50-screen document delete everything in there then paste the
Section “Screen” from step 9 here in 50-screen. Save & close
11.reboot
If all has gone well when you’re restarted you’ll be at the screen resolution you set.
Let me know what you guys think of it.

Hi Sagemta,
Worked OK and it only required rebuilding the kernel when upgrading from rc1 to rc2.
In para3 it would help adding /etc in front of modprobe.d for kde, at least.
I also went directly to /etc/X11/xorg.conf and edited this file. Something which I have found necessary for other distros.
Many thanks.

May I also point out this guide: SDB:Configuring graphics cards - openSUSE

Thanks for the tip about my omission on 3 I didn’t see it until you pointed it out.
Also Thank you for trying it out & getting back here. I was hoping it’d work for somebody.

Is it not easier just to add the nomodeset comment to /boot/grub/menu.lst file and just install the nvidia driver (the hard way - which is not hard).

It doesn’t necessarily work every time. It should. It’s quite puzzling.
After the third or fourth failure, I used the following steps:

  • Yast → /etc/sysconfig Editor
  • System → Kernel
  • Select NO_KMS_IN_INITRD
  • Click on the OK buttons and reboot your computer
  • Type nomodeset in Grub options
  • Install Nvidia driver

Better still, always read oldcpu’s stickies.

Cheers!

Romanator

Sounds like I’ve been lucky so far then. Thanks

Great post!!! It worked perfectly for me :slight_smile:

I did an in place upgrade to 11.3 RC2 through the repositories. The only problem I had was that I had my old xorg.conf file that wasn’t allowing 11.3 to boot so I backed up that file, and then deleted it.

The nouveau driver then booted but then screen was upside down…lol I had to then rename my .kde4 folder…that solved that problem.

I’m running 11.3 RC2 without any problems at all :slight_smile:

Again thanks a lot for the guide!!! :slight_smile:

Cheers!

I like to blacklist ‘nouveau’ with a single command:

Open konsole or xterm as superuser, and type in the following:

echo “blacklist nouveau” >> /etc/modprobe.d/50-blacklist.conf

Simple - and it gets the job done.

Cheers!

Romanator

Thanks for that I’m going to put that in a rewrite I’m working on. I think that’ll work better especially for the Gnomers, since AFAIK they don’t have a Superuser Mode Like KDE users.

I can confirm that simply black listing the nouveau driver** does NOT work **on 2 of 3 PCs that I have with the nVidia driver.

While this thread is interesting, and it is good to see our community exploring this issue, to a large extent this thread is just re-inventing the wheel. One needs to be cautious in the recommendations they pass out, else our membership will jump from guide to guide wasting time trying to find a solution when the guides are incomplete.

The information needed to configure the nVidia driver IS in the 11.3 release notes. (possibly in a newbie unfriendly way).

And as noted above, the necessary information is ALREADY in the Guide for configuring one’s graphics

Oldcpu,
The guide I’m working on would include the blacklisting of noveau as one step in the process. What I’m piecing together starts with nomodeset,downloading the nvidia drivers, doing the blacklisting, the yast edit of /etc/sysconfig,(all in nouveau) then installing the drivers & finally setting up one’s screen res(in the Nvidia driver) with the xorg.conf that the nvidia driver sets up.
Your work in the wiki will be mentioned & linked in the guide I’m working on, in fact your work made it possible.
Do you think I should continue on the rewrite of my OP as a guide for future newbs?

I think if help can be made more presentable and easier for users to follow then it definitely should be provided for users.

Follow Up

@oldcpu

**6th thing to try (proprietary graphic driver) **

[/LIST]
Again, per step#4 above, nVidia graphic card users may need to black list the “nouveau” driver in the /etc/modprobe.d/50-blacklist.conf file and also change NO_KMS_IN_INITRD** to “yes” with the sysconfig editor (see step#4 above).**
If instead your PC has an Intel or a VIA graphic card or other graphic card, then you need to again consult with the practical theory guide to determine what your options are for the VIA and Intel graphics devices.

I was recommending adding the line:

To blacklist nouveau, type in:

sudo echo “blacklist nouveau” >> /etc/modprobe.d/50-blacklist.conf

Any thoughts?

Romanator

Lee,
The post I’m working on will have screenshots & will be written as simply as I can. It will be for the newbies after all. I like to think I’m still in touch with my inner newb.

Romanator,
Yes I’m definitely going to include the CLI for blacklisting you wrote as a step. I found it works even for those that opt for Gnome. Since the How to I’m doing is for every newb no matter what DE they use. Your CLI gave me an idea for a later step in the process & it works too.
So thanks for your the info in your post it’s been a big help! :wink:

I am no longer able to edit the wiki.

This new wiki update 2 to 4 days prior to a new release has left me frustrated.

good luck. 90% of my links (to wiki) in various guides have been broken (and I can’t find 90% of the new locations), and I can no longer edit my wiki that I started. This all 2 to 4 days before a new openSUSE release. I’m also heading out of country in 2 hrs, on business , not returning until next week. Its all very frustrating.

No problem :slight_smile:

Everything is in flux. When you come back, it should have settled down. And the links should be working.

See you 'round.

Romanator