LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 01-18-2006, 07:49 PM   #1
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 170

Rep: Reputation: 30
Angry Need help calibrating monitor geometry on iMac


I installed OpenSuSE 10 on an iMac "350" and the display position is way to the left (off the screen). I used the Sax2 thing to configure it, but it can't move it far enough to the right.
 
Old 01-19-2006, 05:13 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
What about the hardware controls on the monitor itself? Can you sort it out from there?
 
Old 01-19-2006, 08:57 PM   #3
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 170

Original Poster
Rep: Reputation: 30
Well it's an iMac, so I would have to spend an hour taking apart the case. When I first booted it told me to manually adjust the geometry and launched a Sax2 thing that could be used to adjust the resolution, refresh rate, screen position, etc. I tried to move the display further to the right, but it couldn't go very far.

Last edited by kahlil88; 01-20-2006 at 02:30 AM.
 
Old 01-19-2006, 11:47 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
Quote:
Well it's an iMac, so I would have to spend an hour taking apart the case.
Really? They are not on the front or side? That seems to be very poor design, something Apple is generally not known for.

Quote:
When I first booted it told me to manually adjust the geometry.
Well I guess you need to spend that hour then...
 
Old 01-24-2006, 06:29 AM   #5
armandckj
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Rep: Reputation: 0
Hi,

I have the same problem. I think it ha sto do with sax2 and modes.

Search google for "imac xorg monitor"
This site has some examples i am also working with. The sitename is split because i may not post that here.
www
dot
dotfiles
dot
com/
index.php3?
cat_id=10

Armand
 
Old 01-25-2006, 01:43 AM   #6
armandckj
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Rep: Reputation: 0
After playing around with the XFree files i made this xorg.conf:
"
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.

FontPath "unix/:-1"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
#DontZap

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.
#DontZoom

# This allows the server to start up even if the
# mouse device can't be opened/initialised.
AllowMouseOpenFail

# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
#NoTrapSignals
EndSection

Section "DRI"
Mode 0666
EndSection
# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Keyboard section
# **********************************************************************

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "AutoRepeat" "250 30"
Option "XkbCompat" ""
Option "XkbRules" "xfree86"
Option "XkbOptions" ""
EndSection

Section "Module"
# This loads the DBE extension module.

Load "dbe"
Load "glx"
Load "dri"

# This loads the Type1 and FreeType font modules

Load "type1"
Load "freetype"

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.

Subsection "extmod"
#Option "omit xfree86-dga"
EndSubsection
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Modes"
# Apple iMac modes
Modeline "1024x768" 78.525 1024 1049 1145 1312 768 769 772 800 +hsync +vsync
Modeline "800x600" 62.357 800 821 901 1040 600 601 604 632 +hsync +vsync
Modeline "640x480" 49.886 640 661 725 832 480 481 484 514 +hsync +vsync

# Apple monitors tend to do 832x624
# Modeline "832x624" 57 832 876 940 1152 624 625 628 667 -hsync -vsync

# Apple iBook
# Modeline "800x600" 39.955 800 856 984 1056 600 601 605 628 +hsync +vsync

# Apple PowerBook G3
# Modeline "800x600" 100 800 816 824 840 600 616 624 640 -hsync -vsync

# Apple TI Powerbook
# Modeline "1152x768" 78.741 1152 1173 1269 1440 768 769 772 800 +hsync +vsync

# Pismo Firewire G3
# Modeline "1024x768" 65 1024 1032 1176 1344 768 771 777 806 -hsync -vsync

# iBook2
# Modeline "1024x768" 65 1024 1048 1184 1344 768 771 777 806 -hsync -vsync

# 17" Apple Studio Display
# Modeline "1024x768" 112.62 1024 1076 1248 1420 768 768 780 808 +hsync +vsync

# HiRes Apple Studio Display
# Modeline "1280x1024" 135 1280 1288 1392 1664 1024 1027 1030 1064

# Another variation
# Modeline "1280x1024" 134.989 1280 1317 1429 1688 1024 1025 1028 1066 +hsync +vsync
Identifier "Mac Modes"
EndSection

Section "Monitor"
Identifier "Apple|iMac/Powerbook 1024x768"
VendorName "Apple"
ModelName "unknown"
HorizSync 30.0-70.0
VertRefresh 50.0-160.0

# Apple iMac modes
ModeLine "1024x768" 78.525 1024 1049 1145 1312 768 769 772 800 +hsync +vsync
ModeLine "800x600" 62.357 800 821 901 1040 600 601 604 632 +hsync +vsync
ModeLine "640x480" 49.886 640 661 725 832 480 481 484 514 +hsync +vsync

# Apple monitors tend to do 832x624
# ModeLine "832x624" 57 832 876 940 1152 624 625 628 667 -hsync -vsync

# Apple PowerBook G3
# ModeLine "800x600" 100 800 816 824 840 600 616 624 640 -hsync -vsync

# Apple TI Powerbook
# ModeLine "1152x768" 78.741 1152 1173 1269 1440 768 769 772 800 +vsync +vsync

# Pismo Firewire G3
# ModeLine "1024x768" 65 1024 1032 1176 1344 768 771 777 806 -hsync -vsync

# iBook2
# ModeLine "1024x768" 65 1024 1048 1184 1344 768 771 777 806 -hsync -vsync

# 17" Apple Studio Display
# ModeLine "1024x768" 112.62 1024 1076 1248 1420 768 768 780 808 +hsync +vsync

# HiRes Apple Studio Display
# ModeLine "1280x1024" 135 1280 1288 1392 1664 1024 1027 1030 1064

# Another variation
# ModeLine "1280x1024" 134.989 1280 1317 1429 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Device"
Identifier "device1"
VendorName "ATI"
BoardName "ATI Rage 128"

Driver "r128"
#Driver "fbdev"
BusID "PCI:0:16:0"
Option "DPMS"
Option "AGPMode" "true"
Option "UseCCEFor2D" "false"
Option "UseFBDev" "true"
Option "ForcePCIMode" "true"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "Apple|iMac/PowerBook 1024x768"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection"
"
and tested it on a 500. Works but the resolution does not seem correct.
I will test it on a 400 dv and see what happens.

Armand
 
Old 01-31-2006, 09:39 PM   #7
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 170

Original Poster
Rep: Reputation: 30
Thanks! It's not perfectly centered, but still a HUGE improvement! I haven't tested lower resolutions yet.
Quote:
Section "Modes"
# Apple iMac modes
Modeline "1024x768" 78.525 1024 1049 1145 1312 768 769 772 800 +hsync +vsync
Modeline "800x600" 62.357 800 821 901 1040 600 601 604 632 +hsync +vsync
Modeline "640x480" 49.886 640 661 725 832 480 481 484 514 +hsync +vsync
 
Old 01-31-2006, 09:45 PM   #8
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 170

Original Poster
Rep: Reputation: 30
Just in case anything could be improved, here's the video section of my xorg.conf
Quote:
Section "Monitor"
DisplaySize 300 230
HorizSync 30-60
Identifier "Monitor[0]"
ModelName "APPLE MONITOR"
Option "DPMS"
VendorName "APP"
VertRefresh 43-75
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1024x768" 78.525 1024 1049 1145 1312 768 769 772 800 +hsync +vsync
Modeline "800x600" 62.357 800 821 901 1040 600 601 604 632 +hsync +vsync
Modeline "640x480" 49.886 640 661 725 832 480 481 484 514 +hsync +vsync
Modeline "768x576" 43.52 768 800 880 992 576 577 580 601
Modeline "768x576" 37.37 768 800 880 992 576 577 580 598
EndSection

Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "768x576" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

Section "Device"
BoardName "Rage 128 RL"
BusID "0:16:0"
Driver "r128"
Identifier "Device[0]"
Screen 0
VendorName "ATI"
EndSection
 
Old 02-01-2006, 05:54 AM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
xvidtune is a useful utility to help you get your modeline set correctly in xorg.conf
Start it from a terminal in X.
Make adjustments to your display.
When you have it looking good, click "Show" and the corresponding modeline will be displayed in the terminal.
Copy this to your xorg.conf
That's it.

HTH
 
  


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
Boot OS9 iMac (tray) to a Linxu iMac and install rudyard Linux - Networking 3 08-14-2006 12:03 AM
how to configure monitor geometry izquierdista Suse/Novell 2 04-16-2005 08:38 PM
SUSE 9.1/Dell Laptop Monitor Geometry sorvad Linux - Distributions 4 09-06-2004 08:35 AM
Monitor - adjusting geometry with sax2 in suse vendejp Linux - Hardware 0 01-09-2004 12:26 AM
iMac Open Firmware won't boot on Blue iMac.... opn Linux - Software 0 12-31-2001 11:02 AM


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