DebianThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Before you shout "OMG RTFM!" let me say i did. I followed all the steps(enabled non-free and contrib, executed given commands replacing &{VERSION} with -legacy173xx since i have FX 5200 and received no error messages during those commands in terminal) mentioned in this wiki about installation but at the end where comes config and launch part something is not working. First i had no existing xorg.conf after going through process and second when i execute nvidia-xconfig and make that file after restart it just doesn't launch xserver anymore. So i need rm xorg.conf to restart it without that file in /etc/X11. Also if i install with nvidia homepage .run file after it creates nouveau disable file then i can't set any normal resolution - it shows 0Hz refresh rate and shows some colored lines like rainbow. And if i combine this with another xorg.conf i get same message and it doesn't start at all. Either i'm missing some important detail or that wiki is bit outdated. Any ideas would be nice.
Last edited by Arcane; 07-10-2011 at 11:32 AM.
Reason: fixed for real
In order to get mine working I had to do it from console. For some reason I couldn't do it from a terminal.
Alos I follwowed the directions for setting up Compiz.
Unfortunately even that guide didn't help. When i do startx after done making xorg.conf there is some large portion of info text which stays same. Most of it is about x server and linux and some it's content versions and paths. However it mentions some failure lines like:
- Error inserting nvidia (/lib path to nvidia.ko) No such device
- Failed to load NVidia kernel module
- Screens found but none have usable configuration
- Fatal server error
no screens found
- xinit: no such file or directory (errno 2) unable to connect to x server
xinit: no such process (errno 3) Server error
Another interesting thing is working xorg file path is /usr/share/X11/xorg.conf.d Hope this helps more. Once more - i did every step correctly written in above mentioned guides(i only skipped build custom kernel step in debian wiki since i use vanilla squeeze) and received no error messages and got confirmation everything downloaded and installed correctly. Problem is in xorg file setup untill then i can't even use nvidia-settings to save to file because it says i'm not using nvidia x driver and should enable doing nvidia-xconfig as root then restarting x server which is what i did already before without success.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
You may want to run, from the command prompt as root;
Code:
apt-get install --reinstall xinit
I am not sure how you installed but that package may be missing or corrupted. That command should fix either situation as far as startx goes. That is assuming the rest of the "x" stuff is installed.
You may want to run, from the command prompt as root;
Code:
apt-get install --reinstall xinit
I am not sure how you installed but that package may be missing or corrupted. That command should fix either situation as far as startx goes. That is assuming the rest of the "x" stuff is installed.
I dont think that it has to do with anything else but the nvidia driver and its installation procedure.
To the OP:
Please specify every single step you did (exactly your commands) for the installation.
About the nvidia .run driver from the nvidia site:
It works perfectly well (i used it on many coputers, Ubuntu and Debian and never had any problems with it) - but there are a few things that must be kept in mind:
1. The nouveau driver MUST be blacklisted.
2. Before installing, every nvidia-related package MUST be purged from the system to avoid conflicts.
3. The X server MUST be shut down during the installation - so this has to be done from a VT (virtual terminal).
4. The default gcc compiler MUST match the one used to compile the running kernel - otherwise the compiled nvidia.ko might be refused by the kernel at load time.
5. The driver MUST be reinstalled after every major kernel or any x server upgrade - because on major kernel upgrade the kernel module (nvidia.ko) has to be recompiled to match the new kernel and the x server has some components that are replaced by the nvidia driver and if the xserver packages are upgraded these will be rewritten and you will lose opengl.
Other than these above, the installation is very simple:
1. Switch to a VT and log in
2. stop the x server:
sudo service gdm3 stop
(if you use another display manager, use accordingly - ex. xdm or kdm)
{...}I am not sure how you installed but that package may be missing or corrupted.{...}
Still nothing changes. I did Debian net-install base install. Then i installed Fluxbox and this time LXDE but i did same commands from base without DE or WM either and same result. If i need post some file content then let me know which one you need. Seems like another sign i should read about xorg and how it works since one more distro(PC-BSD) didn't work because of this file.
Quote:
Originally Posted by gradinaruvasile
{...}Please specify every single step you did (exactly your commands) for the installation.{...}
Same steps and commands mentioned in wiki page as i said. Really i have to copy&paste commands from there? If yes then i will in next post.
Still nothing changes. I did Debian net-install base install. Then i installed Fluxbox and this time LXDE but i did same commands from base without DE or WM either and same result. If i need post some file content then let me know which one you need. Seems like another sign i should read about xorg and how it works since one more distro(PC-BSD) didn't work because of this file.
Same steps and commands mentioned in wiki page as i said. Really i have to copy&paste commands from there? If yes then i will in next post.
You installed a Debian base system.
Do you have the necessary build packages installed? (the linux headers, gcc, build-essential). Because you need those for the installation process (namely the compile of the nvidia module).
Also, please paste here the /var/log/Xorg.0.log files content.
From the log file it shows you are using Nouveau,this needs to be disabled before trying to install the Nvidia driver as pointed out earlier.
If you are having problems I'd recommend using Smxi which will automate the process for you,including dealing with Nouveau.
Here's a link to their site:
From the log file it shows you are using Nouveau,this needs to be disabled before trying to install the Nvidia driver as pointed out earlier.{...}
Don't worry i did disable and afterwards installed driver and yes i'm using other driver because otherwise i can't use Debian at all with GUI(I'm not that much noob as you may think from this issue). Anyway ill go check that website.
I dunno if it is completed(maybe some command could check if all needed stuff are installed?) but i did go through all step-by-step guide mentioned in wiki. I'm using Nouveau driver because this works without that file like before. I just want to know what should i edit in that xorg config file or additionally install so that it will work.
You can install as many packages as you like,but until you stop Nouveau loading you will not be able to install the Nvidia driver.
If it was me I would ctrl-alt-f1 to a tty,remove anything Nvidia related via apt-get/aptitude,then install smxi with:
Code:
# as root, run the following command
cd /usr/local/bin && wget -Nc smxi.org/smxi.zip && unzip smxi.zip && smxi
Just answer the questions when prompted, and continue to graphics driver install.
Simples.
Last edited by the trooper; 07-11-2011 at 02:32 PM.
Ok. I did try that but no success.. I followed instruction - downloaded files, from tty executed it, then disabled nouveau with that file that creates in /etc/modprobe.d location, restarted PC, run again from shell that sgfxi and installed everything but still nothing. Here is files after that process: xorg.confXorg.0.logXorg.0.old.log and Nouveau
Code:
# generated by nvidia-installer
blacklist nouveau
options nouveau modeset=0
disable file content. Hope something will be more clear now. I'm just wondering 2 things: Shall i reinstall Debian 6 with full DE this time from net install? Is that wiki page outdated for Squeeze?
Last edited by Arcane; 07-11-2011 at 03:26 PM.
Reason: typos :p
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.