LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-22-2004, 07:53 AM   #1
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
Switching from ATI to NVIDIA help!!!


Hi all!!!

After months withs troubles with ATi cards, i decided to buy a new GeForce FX5900 video card.
I uninstalled all ATI fglrx drivers and downloaded the drivers from nvidia website and installed them in init 3 environment. Aparently, all went good, and i changed only one line in the old XF86Config file (not the one used by ATi, a previous one) from "vesa" to "nvidia" (just as readme file said).
The problem now is that my box freezes out when tries to load X server, i cannot do anything but pressing the reset button.
Is there a way to NOT load Xfree, so i can solve the problem without having to reinstall all the shit?
Can you also post a XF86Config file so i can see where i have to change things??
BTW, i'm using a custom kernel 2.4.25

Thnaks in advance
 
Old 04-22-2004, 08:19 AM   #2
blueser
Member
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76

Rep: Reputation: 15
In order to boot in text mode, you need to pass some parameters to your boot loader. If you're using LILO, just append

init 3

to the boot prompt. If you're using GRUB, you should have similiar options (follow screen instructions about how to edit boot params).

(BTW: if your machine doesn't use NFS, 'init 2' would work too)

As for the nvidia problem, go to the Linux nvidia forum, chances are that you will find more helpful info there. I have a nvidia card myself and it works like a charm, but it's a GeForce4 Ti 4200, I am not sure FX series support is rock solid yet.

In order to force nvidia driver into a more "conservative" mode, you could try telling it not to use AGP. Read info at driver README

HTH

Andre
 
Old 04-22-2004, 08:31 AM   #3
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Original Poster
Rep: Reputation: 59
Hi! thanks for the quick answer. The problem is that RH loads Xfree always, so i cannot pass the init 3 to the bootloader (grub) cause before beeing able to go to the console, the box freezes. I don't know if exists, but is there some way to load linux choosing what to load and what not to load, so i can choose not to load Xfree?
 
Old 04-22-2004, 08:47 AM   #4
blueser
Member
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76

Rep: Reputation: 15
I guess you're confusing things: while GRUB is running, Linux hasn't been loaded yet; by passing 'init 2' or 'init 3' to grub, Linux will boot in text-mode only (i.e. you will be offered a shell prompt to login). The graphical subsystem (X11) will not be started unless you do it manually (startx) or change runlevel to 5 (running 'init 5' as root).

So, assuming your Linux is booting just fine, you can login as root on a terminal and try some stuff with /etc/X11/XF86Config.
 
Old 04-22-2004, 09:42 AM   #5
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Original Poster
Rep: Reputation: 59
But when grub is loaded, i just have to choose which OS to boot. How i can pass init 3 to grub when it is already loaded??
 
Old 04-22-2004, 10:00 AM   #6
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Original Poster
Rep: Reputation: 59
Wow!!! made it!!!! I just had to add "Load dri" on the XF86Config file and now X server works.
Although, i did a glxgears test, and i'm getting around 1300fps....
Is there any "nvidia tune guide" or something like that??
Please forgive me if it sound stupid or even obvuious, but this is my first experience with a nVidia card.

Thanks a lot
 
Old 04-22-2004, 10:00 AM   #7
blueser
Member
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76

Rep: Reputation: 15
You can edit GRUB entries on-the-fly. Check this out (IIRC instructions are presented on screen).
 
Old 04-22-2004, 11:43 AM   #8
blueser
Member
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76

Rep: Reputation: 15
Cool, congratulations And, don't mind asking any questions -- we're all new to something until we learn it

A good source of information is the README file I posted. Also, browsing nvidia forums might help you.

When it comes to performance, check these files while you're on X (with nvidia driver):

/proc/driver/nvidia/agp/card
/proc/driver/nvidia/agp/host-bridge
/proc/driver/nvidia/agp/status

First one shows you what the driver thinks of your card, second one what it thinks of your mobo, and last one how it initialized the driver.

For example, here I have:

~ cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x1f000314

~ cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: PCI device 10de:01e0 (nVidia Corporation)
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x00000314

~ cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: NVIDIA
AGP Rate: 4x
Fast Writes: Enabled
SBA: Enabled

As you can see, I have AGP 4x, Fast Writes and SBA -- these definitely impact performance. I am getting ~3016 FPS with glxgears (not maximized). Also notice I am using NVIDIA AGP and not AGPGART, messing with this might also impact your performance and/or stability.

HTH

Andre
 
Old 04-22-2004, 12:10 PM   #9
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Original Poster
Rep: Reputation: 59
Ok, here i go....this is the output of the 3 commands you told me:
[hammett][/home/hammett]$ cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: NVIDIA
AGP Rate: 8x
Fast Writes: Disabled
SBA: Enabled
[hammett][/home/hammett]$ cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: Silicon Integrated Systems [SiS] SiS 645xx
Fast Writes: Not Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0x1f004e0b:0x00000f02
[hammett][/home/hammett]$ cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0x1f000e1b:0x1f004302

What really cannot understand, is why MOBO says fast writes not supported, when on bios it is enabled ????? And why SiS ?????
The MOBO is an Asus P4S8X-X, so, it's motherboard fault??
 
Old 04-22-2004, 12:55 PM   #10
blueser
Member
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76

Rep: Reputation: 15
Ok, so you're using AGP 8x and SBA. This should be more than enough to give you excellent performance. If you were getting 1300fps in windowed mode with glxgears, then there's really something wrong, and you should try to get some help from nvidia forums, maybe other FX users already been through it.

As for the FW support, maybe using AGPGART instead of NVIDIA gives different results (I doubt it, but it wouldn't hurt to try). The SiS chpiset is simply the AGP controller, your mobo counts on different chips from different brands to manage the subsystems (sound, network, SATA etc.). Run 'lspci' and you will see all the different controllers you have on your mobo.
 
Old 04-22-2004, 01:05 PM   #11
MadOtis
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware, Fedora, Gentoo
Posts: 18

Rep: Reputation: 0
I have an FX 5600 Ultra card in my machine. According to agp/proc and agp/host-bridge, Fast Writes and SBA are supported, but in agp/status, they are both disabled.

Is there something I need to do to enable these? I'm a newbie, so please be gentle. In the mean time, I'm googling for the answer...

Thanks in advance!

[edit] NEVER MIND! I just found out how to enable them in another post!

Last edited by MadOtis; 04-22-2004 at 01:12 PM.
 
Old 04-22-2004, 02:12 PM   #12
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Original Poster
Rep: Reputation: 59
Blueser, many thanks for all your help. I'll let you know my results. You've been very very kind. ^_^
 
Old 04-22-2004, 02:18 PM   #13
blueser
Member
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76

Rep: Reputation: 15
You're welcome I am glad I could help someway. Make sure you post here your solution so that others that face the same problems in the future can learn from it (that might even be me when I buy a GeForce FX ).

Good luck, and let me know if you think I can help in any other way.

Andre
 
Old 04-23-2004, 02:03 PM   #14
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Original Poster
Rep: Reputation: 59
Blueser, i finally got it!! I think the situation was a bit silly....i'll try to explain so i don't look as a dumbass (LOL)

I'm using Fluxbox as window manager, and when i was playing xmame, i configured the window for having a determined height and with and with no borders. What i haven't noticed, is that that was also affecting glxgears (i see the wheels a lot bigger). At the beggining i wasn't thinking that could be the problem, so i went mad trying to gess, and finally i decided to make the glxgears window to its default dimension and booom!!!! i got it!!

Now i get around 5900-6100fps

I know it sounds really really stupid to me to not think about the dimension of the window would affect performance....

Once more, many thanks ^__^
 
Old 04-23-2004, 02:32 PM   #15
blueser
Member
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76

Rep: Reputation: 15
Thumbs up

Excellent, congratulations I would definitely say 5900-6100fps is quite impressive

Now go on and download UT2004 demo for Linux to finally experience your FX in all its glory
 
  


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
[SOLVED] Answer about switching from Nvidia to ATI. Linux.tar.gz Linux - Hardware 1 11-04-2010 10:45 AM
ati drivers not working after switching to init 4 madcow007 Slackware 3 12-08-2004 06:42 PM
Ati driver a bit unstable but no different than nvidia..ati benchmark inside. spade Slackware 1 10-06-2004 12:13 AM
Switching from ATI to NVidia ravalox Linux - Hardware 2 08-22-2004 08:06 PM
switching from nvidia gforce to ati radeon; can't find libglx.a qanopus Linux - Hardware 1 05-29-2004 02:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:31 PM.

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