Ok. I have found two xorg.conf files that are supposed to work for the iMac G4 (lamp model). I have tried both, but have had no success with either.
With the one list for that iMac at this site (under heading iMac G4 800 Mhz): http://www.ppcnux.com/?q=g4-macs-and-xorg
Section "Device"
Identifier "Gforce2MX"
BusID "PCI:0:16:0"
Driver "fbdev"
Option "UseFBDev" "true"
EndSection
# EDID version 1 revision 3
Section "Monitor"
# Block type: 2:0 3:fe
# Block type: 2:0 3:fe
# Block type: 2:0 3:fc
Identifier "iMacLamp"
VendorName "APP"
ModelName "Color LCD"
# Block type: 2:0 3:fe
# Block type: 2:0 3:fe
# Block type: 2:0 3:fc
# DPMS capabilities: Active off:yes Suspend:no Standby:no
Mode "1024x768" # vfreq 60.004Hz, hfreq 48.363kHz
DotClock 65.000000
HTimings 1024 1048 1184 1344
VTimings 768 771 777 806
Flags "-HSync" "-VSync"
EndMode
# Block type: 2:0 3:fe
# Block type: 2:0 3:fe
# Block type: 2:0 3:fc
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Gforce2MX"
Monitor "iMacLamp"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection
The video crashes and goes straight to a command line. I get the following error message from the /var/log/Xorg.0.log file:
(EE) FBDEV(0): FBIOPUT_VSCREENINFO succeeded but modified mode
(EE FBDEV(0): mode initialization error
Fatal server error:
AddScreen/ScreenInit failed for driver 0
From what I can gather from the X.org wiki:
I keep getting the message: "AddScreen/ScreenInit failed for driver 0"
You get an error message like:
(EE) R128(0): (Ron = 12288) + (Rloop = 17) >= (Roff = 12012)
Fatal server error:
AddScreen/ScreenInit failed for driver 0
This kind of problem typically occurs when you're using a big monitor with an old graphics card. You can solve it by deleting some of the highest resolutions of the deepest colour mode in the Screen section of your xorg.conf, or even the whole last Display subsection.
I have tried lowering the bit depth from 24 to 16, but that seems to do nothing. Also, this configuration does at least the correct nvidia card that is in the machine, even if it is nothing more than a label.
From the instructions under post 2 here: http://ubuntuforums.org/showthread.php?t=1741817 , I tried this xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection
Section "Module"
Load "dri"
Load "dri2"
Load "extmod"
Load "record"
Load "dbe"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
#Option "DualHead" # [<bool>]
Identifier "Card0"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NV18 [GeForce4 MX with AGP8X (Mac)]"
BusID "PCI:0:16:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Again, the video crashes and goes straight to a command line. I get the following error message from the /var/log/Xorg.0.log file:
(EE) Failed to load module "nv" (module does not exist, 0)
(EE) No drivers available.
Fatal server error:
no screens found
At least here, I have a clue, and tried:
sudo apt-get install nvidia-current
but that is not available.
I am not certain what the name of the "nv" driver is, and have not had much luck locating that online. Nor am I sure if that will resolve the problem, but it certainly looks like I need to try that next. If anyone knows the file name for "nv", I would greatly appreciate it. I will let you know how I fare.
Bookmarks