Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
07-07-2012, 09:42 PM
|
#1
|
|
LQ Newbie
Registered: Jul 2012
Location: Birmingham, UK
Distribution: Debian
Posts: 7
Rep: 
|
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.
|
|
|
|
07-08-2012, 12:43 PM
|
#2
|
|
Member
Registered: Aug 2009
Distribution: Debian testing
Posts: 455
Rep:
|
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.
|
07-08-2012, 01:05 PM
|
#3
|
|
Member
Registered: May 2012
Posts: 426
Rep: 
|
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.
|
|
|
|
07-08-2012, 01:22 PM
|
#4
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,220
|
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.
|
07-08-2012, 06:44 PM
|
#5
|
|
LQ Newbie
Registered: Jul 2012
Location: Birmingham, UK
Distribution: Debian
Posts: 7
Original Poster
Rep: 
|
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.
|
|
|
|
07-08-2012, 06:47 PM
|
#6
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,220
|
No need to recompile the kernel. Please post the output of and the manufacturer and exact model number of this laptop.
|
|
|
|
07-08-2012, 11:54 PM
|
#7
|
|
Member
Registered: Jun 2008
Distribution: Slackware
Posts: 95
Rep:
|
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.
|
|
|
|
07-09-2012, 03:10 AM
|
#8
|
|
Member
Registered: Apr 2005
Distribution: Debian, Slackware
Posts: 907
|
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.
|
|
|
|
07-09-2012, 03:48 AM
|
#9
|
|
LQ Newbie
Registered: Jul 2012
Location: Birmingham, UK
Distribution: Debian
Posts: 7
Original Poster
Rep: 
|
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
|
|
|
|
07-09-2012, 04:31 AM
|
#10
|
|
Senior Member
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 2,921
|
Quote:
Originally Posted by Cheesesteak
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/
|
|
|
|
07-09-2012, 04:46 AM
|
#11
|
|
Member
Registered: Aug 2009
Distribution: Debian testing
Posts: 455
Rep:
|
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.
|
07-09-2012, 04:58 AM
|
#12
|
|
Senior Member
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 2,921
|
Quote:
Originally Posted by jim_p
|
Possibly better to link to the offical debian wiki on bumblebee?-
http://wiki.debian.org/Bumblebee
Quote:
Originally Posted by jim_p
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.
|
07-09-2012, 07:38 AM
|
#13
|
|
Member
Registered: Apr 2005
Distribution: Debian, Slackware
Posts: 907
|
The problem is apparent:
Quote:
Originally Posted by dbx
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
|
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.
|
07-09-2012, 05:08 PM
|
#14
|
|
LQ Newbie
Registered: Jul 2012
Location: Birmingham, UK
Distribution: Debian
Posts: 7
Original Poster
Rep: 
|
Quote:
Originally Posted by caravel
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.
|
|
|
|
07-09-2012, 05:48 PM
|
#15
|
|
Senior Member
Registered: Dec 2005
Posts: 1,636
Rep: 
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:45 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|