Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Update kernel and nvidia

  1. #1

    Default 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

  2. #2

    Default Re: Update kernel and nvidia

    Quote Originally Posted by freetools View Post
    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?

  3. #3

    Default Re: Update kernel and nvidia

    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.

  4. #4

    Default Re: Update kernel and nvidia

    Quote Originally Posted by freetools View Post
    I want to learn somthing.
    I use linux (kubuntu and now opensuse 13.1) for 1 year, and i do know "nothing".
    But just by running kernel 3.14, you don't learn much more either, or do you?

    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.

  5. #5

    Default Re: Update kernel and nvidia

    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...:

    Code:
    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

  6. #6

    Default Re: Update kernel and nvidia

    Quote Originally Posted by wolfi323 View Post

    Well, how did you install the kernel then?
    .
    copy paste in terminal. to easy.



    Quote Originally Posted by wolfi323 View Post
    But just by running kernel 3.14, you don't learn much more either, or do you?.
    Maybe i not learn nothing when i update kernel, but i want to update kernel. why? i do know why. my ambition

  7. #7

    Default Re: Update kernel and nvidia

    Quote Originally Posted by flymail View Post
    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...:

    Code:
    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
    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).

  8. #8
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,639
    Blog Entries
    3

    Default Re: Update kernel and nvidia

    Quote Originally Posted by freetools View Post
    I want to learn how to install hard way nvidia driveres.
    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.

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

    I then did:

    Code:
    # 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.

    Quote Originally Posted by freetools View Post
    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 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.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  9. #9
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,639
    Blog Entries
    3

    Default Re: Update kernel and nvidia

    Quote Originally Posted by wolfi323 View Post
    But just by running kernel 3.14, you don't learn much more either, or do you?
    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.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  10. #10

    Default Re: Update kernel and nvidia

    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.

    >


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

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •