LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   resolution and refresh rate... (http://www.linuxquestions.org/questions/linux-newbie-8/resolution-and-refresh-rate-285844/)

Decepticon22 02-03-2005 12:47 PM

resolution and refresh rate...
 
I have a IBM Netvista desktop which I canít seem to get the proper refresh rate or resolution due to the fact that the only options I have are 600x400 to 800x600 for the resolution and 54 to 60Hz for the refresh rates. My system is a IBM Netvista, P4 (6794-UN8) with 1Gig of ram, dual boot with Xp on a 60 gig hard drive and Fedore core 3 on a 120 Gig hard drive. The video card is a Nvida GeForce 2 MX(generic) or on the windows side, a Nvida GeForce 2 MX MX 400. Iíve done updates but Iíve had to avoid the latest Fedora 3 kernel (2.6.10) because it was causing hang ups at boot every time so the current kernel is 2.6.9. I need to be able to adjust the resolution and refresh rate so that my eyes wonít go crazy from the blinking monitor. Thxs

NoobieDoobieDo 02-03-2005 01:07 PM

You can edit it by hand by modifying /etc/X11/XF86Config-4 or whatever your config file is called.

There is a section for monitor that details the H&V refresh rates.

Tino27 02-03-2005 01:39 PM

You could also try running 'xorgconfig' and set up your X display properties with the correct values for your monitor/video card.

Decepticon22 02-03-2005 01:54 PM

this is my X11 directory:

[root@crabs X11]# ls
applnk gdm proxymngr sysconfig xdm Xmodmap X.rpmsave
dm lbxproxy serverconfig twm xinit xorg.conf xserver
fs prefdm starthere X xkb Xresources xsm
[root@crabs X11]#

If I vi into xorg.conf, this is what I see:



# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 2 MX (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

what do I need to change to adjust the resolution to 1024x768 or higher and what do I need to change to get the higher range
refresh rates like 75 to 85hz?

Many thxs

D22-

Tino27 02-03-2005 02:12 PM

Well, to get the ability of 1024x768 - on the two lines towards the end that start with "Modes", add in "1024x768" before the "800x600". As for the refresh rates, look in the "Monitor" section. The line to change is called VertRefresh. A word of caution ... make sure that the 75/85 Hz values are supported by your monitor. I've read about some older monitors actually getting fried because incorrect values were put here. I think newer monitors check for this, but you never know.

0perat0r 02-03-2005 02:23 PM

I just went through my own little nightmare with my graphics card an monitor. Check out http://www.hut.fi/Misc/Electronics/f...2rgb/calc.html

I just installed an ATI Radeon 9550 into my dual-boot. Luckily, it comes with a command-line config tool. I have had to mess with this config before when I had an Nvidia GeForce installed. You can alter the XF86Config file manually, but I ran the "xvidtune" command to tweak my options. Also see my post http://www.linuxquestions.org/questi...hreadid=206348

Hope this helps!

Decepticon22 02-03-2005 03:51 PM

Ever have one of those moments where all of the sudden, you look up, there's the answer and some where in the back of your mind there's this voice going DUUUUUUUUUUU!!!................

Well, I tried adjusting those mode and refresh line from this:


Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 2 MX (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection
85.0


to this..............





Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 85.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 2 MX (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

which didn't work. But then after doing some more reading, something in my head clicked and said, "why not just change the default monitor settings?" and lo and behold!!!....it worked!, I got all the ranges I could ever want in both resolution and refresh rates. Thanks
to you all for all the input and helping me to think this stuff through. You guys are the greatest!:)


All times are GMT -5. The time now is 02:26 AM.