LinuxQuestions.org
Visit Jeremy's Blog.
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 07-10-2002, 09:19 PM   #1
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
refreshrate in xf86conf-4


so is there a line that forces a preferred refreshrate ?
i have my modes,
i have my depths,.......

i'm runnin AT 1280X1024, and this thing has gone choppy!

Section "Screen"
Idedntifier "Screen0"
devicee "NViDIA GeForcee 2 GTS (generic)
Monitor "Monitor0"
DefaultDepth 24

SubSection Display
depth 24
modes "1280x1024" 1280x960"
endsubsection

i typed the above ^ so theres typos


also....

if new xfree doesn't use modelines, why are there modeline settings under
my " Section "Monitor" "? are these left over from the upgrade?


MY CONFIG:
------------------------
Section "Monitor"
Identifier "Monitor0"
VendorName "ViewSonic"
ModelName "P815"
HorizSync 30-115
VertRefresh 50-160
Option "dpms"

# -- 1400x1050 --
# 1400x1050 @ 60Hz, 65.8 kHz hsync
Modeline "1400x1050" 129 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 70Hz, 76.8 kHz hsync
Modeline "1400x1050" 151 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 75Hz, 82.3 kHz hsync
Modeline "1400x1050" 162 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 85Hz, 93.2 kHz hsync
Modeline "1400x1050" 184 1400 1464 1656 1960
 
Old 07-10-2002, 11:16 PM   #2
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
The modeline (there are a lot of "built-in" ones, so you see only non-standard ones in the config) that gets selected selects the refresh rate. You have an entry in the config specifying the resolution (eg 1280x1024); the server picks the highest refresh rate it finds supported (other constraints come in; max v and h frequency ranges etc)

Look at the /var/log/XFree86.0.log file to see which one gets selected - here's from my file:

Code:
(II) NV(0): Not using default mode "960x720" (hsync out of range)
(--) NV(0): Virtual size is 1280x1024 (pitch 1280)
(**) NV(0): Mode "1280x1024C": 157.5 MHz, 93.1 kHz, 86.2 Hz
(II) NV(0): Modeline "1280x1024C"  157.50  1280 1364 1524 1692  1024 1041 1044 1080 +hsync +vsync
ok, so I get 86.2 Hz.

Note the "1280x1024C". That is not any of the built-in ones. I usually tweak the display just the way I like it with xvidtune, make it bigger, better centered, whatever. xvidtune lets you output the modeline that you adjusted ("show"). Grab that line and add it to the XF86config-4 file, giving it a new name (with the "C" in my case).

Then, in the same file,
Code:
Section "Screen"
	Identifier   "Screen0"
        Device       "RIVA TNT2"
        Monitor      "Monitor0"
	DefaultDepth	24

	Subsection "Display"
        	Depth       24
                Modes       "1280x1024C"
	EndSubsection

EndSection
to make it use your custom modeline. If you get a lot of your day's light from the tube like I do, that extra bit of work is well worth it.

Hope it helps,
Martin
 
  


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
How to set up dual screen (with xf86conf file) hamppari Linux - Hardware 3 04-10-2005 08:12 PM
framebuffer higher refreshrate? kule Linux - Software 1 03-23-2005 02:50 AM
KDe + RefreshRate Dr3n Linux - Software 1 03-14-2005 05:56 PM
refreshrate in X with ati drivers akqw Linux - Software 0 09-26-2003 09:52 AM
Resolution & Refreshrate in XFree86 4.2 cathodion Linux - Software 5 07-12-2002 05:01 PM

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

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