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