LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 05-19-2008, 01:38 AM   #1
Q..
Member
 
Registered: Jul 2007
Posts: 48
Thanked: 0
Xorg default refresh rate for different resolutions


[Log in to get rid of this advertisement]
At one point Xorg changed behavior of modelines, I think it was Xorg 7.3. I want to set 60hz as the default for various lower resolutions like 640x480 800x600 and 1024x768. By default, I mean what it changes to when you simply run xrandr -s XxY without -r, they are also the first on the list when simply running xrandr. Before, I could do this by setting modelines for each resolution and specifying only those modes in the Screen section. Now it doesn't work. The modes show up, but the highest possible refresh rate is now always the default for each resolution. How could I do what I seek with this newer Xorg?
Q.. is offline  
Tag This Post , , ,
Reply With Quote
Old 05-21-2008, 08:22 AM   #2
aus9
Senior Member
 
Registered: Oct 2003
Location: Australia
Posts: 3,766
Thanked: 43
could you post the sections for your Monitor and screen so we can see what you have pls?

also what distro are you on and do you use KDE gnome or what window manager pls?
aus9 is offline     Reply With Quote
Old 05-22-2008, 01:02 AM   #3
Q..
Member
 
Registered: Jul 2007
Posts: 48
Thanked: 0

Original Poster
Distro is Fedora 8, using Gnome or Xfce, but honestly I don't think that matters.

The xorg sections are:

Code:
Section "Monitor"

	Option	    "RandRRotation" "on"
	Option		"RandRReflection" "on"
	HorizSync	30-82
	VertRefresh	56-76
	Modeline "800x600"  38.22  800 832 912 1024  600 601 604 622  -HSync +Vsync
	Modeline "640x480"  23.86  640 656 720 800  480 481 484 497  -HSync +Vsync
	Identifier   "Monitor0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	        Modes "1280x1024" "800x600" "640x480"
	EndSubSection
EndSection
Q.. is offline     Reply With Quote
Old 05-22-2008, 04:00 AM   #4
aus9
Senior Member
 
Registered: Oct 2003
Location: Australia
Posts: 3,766
Thanked: 43
honestly if you used kde you could use kde control center that can have its values for screen refresh rates written to xorg.

2) you might try this force
http://www.linuxquestions.org/questi...91#post2365191

ignore the values altho they mention one way of generating modelines xvidtune is another way.
aus9 is offline     Reply With Quote
Old 05-23-2008, 01:21 AM   #5
Q..
Member
 
Registered: Jul 2007
Posts: 48
Thanked: 0

Original Poster
I have tried all this already. The modes don't get rejected, they just don't get put at the front. Maybe new Xorg is hard coded this way. Also, manually changing rates is not going to work for my intended purpose because the targets run fullscreen. Switch out of full to change, switch back, they go back to the first refresh rate. They must be the default for a res in xorg. Thanks though.
Q.. is offline     Reply With Quote
Old 05-23-2008, 04:30 AM   #6
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware64-current
Posts: 377
Thanked: 6
If I set my Modes like this:
Code:
Modes          "1024x768_85"
I have X running 1024x768 at 85Hz refresh rate. This may be specific to the nvidia driver so YMMV if you're using another driver.
General Failure is offline     Reply With Quote
Old 05-24-2008, 06:20 AM   #7
Q..
Member
 
Registered: Jul 2007
Posts: 48
Thanked: 0

Original Poster
Oh yes, it's very likely driver related. I'm running the regular "radeon" driver, which apparently sucks just like ati as a whole.
Q.. is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
xorg doesn't set refresh rate properly lord_didger Linux - Hardware 9 01-14-2008 09:47 PM
Xorg and refresh rate of AOCd556 Monitor nexus06 Linux - Desktop 0 10-04-2006 02:04 PM
Xorg refresh rate Synesthesia Linux - General 1 12-19-2005 07:13 PM
Resolutions and refresh rate zivs Linux - Newbie 8 11-27-2005 11:45 AM
Xorg Refresh Rate kundor Linux - Hardware 3 06-29-2004 08:13 PM


All times are GMT -5. The time now is 03:59 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration