nvidia drivers in Squeeze
Before I start, I must say that I'm very much a Linux rookie so please bear with me.
I'm hoping someone could help me with installing the current nvidia drivers in Debian 6.0.5 Squeeze - amd64. I've followed the instructions found here http://wiki.debian.org/NvidiaGraphicsDrivers/ to the letter, but I always encounter the same problem. X refuses to restart, and I have to reboot into recovery mode and delete the xorg.conf file to get back to the desktop. I've pulled this error out of the Xorg log file: Code:
(II) LoadModule: "nvidia" If it's any help, I'm running what I think is a GeForce 525M (I've tried using lspci | grep VGA but it just returns 'nVidia Corporation Device 0df5 (rev a1)'). Any help with this would be greatly appreciated. |
The driver's version included in the stable repo (195.36) is probably too old for your gpu, thus it does not support it at all.
Install the one from the backports repo which is on version 295.x. Btw, is this some optimus thing? The intel+nvidia switchable graphics thing? |
Perhaps it might be your card causing problems - what model is it?
You could also try this install script here, I have used it successfully in the past. |
The GF525M is to new for the drivers in Squeeze, as jim_p already pointed out.
Install the drivers from the backports repository: http://backports-master.debian.org/ Add this line to your /etc/apt/sources.list: Code:
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free Code:
apt-get update |
Firstly, thanks for the replies.
Tobi, I tried what you suggested but I'm getting the same error: Code:
(II) LoadModule: "nvidia" Thank you everyone for your help so far. |
No need to recompile the kernel. Please post the output of
Code:
lspci |
Do you need an xorg.conf file?
Do you have a specific need to use an xorg.conf file? I'm playing with Squeeze right now, using a GeForce GT 550M and driver version 302.17.
I deleted /etc/X11/xorg.conf and created /usr/share/X11/xorg.conf.d/10-nvidia.conf contents of 10-nvidia.conf Code:
Section "Device" My laptop does not have Optimus. The RegistryDwords option allows me to control the brightness of my laptop's screen. |
Post the outputs
Code:
$ apt-cache policy linux-headers-`uname -r` nvidia-kernel-dkms nvidia-glx |
Tobi, my laptop is a Dell XPS 15 (L502x).
lpsci returns: Code:
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09) Code:
nvidia-glx: |
Quote:
Code:
00:01.0 PCI bridge: Intel Corporation Sandy Bridge PCI Express Root Port (rev 09) To get the nVidia GPU going with linux, you'll need bumblebee (or one of the other projects)- http://bumblebee-project.org/ |
And in case you are looking for a repo with bumblebee > http://suwako.nomanga.net/
I hope it works properly. However, if I was in your position, I would stick with windows since nvidia does not officially support optimus on linux. |
Quote:
http://wiki.debian.org/Bumblebee Quote:
As for 'nvidia does not officially support optimus on linux'..... http://www.youtube.com/watch?v=_36yNWw_07g (yeah, I know Linus is mostly talking about nVidia + android). |
The problem is apparent:
Quote:
Quote:
Quote:
|
Quote:
Anyway, I've installed the headers and reinstalled the driver. It appears I now have drivers that correspond to the kernel module version, and headers that match my kernel. Code:
apt-cache policy linux-headers-`uname -r` nvidia-kernel-dkms nvidia-glx Code:
nvidia-glx: If you guys are willing to persevere, I would appreciate any further help you can give. Again, thanks for what you've done so far. |
Have you tried installing the official nVidia driver? http://www.nvidia.co.uk/object/unix-uk.html for starters :)
Step by step:
|
If you get really stuck/desparate you may want to investigate disabling optimus in your BIOS, (pretty sure Dell's give you this option) and see if that gets you any joy. Maybe not what you want but at least it provides a starting point.
|
Quote:
The first L702X laptops with the 3D-ready 1080p screen did not support Optimus, and that's what I have. I would have ordered an L501X with Nvidia-only graphics, but opted to wait after seeing that this 15" model didn't provide easy access to the hard drive. output of lspci: Code:
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09) |
Quote:
|
I vastly prefer the Nvidia drivers, and have been using them on multiple machines (2 desktops and 1 laptop) for several years.
That said, while Optimus is enabled, you won't get any Nvidia only drivers working without bumblebee. And according to what you posted, you do indeed have Optimus: Quote:
|
Quote:
1. When you get an update for the kernel or X.Org the driver possibly may have to be recompiled. This will happen automatically when you install the drivers from the repositories, but since the drivers from the website circumvent the package management system you have to do that manually. This means that the system will start without GUI after such an update, which can be very difficult for a newbie to handle. 2. The driver replaces some libraries with own versions. This is handled by Debian's alternatives system when you use the driver from the repository. If you use the driver from the website the libraries are overwritten directly. If you now get a Mesa update, which will install the original libraries, your driver will break. |
Quote:
|
If I'm to proceed with Debian packages, where do I go from here?
I seem to have the headers, driver and kernel module aligned properly but X still refuses to start. What's missing? Is there something I need to to include in the xorg.conf file? Do these drivers even support cards with Optimus? |
You have to install and configure Bumblebee.
|
Quote:
|
Quote:
|
According to the Debian Wiki page, the nvidia driver from the backports repo is ok for bumblebee.
http://wiki.debian.org/Bumblebee |
Yeah, if you're going to go for Bumblebee, I'd definitely suggest using the Debian packages for the Nvidia drivers. No use complicating it even FURTHER than it already is.
|
Quote:
Quote:
|
Quote:
But, one can beat even that, by compiling an even newer kernel from source (from the kernel.org guys) and have the nVidia driver compile itself against that :p It's what I do :) (kernel 3.1.3 on Squeeze but I could easily compile the current 3.4.4 kernel and reinstall the nVidia driver, should I choose so... ;)) |
Quote:
|
I didn't realise the nVidia drivers are available from the Debian repo's? Assuming that's the case, these still are older drivers that (may) not work on modern hardware, so installing the latest nVidia driver using their installer does seem a good idea anyway... ;)
|
Quote:
|
Quote:
|
Quote:
If the modded BIOS is an older BIOS with the 'force nVidia/disable optimus' option, updated with newer code but keeping the 'disable' option it might be worth trying. If its just a modded standard BIOS, I wouldnt try it. |
All times are GMT -5. The time now is 08:15 PM. |