LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-16-2009, 09:23 PM   #1
dnskdas
Member
 
Registered: Nov 2008
Posts: 56

Rep: Reputation: 15
How get back my "X"


I have recently installed Fedora 9 in my computer which is having a dual booting system with Windows XP. I was trying to install nvidia driver with yum. Since “sudo yum install kmod-nvidia” is not working because of some missing dependencies I used “sudo yum install akmod-nvidia” and it installed the driver successfully. Now before rebooting I ran “sudo /usr/sbin/akmods –kernel 2.6.25-14.fc9.i686” and it built the kmod successfully. Then I rebooted the system. But sadly after loading it flickers for few moments and then come to text mode. I then logged in and tried “startx”, but it is coming back to text mode after giving some error message . When I checked the log file (Xorg.0.log) there I found that last few lines says : “The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this system is system is supported through the NVIDIA 71.86.xx Legacy drivers. Please visit http://www.nvidia.com/object/unix.html for more information. The 173.14.15 NVIDIA driver will ignore this GPU. Continues probing…

No devices detected.
Fatal server error.
No screens found.”

Now I am in a hopeless situation. I am also not very conversant in the text mode. I don’t even know how to connect my xDSL internet connection from linux in text mode.

Please help me out.
-SKD
 
Old 01-16-2009, 09:48 PM   #2
N3rding
Member
 
Registered: Jan 2009
Distribution: Slackware 12.20
Posts: 49

Rep: Reputation: 17
If x was running before and you have a backup of your previous xorg.conf file usually listed as xorg.conf.backup the old configuration can be implemented by simply renaming the backup file to xorg.conf
if you do not have a backup of xorg.conf i would suggest using xorgconfig from your command prompt hope this helps
 
Old 01-16-2009, 09:51 PM   #3
N3rding
Member
 
Registered: Jan 2009
Distribution: Slackware 12.20
Posts: 49

Rep: Reputation: 17
oh (I forgot) try typing mc in your command line for a useful file manager
 
Old 01-17-2009, 12:09 AM   #4
dnskdas
Member
 
Registered: Nov 2008
Posts: 56

Original Poster
Rep: Reputation: 15
Certainly I try out your suggestions immediately after returning back from my institute. But xorg.conf.backup is not existent in the /etc/X11/ directory in my case. Instead there is file named "xorg.conf.livna-config-backup". Will it work out after renaming. Actually I tried it to cp it as xorg.conf after keeping xorg.conf as a separate file. But it didn't work.
-SKD
 
Old 01-17-2009, 01:38 AM   #5
N3rding
Member
 
Registered: Jan 2009
Distribution: Slackware 12.20
Posts: 49

Rep: Reputation: 17
have you tried using either the setup or xorgconfig commands from your shell yet?
That would be the next step.
 
Old 01-17-2009, 04:50 AM   #6
dnskdas
Member
 
Registered: Nov 2008
Posts: 56

Original Poster
Rep: Reputation: 15
Could not fix the problem yet. xorgconfig is not working. I tried X -configure. It made a new file xorg.conf.new in my home directory. But when I tested it some screen is coming, but nothing more. Perhaps my graphics card is not supported by the nvidia version that has been installed. Could not figure it out. I now just want to get back my old X. But don't know how to do that.
-SKD
 
Old 01-17-2009, 08:24 AM   #7
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
Quote:
Originally Posted by dnskdas View Post
“The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this system is system is supported through the NVIDIA 71.86.xx Legacy drivers. Please visit http://www.nvidia.com/object/unix.html for more information.
Have you tried the suggestion the log file gave you. It means that you need to install the 71.86.xx Legacy driver which is supported by your card.

http://www.nvidia.com/object/linux_d..._71.86.06.html

Visit the link above for installation instruction.


BTW, you can get the X server back by using the vesa driver. You can use this vesa driver until you fix the other problem. The only drawback to vesa is limited screen resolution and no 3D rendering.
But at least you'll get the GUI back.

Edit the /etc/X11/xorg.conf and scroll down until you see something like this:

Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "All"
BoardName "All"
EndSection

Replace nvidia, in this example, to vesa. It should look like this now.

Section "Device"
Identifier "Card0"
Driver "vesa"
VendorName "All"
BoardName "All"
EndSection

Save the file and run startx.

-Cheers

Last edited by dv502; 01-17-2009 at 08:30 AM.
 
Old 01-17-2009, 08:42 AM   #8
N3rding
Member
 
Registered: Jan 2009
Distribution: Slackware 12.20
Posts: 49

Rep: Reputation: 17
You do realize that the TNT2 64 is around 10 years old and the most recent nvidia drivers will not support it. Try uninstalling the Driver and run your x -configure again. I just did the same thing to myself somewhere decemberish and ended up reinstalling my distro due to frustration, or erm laziness. Of course before I did the reinstall I made some hardware upgrades from the lil TNT2 64 to a newer GE-Force 5500.
You may also be able to reset to your default x by booting from your install disc and using some of the installer's configuration options.
 
Old 01-17-2009, 10:08 AM   #9
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
You're welcome N3rding.

BTW, I agree with you that dnskdas's video card is way too dated.
I sugggest that s/he upgrade to the Geforce FX series or better if s/he has the funds to do so.

I might have to upgrade my card in the near future. Any nvidia driver above version 173-xx-xx will not work with my nvidia Geforce FX 5200 card. When I installed the 177 version, it broke the X server. So, I had to roll back to version 173.14.12-2. This was easy with the pacman manager.

- Cheers

Last edited by dv502; 01-17-2009 at 11:13 AM.
 
Old 01-18-2009, 12:12 PM   #10
dnskdas
Member
 
Registered: Nov 2008
Posts: 56

Original Poster
Rep: Reputation: 15
Sorry I could not post my reply yesterday. Yes, I already downloaded nvidia 71.86.06 driver and installed it and got back the my X. I have not got time to explore it more. In my xorg.conf I found the lines:
Section "Device"
Identifier "Videocard0"
Driver "nv"
EndSection

I also have yum removed akmod-nvidia 173* version. There are some warning messages coming during start up like no kmod found. I want to avoid those lines. Yes, I know my video card is old and to get flavour of KDE 4 I should get some new drivers. But my motherboard is also old enough(intel 845WN). So I am a bit sceptical about whether those Geforce cards will fit in it or not since it does not have PCI express slot. The present card is AGP card slot. Also I have seen that some ATI cards (Radeon 7000 through X850) and some intel cards (i810, i830, i945 etc.) are supported by the inherent drivers supplied with fedora 9. I will enquire about those from the vendors.
Thanks for your valuable suggestions.
-SKD
 
Old 01-18-2009, 01:03 PM   #11
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
Quote:
Originally Posted by dnskdas View Post
Sorry I could not post my reply yesterday. Yes, I already downloaded nvidia 71.86.06 driver and installed it and got back the my X. I have not got time to explore it more. In my xorg.conf I found the lines:
Section "Device"
Identifier "Videocard0"
Driver "nv"
EndSection
I'm happy you got X back, but it it still using the nv driver as listed above. It should say Driver "nvidia". You need to tell X that you want to use the nvidia driver.

Note: Setting it to nvidia will utilize the features of the driver like 3D rendering, higher screen resolutions, higher color depth and more.

Some distros will add it for you after installing nvidia, but some don't. Replace the nv with nvidia. Don't woory, it will not break anything. If X fails to start after changing it, just change it back to
nv, or If you prefer, you can run this command as root

Code:
nvidia-xconfig
Below is how I configured my nvidia card for the X server.

First, I backup the /etc/X11/xorg.conf file. Yes, nvidia will do this, but I did it myself just in case.

As root, I typed

Code:
nvidia-xconfig --composite --add-argb-glx-visuals -d 24
This will add nvidia's composite and glx rendering and it will set the video card to use 24 bit color depth.

Give it a try. If it doesn't work, just rename the backup file back to xorg.conf

- Cheers

Last edited by dv502; 01-18-2009 at 01:31 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Post back , How to get "yum" and "ndiswrapper" to work? BootLaptop Linux - Wireless Networking 1 07-17-2007 08:27 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
"Back" and "Forward" side-buttons of my mouse Unforgiven79 Linux - Hardware 1 10-31-2006 12:10 AM
K3b: - Howto re-dock "Directories" and "Contents" windows back into the main window? hagies Linux - Software 4 04-26-2006 08:38 AM
how to install the "packages that have been held back" when doing "apt-get upgrade&qu zero79 Debian 5 06-27-2004 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:05 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