PDA

View Full Version : Drivers installed in Mandrake 9.0... How do You set AGP to 2X?


FishTech
10-29-02, 02:53 PM
Hi All!:)

I finally got the Drivers installed and I need to know how do You set AGP to 2X?... I read the Nvidia read me but it was over my head.

Also, should there be any change in the HardDrake hardware manager since I installed the Nvidia Drivers?

Thanks for Your Help and Time!
Love You!
FishTech

bwkaz
10-29-02, 05:42 PM
You can edit /etc/modules.conf, and add an options NVdriver NVreg_ReqAGPRate=2 line.

Then run /sbin/depmod -a, and either exit X, remove the NVdriver module, and restart X, or just reboot. Rebooting is easier, but whatever.

FishTech
10-29-02, 10:09 PM
Thanks bwkaz,

I hope I did it right... Please check and see if I did...

As root I just put the
'options NVdriver NVreg_ReqAGPRate=2' line in the modules.conf file and saved it. Then I ran '/sbin/depmod -a' in the Konsule and rebooted... Is that the right way?... Is there anyway to check and make sure it's working?

And by the way, thanks so very much for all the help You've been giving me... With out Your help I would have been sunk along time ago.

bwkaz
10-29-02, 10:35 PM
That should be fine.

You can cat /proc/driver/nvidia/agp/status and look for the AGP rate in there.

Actually, now that I think about it, it might have been easier to forget the NVreg_ReqAGPRate altogether, and just set your AGP to 2x in your BIOS setup. Either way would work, though, so since you've already got it done this way, you can just leave it.

FishTech
10-30-02, 07:55 AM
Thanks bwkaz,

I ran the check and everything looks good.:)

Now, could You tell me how my Asus V3400 16MB TNT AGP video card should be set up in HardDrake (the hardware manager)... Right now it's set at RIVA TNT and it says BUS PCI... Should I have it set to XFree 4/nv? or something else?

bwkaz
10-30-02, 12:14 PM
Personally, I'd just forget about harddrake. I've seen it screw up my XF86Config-4 waaaay too many times to trust it doing anything anymore. That's just me, though.

If you have your XF86Config-4 file set up like the driver README says to set it up, then your card is configured properly.

FishTech
10-30-02, 02:01 PM
Ok, Cool... I'll just leave it alone...

Also, could You please tell me how to make my monitor run at 120Hz?... Which is the same as I'm running in Win98: I'm hoping it will cause Linux to use the full display area... Right now I think I got a 15" screen on a 17".

bwkaz
10-30-02, 04:46 PM
I don't know, no. But I think xvidtune might help... maybe. I don't know if it'll go all the way up to 120Hz, but once you get it higher, you can adjust your monitor's position controls to sync the two.

Running at 120Hz will probably cut your monitor's lifetime down by quite a bit, just so you know... most of them run 60-80Hz.

FishTech
10-30-02, 10:16 PM
bwkaz,

I searched the web and could not find xvidtune... I could only find pages about it?... Could You point me in the right direction?

mtrr
10-31-02, 07:21 AM
xvidtune should already be installed (belongs to xbase-clients,
dunno the MDK package name)

try 'locate xvidtune' or 'which xvidtune'


cheers

bwkaz
10-31-02, 07:45 AM
Yeah, it's part of the basic XFree86 installation, usually. At least, that's where I got it from.

Try just xvidtune from a terminal, it should work. There's probably a man page about it installed as well.

FishTech
10-31-02, 09:16 AM
Thanks mtrr, bwkaz,

I got it; but is there a trick to using it?... I can get the left and right sides, and the top, but I can't get the bottom... It won't go down for me?... Any ideas or tips?

bwkaz
10-31-02, 10:11 AM
It might help to change your XF86Config(-4) file. In the Monitor section, there should be HorizSync and VertRefresh settings. These are ranges of valid frequencies. VertRefresh is probably what you'd want to change. I believe the default is 50-70Hz or so; you'd want to change that to let it go up to 120Hz. Then restart X, and see if xvidtune works better.

FishTech
10-31-02, 11:53 AM
bwkaz,

I think I did what You told me what to do, but there was no effect.

Could You please tell me how to put the modeline into the XF86Config-4 file that Xvidtune generated?

Here's my modeline and my XF86Config-4 file:


[peacemaker@localhost peacemaker]$ xvidtune
Vendor: Plug'n Play, Model: CTX VL710 series
Num hsync: 1, Num vsync: 1
hsync range 0: 30.00 - 95.00
vsync range 0: 50.00 - 160.00
"800x600" 56.30 800 804 868 988 600 601 604 615 +hsync +vsync


# File generated by XFdrake.

# ************************************************** ********************
# Refer to the XF86Config man page for details about the format of
# this file.
# ************************************************** ********************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "CTX VL710 series"
HorizSync 30-95
VertRefresh 50-160

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "RIVA TNT"
Driver "nvidia"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16

Subsection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection

FishTech
10-31-02, 01:27 PM
Nevermind... After looking at the XF86Config-4 file for awhile I finally did figure out where to put the mode line...

However I did not figure out how to get the bottom part of my display to move down?... When I push the down button in xvidtune it just beeps... I've tried moving the other setting around, but it always ends up the same: about a half and inch of wasted space on the bottom... Any ideas?

ernestus
10-31-02, 03:34 PM
First at all, backup your XF86Config.
Afterwards change your monitor section to:


Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "CTX VL710 series"
Option "CalcAlgorithm" "IteratePrecisely"
HorizSync 30-95
VertRefresh 50-160
EndSection


I've deleted some lines ;) . You can also comment (put at its begining a #) the HorizSync line, but be aware!: that may damage your CRT (but it's not usual).

Bye.
E

FishTech
11-01-02, 09:18 AM
Thanks ernestus,

I tried what You told me to do; even did the # HorizSync 30-95 thing but it had no effect?... xvidtune will not move the screen up or down after a certain point: I have about 1/2" on bottom and 3/8" on the top of free space, but it won't move... Anymore ideas?

ernestus
11-01-02, 11:52 AM
Yes, here goes some ideas:
the problem is xvidtune cannot modify the sync settings further than an amount. So you must give a close sync settings.

Here follows those sort of cowboy solutions:

-Use xvidtune to a point you can use your CRT controls to setup the screen.

or

-Boot Windows and write down the frequencies your CRT says windows is using (I suppose you're using a digital one, in mine you must push a "menu" button). Then go to Xfree docs and look for a modeline close to that you need. That should work.

have luck.
E

FishTech
11-01-02, 04:27 PM
I'd rather not have to use the Monitor settings unless there is no other way; since I'd have to adjust it everytime I boot to a different system.

Boot Windows and write down the frequencies your CRT says windows is using
Do You mean the data on the screen when windows is booting up? or inside windows somewhere?

ernestus
11-01-02, 04:36 PM
At windows desktop. Put it at your favorite resolution and write down that data;)
E.

FishTech
11-01-02, 09:40 PM
ernestus,

I can only find one resolutions setting in the Video Card properties and thats: "800x600@120hz"... What do You think?

FishTech
11-04-02, 11:51 AM
Hi All!:)

I just got a breakthrough and I thought I'd let everyone know about it...

I used the 'xvidtune' prog to get my screen the best I could without adjusting any of the actual Monitor settings; and then I put the modeline it created in the XF86Config-4 file and rebooted... Then I used the settings on my Monitor to adjust the screen the rest of the way, and then rebooted into Win98 and guess what: the settings in Win98 didn't change... So now I have a full screen in both Win98 and Mandrake Linux 9.0 without having to make any adjustments when I switch operating systems... Just like I wanted... Yippy!!!:):):)

Thanks Everyone for Your Help! and Time!
Love You!
FishTech

ernestus
11-04-02, 01:43 PM
I see, you are not a padawan anymore
E