LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Refresh Rate (https://www.linuxquestions.org/questions/linux-newbie-8/refresh-rate-79819/)

brian__johnson 08-07-2003 08:13 AM

Refresh Rate
 
I have been trying to run my monitor at 100Hz, but no matter what I do its stuck on 60Hz. As a last resort I have added my own Modeline to my XF86Config file. But still no joy, I even removed all other Modelines. I got the Modeline from

xtiming.sourceforge.net/cgi-bin/xtiming.pl

I am using RH7.3,the Monitor is a sony trinitron cpd-g220 and the GPU is a Geforce Ti4800 SE

Also below are both the screen and monitor sections of my XF86Config and XF86Config-4 files.

Any help would be really appreciated.
Thanks in advance

************************************************************************
************************************************************************
XF86Config
************************************************************************
************************************************************************

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "CustomConfiguration"
VendorName "Unknown"
ModelName "Unknown"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 80.76

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 100.07

# Modes can be specified in two formats. A compact one-line format, or
# a multi-line format.

# These two are equivalent

# ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace

# Mode "1024x768i"
# DotClock 45
# HTimings 1024 1048 1208 1264
# VTimings 768 776 784 817
# Flags "Interlace"
# EndMode

# This is a set of standard mode timings. Modes that are out of monitor spec
# are automatically deleted by the server (provided the HorizSync and
# VertRefresh lines are correct), so there's no immediate need to
# delete mode timings (unless particular mode timings don't work on your
# monitor). With these modes, the best standard mode that your monitor
# and video card can support for a given resolution is automatically
# used.

# 1024x768 @ 100 Hz, 80.76 kHz hsync
Modeline "1024x768@100" 126.64 1024 1056 1536 1568 768 781 794 807

EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# The Colour SVGA server

Section "Screen"
Driver "svga"
Device "Generic VGA"
#Device "NVIDIA GeForce 4 (generic)"
Monitor "CustomConfiguration"
Subsection "Display"
Depth 8
#Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

# The 16-color VGA server

Section "Screen"
Driver "vga16"
Device "Generic VGA"
Monitor "CustomConfiguration"
Subsection "Display"
Modes "640x480" "800x600"
ViewPort 0 0
EndSubsection
EndSection

# The Mono server

Section "Screen"
Driver "vga2"
Device "Generic VGA"
Monitor "CustomConfiguration"
Subsection "Display"
Modes "640x480" "800x600"
ViewPort 0 0
EndSubsection
EndSection

# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32, Mach64
# I128, and S3V)
Section "Screen"
Driver "accel"
Device "NVIDIA GeForce 4 (generic)"
Monitor "CustomConfiguration"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

************************************************************************
************************************************************************
XF86Config-4
************************************************************************
************************************************************************

Section "Monitor"
Identifier "CustomConfiguration"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 80.76
VertRefresh 100.07
Option "dpms"
EndSection

Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 4 (generic)"
Monitor "CustomConfiguration"
DefaultDepth 16
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

redhax8 08-07-2003 12:23 PM

Did you run Xconfigurator?

http://www.redhat.com/docs/manuals/l...1-xconfig.html

brian__johnson 08-08-2003 06:21 AM

Yes I ran Xconfigurator.

All I want to do is set my monitor to run at 1024x768 @ 100Hz.

I used to have an LCD so this never bothered me before, but now I can't look at the screen for longer then 10Min's without serious eye strain =(

arunshivanandan 08-08-2003 06:41 AM

Check your /var/log/XFree.0.log file to see what is happening on starting X server.I am not sure whather RH 7.3 uses XFree 3.x or 4.x.I think if it is using 4.x,the X server will search for the -4 file first and if it is not there,it will go for XF86Config.See about this in the log file and if the case is like this,just delete the -4 file and restart X.

brian__johnson 08-08-2003 07:18 AM

Thanks for the reply, its the XFree 4.2.I. I deleted the -4 file and restarted x. but it would not run, so i re-ran Xconfigorator and now the -4 file is back. And the refresh is still stuck on 60Hz.

Hate to moan but why the hell is it so difficult to set up a monitor to run at 100Hz...

aaa 08-08-2003 01:49 PM

Try putting "1024x768/100hz" in the beginning of the list of resolutions in this section:
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection

redhax8 08-08-2003 02:08 PM

Xfree4.x requires XF86Config-4 to run.

To set your refresh rate modify this section of XF86Config-4

Section "Monitor"
Identifier "My Monitor"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 31.5 - 48.5
VertRefresh 50-70
Option "dpms"
EndSection

Change to your monitors values. Make sure you put in the correct values for your monitor!!!!


Then in XF86Config modify these lines.

HorizSync 31.5 - 48.5
VertRefresh 50-70

There will also be several "Screen" sections. Alter the one that has your video driver info to 1024x768. And your video card must support the color depth listed at that resolution. If that value needs to be changed, change it.

James

arunshivanandan 08-08-2003 11:19 PM

Quote:

Originally posted by redhax8




Xfree4.x requires XF86Config-4 to run.






http://www.linuxquestions.org/questi...2001/08/1/4995



http://linuxquestions.org/questions/history/53878

http://www.ltsp.org/errata.php

redhax8 08-09-2003 01:44 PM

Just deleting the XF86Config-4 isn't going to accomplish anything if X hasn't been set up properly.

brian__johnson 08-11-2003 07:06 AM

Thanks for all the replys =) but I have tried all the things you have said, yet still stuck at 60hZ. Is there not some way i can change the refresh rate while Xwindows is running?

aaa 08-11-2003 08:45 AM

A utility called xf86cfg lets you change settings without restarting X.

aaa 08-11-2003 08:47 AM

Try the same thing I suggested earlier, except with "1024x768@100hz".

brian__johnson 08-13-2003 08:28 PM

I put in both
"1024x768@100hz"
and
"1024x768/100hz"
and it never made any difference.

As for modifying the files as redhax8 suggested, If you looked at my first post u would see I had already tried putting in my monitor values.

PLEASE can someone tell me how the heck I get a monitor to run at a viewable refresh rate.

How come it takes 2 secs in windows and I have to edit files in Linux?

redhax8 08-14-2003 12:38 PM

Did you read the Red Hat instruction I posted before?
http://www.redhat.com/docs/manuals/l...1-xconfig.html

It's always worked for me.

brian__johnson 08-14-2003 11:51 PM

FFS u idiot Thats what u do when u install LINUX
I have had enough. I am sure there are LOADS of sad NERDS around whom love to have an open source OS. But explain to me why the heck there is a need to have one when u need to be an expect to to the simplest thing!!!! Any one who thinks Linux will ever replace Windows is sadly deluded. Who in their RIGHT mind would want to mess round with files in text format to get their monitor to display a viewable refresh rate. This is 2003, Come on lets try to get with it. Unless there is of course some Linux "GURU" who can tell me how to do it, and not some silly NEWBIE trying to add numbers to his/her poor posts!!


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