when using latest vanilla-sources 3.11.0 nvidia-drivers dont compile. make[2]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/work/kernel/os-interface.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /raid6/src/linux-3.11.0/arch/x86/include/asm/uaccess.h:539:0, from include/linux/poll.h:11, from /var/tmp/portage/x11-drivers/nvidia-drivers-325.15/work/kernel/nv-linux.h:97, from /var/tmp/portage/x11-drivers/nvidia-drivers-325.15/work/kernel/os-registry.c:15: /raid6/src/linux-3.11.0/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’: /raid6/src/linux-3.11.0/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] make[1]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/work/kernel] Fehler 2 make[1]: Leaving directory `/raid6/src/linux-3.11.0' NVIDIA: left KBUILD. nvidia.ko failed to build! make: *** [module] Fehler 1 * ERROR: x11-drivers/nvidia-drivers-325.15 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-325.15'`, * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-325.15'`. * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/temp/environment'. * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/work/kernel' * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/work/' >>> Failed to emerge x11-drivers/nvidia-drivers-325.15, Log file: >>> '/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/temp/build.log'
(Quoting Doug Goldstein from bug #447566 comment #56) > It is and has always been Gentoo's policy to support what NVIDIA supports. The current versions of the drivers do not support 3.11. You are more than welcome to use the capabilities of epatch_user (which are present in all the ebuilds) to make the changes yourself but they do not go into the main tree. *** This bug has been marked as a duplicate of bug 447566 ***
Created attachment 357792 [details, diff] patch for 3.11 This patch from the Nvidia list seems to work.
(In reply to Harris Landgarten from comment #2) > Created attachment 357792 [details, diff] [details, diff] > patch for 3.11 > > This patch from the Nvidia list seems to work. Sorry to ask here, i am confirm with linux, but not how to add this pathc. Where do i have to place the attachement, and how to apply it? many thanks marko
While we advice you not to, as it voids your support / warranty; you can place it in /etc/portage/patches/x11-drivers/nvidia-drivers/ and emerging the drivers again will apply it. The patch looks quite small; so, it probably doesn't break.
(In reply to Tom Wijsman (TomWij) from comment #4) > While we advice you not to, as it voids your support / warranty; you can > place it in /etc/portage/patches/x11-drivers/nvidia-drivers/ and emerging > the drivers again will apply it. The patch looks quite small; so, it > probably doesn't break. So, better is to wait for a new xx1-drivers/nvidia-drivers in portage?? marko
(In reply to Marko Weber Bürgermeister from comment #5) > So, better is to wait for a new xx1-drivers/nvidia-drivers in portage?? Yes, likely; unless you have a very specific reason to run 3.11 instead of 3.10.
there seems to be a different patch floating around https://devtalk.nvidia.com/cmd/default/download-comment-attachment/58912/ from https://devtalk.nvidia.com/default/topic/557110/linux/linux-3-11_rcx-compatibility/ archlinux has also applied it https://projects.archlinux.org/svntogit/packages.git/tree/trunk/nvidia-linux-3.11.patch?h=packages/nvidia