LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices



Reply
 
Search this Thread
Old 09-22-2012, 07:29 PM   #1
chui1989
LQ Newbie
 
Registered: Sep 2012
Posts: 4

Rep: Reputation: Disabled
Hopelessly stuck on making Nvidia Driver work on Debian


Before I posted question here, I'd been hacking around for the solution for my problem, but none of them worked. Here is my situation. I had a Win7 OS before I put a Debian Squeeze on it, now I got a dual-boot. However, I tried both ways to install driver for my Nvidia Quadro 1000M card on this machine, Debian ways,http://wiki.debian.org/NvidiaGraphicsDrivers, and the Nvidia driver script from its website, both yielded the same results. "failed to initialize the nvidia graphic device, none of the screen has been configured."(From var/log/Xorg.log), and one thing I realized was that after tweaking the linux version of Nvidia driver from above, my windows Navidia driver broke as well when I logged into windows, and I had to reinstall to get it back working again. Does it mean that I can't get two drivers on the same machine even there are for different OSs and are in different partition? Or those above solution only worked for standalone linux machine? Sorry about my incomplete knowledge for drivers, but please help cuz I am going nuts here. Thank you ini advance.
 
Old 09-22-2012, 10:03 PM   #2
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Squeeze
Posts: 585

Rep: Reputation: 119Reputation: 119
It's strange that installing the Linux driver broke the Windows driver. These are totally separate and different drivers.

I've never used the Debian way of installing my nVidia driver. I've always used the version from the nVidia driver site.

Since you did not mention the release of Debian or the driver version, I'll describe what I do to install driver version 173.14.3x on Squeeze using GNOME.

If you automatically boot into X, do the following:
  1. Drop to the command line by pressing Ctrl+Alt+F1
  2. Backup your xorg.conf file (should you want to revert):
    Code:
    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_orig
  3. Blacklist the Nouveau driver (this can also be done by the nVidia script):
    Code:
    echo -e "blacklist nouveau\noptions nouveau modeset=0" | sudo tee /etc/modprobe/nouveau-blacklist.conf
  4. Update your initramfs:
    Code:
    sudo update-update-initramfs -k all    # Use -k $(uname -r) for the currently running kernel only
  5. Install the kernel headers (you can skip this if they are already installed):
    Code:
    sudo apt-get install linux-headers-$(uname -r)
  6. Reboot.
    Code:
    sudo reboot
  7. This should automatically reboot to the command line. If you get a flashing cursor, press Ctrl+Alt+F! for the command line and stop gdm:
    Code:
    sudo service gdm3 stop
  8. Now run the downloaded nVidia installer script:
    Code:
    sudo sh /path/to/script/script_name.run -a -e
    This will build the pre-compiled kernel interface, the kernel module and also install the GLX drivers.
    The options are:
    1. -a - Automatically accept the license agreement
    2. -e - Expert mode. It should be safe to accept the defaults provided.
  9. Once the module is successfully built, insert the module into the currently running kernel:
    Code:
    sudo modprobe nvidia
  10. Start GNOME:
    Code:
    sudo service gdm3 start

If all went well, you should now be running the proprietary nVidia driver. You can tweak your xorg.conf file as needed.

Hope it helps.
 
Old 09-23-2012, 01:54 AM   #3
chui1989
LQ Newbie
 
Registered: Sep 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
I want to thank you for this lengthy reply, but it still hasn't been working for me, I did follow your steps exactly and got the same answer, before I boot into the GUI OS, I got a black screen with a blinking like crazy cursor, the log from Xorg.log says "No devices detected and fatal server error: no screen found", what does it mean? Also, I discovered that if I got rid of xorg.conf in /etc/X11/, at least I could boot into system without stucking at the black screen and cursor, even though I can't use dual-display cuz it says X server is not configured. anyidea? Thank you

Edited:
It's working after I disabled Nvidia optimus, screw them, Thank you again

Last edited by chui1989; 09-23-2012 at 02:27 AM.
 
Old 09-23-2012, 05:16 AM   #4
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904
Quote:
Originally Posted by chui1989 View Post
Edited:
It's working after I disabled Nvidia optimus, screw them, Thank you again
Disabling optimus will probably have some effect on your battery life with windows.

I'd give bumblebee a try, that can let you leave optimus running for windows and you can use the nVidia GPU with linux.
 
  


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
cannot get nvidia driver for 7000m(notebook) fx card to work in debian 5.0.1 thepugslo Linux - Newbie 2 05-01-2009 07:28 PM
10.2 stuck in 640x480 with nvidia driver enabled d3m0 Suse/Novell 6 08-31-2007 10:46 AM
Debian nvidia-driver 1.0.9625 tv-out dosn't work zomane Linux - Desktop 2 12-04-2006 10:38 PM
Stuck on nvidia driver. Peadar Linux - Hardware 9 02-26-2006 10:46 AM
stuck with nvidia display driver TurtleFace Linux - Newbie 12 07-13-2005 02:59 AM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
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