openSUSE 12.2 RC2 NVIDIA

I just installed openSUSE 12.2 RC-2 64bit KDE from the live CD. So far it looks good. Under 11.4 on the same box I used the nvidia driver successfully. But I don’t like having to re-install every time there is a kernel change.

lspci | grep VGA 

  02:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)

lsmod tells me that the nouveau driver is used for video. YaST tells me that xf86-video-nv and xorg-x11-driver-video-nouveau are both installed. But I can’t get 1280 x 1024 resolution when I use the KDE Configure Desktop Hardware utility. Am I stuck with using the proprietary nvidia driver, and where can I download it? I used…

# zypper ar -f ftp://download.nvidia.com/opensuse/12.2/ nvidia

Adding repository 'nvidia' .................[done]
Repository 'nvidia' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: ftp://download.nvidia.com/opensuse/12.2/

but when I

# zypper install x11-video-nvidia
Retrieving repository 'nvidia' metadata ...[error]
Repository 'nvidia' is invalid.
|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'nvidia' because of the above error.
Loading repository data...
Reading installed packages...
'x11-video-nvidia' not found in package names. Trying capabilities.
No provider of 'x11-video-nvidia' found.
Resolving package dependencies...

Nothing to do.

Thanks.

I am not sure but I the 12.2 repo does not exist on nvidia site. You might end up having to do it the hard way: SDB:NVIDIA the hard way - openSUSE

I think you are right. I had to do it as well.

nightwishfan wrote:

>
> I am not sure but I the 12.2 repo does not exist on nvidia site. You
> might end up having to do it the hard way: ‘SDB:NVIDIA the hard way -
> openSUSE’ (http://en.opensuse.org/SDB:NVIDIA_the_hard_way)

Yep, I opted for the beta driver: NVIDIA-Linux-x86_64-304.22.run so far so
good, plymouth and graphical grub2 screens display OK however due to lack of
KMS there’s not a smooth transition between grub2 -> plymouth -> desktop
shrug

Hi,

Could you tell me how did you install the drivers after OS installation. I’m stuck with mine don’t know wht to do?
My NVIDIA drivers GT520M with optimus technology.

Did kernel-desktop,devel drivers etc., downloaded the nvidia drivers from nvidia site n installed them. But I’m not able to login because I’m being redirected to tty instead to the desktop.

Could please help me.

Regards,
Anurag

Here is the sequence I use each time I need to recompile the Nvidia module:

NVIDIA driver installation

1:    Dependencies:  gcc, make, kernel-devel

2:    Download latest driver from: http://www.nvidia.com/Download/index5.aspx
       Select correct driver
       Put driver in /home/USER    ### USER is your user name

3:    Install driver:
       Log out of GUI & log into console as root (su)
        at # prompt enter:
           sh /home/USER/NVIDIA-****.run (driver filename)
           modprobe nvidia
           rcxdm start

4:    Blacklist nouveau
       echo "blacklist nouveau" >> /etc/modprobe.d/50-blacklist.conf
       add "modeset.nouveau=0" to /boot/grub/menu.lst kernel parameters line

5:    Configure NVIDIA driver:
       nvidia-settings

When you need help and just as a good learning tool I highly recommend reading the entries in the “How to/FAQ” sub-forum. Lots of useful information there.

Tom

On 2012-08-20 11:56, anuragsatish wrote:
> with optimus technology.

I’m unsure that will work.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Before even attempting to install the NVIDIA driver the optimus feature must be turned off and permanently set on NVIDIA only, unless you are trying to install bumblebee or similar.

tommyttt wrote:

>
> anuragsatish;2480989 Wrote:
>> Hi,
>>
>> Could you tell me how did you install the
drivers after OS
>> installation. I’m stuck with mine don’t know
wht to do?
>> My NVIDIA drivers GT520M with optimus
technology.
>>
>> Did kernel-desktop,devel drivers etc.,
downloaded the nvidia drivers
>> from nvidia site n installed them. But I’m not
able to login because
>> I’m being redirected to tty instead to the
desktop.
>>
>> Could please help me.
>>
>> Regards,
>> AnuragHere is the sequence I use each time I
need to recompile the
>> Nvidia
> module:
> Code:
> --------------------
> NVIDIA driver installation
>
> 1: Dependencies: gcc, make, kernel-devel
>
> 2: Download latest driver from:
> http://www.nvidia.com/Download/index5.aspx
Select correct driver
> Put driver in /home/USER ### USER is your
user name
>
> 3: Install driver:
> Log out of GUI & log into console as root
(su)
> at # prompt enter:
> sh /home/USER/NVIDIA-****.run (driver
filename)
> modprobe nvidia
> rcxdm start
>
> 4: Blacklist nouveau
> echo “blacklist nouveau” >>
/etc/modprobe.d/50-blacklist.conf
> add “modeset.nouveau=0” to
/boot/grub/menu.lst kernel parameters
> line
>
> 5: Configure NVIDIA driver:
> nvidia-settings
> --------------------
>
> When you need help and just as a good learning
tool I highly recommend
> reading the entries in the “How to/FAQ” sub-
forum. Lots of useful
> information there.
>
> Tom
>
>
I blacklist nouveau in etc/modprobe.d/50-
nvidia.conf and it works everytime. Also look at
this script lnvhw:
http://forums.opensuse.org/blogs/comments/comment504.html

This script has worked for me on both openSUSE
12.1 and 12.2 thru RC2. I also blacklist and
inhibit KMS before executing the script.

Nvidia drivers now available at

ftp://download.nvidia.com/opensuse/12.2/

And for people with Optimus systems wanting to test Bumblebee there’s a new repo too, with lots of drivers for many distros:
Index of /repositories/home:/Bumblebee-Project:/nVidia: