LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-19-2005, 11:38 PM   #1
Riallin
Member
 
Registered: Feb 2005
Posts: 52

Rep: Reputation: 16
Exclamation editing refresh rate in xorg.conf does nothing


Hey all, running slack 10.1, kernel 2.6.10, and fluxbox

problem is, before i wiped and resinstalled, i had my monitor working perfect. Now, though, even after I edit my xorg.conf file to the exact same thing as before, it chooses refresh rates out of the range I specifically list. I have even tried putting only one number for each, and yet it always pops it into the same 95.3x59 rates.

I have an ati radeon 5(7?)00 or whatever is the one that ati does not support, so I have chosen to use the "radeon" driver in xorg. Then, I have 24 bit resolution, set at 1920x1440 (i have also tried 1600x1200 and 1024x768 which also failed), and the issue I mainly have is that sometimes I would like to plug in my roommates projector to my computer so we can watch my movies (since he has no HD space for my stuff).

Currently, I have my monitor zooming in and then all the settings are maxed out solely to get the screen wide and high enough to not leave 5 inches of space all around

I have a vprMATRIX 1796, which, according to the menu, has a range between 31.4 and 95.3, and also 59 through 86.

Please help!
 
Old 02-20-2005, 05:23 AM   #2
roAder
Member
 
Registered: May 2004
Location: Sweden, Stockholm
Distribution: Slackware 10.1
Posts: 142

Rep: Reputation: 15
When you edit xorgconfig, what do you do when it askes for a resolution?
I had that problem to a while ago, but it all I did was to change resoluton for 24 bit. And then I chose option d (1400x10XX) and then, instead of pressing "the modes are Ok" I just pressed enter, that helped me out anyways...
That may seem very noobie but that is what helped me out =)
 
Old 02-20-2005, 06:17 AM   #3
Riallin
Member
 
Registered: Feb 2005
Posts: 52

Original Poster
Rep: Reputation: 16
well, under resolution for 24 I have

"1920x1440" "1600x1200"

and have replaced that with many other options, such as 800x600 and 2034x768 and 1280x1024, all of which did not work.
other than that, there is no option "d" or "modes are Ok" in the xorg.conf file (i edit the file itself, instead of running xorgconfig or whatnot)...

thanks for the idea though, but it doesn't change anything
 
Old 02-20-2005, 06:46 AM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Are you sure that your X is reading the /etc/X11/xorg.conf file?

I know that in XFree86, sometimes this is a problem when there are two files XF86Config and XF86Config-4.

Just wondering whether there is another file in /etc/X11 which conflicts or overrides the xorg.conf file.
 
Old 02-20-2005, 07:18 AM   #5
db391
Member
 
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186

Rep: Reputation: 31
Reading Harishankar's post, the exact same thing happens in Xorg.

Reading the xorg.conf(5x) manual page, it states that X reads the files in the following order:

/etc/X11/<cmdline>
/usr/X11R6/etc/X11/<cmdline>
/etc/X11/$XORGCONFIG
/usr/X11R6/etc/X11/$XORGCONFIG
/etc/X11/xorg.conf-4
/etc/X11/xorg.conf
/etc/xorg.conf
/usr/X11R6/etc/X11/xorg.conf.<hostname>
/usr/X11R6/etc/X11/xorg.conf-4
/usr/X11R6/etc/X11/xorg.conf
/usr/X11R6/lib/X11/xorg.conf.<hostname>
/usr/X11R6/lib/X11/xorg.conf-4
/usr/X11R6/lib/X11/xorg.conf

Unfortunately, sometimes xorgconfig/xorgcfg has a bad habit of placing xorg.conf in the home directory like /root/xorg.conf.new - move this file to /etc/X11/xorg.conf and see if X behaves
 
Old 02-20-2005, 08:07 AM   #6
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Get Section "Monitor" right and xwindow would launch at the highest refresh rate your monitor and display card can support at the chosen resolution (which ever is lower).

Code:
Section "Monitor"
#DisplaySize      320   240     # mm
Identifier   "Monitor0"
VendorName   "brandname"
ModelName    "model"
DisplaySize  325   243  #Quite important if you want optimum performance
HorizSync    30-71 #check your manual
VertRefresh  50-160 #check your manual
#Option     "DPMS" #i hate my monitor switching off.
EndSection
 
Old 02-20-2005, 03:49 PM   #7
Riallin
Member
 
Registered: Feb 2005
Posts: 52

Original Poster
Rep: Reputation: 16
Well, checked every directory that was listed by db391, and i only found 3 files, all of which in /etx/X11:

xorg.conf
xorg.conf-fbdev
xorg.conf-vesa

Well, the main thing that bothers me about all this, is that changing the resolution in xorg.conf works, but when i mess with the refresh rate, it goes straight to the worst possible!...
 
Old 02-20-2005, 03:53 PM   #8
Riallin
Member
 
Registered: Feb 2005
Posts: 52

Original Poster
Rep: Reputation: 16
Hey carboncopy, what exactly is the display size? I don't see it anywhere on the vprMATRIX website
 
Old 02-21-2005, 06:01 PM   #9
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
Originally posted by carboncopy
Get Section "Monitor" right and xwindow would launch at the highest refresh rate your monitor and display card can support at the chosen resolution (which ever is lower).

Code:
Section "Monitor"
#DisplaySize      320   240     # mm
Identifier   "Monitor0"
VendorName   "brandname"
ModelName    "model"
DisplaySize  325   243  #Quite important if you want optimum performance
HorizSync    30-71 #check your manual
VertRefresh  50-160 #check your manual
#Option     "DPMS" #i hate my monitor switching off.
EndSection
Don't worry about a displaysize value for now. It usually will be "self discovered" by the X-server. Can you post the values in your "Monitor" section? Your refresh rate is determined by a combination of the "VertRefresh" and "HorizSync" options. Be sure that the high value on vert is high enough and the low value on the Horiz is low enough. Check your monitor's specs to be sure (before you fry it).
 
Old 02-22-2005, 12:47 AM   #10
Riallin
Member
 
Registered: Feb 2005
Posts: 52

Original Poster
Rep: Reputation: 16
h30 - 96
v50 - 160

as stated on the vprMatrix website.
 
Old 02-22-2005, 02:41 AM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I don't know which ATI driver you have, but I have
one laptop with an integrated ATI card and it uses
vesa for the driver in /etc/X11/xorg.conf rather than
radeon. Try that, as well as putting your refresh
rates in that file like this:
Code:
<snip, snip>
Section "Monitor"

    Identifier  "My Monitor"

# 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   30 - 96

#    HorizSync  30-64         # multisync
#    HorizSync  31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies

# 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 50-160

EndSection
See if that helps. And remember, you can always
save your current xorg.conf as /etc/X11/xorg.conf.old
before you make some changes; and if your changes
don't work, from the prompt you can just issue:
Code:
mv /etc/X11/xorg.conf.old /etc/X11/xorg.conf
and you'll be right back where you're at now...
 
Old 02-24-2005, 10:18 PM   #12
Riallin
Member
 
Registered: Feb 2005
Posts: 52

Original Poster
Rep: Reputation: 16
well, the frustration is about how it all *used* to work, the way that they are currently set at (when i had slack 10.0 installed, before i upgraded to 10.1)
 
Old 02-24-2005, 10:46 PM   #13
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Riallin take a deep look at the xorg.conf file, I've the refresh rate stuff in the "Device" section, maybe you've them there too.
 
Old 02-24-2005, 10:52 PM   #14
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by gbonvehi
Riallin take a deep look at the xorg.conf file, I've the refresh rate stuff in the "Device" section, maybe you've them there too.
There is no specific "Device" section in /etc/X11/xorg.conf
in either Slack-10.0 or Slack-10.1 -- this information by
default, unless you change the file, is in "Monitor section" ...
 
Old 02-24-2005, 11:06 PM   #15
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Not a default one sorry, I generated it using X -configure.
This is how it looks like:
Code:
Section "Device" 
        Option     "HorizSync"          	"31.5 - 80.0" # <str>
        Option     "VertRefresh"        	"60-90" # <str>
	Identifier  "Card0"
	Driver      "nvidia"
	VendorName  "nVidia Corporation"
	BoardName   "NV17 [GeForce4 MX 440]"
	BusID       "PCI:1:0:0"
EndSection
Anyway, as it's a card option, maybe it's specific to mine.
 
  


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
Need help editing xorg.conf nyheat Linux - Newbie 15 08-25-2005 12:32 AM
Editing xorg.conf on Suse 9.2 w/ ATI Mob. 9700 Dell Inspiron 9200 elliotfuller Linux - Hardware 5 04-28-2005 09:24 AM
Xorg Refresh Rate kundor Linux - Hardware 3 06-29-2004 07:13 PM
refresh rate? iLLuSionZ Linux - General 7 11-24-2003 06:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:34 AM.

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