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

Thread: Installing nvidia drivers using their own installer.

  1. #1

    Default Installing nvidia drivers using their own installer.

    I can install the nvidia driver for my card easily with yast but would like to try using nvidia's own installer. There is a paths problem. I've spent some time looking at 11.4 kernel build paths and they seem to be circular so the installer will not find what it needs. The installers help in this respect is as follows.

    Code:
      --kernel-source-path=KERNEL-SOURCE-PATH
          The directory containing the kernel source files that
          should be used when compiling the NVIDIA kernel module. 
          When not specified, the installer will use
          '/lib/modules/`uname -r`/build', if that directory exists. 
          Otherwise, it will use '/usr/src/linux'.
    Obviously it will fail on the build directory and fall back to usr/............ where linux is a symbolic link
    linux -> linux-2.6.37.1-1.2

    which must be the one in the same directory but it fails to find either type of auto conf file

    From this I assumed that it just needed pointing at the correct build directory but this turns out to be symbolic link

    Build -> /usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop

    However when pointed here it still doesn't find what it needs and falls over looking for the kernel header this time.

    I thought that the idea of the /usr/src/linux link was to standardise kernel building but if suse use it for something else or nvidia make the wrong assumptions just where should the installer be pointed?
    Leap 42.2 KDE 5.26
    3.6gig Xeon, 64bit SATA Raid home - Linux Raid 1
    All software on a flash drive, SATA swap & Temp files,

  2. #2

    Default Re: Installing nvidia drivers using their own installer.

    What I believe may be missing in your install attempt is the kernel source file
    Don't know what suse calls it - others call it linux-headers or linux-kernal-dev or somthing like that.

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Installing nvidia drivers using their own installer.

    Make sure you have
    gcc
    make
    kernel-source / kernel-devel
    installed.
    And have also a look at this:
    http://en.opensuse.org/SDB:NVIDIA_the_hard_way

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.2 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
    ION | 3GB Ram

  4. #4

    Default Re: Installing nvidia drivers using their own installer.

    Quote Originally Posted by martin_helm View Post
    And have also a look at this:
    SDB:NVIDIA the hard way - openSUSE
    Which is not that hard actually. (I could not resist).

  5. #5
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Installing nvidia drivers using their own installer.

    I normally do the following before I install the nVIDIA driver or compile a kernel:

    Normally you should consider doing the following:

    Open YaST / Software / Software Management - Select the View Button on the top left and pick Patterns. Now, you will see several Patterns listed and you want to select:

    Code:
        Development 
    
    [X] Base Development
    [X] Linux Kernel Development
    [X] C/C++ Development
    Then Press the Accept button on the bottom right and allow these applications to install. This should allow you to install the nVIDIA driver among other things.

    I have a bash script file that can help if you decide to install the driver the hard way. Look at message #12:

    LNVHW - Load NVIDIA (driver the) Hard Way from runlevel 3

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  6. #6

    Default Re: Installing nvidia drivers using their own installer.

    Yes I do have all of those installed.

    I've looked at the "hard way" too but that one doesn't look as bad as some of the others.

    I'd much prefer to find out what the nvidia installer should be pointed at rather than /user/src/linux link. Especially as I thought this was supposed to give all that could be needed for this sort of thing. It lacks autoconf.h / auto.conf Maybe even more. Nvidia do not state what directory tree it parses below the link if any either.

    I had intended to follow this route after my last re install to get back to 64bit but the kernel upgrade gave me fbdev as a driver rather than nouveau. This gave me a max res of 800x600 on the desktop which is more or less unusable so I used yast to install the nvidia driver again but there will no doubt be other opportunities to try and get the nvidia installer to run from scratch. - Another hard but easier way. I strongly suspect it will work as well if it can find the files it needs.
    Leap 42.2 KDE 5.26
    3.6gig Xeon, 64bit SATA Raid home - Linux Raid 1
    All software on a flash drive, SATA swap & Temp files,

  7. #7
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Installing nvidia drivers using their own installer.

    please try again wrote:
    > Which is not that hard actually. (I could not resist).
    >

    I resisted this time to add that, thank you for doing it :-)

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.2 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
    ION | 3GB Ram

  8. #8
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Installing nvidia drivers using their own installer.

    Yes I do have all of those installed.

    I've looked at the "hard way" too but that one doesn't look as bad as some of the others.

    I'd much prefer to find out what the nvidia installer should be pointed at rather than /user/src/linux link. Especially as I thought this was supposed to give all that could be needed for this sort of thing. It lacks autoconf.h / auto.conf Maybe even more. Nvidia do not state what directory tree it parses below the link if any either.

    I had intended to follow this route after my last re install to get back to 64bit but the kernel upgrade gave me fbdev as a driver rather than nouveau. This gave me a max res of 800x600 on the desktop which is more or less unusable so I used yast to install the nvidia driver again but there will no doubt be other opportunities to try and get the nvidia installer to run from scratch. - Another hard but easier way. I strongly suspect it will work as well if it can find the files it needs.
    John just let me say I install the latest nVIDIA driver all of the time and it works like a champ. I do the following:

    1. I Install the Driver the hard way and Do not use the repository method.
    2. I installed the required files to properly compile the nVIDIA driver as suggested above.
    3. I add the nomodeset kernel load option as shown in the loading driver the hard way examples shown.
    4. I install the driver on a reboot, using the kernel option 3, to stop X from loading.
    5. I use the bash script file lnvhw as shown above.

    As opposed to wondering why it does not work and so forth or trying to swim upstream in some manner, just execute the required steps as outlined above and it will work for you.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  9. #9

    Default Re: Installing nvidia drivers using their own installer.

    Thanks James but that isn't the way I want to do it. I've installed the driver 3 times on 11.4 with yast so why change. Basically because I would like to find out just how to do it directly from the nvidia installer from the safe mode prompt. Having looked at the options it provides I'm fairly confident that it can be done that way with the minimal amount of bother. I can probably unravel the kerenel links all by myself over time but just hoped that some one here already knew.
    Leap 42.2 KDE 5.26
    3.6gig Xeon, 64bit SATA Raid home - Linux Raid 1
    All software on a flash drive, SATA swap & Temp files,

  10. #10
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Installing nvidia drivers using their own installer.

    Thanks James but that isn't the way I want to do it. I've installed the driver 3 times on 11.4 with yast so why change. Basically because I would like to find out just how to do it directly from the nvidia installer from the safe mode prompt. Having looked at the options it provides I'm fairly confident that it can be done that way with the minimal amount of bother. I can probably unravel the kerenel links all by myself over time but just hoped that some one here already knew.
    John
    Each to his own then. If you wish to understand how the nVIDIA combo script/binary file installs, perhaps something of value will come from it. I seek only to use the driver and gain the benefits that it provides. I wish you luck in finding what you seek.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

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
  •