LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-30-2006, 02:48 PM   #1
ibex
Member
 
Registered: Apr 2006
Distribution: SUSE-10.1-32bit
Posts: 123

Rep: Reputation: 15
Resolution puzzle ... for strong solvers!


Able to give a hand ?
Please do.

ONLY medium resolutions do not work here!

Sax2 (SUSE configurator) accepts happily 1600x1200, 800x600, 640x480
but NOT 1024x768 or 1280x1024
. My monitor freq ranges are quite wide
(see below). I cannot see what causes me this problem.
I tried changing the aspect ration from 4/3 to 5/4 but
this seems to be a passive setting.

All the modes seem to be supported, why the hell 1280x1024
does not work? It gives me an error "out of scan range".

######################################################################

This is part of my /etc/X11/xorg.conf.
I run depth 16.

Section "Monitor"
DisplaySize 377 301
HorizSync 30-96
Identifier "Monitor[0]"
ModelName "SUN 21 PREMIUM COLOR MONITOR"
Option "DPMS"
VendorName "SUN"
VertRefresh 50-160
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1600x1200" 208.74 1600 1720 1896 2192 1200 1201 1204 1253
Modeline "1600x1200" 205.99 1600 1720 1896 2192 1200 1201 1204 1253
Modeline "1600x1024" 210.30 1600 1720 1896 2192 1024 1025 1028 1078
Modeline "1600x1024" 207.75 1600 1720 1896 2192 1024 1025 1028 1077
Modeline "1600x1024" 205.39 1600 1720 1896 2192 1024 1025 1028 1077
Modeline "1600x1000" 210.24 1600 1720 1896 2192 1000 1001 1004 1054
Modeline "1600x1000" 207.74 1600 1720 1896 2192 1000 1001 1004 1053
Modeline "1600x1000" 205.43 1600 1720 1896 2192 1000 1001 1004 1053
Modeline "1400x1050" 183.64 1400 1504 1656 1912 1050 1051 1054 1104
Modeline "1400x1050" 181.37 1400 1504 1656 1912 1050 1051 1054 1103
Modeline "1400x1050" 179.26 1400 1504 1656 1912 1050 1051 1054 1103
Modeline "1280x1024" 167.32 1280 1376 1512 1744 1024 1025 1028 1078
Modeline "1280x1024" 165.29 1280 1376 1512 1744 1024 1025 1028 1077
Modeline "1280x1024" 163.41 1280 1376 1512 1744 1024 1025 1028 1077
Modeline "1440x900" 189.62 1440 1544 1704 1968 900 901 904 954
Modeline "1440x900" 187.55 1440 1544 1704 1968 900 901 904 953
Modeline "1440x900" 185.67 1440 1544 1704 1968 900 901 904 953
Modeline "1280x960" 168.00 1280 1376 1512 1744 960 961 964 1014
Modeline "1280x960" 166.07 1280 1376 1512 1744 960 961 964 1013
Modeline "1280x960" 164.30 1280 1376 1512 1744 960 961 964 1013
Modeline "1366x768" 179.27 1368 1464 1616 1864 768 769 772 822
Modeline "1366x768" 177.52 1368 1464 1616 1864 768 769 772 821
Modeline "1366x768" 175.99 1368 1464 1616 1864 768 769 772 821
Modeline "1280x800" 166.81 1280 1376 1512 1744 800 801 804 854
Modeline "1280x800" 165.13 1280 1376 1512 1744 800 801 804 853
Modeline "1280x800" 163.64 1280 1376 1512 1744 800 801 804 853
Modeline "1152x864" 151.14 1152 1232 1360 1568 864 865 868 918
Modeline "1152x864" 149.54 1152 1232 1360 1568 864 865 868 917
Modeline "1152x864" 148.10 1152 1232 1360 1568 864 865 868 917
Modeline "1280x768" 167.73 1280 1376 1512 1744 768 769 772 822
Modeline "1280x768" 166.09 1280 1376 1512 1744 768 769 772 821
Modeline "1280x768" 164.66 1280 1376 1512 1744 768 769 772 821
Modeline "1024x768" 135.41 1024 1104 1216 1408 768 769 772 822
Modeline "1024x768" 132.57 1024 1096 1208 1392 768 769 772 821
Modeline "1024x768" 131.43 1024 1096 1208 1392 768 769 772 821
Modeline "1280x600" 156.44 1280 1376 1512 1744 600 601 604 650
Modeline "1280x600" 155.30 1280 1376 1512 1744 600 601 604 650
Modeline "1280x600" 154.17 1280 1376 1512 1744 600 601 604 650
Modeline "1024x600" 124.86 1024 1096 1208 1392 600 601 604 650
Modeline "1024x600" 123.96 1024 1096 1208 1392 600 601 604 650
Modeline "1024x600" 123.05 1024 1096 1208 1392 600 601 604 650
Modeline "800x600" 97.59 800 856 944 1088 600 601 604 650
Modeline "800x600" 96.89 800 856 944 1088 600 601 604 650
Modeline "800x600" 96.18 800 856 944 1088 600 601 604 650
Modeline "768x576" 89.56 768 824 904 1040 576 577 580 624
Modeline "768x576" 88.91 768 824 904 1040 576 577 580 624
Modeline "768x576" 88.26 768 824 904 1040 576 577 580 624
Modeline "640x480" 62.12 640 680 752 864 480 481 484 521
Modeline "640x480" 61.55 640 680 752 864 480 481 484 520
Modeline "640x480" 61.10 640 680 752 864 480 481 484 520
EndSection

Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection
 
Old 04-30-2006, 07:48 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Modeline "1024x768" 85.52 1024 1056 1376 1408 768 782 792 807
Modeline "1280x1024" 156.43 1280 1312 1904 1936 1024 1043 1056 1076

These modelines use 75 Hz refresh rate, should work with almost every CRT monitor out there.
 
Old 05-01-2006, 01:18 AM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
And to generate your own modelines, check out http://xtiming.sourceforge.net/cgi-bin/xtiming.pl

I'd also suggest that you verify the vertical and horizonstal refresh rates for your exact monitor - the horiz numbers seem off for a 21" screen
 
Old 05-01-2006, 06:07 AM   #4
ibex
Member
 
Registered: Apr 2006
Distribution: SUSE-10.1-32bit
Posts: 123

Original Poster
Rep: Reputation: 15
Thank you both.
If I understand, you suggest as I remove the existing Modelines from xorg.conf and add my own ones.
I generated new Modelines with the link above and replaced the ones found in xorg.conf. Yet, I got
a black screen saying "out of scan range". Luckily, I had backed-up my xorg.conf and I returned to
the original configuration. Checking with my monitor manual I verified its specs:
Horiz. 30-96KHz
Vert. 48-160Hz
Image area: 388x291 or 364x291 (actual screen)
Screen area: 403.8-302.2 (visible area).

SO, SOME OF THE QUESTIONS I TRY TO ANSWER ARE:

1) Where are these sizes (X-length,Y-length) stored?

2) How does SUSE calculates those default Modelines?

3) Why SaX2 only shows 5 available resolutions (1600x1200, 1280x1024, 1024x768, 800x600, 640x480) and why
the second and the third are giving me this odd "out of scan range error" ?

4)Can it be a compatibility problem with my video card (Intel 865 G) ?

It's now 3 weeks I have been trying to fix this problem ...
Linux, why do you make my life difficult?
 
Old 05-01-2006, 06:12 AM   #5
ibex
Member
 
Registered: Apr 2006
Distribution: SUSE-10.1-32bit
Posts: 123

Original Poster
Rep: Reputation: 15
Q.1 is not clear.
I do set these sizes in SaX2 configuration and I understand how they affect my effective dpi.
I just wonder in which file do these settings go - YET, I do not expect these settings to solve the
problesm (since even when the image is well outside the screen I do not get any errors because of that).
 
Old 05-01-2006, 06:33 AM   #6
ibex
Member
 
Registered: Apr 2006
Distribution: SUSE-10.1-32bit
Posts: 123

Original Poster
Rep: Reputation: 15
On the other hand all resolutions work fine with Windows.
 
Old 05-01-2006, 08:03 AM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
ibex,

I think you are making life unnecessarily complicated.
Your Q1:- These settings are stored in /etc/X11/xorg.conf[/B]
Your Q2:- X does it for suse
Your Q3:- Don't know, I don't use yast
Your Q4:- Don't know, I don't use yast
Your Q5:- I doubt it.

My suggestion: Forget about Yast.
Become root and edit the file /etc/X11/xorg.conf ( I think you have already made a backup that sort-of works, you may need this!)
You say your screen area is "364x291 (actual screen)"
So the bit that says:

Section "Monitor"
DisplaySize 377 301


Needs to be changed to:

Section "Monitor"
DisplaySize 364 291


Xorg seems to have your horiz & vert sync rates correct.

Get rid of

UseModes "Modes[0]"


Get rid of everything between
Section "Modes"
and
EndSection

ie all those "modelines"

In this bit:

SubSection "Display"
Depth 16
Modes "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection


Put the mode that you want as default first.

Save the file.
Restart X with <CTL><ALT><Backspace>
Hope it is better!

There is a lot of information about the workings of xorg.conf in the manual page.
Edit: Try this easy-to-read manual page:
http://www.die.net/doc/linux/man/man5/xorg.conf.5.html

HTH

Last edited by tredegar; 05-01-2006 at 08:07 AM.
 
Old 05-01-2006, 09:29 AM   #8
ibex
Member
 
Registered: Apr 2006
Distribution: SUSE-10.1-32bit
Posts: 123

Original Poster
Rep: Reputation: 15
Thank you so much for your time.
It does work now and I will keep the useful
link for future general reference.

Apart from doing as you suggest
I also tried (in an experimenting mood)
to reduce the frequency range of my monitor.
Despite that the manual says 30-96KHz I entered
30-94KHz and everything worked sweet!
 
Old 05-01-2006, 09:36 AM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Good.
& thanks for the follow-up.
 
Old 05-01-2006, 10:21 PM   #10
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Excellent - congrats on solving the problem, and thanks everyone for contributing and following up with "update" 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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Airsnort to see how strong my network is kokopuffz Linux - Wireless Networking 2 09-21-2005 11:07 AM
How to turn OFF strong passwords? kkempter Red Hat 1 02-22-2005 07:55 AM
Do I Have The Wrong Distro, Or Not A Strong Enough Understanding Of It? salvatore SUSE / openSUSE 15 01-06-2005 11:35 PM
Strong password generation Lindy Linux - Software 2 12-27-2003 07:00 PM
Strong Word Filter suggestion coolamit78 LQ Suggestions & Feedback 8 10-26-2003 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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