Search This Blog

Sunday, 22 November 2009

imac xorg.conf PPC All versions

There is alot of confusion over The graphical display settings on older PPC imac computers.

Here I've tried to put together xorg.conf file s that people claim to work for the differing imac versions.  Ymmv. Feed back welcome if you have an imac running GNU/Linux please post it along with your machine model.

Also see my old imac, emac, how to for Debian.
http://forums.debian.net/viewtopic.php?f=16&t=20481
Spec taken from: http://www.everymac.com/systems/apple/imac/index-imac.html

Tray loaders

imac 233, 266, 333


Apple iMac G3/233 Original - Bondi (Rev. A & B) Specs (M6709LL/A*)
The "revision A" model has ATI Rage IIc video with 2 MB of VRAM and the "revision B" model has ATI Rage Pro Turbo video with 6 MB of VRAM.
The "revision A" model "unofficially" can support a maximum of 384 MB of memory (one 128 MB and one 256 MB module) and the "revision B" model can use a maximum of 512 MB of memory (two 256 MB modules).

Apple iMac G3/266 (Fruit Colors) Specs (M7345LL/A*)
Apple iMac G3/333 (Fruit Colors) Specs (M7440LL/A*)
ATI Rage Pro Turbo video with 6 MB of VRAM.
"Unofficially" this model can support 512 MB of RAM (two 256 MB modules).

##imac-ppc-tray-loader-xorg.conf###
# imac tray loader 233-266-333-xorg.conf Debian Lenny
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
# European keyboard is "pc 105" if you have an imac keyboard " and @ are reversed
# Option "XkbModel" "pc104"
# USA keyboard is "pc 104"
Option "XkbLayout" "gb"
# Great Briton keyboard is "gb"
Option "XkbLayout" "us"
# USA keyboard is "us"
Option "XkbOptions" "lv3:lwin_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
BusID "PCI:0:18:0"
Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 58-62
VertRefresh 75-117
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection

Section "Module"
Disable "glx"
Disable "dri"
EndSection
######end########

Slotloaders

 imac 350

Apple iMac G3/350 (Slot Loading - Blueberry) Specs (M7469LL/A)
ATI Rage 128 VR 2D/3D video with 8 MB of VRAM.
Maximum RAM:     1.0 GB (two 512 MB modules).

##imac-ppc-slot-loader-350-xorg.conf
Ref:  http://ubuntuforums.org/showthread.php?t=1169092&page=2

-------------------------------------------------------------------
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 58-62
VertRefresh 75-117
#ModeLine "1024x768" 78.75 1024 1044 1140 1328 768 781 784 820 +hsync +vsync
#ModeLine "800x600" 62.40 800 821 901 1040 600 609 612 644 +hsync +vsync
#Modeline "640x480" 49.90 640 657 721 832 480 481 484 514 +hsync +vsync
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
#Virtual 1024 768
EndSubSection
EndSection

Section "Module"
Disable "dri"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbVariant" "intl"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
Option "CCEusecTimeout" "100000"
#Option "UseFBDev" "true"
EndSection
--------------------------------------------------------------------------------------------------------------------------------


imac 400,450

Apple iMac G3/400 DV (Slot Loading - Fruit) Specs (M7493LL/A*)
Apple iMac G3/450 DV+ (Summer 2000) Specs (M7676LL/A*)
ATI Rage 128 Pro (AGP 2X) video with 8 MB of VRAM.
Maximum RAM:     1.0 GB (two 512 MB modules).

##imac-ppc-slot-loader-400-450-xorg.conf#################
#see natgab
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades only
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
      FontPath   "/usr/share/X11/fonts/misc"
      FontPath   "/usr/share/X11/cyrillic"
      FontPath   "/usr/share/X11/100dpi/:unscaled"
      FontPath   "/usr/share/X11/75dpi/:unscaled"
      FontPath   "/usr/share/X11/fonts/Type1"
      FontPath   "/usr/share/X11/fonts/CID"
      FontPath   "/usr/share/X11/fonts/100dpi"
      FontPath   "/usr/share/X11/fonts/75dpi"
      # paths to defoma fonts
      FontPath   "/var/lib//defoma/x-ttcidfont-conf.d/dirs/TruType"
      FontPath   "/var/lib//defoma/x-ttcidfont-conf.d/dirs/CID"


Section "Module"
   Load   "GLcore"
 Load "i2c"
 Load "bitmap"
 Load "ddc"
 Load "dri"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
   Load   "type1"
 Load "vbe"
EndSection

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver  "kbd"
 Option  "XkbRules" "xorg"
 Option  "XkbModel" "pc104"
 Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver  "mouse"
   Option      "CorePointer"
   Option      "Device"         "/dev/input/mice"
   Option      "Protocol"         "ImPS/2"
   Option      "Emulate3Buttons"   "true"
   Option      "ZAxisMapping"      "4 5"
EndSection

Section "Device"
 Identifier "ATI Technologies, Inc. Rage 128 PR/PRO (AGP TMDS)"
 Driver  "ati"
   Option      "UseFBDev"      "true"
EndSection

Section "Monitor"
 Identifier "iMac"
 Option  "DPMS"
 HorizSync     60-60
 VertRefresh 75-117
EndSection

Section "Screen"
 Identifier "Default Screen"
 Device  "ATI Technologies, Inc. Rage 128 PR/PRO (AGP TMDS)"
 Monitor  "iMac"
 DefaultDepth 24
 SubSection "Display"
  Depth  1
  Modes  "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  4
  Modes  "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  8
  Modes  "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  15
Modes  "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth  16
Modes  "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection
###############end#####################

imac 500, 600, and 700

Apple iMac G3/500 (Early 2001 - Flower/Blue) Specs (M7669LL/A*)
Apple iMac G3/600 SE (Early 2001) Specs (M7680LL/A*)
Apple iMac G3/700 SE (Summer 2001) Specs (M8510LL/A*)
ATI Rage 128 Ultra (AGP 2X) video with 16 MB of VRAM.
Maximum RAM:     1.0 GB (two 512 MB modules).

######imac-ppc-slot-loader-500-600-700-xorg.conf###########
#ref: http://ubuntuforums.org/showthread.php?t=191080
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# su dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
# Load "i2c"
# Load "bitmap"
# Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "dbe"
Load "glx"
# Load "int10"
# Load "type1"
# Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Rage 128 Pro Ultra TR"
Driver "ati"
Option "UseFBDev" "false"
Option "SWcursor" "true"
Option "ForcePCIMode" "true"
Option "XAANoOffscreenPixmaps"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 58-62
VertRefresh 75-117
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Rage 128 Pro Ultra TR"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
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 "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
Option "AIGLX" "true"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection
################end#####################

Another one

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
 FontPath "/usr/share/X11/fonts/misc"
 FontPath "/usr/share/X11/fonts/cyrillic"
 FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
 FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
 FontPath "/usr/share/X11/fonts/Type1"
 FontPath "/usr/share/X11/fonts/100dpi"
 FontPath "/usr/share/X11/fonts/75dpi"
 FontPath "/usr/share/fonts/X11/misc"
 # path to defoma fonts
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
# Load "ic2"
 Load "bitmap"
# Load "ddc"
 Disable "dri"
 Load "extmod"
 Load "freetype"
 Disable "glx"
 Load "int10"
# Load "type1"
 Load "vbe"
EndSection

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver  "kbd"
 Option  "CoreKeyboard"
 Option  "XkbRules" "xorg"
 Option  "XkbModel" "pc105"
 Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver  "mouse"
 Option  "CorePointer"
 Option  "Device" "/dev/input/mice"
 Option  "Protocol" "ExplorerPS/2"
 Option  "ZaxisMapping" "4 5"
 Option  "Emulate3Buttons" "true"
EndSection

Section "Device"
 Identifier "ATI Technologies, Inc. Rage 128 RL/VR AGP"
 Driver  "r128"
 Option  "UseFBDev" "false"
EndSection

Section "Monitor"
 Identifier "iMac"
 Option  "DPMS"
 HorizSync 58-62
 VertRefresh 75-117
EndSection

Section "Screen"
 Identifier "Default Screen"
 Device  "ATI Technologies, Inc. Rage 128 RL/VR AGP"
 Monitor  "iMac"
 DefaultDepth 24
 SubSection "Display"
  Depth 24
  Modes "1024x768" "800x600" "640x480"  
 EndSubSection
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
 Screen  "Default Screen"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
EndSection

Section "DRI"
 Mode 0666
EndSection