[opensuse-factory] Nvidia driver requires a patch to compile (was: Milestone #2)
On Sat, Mar 17, 2012 at 12:57:27PM +0100, Christoph Obexer wrote:
the Nvidia driver needs a "patch" to compile:
http://www.nvnews.net/vbulletin/showpost.php?p=2526815&postcount=6
"Then go to the kernel sub folder and open the conftest.sh search for "CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include” and replace it with CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include -I$SOURCES/arch/x86/include/generated”
HTH
If nothing happens in the next week please file a bug report and assign it to Stefan <sndirsch at suse dor com> in bugzilla. It might be helpful if you use a dedicated thread from beginning and in particular a subject which allows an easier way to identify what the mail is about. Thanks, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On Sat, Mar 17, 2012 at 04:01:43PM +0100, Lars Müller wrote:
On Sat, Mar 17, 2012 at 12:57:27PM +0100, Christoph Obexer wrote:
the Nvidia driver needs a "patch" to compile:
http://www.nvnews.net/vbulletin/showpost.php?p=2526815&postcount=6
"Then go to the kernel sub folder and open the conftest.sh search for "CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include” and replace it with CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include -I$SOURCES/arch/x86/include/generated”
Fixed since more than a week in obs://X11:Drivers:Video/nvidia-gfx{,G01,G02} Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany -------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 18/03/12 02:01, Lars Müller wrote:
On Sat, Mar 17, 2012 at 12:57:27PM +0100, Christoph Obexer wrote:
the Nvidia driver needs a "patch" to compile:
http://www.nvnews.net/vbulletin/showpost.php?p=2526815&postcount=6
"Then go to the kernel sub folder and open the conftest.sh search for "CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include” and replace it with CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include -I$SOURCES/arch/x86/include/generated”
HTH If nothing happens in the next week please file a bug report and assign it to Stefan<sndirsch at suse dor com> in bugzilla.
It might be helpful if you use a dedicated thread from beginning and in particular a subject which allows an easier way to identify what the mail is about.
Thanks,
Lars
I don't understand and am totally bamboozled by this.... :-( . On my 12.1 system, where I am currently running kernel 3.2.10, I just checked the above entry in conftest.sh file, within the *run file from nVidia, and it doesn't have the above patch installed and yet I don't have ANY hassles in compiling the nVidia driver - never had since I left behind the 3.1.x kernel some many weeks ago. So what has changed in Milestone #2 (which now has kernel 3.3.rc) and which is supposed to already have the patch applied a week or so ago (according to Stefan)? BC -- The vulgar crowd always is taken by appearances, and the world consists chiefly of the vulgar. Niccolo Machiavelli -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 18/03/12 11:28, Basil Chupin wrote:
On 18/03/12 02:01, Lars Müller wrote:
On Sat, Mar 17, 2012 at 12:57:27PM +0100, Christoph Obexer wrote:
the Nvidia driver needs a "patch" to compile:
http://www.nvnews.net/vbulletin/showpost.php?p=2526815&postcount=6
"Then go to the kernel sub folder and open the conftest.sh search for "CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include” and replace it with CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include -I$SOURCES/arch/x86/include/generated”
HTH If nothing happens in the next week please file a bug report and assign it to Stefan<sndirsch at suse dor com> in bugzilla.
It might be helpful if you use a dedicated thread from beginning and in particular a subject which allows an easier way to identify what the mail is about.
Thanks,
Lars
I don't understand and am totally bamboozled by this.... :-( .
On my 12.1 system, where I am currently running kernel 3.2.10, I just checked the above entry in conftest.sh file, within the *run file from nVidia, and it doesn't have the above patch installed and yet I don't have ANY hassles in compiling the nVidia driver - never had since I left behind the 3.1.x kernel some many weeks ago.
So what has changed in Milestone #2 (which now has kernel 3.3.rc) and which is supposed to already have the patch applied a week or so ago (according to Stefan)?
BC
I now have to add to the above and which is leaving me even more confused. The patch mentioned above is to be applied INSIDE the nVidia*.run file which is obtained from nVidia directly and executing 'sh NVIDIA*.run' creates the driver. How can this help when trying to compile the driver downloaded from nVidia; and the driver which is installable from the Community Repos is #290 and which has been around for some time? BC -- The vulgar crowd always is taken by appearances, and the world consists chiefly of the vulgar. Niccolo Machiavelli -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 18/03/12 04:36, Basil Chupin wrote:
On 18/03/12 11:28, Basil Chupin wrote:
On 18/03/12 02:01, Lars Müller wrote:
On Sat, Mar 17, 2012 at 12:57:27PM +0100, Christoph Obexer wrote:
the Nvidia driver needs a "patch" to compile:
http://www.nvnews.net/vbulletin/showpost.php?p=2526815&postcount=6
"Then go to the kernel sub folder and open the conftest.sh search for "CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include” and replace it with CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include -I$SOURCES/arch/x86/include/generated”
HTH If nothing happens in the next week please file a bug report and assign it to Stefan<sndirsch at suse dor com> in bugzilla.
It might be helpful if you use a dedicated thread from beginning and in particular a subject which allows an easier way to identify what the mail is about.
Thanks,
Lars
I don't understand and am totally bamboozled by this.... :-( .
On my 12.1 system, where I am currently running kernel 3.2.10, I just checked the above entry in conftest.sh file, within the *run file from nVidia, and it doesn't have the above patch installed and yet I don't have ANY hassles in compiling the nVidia driver - never had since I left behind the 3.1.x kernel some many weeks ago.
So what has changed in Milestone #2 (which now has kernel 3.3.rc) and which is supposed to already have the patch applied a week or so ago (according to Stefan)?
BC
I now have to add to the above and which is leaving me even more confused.
The patch mentioned above is to be applied INSIDE the nVidia*.run file which is obtained from nVidia directly and executing 'sh NVIDIA*.run' creates the driver. How can this help when trying to compile the driver downloaded from nVidia; and the driver which is installable from the Community Repos is #290 and which has been around for some time?
BC
The problem comes at kernel 3.3-rc. I expected NVidia to have fixed it in 295.20 as they knew about it quite some time before 295.20 was issued. There are a number of ways to do this. "sh NVIDIA*.run --keep" when the module build fails you can e.g cd NV*/kernel, edit conftest.sh cd ..; ./nvidia-installer. Alternatively you can edit a patch file and run " ./NVIDIA-Linux-x86_64-295.20.run --apply-patch patchfile" and run the newly created .run file. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot, Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 18/03/12 19:57, Sid Boyce wrote:
On 18/03/12 04:36, Basil Chupin wrote:
On 18/03/12 11:28, Basil Chupin wrote:
On 18/03/12 02:01, Lars Müller wrote:
On Sat, Mar 17, 2012 at 12:57:27PM +0100, Christoph Obexer wrote:
the Nvidia driver needs a "patch" to compile:
http://www.nvnews.net/vbulletin/showpost.php?p=2526815&postcount=6
"Then go to the kernel sub folder and open the conftest.sh search for "CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include” and replace it with CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include -I$SOURCES/arch/x86/include/generated”
HTH If nothing happens in the next week please file a bug report and assign it to Stefan<sndirsch at suse dor com> in bugzilla.
It might be helpful if you use a dedicated thread from beginning and in particular a subject which allows an easier way to identify what the mail is about.
Thanks,
Lars
I don't understand and am totally bamboozled by this.... :-( .
On my 12.1 system, where I am currently running kernel 3.2.10, I just checked the above entry in conftest.sh file, within the *run file from nVidia, and it doesn't have the above patch installed and yet I don't have ANY hassles in compiling the nVidia driver - never had since I left behind the 3.1.x kernel some many weeks ago.
So what has changed in Milestone #2 (which now has kernel 3.3.rc) and which is supposed to already have the patch applied a week or so ago (according to Stefan)?
BC
I now have to add to the above and which is leaving me even more confused.
The patch mentioned above is to be applied INSIDE the nVidia*.run file which is obtained from nVidia directly and executing 'sh NVIDIA*.run' creates the driver. How can this help when trying to compile the driver downloaded from nVidia; and the driver which is installable from the Community Repos is #290 and which has been around for some time?
BC
The problem comes at kernel 3.3-rc. I expected NVidia to have fixed it in 295.20 as they knew about it quite some time before 295.20 was issued.
Thanks for your response. When I used 'zypper up' and got the 1190 upgrades to be done to Milestone #1 and put them thru the kernel was not upgraded - it remained at the 3.2.x level as per the original installation of MS #1. On booting up I was presented with the login prompt which normally indicates to me that there is no nVidia driver installed. So I went ahead and tried to compile it - it was the 295.20 driver which I have been using on 12.1, since 295.20 became available, and with kernel 3.2.10. When this failed to compile, I then decided that I should do 'zypper dup' ("What do I have to lose?"). It was then that the kernel got upgraded to 3.3.0-rc6-1. When trying to compile the kernel failed yet again I went looking and came up with the suggestion that using 'lnvhw' would solve the problem with the nVidia driver (I cannot now remember where the source of this info. came from - too many wanderings thru a maze over the past day or so have taken their toll :'( ) but this,also, did not work.
There are a number of ways to do this.
"sh NVIDIA*.run --keep" when the module build fails you can e.g cd NV*/kernel, edit conftest.sh cd ..; ./nvidia-installer.
Alternatively you can edit a patch file and run " ./NVIDIA-Linux-x86_64-295.20.run --apply-patch patchfile" and run the newly created .run file.
I have looked at what you wrote, and the nVidia README file, and whatever else, and I was rather frustrated that nowhere is there mention made of how to actually ARCHIVE the files after the command 'sh NVIDIA*.run --extract-only". There is no mention in anything written so far as to how to archive the files after,say. editing 'conftest.sh' :-( . So, again, I went looking. I came up with the utility called makeself.sh. And using this I now created a new NVIDIA*295.20*.run executable which I will try and apply at some stage when I get around to getting an installable copy of Milestone #2.
Regards Sid. Regards,
BC -- The vulgar crowd always is taken by appearances, and the world consists chiefly of the vulgar. Niccolo Machiavelli -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 19/03/12 05:52, Basil Chupin wrote:
On 18/03/12 19:57, Sid Boyce wrote:
On 18/03/12 04:36, Basil Chupin wrote:
On 18/03/12 11:28, Basil Chupin wrote:
On 18/03/12 02:01, Lars Müller wrote:
On Sat, Mar 17, 2012 at 12:57:27PM +0100, Christoph Obexer wrote:
the Nvidia driver needs a "patch" to compile:
http://www.nvnews.net/vbulletin/showpost.php?p=2526815&postcount=6
"Then go to the kernel sub folder and open the conftest.sh search for "CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include” and replace it with CFLAGS=”$CFLAGS -I$SOURCES/arch/x86/include -I$SOURCES/arch/x86/include/generated”
HTH If nothing happens in the next week please file a bug report and assign it to Stefan<sndirsch at suse dor com> in bugzilla.
It might be helpful if you use a dedicated thread from beginning and in particular a subject which allows an easier way to identify what the mail is about.
Thanks,
Lars
I don't understand and am totally bamboozled by this.... :-( .
On my 12.1 system, where I am currently running kernel 3.2.10, I just checked the above entry in conftest.sh file, within the *run file from nVidia, and it doesn't have the above patch installed and yet I don't have ANY hassles in compiling the nVidia driver - never had since I left behind the 3.1.x kernel some many weeks ago.
So what has changed in Milestone #2 (which now has kernel 3.3.rc) and which is supposed to already have the patch applied a week or so ago (according to Stefan)?
BC
I now have to add to the above and which is leaving me even more confused.
The patch mentioned above is to be applied INSIDE the nVidia*.run file which is obtained from nVidia directly and executing 'sh NVIDIA*.run' creates the driver. How can this help when trying to compile the driver downloaded from nVidia; and the driver which is installable from the Community Repos is #290 and which has been around for some time?
BC
The problem comes at kernel 3.3-rc. I expected NVidia to have fixed it in 295.20 as they knew about it quite some time before 295.20 was issued.
Thanks for your response.
When I used 'zypper up' and got the 1190 upgrades to be done to Milestone #1 and put them thru the kernel was not upgraded - it remained at the 3.2.x level as per the original installation of MS #1.
On booting up I was presented with the login prompt which normally indicates to me that there is no nVidia driver installed. So I went ahead and tried to compile it - it was the 295.20 driver which I have been using on 12.1, since 295.20 became available, and with kernel 3.2.10.
When this failed to compile, I then decided that I should do 'zypper dup' ("What do I have to lose?"). It was then that the kernel got upgraded to 3.3.0-rc6-1.
When trying to compile the kernel failed yet again I went looking and came up with the suggestion that using 'lnvhw' would solve the problem with the nVidia driver (I cannot now remember where the source of this info. came from - too many wanderings thru a maze over the past day or so have taken their toll :'( ) but this,also, did not work.
There are a number of ways to do this.
"sh NVIDIA*.run --keep" when the module build fails you can e.g cd NV*/kernel, edit conftest.sh cd ..; ./nvidia-installer.
Alternatively you can edit a patch file and run " ./NVIDIA-Linux-x86_64-295.20.run --apply-patch patchfile" and run the newly created .run file.
I have looked at what you wrote, and the nVidia README file, and whatever else, and I was rather frustrated that nowhere is there mention made of how to actually ARCHIVE the files after the command 'sh NVIDIA*.run --extract-only". There is no mention in anything written so far as to how to archive the files after,say. editing 'conftest.sh' :-( .
So, again, I went looking. I came up with the utility called makeself.sh. And using this I now created a new NVIDIA*295.20*.run executable which I will try and apply at some stage when I get around to getting an installable copy of Milestone #2.
Regards Sid. Regards,
BC
I do quite a bit of testing of the nvidia drivers for vanilla kernels and warn them of changes to come when the kernel ABI changes and where I can I supply a patch. Other than hand patching as is simple in this instance, a more extensive patch can be generated and applied as shown. http://www.nvnews.net/vbulletin/showthread.php?t=110088 Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot, Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 19/03/12 22:45, Sid Boyce wrote: [pruned]
I do quite a bit of testing of the nvidia drivers for vanilla kernels and warn them of changes to come when the kernel ABI changes and where I can I supply a patch. Other than hand patching as is simple in this instance, a more extensive patch can be generated and applied as shown. http://www.nvnews.net/vbulletin/showthread.php?t=110088 Regards Sid.
Many thanks for your response, Sid. Yesterday I applied the patch until I was blue in the face - and the nVidia #295 driver still won't install. After many years with [open]Suse, 12.2 MS #2, the SOB, has finally beaten me and brought me to my knees :-( . After many hours I got lucky and was able to install MS #2 but then the nVidia driver thing pulled the carpet from under my feet. I even went to the extent of installing the kernel-source, as we used to have to do quite some time ago, but this didn't help -the driver will not compile. My only hope now lies in knowing if this patch (and see also my response to Larry re his patch in another thread in the ML) is only for the driver for the 64-bit driver because I am applying the patch to my 32-bit driver (for my 32-bit system). If it applies to either then there is something drastic wrong with the 32-bit KDE of 12.2 MS #2. BC -- Wife sent me to the doctor to get the pills for me to have an erection. When I came back I gave her the packet of slimming pills. I am still looking for somewhere to live. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Basil Chupin
-
Lars Müller
-
Sid Boyce
-
Stefan Dirsch