LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2003, 08:13 AM   #1
brian__johnson
LQ Newbie
 
Registered: Oct 2002
Distribution: Red Hat 7.3
Posts: 10

Rep: Reputation: 0
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
 
Old 08-07-2003, 12:23 PM   #2
redhax8
Member
 
Registered: Jan 2002
Distribution: Debian
Posts: 43

Rep: Reputation: 15
Did you run Xconfigurator?

http://www.redhat.com/docs/manuals/l...1-xconfig.html
 
Old 08-08-2003, 06:21 AM   #3
brian__johnson
LQ Newbie
 
Registered: Oct 2002
Distribution: Red Hat 7.3
Posts: 10

Original Poster
Rep: Reputation: 0
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 =(
 
Old 08-08-2003, 06:41 AM   #4
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
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.
 
Old 08-08-2003, 07:18 AM   #5
brian__johnson
LQ Newbie
 
Registered: Oct 2002
Distribution: Red Hat 7.3
Posts: 10

Original Poster
Rep: Reputation: 0
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...
 
Old 08-08-2003, 01:49 PM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Try putting "1024x768/100hz" in the beginning of the list of resolutions in this section:
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
 
Old 08-08-2003, 02:08 PM   #7
redhax8
Member
 
Registered: Jan 2002
Distribution: Debian
Posts: 43

Rep: Reputation: 15
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
 
Old 08-08-2003, 11:19 PM   #8
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
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

Last edited by arunshivanandan; 08-08-2003 at 11:23 PM.
 
Old 08-09-2003, 01:44 PM   #9
redhax8
Member
 
Registered: Jan 2002
Distribution: Debian
Posts: 43

Rep: Reputation: 15
Just deleting the XF86Config-4 isn't going to accomplish anything if X hasn't been set up properly.
 
Old 08-11-2003, 07:06 AM   #10
brian__johnson
LQ Newbie
 
Registered: Oct 2002
Distribution: Red Hat 7.3
Posts: 10

Original Poster
Rep: Reputation: 0
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?
 
Old 08-11-2003, 08:45 AM   #11
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
A utility called xf86cfg lets you change settings without restarting X.
 
Old 08-11-2003, 08:47 AM   #12
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Try the same thing I suggested earlier, except with "1024x768@100hz".
 
Old 08-13-2003, 08:28 PM   #13
brian__johnson
LQ Newbie
 
Registered: Oct 2002
Distribution: Red Hat 7.3
Posts: 10

Original Poster
Rep: Reputation: 0
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?
 
Old 08-14-2003, 12:38 PM   #14
redhax8
Member
 
Registered: Jan 2002
Distribution: Debian
Posts: 43

Rep: Reputation: 15
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.
 
Old 08-14-2003, 11:51 PM   #15
brian__johnson
LQ Newbie
 
Registered: Oct 2002
Distribution: Red Hat 7.3
Posts: 10

Original Poster
Rep: Reputation: 0
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!!
 
  


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
Vertical refresh rate, horizontal sync rate. NomDeGuerre Linux - Newbie 7 10-07-2005 02:36 AM
Refresh rate Darkangel90 Slackware 8 08-25-2004 08:10 AM
Refresh Rate Enlightened Linux - Hardware 3 07-22-2004 09:27 PM
refresh rate? iLLuSionZ Linux - General 7 11-24-2003 06:18 AM
refresh rate snocked Slackware 3 07-23-2003 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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