Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Challenges with the addition of NVIDIA module

  1. #1

    Question Challenges with the addition of NVIDIA module

    I generated Linux 3.7.1 by the approach "S.A.K.C. 2.78" on my openSUSE Tumbleweed system successfully. It uses a specific output directory.

    Now I have got the challenge to add the driver for my NVIDIA graphics card there.
    • It seems that "tricks" are needed to point the corresponding installation script to an usable header file "version.h".
    • If I try the following command
      Code:
      Sonne:~ # sh /home/elfring/geladen/NVIDIA-Linux-x86_64-304.64.run--kernel-source-path=/home/elfring/Projekte/Linux/linux-stable --kernel-output-path=/home/elfring/Projekte/Linux/Bau/kernel/linux-3.7.1 -a
      in a console, I get still an error message.
      Code:
      If you are using a Linux 2.4 kernel, please make sure
      you either have configured kernel sources matching your
      kernel or the correct set of kernel headers installed
      on your system.
      
      If you are using a Linux 2.6 kernel, please make sure
      you have configured kernel sources matching your kernel
      installed on your system. If you specified a separate
      output directory using either the "KBUILD_OUTPUT" or
      the "O" KBUILD parameter, make sure to specify this
      directory with the SYSOUT environment variable or with
      the equivalent nvidia-installer command line option.
      
      Depending on where and how the kernel sources (or the
      kernel headers) were installed, you may need to specify
      their location with the SYSSRC environment variable or
      the equivalent nvidia-installer command line option.
      
      Installation has failed.

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

    Smile Re: Challenges with the addition of NVIDIA module

    Quote Originally Posted by elfring View Post
    I generated Linux 3.7.1 by the approach "S.A.K.C. 2.78" on my openSUSE Tumbleweed system successfully. It uses a specific output directory.

    Now I have got the challenge to add the driver for my NVIDIA graphics card there.
    • It seems that "tricks" are needed to point the corresponding installation script to an usable header file "version.h".
    • If I try the following command
      Code:
      Sonne:~ # sh /home/elfring/geladen/NVIDIA-Linux-x86_64-304.64.run--kernel-source-path=/home/elfring/Projekte/Linux/linux-stable --kernel-output-path=/home/elfring/Projekte/Linux/Bau/kernel/linux-3.7.1 -a
      in a console, I get still an error message.
      Code:
      If you are using a Linux 2.4 kernel, please make sure
      you either have configured kernel sources matching your
      kernel or the correct set of kernel headers installed
      on your system.
      
      If you are using a Linux 2.6 kernel, please make sure
      you have configured kernel sources matching your kernel
      installed on your system. If you specified a separate
      output directory using either the "KBUILD_OUTPUT" or
      the "O" KBUILD parameter, make sure to specify this
      directory with the SYSOUT environment variable or with
      the equivalent nvidia-installer command line option.
      
      Depending on where and how the kernel sources (or the
      kernel headers) were installed, you may need to specify
      their location with the SYSSRC environment variable or
      the equivalent nvidia-installer command line option.
      
      Installation has failed.
    For installing the nVIDIA driver, have a look at these two Blogs:

    Installing the nVIDIA Video Driver the Hard Way: https://forums.opensuse.org/blogs/jd...r-hard-way-29/

    AND

    LNVHW - Load NVIDIA (driver the) Hard Way from runlevel 3 - Version 1.46: https://forums.opensuse.org/blogs/jd...rsion-1-10-32/

    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

  3. #3

    Question Re: Challenges with the addition of NVIDIA module

    Quote Originally Posted by jdmcdaniel3 View Post
    Installing the nVIDIA Video Driver the Hard Way

    AND

    LNVHW - Load NVIDIA (driver the) Hard Way from runlevel 3 - Version 1.46
    I have read your articles already. I do not get the script "NVIDIA-Linux-x86_64-304.64.run" to work with a customised build output directory as expected so far. Do I need to pass more command line parameters?

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,650
    Blog Entries
    14

    Default Re: Challenges with the addition of NVIDIA module

    Am I wrong, or is a space char missing between ".run" and "--kernel" ?
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5

    Default Re: Challenges with the addition of NVIDIA module

    Quote Originally Posted by Knurpht View Post
    Am I wrong, or is a space char missing between ".run" and "--kernel" ?
    I used "... .run --kernel-source-path=...", of course. Otherwise, the command would have not been executed. (I'm sorry for this little parameter confusion.)

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

    Smile Re: Challenges with the addition of NVIDIA module

    Quote Originally Posted by elfring View Post
    I have read your articles already. I do not get the script "NVIDIA-Linux-x86_64-304.64.run" to work with a customised build output directory as expected so far. Do I need to pass more command line parameters?
    After you download lnvhw, you must edit the script as root (there is a single line you must edit) and tell it where you are downloading the driver files. Since you run the script as root, you can't just say look at the home download folder when it was downloaded as a normal user. You can use the following bash script to edit any text file owned by root.

    SYSEdit - System File Editor - Version 1.50: https://forums.opensuse.org/blogs/jd...rsion-1-00-60/

    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

  7. #7

    Question Re: Challenges with the addition of NVIDIA module

    Quote Originally Posted by jdmcdaniel3 View Post
    After you download lnvhw, you must edit the script as root
    I could adjust the variable "nVidia_folder" in your script. But I do not want to answer all questions from the script "NVIDIA-Linux-x86_64-304.64.run" interactively. I would prefer to use command line parameters here.

  8. #8

    Question Re: Challenges with the addition of NVIDIA module

    Are there any more chances for the needed configuration with a script like "NVIDIA-Linux-x86_64-304.64.run" if a different output directory is used and the selected kernel source files are not stored under the folder "/usr/src" in my use case?

  9. #9

    Question Re: Challenges with the addition of NVIDIA module

    It seems that "tricks" are needed to point the corresponding installation script to an usable header file "version.h".
    Would you like to share any more experiences about the software development for the cooperation of the NVIDIA module with recent kernels?

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

    Smile Re: Challenges with the addition of NVIDIA module

    Quote Originally Posted by elfring View Post
    Would you like to share any more experiences about the software development for the cooperation of the NVIDIA module with recent kernels?
    So if you are trying to use kernel 3.8, there is a need for a patch, but not with kernel 3.7 I have found. You can read about kernel 3.8 here and the required patch.

    https://forums.opensuse.org/english/...ents-here.html

    I might also add that the lnvhw script can patch the driver files for you if you save the patch as NVIDIA*.patch where you use what every name you like in place of *. Since the bash script is an open book to its function, you are free to modify as you desire.

    I would like to say that I spend more and more time in Linux using the built-in nouveau open source driver which is WAY BETTER than it has ever been. And I encourage everyone using kernel 3.7 or higher to give the built-in driver a try.

    Kernel 3.7 is in the latest openSUSE 12.2 Beta 1 right now: software.opensuse.org: Download openSUSE 12.3 Beta 1

    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 3 123 LastLast

Tags for this Thread

Posting Permissions

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