LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-24-2005, 03:16 PM   #1
zivs
Member
 
Registered: Jan 2005
Location: Ogre, Latvia
Distribution: Ubuntu 9.10
Posts: 72

Rep: Reputation: 15
Resolutions and refresh rate


Well.. after trying out several other forums and stuff found something maybe even useful in changing res and ref. rate, but still that didn't help.
So the problem is:
Recently changed monitor to 17' CTX (before was Hansol 14'), so that means that i can use higher resolutions etc. All sounds good - change monitor - use higher resolution, but I can't change them - still using 800x600@72hz. After trying out this, there still wasn't any option to choose it. So after changing back to cfg which I had before getting new monitor was and still is:
Quote:
Section "Monitor" Identifier "Generic Monitor" HorizSync 28-49 VertRefresh 43-72 Option "DPMS" Modeline "800x600_85.00" 56.55 800 840 928 1056 600 601 604 630 -HSync +Vsync EndSection Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "720x400" "640x480" EndSubSection EndSection
After changing cfg hoping it will work it looked like this:
Quote:
Section "Monitor" Identifier "Generic Monitor" HorizSync 28-49 VertRefresh 43-72 Option "DPMS" Modeline "800x600_85.00" 56.55 800 840 928 1056 600 601 604 630 -HSync +Vsync EndSection Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600_85.00" "800x600" "720x400" "640x480" EndSubSection EndSection
Where's the problem? Did i missed something?
Thanks in advance
P.S.
Sorry for messed up quotes - too lame to make lines look same as in XFConfig86
 
Old 11-24-2005, 06:19 PM   #2
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Why the problem with the formatting? Makes it very hard to try to decipher the file's content like that.

Just open a terminal window as wide as you can and give in cat /etc/X11/XF86Config-4

The section for my monitor looks like this:
Code:
Section "Monitor"
        Identifier      "Generic Monitor"
        HorizSync       30-82
        VertRefresh     56-76
        Option          "DPMS"
EndSection
My Screen section looks like this:
Code:
Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Radeon 9800 Pro"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

You could try making a backup copy of the config file, then running
#dpkg-reconfigure xserver-xfree86

This will give you a correctly formed file, in case there are any syntax or logical problems with your current config file. Be sure to select the right video card drivers if you've installed nVidia's proprietary drivers.

HTH
 
Old 11-25-2005, 04:06 PM   #3
zivs
Member
 
Registered: Jan 2005
Location: Ogre, Latvia
Distribution: Ubuntu 9.10
Posts: 72

Original Poster
Rep: Reputation: 15
Tried that dpkg thing - in the middle of it there showed up questions which i really don't know, so maybe is there any way that linux determines by himself what should be filled in for every of those questions?
Well here's the config hopefully in understandable way:

Code:
Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	28-49
	VertRefresh	43-72
	Option		"DPMS"
Modeline "800x600_85.00"  56.55  800 840 928 1056  600 601 604 630  -HSync +Vsync
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
EndSection
so maybe now someone can tell me what's there wrong?
 
Old 11-25-2005, 05:57 PM   #4
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Nice formatting!

I don't recognize this line:
Modeline "800x600_85.00" 56.55 800 840 928 1056 600 601 604 630 -HSync +Vsync

Did you add it yourself?

What happens if you add a # in front of that line (this comments it out), save the file, and restart the X server?

Also, there should be a section at the end that looks something like this:
Code:
Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Intellimouse Optical"
EndSection
In your case, it probably won't say "Intellimouse Optical" that's just what I named my mouse. What does that section say in your config file?

I would be happy to *try* to help you answer the dpkg-reconfigure questions you don't know. Just copy them or write them down and post them here, and we'll have a look. It's useful to know the answers to those questions, plus you'll learn about your system.
 
Old 11-25-2005, 06:12 PM   #5
zivs
Member
 
Registered: Jan 2005
Location: Ogre, Latvia
Distribution: Ubuntu 9.10
Posts: 72

Original Poster
Rep: Reputation: 15
Yes that line is added by myself.. in that link what i gave in first topic post said to do that, but i dunno if it is really needed there
and that line which you posted, for me looks like this:

Code:
Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection
 
Old 11-26-2005, 07:27 AM   #6
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Unfortunately, I overlooked that link in the first post, whoops! Probably something to do with blue link colors on a blue background.

Here's one important thing to realize: Xorg and XFree86 are 2 different implementaions of the X Window System:

http://en.wikipedia.org/wiki/Xfree86
http://en.wikipedia.org/wiki/Xorg

You're using XFree86 (since your configuration file is named XF86Config-4), and there's no need to change that. However, using lines of code from xorg configuration files is not necessarily going to work.

In any case, the Modeline statement you added only refers to 800x600, and if I understand right you want 1024x768 (if not 1280x1024?).

Here's what I would do:

1) Remove the offending Modeline command from XF86Config-4. According to the link I provide below, this kind of manual tuning is no longer necessary.

2) Gather information about your new monitor. Most important are the horizontal sync rate and vertical refresh rate. These are given in ranges (see my example above). If you can't find a label on your monitor with the information, which you should, you can go to the manufacturer's website and find a specification sheet.

2) Try using xvidtune to get the necessary information, here is some help:
XFree86 in general:
http://www.tldp.org/HOWTO/XWindow-Us...O/xfree86.html
same document, direct link to xvidtune (read carefully):
http://www.tldp.org/HOWTO/XWindow-Us...86.html#AEN290

More help with XFree86:
http://www.xfree86.org/sos/help.html


You might also still ask for help answering the quesitons that come when using an X configuration tool.

See also here:
http://wiki.linuxquestions.org/wiki/...guration_tools

Hope that helps.
 
Old 11-26-2005, 09:09 AM   #7
Harmaa Kettu
Member
 
Registered: Apr 2005
Location: Finland
Posts: 196

Rep: Reputation: 30
The problem is that you have the values for your old monitor here:
Quote:
Code:
        HorizSync       28-49
        VertRefresh     43-72
(Must have been a very old one if it supported only 72Hz.)
The correct values for CTX monitors can be found here.
 
Old 11-26-2005, 07:37 PM   #8
zivs
Member
 
Registered: Jan 2005
Location: Ogre, Latvia
Distribution: Ubuntu 9.10
Posts: 72

Original Poster
Rep: Reputation: 15
thanks for helping all changed vertrefresh and horizsync and now all looks and works good
 
Old 11-27-2005, 11:45 AM   #9
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Hurrah! I love it when a plan comes together.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:36 AM
What Refresh Rate Do I have? pjpeter Linux - Newbie 1 09-25-2004 11:50 PM
Refresh rate Darkangel90 Slackware 8 08-25-2004 09:10 AM
refresh rate 0perat0r Linux - Newbie 4 07-18-2004 04:28 AM
Refresh Rate XPediTioN Mandriva 4 03-11-2004 05:14 AM


All times are GMT -5. The time now is 07:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration