I can't get X to work on my machine (well Xpmac works, but I don't
want to use it).  It's an imac G3 500 indigo with a r128 video card.
Sorry for the long post but this is frustrating me and I can't figure
out what the problem is.  I've double-checked my X configs and they
look fine (to me), but I have a feeling that X isn't detecting
something (notice the no screens found error message, yet the screens
section is defined).

This is my XF86Config-4 file:


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

    # 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

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

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

Section "InputDevice"

    Identifier "Keyboard1"
    Driver      "Keyboard"
    Option "AutoRepeat"  "250 30"

    Option "XkbRules" "xfree86"
    Option "XkbModel" "macintosh"
    Option "XkbLayout" "ma"

EndSection

# **********************************************************************
# Pointer section
# **********************************************************************

Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "PS/2"
    Option "Device"      "/dev/usbmouse"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection



Section "Module"

# This loads the DBE extension module.

    Load        "dbe"


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

    SubSection  "extmod"
        #Option "omit xfree86-dga"
    EndSubSection

# This loads the Type1 and FreeType font modules

    Load        "type1"
    Load        "freetype"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier "Apple|iMac/PowerBook 1024x768"
    UseModes   "Mac Modes"
    VendorName "Apple"
    ModelName  "Unknown"


# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
    HorizSync  30.0-70.0


# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
    VertRefresh 50.0-160.0


EndSection



Section "Modes"
    Identifier "Mac 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 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
    # HiRes Apple Studio Display
    Modeline "1280x1024"  135    1280 1288 1392 1664  1024 1027 1030 1064
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier "Generic VGA"
    Driver     "vga"
EndSection

Section "Device"
    Identifier  "ATI Rage 128"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver      "r128"
    Option      "UseFBDev"
    #Option     "no_accel"
    #Option     "sw_cursor"
    #Option     "hw_cursor"
    #Option     "dac_8_bit"
    #Option     "dac_6_bit"
    # Clock lines


    # Uncomment following option if you see a big white block        
    # instead of the cursor!                                          
    #    Option      "sw_cursor"

    Option      "DPMS"
    BusID       "PCI:0:16:0"
EndSection



# **********************************************************************
# Screen sections
# **********************************************************************


Section "Screen"
    Identifier "screen1"
    Device      "ATI Rage 128"
    Monitor     "Apple|iMac/PowerBook 1024x768"

    DefaultColorDepth 15

    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection

    Subsection "Display"
        Depth       15
        Modes       "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection

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

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

    Subsection "Display"
        Depth       32
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"
    Identifier "layout1"
    Screen     "screen1"

    InputDevice "Mouse1" "CorePointer"

    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


And this is the error log generated by X when it type startx:


XFree86 Version 4.0.3 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 16 March 2001
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/FAQ)
Operating System: Linux 2.4.4-pre8 ppc [ELF] 
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Aug 29 11:02:26 2001
(==) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (??) unknown.
(==) ServerLayout "layout1"
(**) |-->Screen "screen1" (0)
(**) |   |-->Monitor "Apple|iMac/PowerBook 1024x768"
(**) |   |-->Device "ATI Rage 128"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "250 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "macintosh"
(**) XKB: model: "macintosh"
(**) Option "XkbLayout" "ma"
(**) XKB: layout: "ma"
(**) FontPath set to "unix/:-1"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "AllowMouseOpenFail"
(--) using VT number 7

(WW) Cannot open APM
ioBase_phys = 0xf0000000
(II) Module ABI versions:
        XFree86 ANSI C Emulation: 0.1
        XFree86 Video Driver: 0.3
        XFree86 XInput driver : 0.1
        XFree86 Server Extension : 0.1
        XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 1.0.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.3
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0027 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:10:0: chip 1002,5452 card 1002,5452 rev 00 class 03,80,00 hdr 00
(II) PCI: 01:0b:0: chip 106b,0028 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 01:17:0: chip 106b,0025 card 0000,0000 rev 00 class ff,00,00 hdr 00
(II) PCI: 01:18:0: chip 106b,0026 card 0000,0000 rev 00 class 0c,03,10 hdr 00
(II) PCI: 01:19:0: chip 106b,0026 card 0000,0000 rev 00 class 0c,03,10 hdr 00
(II) PCI: 02:0b:0: chip 106b,0029 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 02:0e:0: chip 106b,0030 card 106b,0030 rev 00 class 0c,00,10 hdr 00
(II) PCI: 02:0f:0: chip 106b,0024 card 0000,0000 rev 00 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.3
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) Host-to-PCI bridge:
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x00 (VGA_EN is cleared)
(II) Bus 0 I/O range:
        [0] -1  0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1: bridge is at (0:0:0), (-1,1,0), BCTRL: 0x00 (VGA_EN is cleared)
(II) Bus 1 I/O range:
        [0] -1  0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 1 non-prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1 prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 2: bridge is at (0:0:0), (-1,2,0), BCTRL: 0x00 (VGA_EN is cleared)
(II) Bus 2 I/O range:
        [0] -1  0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 2 non-prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 2 prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(--) PCI: (0:16:0) ATI unknown chipset (0x5452) rev 0, Mem @ 0x94000000/26, 
0x90000000/14, I/O @ 0x0400/8
(II) Addressable bus resource ranges are
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
        [1] -1  0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
(II) Active PCI resource ranges:
        [0] -1  0xf5100000 - 0xf51fffff (0x100000) MX[B]
        [1] -1  0xf5200000 - 0xf53fffff (0x200000) MX[B]
        [2] -1  0x80080000 - 0x80080fff (0x1000) MX[B]
        [3] -1  0x80081000 - 0x80081fff (0x1000) MX[B]
        [4] -1  0x80000000 - 0x8007ffff (0x80000) MX[B]
        [5] -1  0x90020000 - 0x9003ffff (0x20000) MX[B](B)
        [6] -1  0x90000000 - 0x90003fff (0x4000) MX[B](B)
        [7] -1  0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
        [8] -1  0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) Inactive PCI resource ranges:
        [0] -1  0xf5000000 - 0xf5000fff (0x1000) MX[B]
(II) Active PCI resource ranges after removing overlaps:
        [0] -1  0xf5100000 - 0xf51fffff (0x100000) MX[B]
        [1] -1  0xf5200000 - 0xf53fffff (0x200000) MX[B]
        [2] -1  0x80080000 - 0x80080fff (0x1000) MX[B]
        [3] -1  0x80081000 - 0x80081fff (0x1000) MX[B]
        [4] -1  0x80000000 - 0x8007ffff (0x80000) MX[B]
        [5] -1  0x90020000 - 0x9003ffff (0x20000) MX[B](B)
        [6] -1  0x90000000 - 0x90003fff (0x4000) MX[B](B)
        [7] -1  0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
        [8] -1  0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
(II) All system resource ranges:
        [0] -1  0xf5100000 - 0xf51fffff (0x100000) MX[B]
        [1] -1  0xf5200000 - 0xf53fffff (0x200000) MX[B]
        [2] -1  0x80080000 - 0x80080fff (0x1000) MX[B]
        [3] -1  0x80081000 - 0x80081fff (0x1000) MX[B]
        [4] -1  0x80000000 - 0x8007ffff (0x80000) MX[B]
        [5] -1  0x90020000 - 0x9003ffff (0x20000) MX[B](B)
        [6] -1  0x90000000 - 0x90003fff (0x4000) MX[B](B)
        [7] -1  0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
        [8] -1  0xf5000000 - 0xf5000fff (0x1000) MX[B]
        [9] -1  0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 1.0.0
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 1.0.0
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 1.0.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 1.1.9
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font FreeType
(II) LoadModule: "r128"
(II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o
(II) Module r128: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 4.0.1
        Module class: XFree86 Video Driver
        ABI class: XFree86 Video Driver, version 0.3
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 6.2.3
        Module class: XFree86 Video Driver
        ABI class: XFree86 Video Driver, version 0.3
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 1.0.0
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.1
(II) ATI: ATI driver (version 6.2.3) for chipsets: ati
(II) R128: Driver for ATI Rage 128 chipsets: ATI Rage 128 RE (PCI),
        ATI Rage 128 RF (AGP), ATI Rage 128 RG (AGP), ATI Rage 128 RK (PCI),
        ATI Rage 128 RL (AGP), ATI Rage 128 Pro PD (AGP),
        ATI Rage 128 Pro PF (AGP), ATI Rage 128 PR,
        ATI Rage 128 Mobility LE (PCI), ATI Rage 128 Mobility LF (AGP),
        ATI Rage 128 Mobility MF (AGP), ATI Rage 128 Mobility ML (AGP)
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
        ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP)
(EE) No devices detected.

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to [EMAIL PROTECTED]

Any help would be appreciated.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD
 - Danen Consulting Services    www.danen.net, www.freezer-burn.org
 - MandrakeSoft, Inc. Security  www.linux-mandrake.com

Current Linux kernel 2.4.7-12.3mdk uptime: 3 days 2 hours 49 minutes.

PGP signature

Reply via email to