LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-27-2005, 04:43 PM   #1
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
Nvidia Drivers Working till Shutdown


I have installed Ubuntu 5.04, I then installed the drivers from NVIDIA since when I tried using the Linux Restricted modules and installing the pre-compiled Nvidia driver, I would just get a black screen and the laptop would be frozen.

After installing the Nvidia drivers from the Nvidia site the PC will bootup, you get the Nvidia splash screen and the PC will work fine with video acceleration.

My problem comes when I then decide to shutdown or restart or go to a terminal using Ctrl-Alt-F2, then I get a blank screen and the laptop freezes and the only way to shutdown is to do a hard shutdown, holding the power key. When using the "nv" driver everything is fine.

Has anybody experienced this, I have searched the forum but couldn't find anything along these lines.

To me it's a mystery since there is no problem till I shutdown or want to go to a tty.

I have a Dell 2650 Inspiron laptop with a GeForce2Go video card.
 
Old 06-27-2005, 07:33 PM   #2
LinuxVB
Member
 
Registered: May 2005
Distribution: SuSE
Posts: 58

Rep: Reputation: 15
I'm not familiar with Ubuntu, but I suspect that like most other modern distibutions they include framebuffer support in the kernel and provide some splashy graphical display at bootup and shutdown. The framebuffer and the nVIDIA drivers conflict in the alternate consoles and at shutdown. I have a SuSE 9.3 box that had no consoles and a scrambled display at shutdown. Come to think of it, it did that with SuSE 9.2, too.

I resolved my consoles and shutdown issues by replacing the vga=791 in my
/boot/grub/menu.lst (grub.conf on some distros) with vga=normal.
I don't have pretty GUI splash screens on bootup or shutdown anymore, but all the consoles work, including a 2nd users X session under <ctrl><alt><F8>.
 
Old 07-12-2005, 03:43 PM   #3
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Original Poster
Rep: Reputation: 30
Well I have checked and Ubuntu doesn't have the splash screen option.

I can't find what is causing the problem, I will get the NVIDIA splash screen and there will be no problem till I logout of GNOME then the screen turns black and the hard drive just stops.

Does anybody have any other ideas, I might try removing the MESAGL libraires and see if this changes anything.

Last edited by JayCnrs; 07-12-2005 at 03:45 PM.
 
Old 07-15-2005, 11:33 PM   #4
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Original Poster
Rep: Reputation: 30
Well I finally have this working, took some research through the Ubuntu forums, LQ and Nvidia to get this fixed.

First off I decided to compile the Nvidia drivers from the Nvidia website so I had to use Synaptic and download and install the following files.

linux-kernel-headers (this had to match my running kernel)
linux-source-2.6.10
gcc


Then I went to a terminal after logging out of Gnome and ran the following command:

sudo /etc/init.d/gdm stop

Once completed I went to the directory where I had downloaded the drivers and ran:

sudo sh NVIDIA-Linux-x86-1.0-7664-pkg1.run

Then I went and edited my /etc/X11/xorg.conf file, you have to use sudo, commenting out load dri and changed the video driver the following way:

Code:
Section "Device"
        Identifier      "NVIDIA Corporation NV11 [GeForce2 Go]"
        Driver          "nvidia"
        BusID           "PCI:1:0:0"
        Option          "NvAGP"  "3"
EndSection
I saved my changes then I edited the file /etc/modules adding this behind nvidia in the file:

nvidia NVreg_Mobile=2

Then the last file I edited was /etc/hotplug/blacklist adding the following to the end of the file:
Code:
#Remove intel agp driver, conflicts with Nvidia drivers
intel_agp
Once all the changes were completed I then rebooted, I got the Nvidia splash screen, also excellent color. I am not able to get to a console by using Ctrl-Alt-F2 but I believe this is because of the 7664 drivers and the new Nvidia drivers are suppose to fix this, I tried downloading 7667 driver to try it and see if it does repair that function, however the download times out.

I am getting on average around 400 FPS when using glxgears.

HTH, by the way the Nvidia card is a Geforce2Go, 16 MB.

Let us know if these steps work for other people.

Last edited by JayCnrs; 07-21-2005 at 05:49 PM.
 
Old 07-18-2005, 04:04 PM   #5
Xwang1976
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by JayCnrs
Well I finally have this working, took some research through the Ubuntu forums, LQ and Nvidia to get this fixed.

First off I decided to compile the Nvidia drivers from the Nvidia website so I had to use Synaptic and download and install the following files.

linux-kernel-headers (this had to match my running kernel)
linux-source-2.6.10
gcc


Then I went to a terminal after logging out of Gnome and ran the following command:

sudo /etc/init.d/gdm stop

Once completed I went to the directory where I had downloaded the drivers and ran:

sudo sh NVIDIA-Linux-x86-1.0-7664-pkg1.run

Then I went and edited my /etc/X11/xorg.conf file, you have to use sudo, commenting out load dri and changed the video driver the following way:

Code:
Section "Device"
        Identifier      "NVIDIA Corporation NV11 [GeForce2 Go]"
        Driver          "nvidia"
        BusID           "PCI:1:0:0"
        Option          "NvAGP"  "3"
        Option          "DigitalVibrance" "255"
EndSection
I saved my changes then I edited the file /etc/modules adding this behind nvidia in the file:

nvidia NVreg_Mobile=2

Then the last file I edited was /etc/hotplug/blacklist adding the following to the end of the file:
Code:
#Remove intel agp driver, conflicts with Nvidia drivers
intel_agp
Once all the changes were completed I then rebooted, I got the Nvidia splash screen, also excellent color. I am not able to get to a console by using Ctrl-Alt-F2 but I believe this is because of the 7664 drivers and the new Nvidia drivers are suppose to fix this, I tried downloading 7667 driver to try it and see if it does repair that function, however the download times out.

I am getting on average around 400 FPS when using glxgears.

HTH, by the way the Nvidia card is a Geforce2Go, 16 MB.

Let us know if these steps work for other people.
I've a very similar problem except for the fact that I have a scrambled screen and not a black one.
By the way I've proved your steps but they didn't fix the problem.
Suggestions?
Xwang
 
Old 07-18-2005, 06:35 PM   #6
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Original Poster
Rep: Reputation: 30
Would you be able to post your xorg.conf file? May be a setting in there that needs to be changed.
 
Old 07-19-2005, 02:53 PM   #7
Xwang1976
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by JayCnrs
Would you be able to post your xorg.conf file? May be a setting in there that needs to be changed.
I don't know way but I can't post attachments.
Can I post the link to another forum in which I've posted mine xorg.conf file?
Xwang
 
Old 07-21-2005, 05:51 PM   #8
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Original Poster
Rep: Reputation: 30
One thing I found was that changing my bios to simul crt/lcd I can now get to a console while X is running. Maybe try making that change in your bios if possible.
 
Old 07-22-2005, 02:19 PM   #9
Xwang1976
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by JayCnrs
One thing I found was that changing my bios to simul crt/lcd I can now get to a console while X is running. Maybe try making that change in your bios if possible.
I don't have that option in my bios and since this problem did never occour when I used suse 9.2, I think it is a problem related with ubuntu settings which, perhaps, conflict with the nvidia driver on my machine.
Xwang
 
  


Reply



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 drivers and 2.6.10 not working jimdaworm Slackware 3 01-23-2005 04:32 PM
NVidia graphics drivers -> system crash on shutdown MiP Linux - Software 1 10-30-2004 06:39 PM
Nvidia drivers causes corrupt display on shutdown pugsley Mandriva 8 07-08-2004 10:57 PM
Installed nvidia drivers.. now screen looks like a meltdown on shutdown. guitarnix Linux - Hardware 0 11-19-2003 04:02 AM
How to make modules to stay in the memory till syst shutdown?? paonethestar Linux - Software 2 10-29-2003 09:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:54 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
Open Source Consulting | Domain Registration