325.15 drivers do not compile witth 3.11.1 kernel
  1 / 2    
Just got a kernel update from Fedora to 3.11.1-200.fc19.x86_64. Tried to install proprietary drivers and got a build error. anyone else have the same problem? if so, any known patches or do we have to wait for nvidia to issue a new set of drivers?
Just got a kernel update from Fedora to 3.11.1-200.fc19.x86_64. Tried to install proprietary drivers and got a build error. anyone else have the same problem? if so, any known patches or do we have to wait for nvidia to issue a new set of drivers?

#1
Posted 09/19/2013 10:50 PM   
[url]http://cvs.rpmfusion.org/viewvc/*checkout*/rpms/nvidia-kmod/devel/kernel_v3.11.patch?revision=1.2&root=nonfree[/url]
that's cause nvidia sucks so bad and didn't release an updated driver yet. [i]This comment was nuked by cevo_kessler at 09/23/13 4:29 PM GMT[/i]

This Comment Has Been Nuked

#3
Posted 09/20/2013 02:59 AM   
[quote="rusty1"]that's cause nvidia sucks so bad and didn't release an updated driver yet.[/quote] If you aint happy with nvidia you could always f^^^ off to AMD/ATI :-) [i]This comment was nuked by cevo_kessler at 09/23/13 4:29 PM GMT[/i]

This Comment Has Been Nuked

#4
Posted 09/20/2013 03:58 AM   
[quote="leigh123linux"][quote="rusty1"]that's cause nvidia sucks so bad and didn't release an updated driver yet.[/quote] If you aint happy with nvidia you could always f^^^ off to AMD/ATI :-)[/quote] Well said! [i]This comment was nuked by cevo_kessler at 09/23/13 4:30 PM GMT[/i]

This Comment Has Been Nuked

#5
Posted 09/20/2013 07:32 AM   
There was a change in linux-3.11.1/include/linux/mm.h that broke the 325.15 driver. It doesn't look very hard to fix but I haven't actually tried to, as I can live with linux-3.10.11 for the time being. Hope to see a driver update from NVidia before long; they've been fairly prompt at catching up to linux kernel changes...
There was a change in linux-3.11.1/include/linux/mm.h that broke the 325.15 driver. It doesn't look very hard to fix but I haven't actually tried to, as I can live with linux-3.10.11 for the time being. Hope to see a driver update from NVidia before long; they've been fairly prompt at catching up to linux kernel changes...

#6
Posted 09/21/2013 06:10 PM   
[quote="bgl"]There was a change in linux-3.11.1/include/linux/mm.h that broke the 325.15 driver. It doesn't look very hard to fix but I haven't actually tried to, as I can live with linux-3.10.11 for the time being. Hope to see a driver update from NVidia before long; they've been fairly prompt at catching up to linux kernel changes...[/quote] The patch is easy [code]--- a/kernel/nv-linux.h +++ b/kernel/nv-linux.h @@ -957,7 +957,11 @@ static inline int nv_execute_on_all_cpus #endif #if !defined(NV_VMWARE) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0) +#define NV_NUM_PHYSPAGES get_num_physpages() +#else #define NV_NUM_PHYSPAGES num_physpages +#endif #define NV_GET_CURRENT_PROCESS() current->tgid #define NV_IN_ATOMIC() in_atomic() #define NV_LOCAL_BH_DISABLE() local_bh_disable()[/code]
bgl said:There was a change in linux-3.11.1/include/linux/mm.h that broke the 325.15 driver. It doesn't look very hard to fix but I haven't actually tried to, as I can live with linux-3.10.11 for the time being. Hope to see a driver update from NVidia before long; they've been fairly prompt at catching up to linux kernel changes...



The patch is easy

--- a/kernel/nv-linux.h
+++ b/kernel/nv-linux.h
@@ -957,7 +957,11 @@ static inline int nv_execute_on_all_cpus
#endif

#if !defined(NV_VMWARE)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0)
+#define NV_NUM_PHYSPAGES get_num_physpages()
+#else
#define NV_NUM_PHYSPAGES num_physpages
+#endif
#define NV_GET_CURRENT_PROCESS() current->tgid
#define NV_IN_ATOMIC() in_atomic()
#define NV_LOCAL_BH_DISABLE() local_bh_disable()

#7
Posted 09/21/2013 09:35 PM   
Thanks '123' Excuse me for being like an AMD fanboi but how duz yuz appliez itz ....hoping for a reply before many failed attempts!!
Thanks '123'

Excuse me for being like an AMD fanboi but how duz yuz appliez itz ....hoping for a reply before many failed attempts!!

#8
Posted 09/23/2013 04:05 PM   
sh NVIDIA-Linux-x86_64-325.15.run --apply-patch kernel_3.11.patch This will work if you have drivar and a patch in a same directory, and if you named the patch file: kernel_3.11.patch And if it askes you what file to patch, you just write this: kernel/nv-linux.h and press ENTER.
sh NVIDIA-Linux-x86_64-325.15.run --apply-patch kernel_3.11.patch

This will work if you have drivar and a patch in a same directory, and if you named the patch file: kernel_3.11.patch

And if it askes you what file to patch, you just write this: kernel/nv-linux.h and press ENTER.

#9
Posted 09/23/2013 04:21 PM   
yes thanks '_SD... rpmfusion ......wtf? That patch ain't for this driver? after trying it (FAILZ! rejects it) & realizing leigh's post was for the fusion junk. This patch needz nuking [i]This comment was nuked by cevo_kessler at 09/23/13 5:48 PM GMT[/i]

This Comment Has Been Nuked

#10
Posted 09/23/2013 04:33 PM   
[quote="partial51ght"]yes thanks '_SD... rpmfusion ......wtf? That patch ain't for this driver?[/quote] The patch is for 325.15 with kernel 3.12 (because of the #if conditionals it will also work with 3.11) [i]This comment was nuked by cevo_kessler at 09/23/13 5:48 PM GMT[/i]

This Comment Has Been Nuked

#11
Posted 09/23/2013 05:46 PM   
Here's a cleaner patch [url]http://cvs.rpmfusion.org/viewvc/*checkout*/rpms/nvidia-kmod/devel/kernel_v3.11.patch?revision=1.1&root=nonfree[/url]
[quote="leigh123linux"]Here's a cleaner patch [url]http://cvs.rpmfusion.org/viewvc/*checkout*/rpms/nvidia-kmod/devel/kernel_v3.11.patch?revision=1.1&root=nonfree[/url][/quote] And on that bombshell....rejects.
leigh123linux said:Here's a cleaner patch

http://cvs.rpmfusion.org/viewvc/*checkout*/rpms/nvidia-kmod/devel/kernel_v3.11.patch?revision=1.1&root=nonfree



And on that bombshell....rejects.

#13
Posted 09/23/2013 05:57 PM   
[quote="Milos_SD"]sh NVIDIA-Linux-x86_64-325.15.run --apply-patch kernel_3.11.patch This will work if you have drivar and a patch in a same directory, and if you named the patch file: kernel_3.11.patch And if it askes you what file to patch, you just write this: kernel/nv-linux.h and press ENTER. [/quote] After running the above quoted, you will get the following .run file; https://www.dropbox.com/s/nqzoqt6a70sz1h6/NVIDIA-Linux-x86_64-325.15-custom.run running this will install quite ok. Enjoy.
Milos_SD said:sh NVIDIA-Linux-x86_64-325.15.run --apply-patch kernel_3.11.patch

This will work if you have drivar and a patch in a same directory, and if you named the patch file: kernel_3.11.patch

And if it askes you what file to patch, you just write this: kernel/nv-linux.h and press ENTER.


After running the above quoted, you will get the following .run file;


https://www.dropbox.com/s/nqzoqt6a70sz1h6/NVIDIA-Linux-x86_64-325.15-custom.run


running this will install quite ok.

Enjoy.

#14
Posted 09/24/2013 06:23 PM   
I removed NVIDIA CUDA toolkit, profiler or anything related to CUDA and NVIDIA 325.15 installed without a hitch. Not sure if I really needed CUDA but everything seems to be working fine. The only difference is that my NVIDIA 325.15 came from ppa:xorg-edgers repository.
I removed NVIDIA CUDA toolkit, profiler or anything related to CUDA
and NVIDIA 325.15 installed without a hitch. Not sure if I really
needed CUDA but everything seems to be working fine. The only difference
is that my NVIDIA 325.15 came from ppa:xorg-edgers repository.

#15
Posted 09/24/2013 06:50 PM   
  1 / 2    
Scroll To Top