LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Need help calibrating monitor geometry on iMac (https://www.linuxquestions.org/questions/linux-hardware-18/need-help-calibrating-monitor-geometry-on-imac-405126/)

kahlil88 01-18-2006 06:49 PM

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.

bulliver 01-19-2006 04:13 PM

What about the hardware controls on the monitor itself? Can you sort it out from there?

kahlil88 01-19-2006 07:57 PM

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.

bulliver 01-19-2006 10:47 PM

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...

armandckj 01-24-2006 05:29 AM

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

armandckj 01-25-2006 12:43 AM

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

kahlil88 01-31-2006 08:39 PM

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

kahlil88 01-31-2006 08:45 PM

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

tredegar 02-01-2006 04:54 AM

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


All times are GMT -5. The time now is 12:45 AM.