Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| 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. |
|
 |
05-10-2008, 05:10 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2007
Posts: 15
Rep:
|
Ubuntu 8.04 + Nivdia geforce 8800 GTX drivers not working
Greetings everyone  .
I've ran into a problem. What I'm trying to do is set up my Nvidia drivers. I use Envy to download the proper drivers and then I enable them but when i reboot I get an error and I have to go back to vesa drivers.
any help would be very much appreciated!
|
|
|
|
05-10-2008, 05:54 PM
|
#2
|
|
Member
Registered: Dec 2002
Location: St Louis, MO
Distribution: Arch Linux
Posts: 99
Rep:
|
Did you install/enable the restricted version of the nvidia driver from the repos before doing that?
I had the same problem, but I installed the drivers from nvidia's site after I had installed the ones from the restricted drivers.
I had to get rid of the restricted drivers version. Then do it. Also, there is a init.d entry for nvidia-kernel that you will need to disable in /etc/rc2.d. It appears to load the incorrect kernel driver (the restricted version) then when X starts it tries to load the version that you installed the other way. It causes X to go ballistic.
Hope this piece of information helps.
|
|
|
|
05-10-2008, 06:50 PM
|
#3
|
|
LQ Newbie
Registered: Jun 2007
Posts: 15
Original Poster
Rep:
|
I uninstalled everything then I reinstalled everything with envy. I think thast not the restricted drivers right? And Here is my /etc/init.d/nvidia-kernel. can you show me what I need to change please?
[QUOTE]]#!/bin/sh
PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin
# How many cards?
[ -r /etc/default/nvidia-kernel ] && . /etc/default/nvidia-kernel
# test if anything is requested
if [ -z "$NVIDIA_CARDS" ] || [ "$NVIDIA_CARDS" -lt 1 ]; then
# Nothing to do but exit.
exit 0
fi
make_nodes () {
if ! [ -e /dev/nvidiactl ]; then
mknod -m 0660 /dev/nvidiactl c 195 255
chgrp video /dev/nvidiactl
fi
for i in $(seq 0 $(($NVIDIA_CARDS - 1))); do
if ! [ -e /dev/nvidia$i ]; then
mknod -m 0660 /dev/nvidia$i c 195 $i
chgrp video /dev/nvidia$i
fi
done
}
case "$1" in
start|restart|reload|force-reload)
make_nodes
;;
stop)
:
;;
*)
echo "Usage: /etc/init.d/nvidia-kernel {start|stop|restart|reload|force-reload}"
exit 1
;;
esac
exit 0[/QUOTE
|
|
|
|
05-10-2008, 07:16 PM
|
#4
|
|
Member
Registered: Dec 2002
Location: St Louis, MO
Distribution: Arch Linux
Posts: 99
Rep:
|
Is there a file named S??nvidia-kernel in the /etc/rc2.d directory? The ?? are numbers related to the order in which things are loaded. I think mine was 20.
If it is there, it is a link to the file in /etc/init.d so simply remove the S??nvidia-kernel file in the /etc/rc2.d directory. Make a note of the number in case you need to recreate that link if this doesn't work.
Hope this helps..
|
|
|
|
05-11-2008, 03:21 PM
|
#5
|
|
LQ Newbie
Registered: Jun 2007
Posts: 15
Original Poster
Rep:
|
Ok, I see the file but when I try to delete it it says that I don't have permission  .
|
|
|
|
05-11-2008, 05:19 PM
|
#6
|
|
Member
Registered: Dec 2002
Location: St Louis, MO
Distribution: Arch Linux
Posts: 99
Rep:
|
You will not be able to do that as your standard user...
go to a terminal and use the sudo command.
sudo rm /etc/rc2.d/S??nvidia-kernel
it will prompt for your password to execute this.
Hope this helps.
|
|
|
|
05-11-2008, 07:48 PM
|
#7
|
|
LQ Newbie
Registered: Jun 2007
Posts: 15
Original Poster
Rep:
|
Ok thanks I did that and then I ran sudo nvidia-xconfig and restarted the xorg. when it reloaded it like froze at this point Running local boot scripts (/etc/rc.local) Then it made me go back to vesa drivers. But thats what it's always done even before I deleted the /etc/rc2.d/S20nvidia-kernel.
|
|
|
|
05-12-2008, 05:54 PM
|
#8
|
|
Member
Registered: Dec 2002
Location: St Louis, MO
Distribution: Arch Linux
Posts: 99
Rep:
|
I looked up the envy, I assume you loaded envyng and not the envy. envyng is the one for hardy heron. Anyway.
When that freeze happens and you have to use the vesa driver, does your /var/log/Xorg.log file have any errors. If so, post the log file and people can look to see if anything sticks out.
I am imagining you are getting an error regarding cannot load nvidia module, but look and see. If that error is occuring, as I said post the log.
This is kind of wierd.
|
|
|
|
05-12-2008, 08:02 PM
|
#9
|
|
LQ Newbie
Registered: Jun 2007
Posts: 15
Original Poster
Rep:
|
Yea sorry for that I am using envyng. I don't have a chance to look at my log :/. When it happens it makes me change my drivers right away. I get this box that comes up on my screen before I even have a chance to log in.
|
|
|
|
05-13-2008, 09:59 PM
|
#10
|
|
LQ Newbie
Registered: Jun 2007
Posts: 15
Original Poster
Rep:
|
Might I also add that this same problem was happening when I was using 7.10 but somehow (I can't even remember) I got it to work! but after a few months something happened and it started to act odd again and I went back to Vesa because I didn't want to fix it. So when I updated to 8.04 the problem is still here but hopefully it can be fixed  .
|
|
|
|
| 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 10:46 AM.
|
|
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
|
|