*Participation Requested*
MicroOS Desktop Use to Help with ALP Feedback
-
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.
-
Re: Challenges with the addition of NVIDIA module
 Originally Posted by elfring
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,
-
Re: Challenges with the addition of NVIDIA module
 Originally Posted by jdmcdaniel3
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?
-
Re: Challenges with the addition of NVIDIA module
Am I wrong, or is a space char missing between ".run" and "--kernel" ?
-
Re: Challenges with the addition of NVIDIA module
 Originally Posted by Knurpht
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.)
-
Re: Challenges with the addition of NVIDIA module
 Originally Posted by elfring
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,
-
Re: Challenges with the addition of NVIDIA module
 Originally Posted by jdmcdaniel3
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.
-
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?
-
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?
-
Re: Challenges with the addition of NVIDIA module
 Originally Posted by elfring
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,
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
-
Forum Rules
|