On Mon, Oct 21, 2013 at 06:28:16AM +1100, [email protected] wrote: > I am just trying to install the NVidia closed src drivers on Debian > 7.1 AMD64 and the X server is crashing imediatly after start up below > is the final part of the Xorg.log,
which version of the nvidia driver are you using? and where did you get it from? it's probably not the nvidia-kernel-dkms package, as that won't even compile with linux-kernel 3.11 at the moment (not unusual, the proprietary nvidia drivers usually lag behind kernel updated by a few days or weeks). e.g. i just installed linux-image-3.11-1-amd64 and linux-headers-3.11-1-amd64 on one of my system, and the postinst showed this: Setting up linux-headers-3.11-1-amd64 (3.11.5-1) ... Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms 3.11-1-amd64 Error! Bad return status for module build on kernel: 3.11-1-amd64 (x86_64) Consult /var/lib/dkms/nvidia-current/325.15/build/make.log for more information. i'll be purging that now, or configuring grub to not boot 3.11 until an updated nvidia-kernel-dkms package is released that will compile against linux 3.11. [...a little later...] correction. nvidia-kernel-dkms 325.15-1 will not compile against linux 3.11. 325.15-2 or later will. i ran 'apt-get -t experimental install nvidia-kernel-dkms' to install 325.15-3 and it compiled OK. i haven't rebooted yet to see if it actually works or not. from the changelog: nvidia-graphics-drivers (325.15-3) experimental; urgency=low * Enable building the new libnvidia-ifr1 package. -- Andreas Beckmann <[email protected]> Sun, 15 Sep 2013 16:20:51 +0200 nvidia-graphics-drivers (325.15-2) experimental; urgency=low * Merge changes from 304.108-3 and 313.49 (UNRELEASED). - linux-3.11.patch: New patch to fix compilation with Linux 3.11. (Closes: #722894) * Note: Some features from 313.49 are not yet in 325.15. * Do not build libnvidia-ifr1, yet. -- Andreas Beckmann <[email protected]> Sun, 15 Sep 2013 16:01:23 +0200 anyway, the *correct* way to install nvidia closed source drivers on a debian system is 'apt-get install nvidia-driver' - this will pull in the nvidia-kernel-dkms package and other related packages, the X driver (nvidia-glx), and the linux-headers-3.xx package appropriate for your kernel. it will then automatically compile and install the nvidia.ko module and run update-initramfs. any other method, e.g. downloading the binary driver package from nvidia's web site and using their generic installer script, is guaranteed to cause you problems. NOTE: you will need the contrib and non-free repositories enabled in your sources.list. if you want early access to the latest versions of the nvidia-* packages it's also useful to have the experimental repo - but use apt's pinning (or at least set APT::Default-Release to wheezy in /etc/apt/apt.conf) so that you only get packages from experimental when you explicitly tell apt-get to use it (e.g. with 'apt-get -t experimental install ...'). you can do the same for 'testing' and/or 'unstable' (packages from experimental may require versions of other packages from testing/unstable) e.g. i run debian sid aka unstable and have the following in my /etc/apt/sources.list: #deb http://my.local.mirror/debian stable main contrib non-free #deb http://my.local.mirror/debian testing main contrib non-free deb http://my.local.mirror/debian/ unstable main non-free contrib deb http://my.local.mirror/debian experimental main contrib non-free and in /etc/apt/apt.conf, I have: APT::Default-Release "unstable"; on your system, you'd probably want all four (stable, testing, unstable, experimental) uncommented and pointing at your nearest mirror, and have APT::Default-Release "stable"; this will ensure you only get packages from 'stable' unless you explicitly tell apt-get to install packages from testing or unstable or experimental. apt-get install -t experimental install nvidia-driver craig -- craig sanders <[email protected]> _______________________________________________ luv-main mailing list [email protected] http://lists.luv.asn.au/listinfo/luv-main
