LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 10-23-2005, 11:59 AM   #1
Eerath
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.9, SimplyMEPIS 3.3.2, Mandrake 10.1, SUSE 10.0, Windows 2000 Pro, Windows XP Home + Pro
Posts: 138

Rep: Reputation: 15
MEPIS equivalent of sax2?


My display is quite distorted, the OS centre knows my monitor, but can't configure X to fit properly. Is there a MEPIS equivalent to SUSEs sax2?
 
Old 10-28-2005, 11:15 PM   #2
morphodone
Member
 
Registered: Nov 2003
Location: Texas, USA
Distribution: Ubuntu 7.04
Posts: 44

Rep: Reputation: 15
Re: MEPIS equivalent of sax2?

Quote:
Originally posted by Eerath
My display is quite distorted, the OS centre knows my monitor, but can't configure X to fit properly. Is there a MEPIS equivalent to SUSEs sax2?
Nope, you'll have to manually edit X your configuration file most likely. If you need help editing just post back.
 
Old 10-29-2005, 09:22 PM   #3
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Eerath,

I run SuSE 10 and in 9.3 it set my monitor perfectly but in 10.0 I had to resort to manual confuiguration of my xorg.conf. I used xmode to generate the modelines for the resolution/refresh rates I wanted (I usually run 1920x1440 on each monitor, and 2048x1538 when viewing really large layouts or doing HEAVY multitasking, but it wanted to force either 1600x1200 or 2048x1536 on me, and would not even let me select 1920x1440).

Here is what to do:

1. Create your xorg.conf for 1024x768 with the acceleration features, mouse selection, and everything else you want
2. Use xmode to generate modelines for the resolution/refresh rates you desire (example follows)

(please note: I abbreviated each section as this post would be EXTREMELY long if I include the entire sections)
Code:
kimp4:~ # xmode -x 1920 -y 1440 -r 85
125
83
Modeline "1920x1440" 332.88 1920 2072 2288 2656 1440 1441 1444 1510
kimp4:~ #
where "-x" is followed by the width of the the screen in pixels, "-y" is followed by the height of the screen in pixels, and "-r" is followed by the desired refresh rate (ideally 72hz or higher)


Next, take that modeline and plug it into your xorg.conf file monitor configuration:

Code:
Section "Modes"
  Identifier   "Modes[0]"
#  Modeline     "2048x1536" 305.81 2048 2208 2432 2816 1536 1537 1540 1597
#  Modeline     "2048x1536" 257.89 2048 2200 2424 2800 1536 1537 1540 1588
#
#
# Kim 20051019 - The following definitions enable
# the 1920x1440 resolution that I love so much. 2048
# x1536 is easily accessible by uncommenting the
# above modelines
#
  Modeline      "1920x1440" 332.88 1920 2072 2288 2656 1440 1441 1444 1510
  Modeline      "1920x1440" 289.27 1920 2072 2280 2640 1440 1441 1444 1501
  Modeline      "1920x1440" 277.02 1920 2072 2280 2640 1440 1441 1444 1499
  Modeline      "1920x1440" 268.74 1920 2072 2280 2640 1440 1441 1444 1497
  Modeline      "1920x1440" 246.81 1920 2064 2272 2624 1440 1441 1444 1493
EndSection
Section "Modes"
  Identifier   "Modes[1]"

# 2048x1536 commented out below. Uncomment to enable
# 2048x1536 resolution. Don't forget to add modes below.

#  Modeline     "2048x1536" 305.81 2048 2208 2432 2816 1536 1537 1540 1597
#  Modeline     "2048x1536" 257.89 2048 2200 2424 2800 1536 1537 1540 1588
#
#
# Kim 20051019 - The following definitions enable
# the 1920x1440 resolution that I love so much. 2048
# x1536 is easily accessible by uncommenting the
# above modelines
#
  Modeline      "1920x1440" 332.88 1920 2072 2288 2656 1440 1441 1444 1510
  Modeline      "1920x1440" 289.27 1920 2072 2280 2640 1440 1441 1444 1501
  Modeline      "1920x1440" 277.02 1920 2072 2280 2640 1440 1441 1444 1499
  Modeline      "1920x1440" 268.74 1920 2072 2280 2640 1440 1441 1444 1497
  Modeline      "1920x1440" 246.81 1920 2064 2272 2624 1440 1441 1444 1493
EndSection
Next, define your valid "screen" modes:

Code:
Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1920x1440" "1920x1200" "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1920x1440" "1920x1200" "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  EndSubSection
Oh one more thing: you want your typefaces (well, fonts, once size and weight are applied) to render sanely so you need to modify your monitor definition a little more. See the following:

Code:
Section "Monitor"
  DisplaySize  406 305
  HorizSync    28-115
  Identifier   "Monitor[0]"
  ModelName    "ViewSonic"
  Option       "DPMS"
  VendorName   "P815"
  VertRefresh  50-160
  UseModes     "Modes[0]"
EndSection

(the other monitor matches)
Note "DisplaySize" - you will want to measure the width and the height of the visible portion of your monitor in millimeters (unless xorgconf correctly detects this) and enter the width in millimeters (the first number) followed by the height in millimeters (the second number). If you do not set this your typefaces will render as really huge, chunky fonts or the aspect ratio may be off, causing the fonts to look squished in one direction or the other.

When you get xorg running, when you type "xdpyinfo" you will note a "dpi" setting, and it should be fairly close (if not an exact match to) the specifications your monitor manufacturer publishes for the given resolution. Example of my output:

kimp4:/etc/X11 # xdpyinfo | grep -i dots
resolution: 120x119 dots per inch
kimp4:/etc/X11 #

which is within 1dpi of what is expected for that resolution. (should be 120dpi x120dpi for 1920x1440, an acceptable rounding error)

A little more difficult than sax2? Perhaps, but:

1. You will know your WYSIWYG apps will actually render "print size" accurately since you KNOW the DPI setting is correct
2. You will have learned a little about how video cards and monitors and X interact
3. You can now claim to be a BOFH (okay, not quite )
4. You will KNOW it will work

Last edited by KimVette; 10-29-2005 at 09:25 PM.
 
Old 10-30-2005, 03:46 AM   #4
Eerath
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.9, SimplyMEPIS 3.3.2, Mandrake 10.1, SUSE 10.0, Windows 2000 Pro, Windows XP Home + Pro
Posts: 138

Original Poster
Rep: Reputation: 15
Thanks for all your help, but the controls on the monitor did the trick
 
Old 10-31-2005, 11:53 AM   #5
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Rep: Reputation: 32
that is the funniest resolution I've ever read!

>Thanks for all your help, but the controls on the monitor did the trick

Always look into the simplest option first... thanks for the smile!
 
Old 10-31-2005, 12:40 PM   #6
Eerath
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.9, SimplyMEPIS 3.3.2, Mandrake 10.1, SUSE 10.0, Windows 2000 Pro, Windows XP Home + Pro
Posts: 138

Original Poster
Rep: Reputation: 15
Nono, I didn't think that would work because I dual boot and I thought that straightening Linux would skew up Windows; it's clearly cleverer than that!
 
  


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
Pro Mepis vs. Simply Mepis, What is the difference? pbibaud MEPIS 1 05-25-2005 08:36 PM
X/sax2 hangs. theacolyte SUSE / openSUSE 7 05-19-2005 03:46 PM
Sax2 for Slack: Would you like it? gargamel Slackware 6 02-22-2005 04:08 AM
ati and sax2 Paul Huddart General 1 10-28-2003 04:51 PM
sax2 sodaforce Linux - Software 1 09-12-2003 03:45 AM

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

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