LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 07-07-2012, 09:42 PM   #1
dbx
LQ Newbie
 
Registered: Jul 2012
Location: Birmingham, UK
Distribution: Debian
Posts: 7

Rep: Reputation: Disabled
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"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.0
        Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  195.36.31  Thu Jun  3 08:27:29 PDT 2010
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 00@00:02:0
(EE) No devices detected.

Fatal server error:
no screens found
After hours of searching for answers, and retrying the installation using various different approaches, I've hit a brick wall. Does anyone have a solution?

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.
 
Old 07-08-2012, 12:43 PM   #2
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 481

Rep: Reputation: 108Reputation: 108
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?
 
1 members found this post helpful.
Old 07-08-2012, 01:05 PM   #3
nixblog
Member
 
Registered: May 2012
Posts: 426

Rep: Reputation: 52
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.
 
Old 07-08-2012, 01:22 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,438
Blog Entries: 2

Rep: Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001
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
After that launch the commands:
Code:
apt-get update
apt-get -t squeeze-backports install nvidia-glx
 
1 members found this post helpful.
Old 07-08-2012, 06:44 PM   #5
dbx
LQ Newbie
 
Registered: Jul 2012
Location: Birmingham, UK
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: Disabled
Firstly, thanks for the replies.

Tobi, I tried what you suggested but I'm getting the same error:

Code:
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.0
        Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  295.59  Wed Jun  6 21:21:24 PDT 2012
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 00@00:02:0
(EE) No devices detected.

Fatal server error:
no screens found
I can see that the 259.59 driver is now installed. Do I need to go back and rebuild the kernel, and if so what's the best way to do that? I'm working right at the limits of my understanding now and I'm not sure how to move forward.

Thank you everyone for your help so far.
 
Old 07-08-2012, 06:47 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,438
Blog Entries: 2

Rep: Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001
No need to recompile the kernel. Please post the output of
Code:
lspci
and the manufacturer and exact model number of this laptop.
 
Old 07-08-2012, 11:54 PM   #7
Cheesesteak
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 100

Rep: Reputation: 24
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"
    Identifier     "Device0"
    Driver         "nvidia"
    Option "RegistryDwords" "EnableBrightnessControl=1"
    VendorName     "NVIDIA Corporation"
EndSection

My laptop does not have Optimus. The RegistryDwords option allows me to control the brightness of my laptop's screen.
 
Old 07-09-2012, 03:10 AM   #8
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, FreeBSD
Posts: 1,241

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Post the outputs

Code:
$ apt-cache policy linux-headers-`uname -r` nvidia-kernel-dkms nvidia-glx
@Cheesesteak: The file you've created in /usr/share/X11/xorg.conf.d/ is identical in function to an xorg.conf file located in /etc/X11/ or a whatever.conf located in /etc/X11/xorg.conf.d/. X11 looks for configuration files on all of those locations. The short version is: you may as well have an xorg.conf - nvidia and amd proprietary drivers need it anyway.
 
Old 07-09-2012, 03:48 AM   #9
dbx
LQ Newbie
 
Registered: Jul 2012
Location: Birmingham, UK
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: Disabled
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)
00:01.0 PCI bridge: Intel Corporation Sandy Bridge PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Cougar Point LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation Device 0df5 (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
04:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
Here's the output you asked for caravel:

Code:
nvidia-glx:
  Installed: 295.59-1~bpo60+1
  Candidate: 295.59-1~bpo60+1
  Version table:
 *** 295.59-1~bpo60+1 0
        100 http://backports.debian.org/debian-backports/ squeeze-backports/non-free amd64 Packages
        100 /var/lib/dpkg/status
     195.36.31-6 0
        500 http://ftp.debian.org/debian/ squeeze/non-free amd64 Packages
linux-headers-2.6.32-5-amd64:
  Installed: (none)
  Candidate: 2.6.32-45
  Version table:
     2.6.32-45 0
        500 http://ftp.uk.debian.org/debian/ squeeze/main amd64 Packages
        500 http://ftp.debian.org/debian/ squeeze/main amd64 Packages
     2.6.32-44 0
        500 http://security.debian.org/ squeeze/updates/main amd64 Packages
     2.6.32-39 0
        500 http://ftp.uk.debian.org/debian/ squeeze-updates/main amd64 Packages
nvidia-kernel-dkms:
  Installed: 295.59-1~bpo60+1
  Candidate: 295.59-1~bpo60+1
  Version table:
 *** 295.59-1~bpo60+1 0
        100 http://backports.debian.org/debian-backports/ squeeze-backports/non-free amd64 Packages
        100 /var/lib/dpkg/status
     195.36.31-6 0
        500 http://ftp.debian.org/debian/ squeeze/non-free amd64 Packages
 
Old 07-09-2012, 04:31 AM   #10
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by Cheesesteak View Post
My laptop does not have Optimus.
Yes, it does. Dell XPS 15 L502x models with 'sandy bridge' CPUs and nVidia GPUs are all optimus setups.

Code:
00:01.0 PCI bridge: Intel Corporation Sandy Bridge PCI Express Root Port (rev 09)
01:00.0 VGA compatible controller: nVidia Corporation Device 0df5 (rev a1)
That is a typical lspci output for an optimus laptop.

To get the nVidia GPU going with linux, you'll need bumblebee (or one of the other projects)-

http://bumblebee-project.org/
 
Old 07-09-2012, 04:46 AM   #11
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 481

Rep: Reputation: 108Reputation: 108
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.
 
1 members found this post helpful.
Old 07-09-2012, 04:58 AM   #12
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by jim_p View Post
And in case you are looking for a repo with bumblebee > http://suwako.nomanga.net/
I hope it works properly.
Possibly better to link to the offical debian wiki on bumblebee?-

http://wiki.debian.org/Bumblebee

Quote:
Originally Posted by jim_p View Post
However, if I was in your position, I would stick with windows since nvidia does not officially support optimus on linux.
While its not exactly fun to setup, bumblebee works in most cases (and should work on a L502x).

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).
 
1 members found this post helpful.
Old 07-09-2012, 07:38 AM   #13
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, FreeBSD
Posts: 1,241

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
The problem is apparent:

Quote:
Originally Posted by dbx View Post
Code:
linux-headers-2.6.32-5-amd64:
  Installed: (none)
  Candidate: 2.6.32-45
  Version table:
     2.6.32-45 0
        500 http://ftp.uk.debian.org/debian/ squeeze/main amd64 Packages
        500 http://ftp.debian.org/debian/ squeeze/main amd64 Packages
     2.6.32-44 0
        500 http://security.debian.org/ squeeze/updates/main amd64 Packages
     2.6.32-39 0
        500 http://ftp.uk.debian.org/debian/ squeeze-updates/main amd64 Packages
Install the kernel headers and reinstall the nvidia driver.

Quote:
Originally Posted by dbx View Post
I've followed the instructions found here http://wiki.debian.org/NvidiaGraphicsDrivers/ to the letter
It would appear not...
Quote:
Originally Posted by NvidiaGraphicsDrivers
All you need to do is install the kernel headers package for the Linux image that you're running (usually named linux-headers-<version> where <version> is whatever version of kernel you're running) and then install nvidia-kernel-dkms or the nvidia-kernel-legacy-...-dkms package for the legacy version of the drivers that you need.
 
1 members found this post helpful.
Old 07-09-2012, 05:08 PM   #14
dbx
LQ Newbie
 
Registered: Jul 2012
Location: Birmingham, UK
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by caravel View Post
It would appear not...
Fair point. I was following the instructions for the first method and, since nothing appeared to go wrong during the installation process, proceeded to the next step.

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
now returns:

Code:
nvidia-glx:
  Installed: 295.59-1~bpo60+1
  Candidate: 295.59-1~bpo60+1
  Version table:
 *** 295.59-1~bpo60+1 0
        100 http://backports.debian.org/debian-backports/ squeeze-backports/non-free amd64 Packages
        100 /var/lib/dpkg/status
     195.36.31-6 0
        500 http://ftp.debian.org/debian/ squeeze/non-free amd64 Packages
linux-headers-2.6.32-5-amd64:
  Installed: 2.6.32-45
  Candidate: 2.6.32-45
  Version table:
 *** 2.6.32-45 0
        500 http://ftp.uk.debian.org/debian/ squeeze/main amd64 Packages
        500 http://ftp.debian.org/debian/ squeeze/main amd64 Packages
        100 /var/lib/dpkg/status
     2.6.32-44 0
        500 http://security.debian.org/ squeeze/updates/main amd64 Packages
     2.6.32-39 0
        500 http://ftp.uk.debian.org/debian/ squeeze-updates/main amd64 Packages
nvidia-kernel-dkms:
  Installed: 295.59-1~bpo60+1
  Candidate: 295.59-1~bpo60+1
  Version table:
 *** 295.59-1~bpo60+1 0
        100 http://backports.debian.org/debian-backports/ squeeze-backports/non-free amd64 Packages
        100 /var/lib/dpkg/status
     195.36.31-6 0
        500 http://ftp.debian.org/debian/ squeeze/non-free amd64 Packages
Still no joy though. Rebooting results in a blank screen with a blinking _ in the top left corner.

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.
 
Old 07-09-2012, 05:48 PM   #15
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,673

Rep: Reputation: 122Reputation: 122
Have you tried installing the official nVidia driver? http://www.nvidia.co.uk/object/unix-uk.html for starters

Step by step:
  • get the latest driver from nVidia
  • install the build-essential package. This gives you a build environment the script needs to compile the actual driver
  • the installer will fail if there's an X11 session active. To solve this, become root, reboot into init 1 (just issue the command "init 1", w/o the " please ) and navigate to the directory you've stored the installer script
  • still on the command line, start the installer by invoking its name, preceded with sh and a space
  • follow instructions on the screen, including installing the 32 bit libs and have the installer modify/create the xorg.conf file
  • when done, reboot
You should now have a normal desktop in front of you. Report back if you didn't!
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia geforce4 mx440 drivers for debian squeeze 2handband Linux - Hardware 14 02-01-2010 08:57 PM
Nvidia GeForce worked once, Nvidia linux drivers killed it, and now i can't fix it. conway.federico Linux - Hardware 8 10-16-2008 10:28 PM
Restricted Nvidia drivers not listed in Hardware Drivers (8.04 Hardy Heron, liveCD) shroomy_bee Ubuntu 4 07-06-2008 10:16 AM
UNinstalling proprietry mandriva nVidia drivers and installing new nVidia drivers deathman Linux - Hardware 3 11-18-2006 05:10 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM


All times are GMT -5. The time now is 02:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration