Re: NVIDIA Drivers and X Fail on Bootup



C0² wrote:
# sudo -s


I used sudo before every command - same thing right?


The 'sudo -s' puts it into a sudo shell so all the commands you type are as sudo so you don't need to put sudo before every command then when you are finished you can type 'exit' or press 'ctrl + d' and you will return to normal user mode without sudo being used.

# lsmod
then check to see if the nvidia module is there I don't think it will be.


I don't think so either... but the screen was to small. How do I scroll
up or is there a command like the /p on dos's dir command?


You have 2 options there.

#1. You can press 'shift + page up' or 'shift + page down' to scroll up and down through the screen the same as using a wheel mouse or scroll bar in an x terminal.

#2. you can pipe the output to less and scroll up and down through the output with the up and down arrow keys and do searches and other cool stuff.

e.g.

# ls -lh | less
# lsmod | less
# cat ~/somefile.txt
# cat ~/somefile.txt | grep someword | less

The | is usually above the \ key.

To find out more about different commands you can use man.

e.g.

# man less
# man grep
# man ls

the man pages can be a bit daunting at first but when you get more experience they are a great quick reference to find things out.


# modprobe nvida


I got the following message
FATAL: Module Nvidia not found

I think somehow when linux boots, the Nvidia kernel has been deleted...
any Ideas?


Its a long time since I have set up an nvidia card so I am going off of memory but here are some things.

When you install the nvidia drivers it is for a certain kernel version. If you upgrade your kernel you need to reinstall the nvidia drivers.

I don't believe that the nvidia modules would be deleted but it is possible that they are failing to install I am pretty sure that the official nvidia installer puts a log in /var/log/ somewhere not sure about the ubuntu nvidia packages.

You could try using newer/older versions of the nvidia drivers in case your card is supported only in newer/older releases. For example some older cards are not supported with the latest drivers so you may want to check the release notes on the nvidia site for the version you are trying to install.

ALSO NOTE:

I believe that Ubuntu has lots of its own helpful forums and documentation check out the below links they may help. People in these places should also know the best and easiest ways to do things in a ubuntu system.

http://www.ubuntuforums.org/
http://help.ubuntu.com/
https://help.ubuntu.com/community/
https://help.ubuntu.com/community/Video


Hope this helps you out.

Kind Regards,
Anthony Irwin
.



Relevant Pages

  • xorg nvidia
    ... from command line, notice, informational, ... This server has a video driver ABI version of 2.0 but this ... driver is designed to work with versions before 2.0. ... NVIDIA(0): Failed to initialize the NVIDIA kernel module! ...
    (freebsd-questions)
  • Re: glxgears question
    ... > Maybe the app does not come with the YOU modules Dave, ... > used the ones from Nvidia. ... but it is a 256MB card. ... the only relevant command in /usr/bin is nvidia-installer. ...
    (alt.os.linux.suse)
  • Re: [SLE] 9.3 crappy
    ... Rebooted did the you thing for the Nvidia. ... log in as user root and run the command 'rcxdm stop'. ... > run the command yast. ...
    (SuSE)
  • Re: glxgears question
    ... just an error message from the shell saying no command found. ... > su'ed to root. ... Maybe the app does not come with the YOU modules Dave, ... You might want to try posting this Q on the Nvidia linux forum board ...
    (alt.os.linux.suse)
  • Re: Graphics Card for 9.1
    ... > I have never had to install the nVidia drivers manually. ... machine then it is just a matter of running one command, ...
    (alt.os.linux.suse)