Update kernel and nvidia

Hi, i have install kernel 3.14.3-2.1
http://kernel.opensuse.org/packages/stable

At restart i go on desktop but the driver nvidia in not run, he ask to run nvidia-xconfig.
I run but i can not go on desktop, only tty.

I can go on desktop with 3 kernel 3.11 but i want to fix the problems with kernel 3.14

It is possible?

I have last driver nvidia 331.67

And how did you install the nvidia driver?

You cannot use the packages from the repo with the 3.14 kernel.

If you want to use a kernel different from the one included in openSUSE, you would need to install it “the hard way”.
http://en.opensuse.org/SDB:NVIDIA_the_hard_way

Please note, that in this case you have to reinstall it whenever there is a kernel, xorg-x11-server, or MESA-libGL1 update.

Any specific reason why you want to use Kernel 3.14?

I want to learn somthing.
I use linux (kubuntu and now opensuse 13.1) for 1 year, and i do know “nothing”.

I do not want only clik an install.

I have install driver easy way
http://en.opensuse.org/SDB:NVIDIA_drivers

I want to learn how to install hard way nvidia driveres.

I give you an example: on kubuntu i have install nvidia 331.run driver but at restart i can not go on desktop, only tty.
I try all that i find on google, nothing working

I reamember the same on opensuse.

But just by running kernel 3.14, you don’t learn much more either, or do you? :wink:

I do not want only clik an install.

Well, how did you install the kernel then?

I have install driver easy way
http://en.opensuse.org/SDB:NVIDIA_drivers

I want to learn how to install hard way nvidia driveres.

I give you an example: on kubuntu i have install nvidia 331.run driver but at restart i can not go on desktop, only tty.
I try all that i find on google, nothing working

I reamember the same on opensuse.

Well, if you install it the “hard way” (i.e. by using the nvidia .run file), you have to make sure that nouveau doesn’t get loaded.
The link I pointed you to in my previous post should explain everything in detail.

You should uninstall the nvidia packages you installed “the easy way” first though, before you install that .run file.

On 2014-05-15, freetools <freetools@no-mx.forums.opensuse.org> wrote:
> I want to learn how to install hard way nvidia driveres.

Sorry to disappoint you but the `hard way’ isn’t actually hard. Just download the nvidia-driver *.run file from Nvidia’s
website to /home/you/Downloads/, the start a virtual console (e.g. Ctrl-Alt-F1 → login) and…:


sh-4.2$ su -
sh-4.2$ zypper in gcc make kernel-devel
sh-4.2$ telinit 3
sh-4.2$ cd ~/Downloads/
sh-4.2$ sh NVIDIA<tab>
sh-4.2$ nvidia-xconfig
sh-4.2$ telinit 5
sh-4.2$ exit

copy paste in terminal. to easy.

Maybe i not learn nothing when i update kernel, but i want to update kernel. why? i do know why. my ambitionrotfl!

That will install the driver, but the driver won’t work.
You have to prevent the nouveau kernel module from being loaded at boot (via blacklisting it, or adding nomodeset to the boot options, you might even have to re-create the initrd so that it is disabled there too).

And no, it is not necessary to run nvidia-xconfig (nor does it help). :wink:

Not very hard, actually. I’ve been doing it that way.

Here are the steps:

I downloaded the driver (from the nvidia site) to “/usr/local/src”. The actual driver file is “NVIDIA-Linux-x86_64-304.121.run”. I make sure that it is the only file in that directory that matches NVIDIA*run

I setup grub to boot with “nomodeset”. I did this by editing “/etc/default/grub”. I rebooted for this to take effect.

Before install, I logged out of my desktop. I used CTRL-ALT-F1 to get a virtual console (tty) session, and logged in there as root.


# telinit 3

That switched me to init level 3, so that X is not running anywhere.

I then did:


# sh /usr/local/src/NVIDIA*run

and answered the prompts.

After the install completed, I rebooted to check that it came up properly with the NVIDIA driver (it did).

The downside to this method:

After any kernel update, I won’t have a desktop, and will have to repeat the install (the command beginning “sh”).

I’m not at all sure that it will work for a 3.14 kernel. That is to say, I am not sure that the installer is compatible with 3.14 kernels.

If I ever want to revert to nouveau, I’ll have to reinstall every library that the NVIDIA install replaced.

I have kubuntu 14.04 on my nvidia computer. If I use the grub installed by kubuntu, I finish up in a tty. If I boot using the grub installed by opensuse, I finish up in the kubuntu desktop.

I’m not sure why that happens. As best I can tell, the significant difference is that the opensuse installed grub runs in a graphic mode, while the kubuntu installed grub runs in a non-graphic (i.e. ascii terminal) mode. I’m not sure why that matters. I originally installed opensuse with non-graphic grub mode, and later switched (to test something). But the nvidia drivers loaded properly either way for opensuse. I’m not sure what is different about kubuntu.

I’m not learning much by running 3.14. However, during the 12.3 cycle, I did learn something by running a 3.11 kernel. I learned that my system wouldn’t boot. This was eventually fixed (in bug 839071) in time for the 13.1 release.

Please note:
Just editing this file has absolutely no effect, not even after a reboot.
You have to run “grub2-mkconfig -o /boot/grub2/grub.cfg” for the change to be applied. (as noted in that file)

Or use YaST->System->Boot Loader->Boot Loader Options to add “nomodeset”.

That’s what they call “beta-testing”, not learning… :wink:

I don’t think that’s what the OP had in mind when he said he wants to learn.

On 2014-05-15, wolfi323 <wolfi323@no-mx.forums.opensuse.org> wrote:
> That will install the driver, but the driver won’t work.
> You have to prevent the nouveau kernel module from being loaded at boot
> (via blacklisting it, or adding nomodeset to the boot options, you might
> even have to re-create the initrd so that it is disabled there too).

Never blacklisted nouveau or added nomodeset myself, yet had this method has worked for me for over ten years. I must
just be lucky or maybe you’re just wrong.

> And no, it is not necessary to run nvidia-xconfig (nor does it help).

Obviously not if you asked the created the configuration file during the installation yourself.

> :wink:

OK. You are right, I am wrong. Feel better now?

True. Thanks for adding that.