Subject: Help! XFree86
To: None <port-macppc@netbsd.org>
From: Paul B. Lorah <paul@macmaverick.net>
List: port-macppc
Date: 09/10/2001 21:47:04
Hi-

I've tried EVERYTHING to get my XFree86 to work on my G4 Cube but
nothing seems to do it.  My concern is that for my 17" LCD studio screen
to work I needed to update the firmware.  Could this mess up X?  This
line from x.log is what concerns me:

(WW) r128: No matching Device section for instance (BusID PCI:0:16:0) found

Or maybe it's a configuration problem ... my XF86Config file and output
from startx are attached below!

Thanks in advance.

Paul Lorah

Output from startx:

XFree86 Version 4.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 1 July 2000
	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: NetBSD/macppc 1.5 [ELF] The NetBSD Foundation, Inc.
(==) Log file: "/var/log/XFree86.0.log", Time: Mon Sep 10 21:32:41 2001
(==) Using config file: "/etc/X11/XF86Config"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (??) unknown.
(==) ServerLayout "Main Layout"
(**) |-->Screen "Screen1" (0)
(**) |   |-->Monitor "Generic Monitor"
(**) |   |-->Device "Rage 128"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Keyboard: Protocol: wskbd
(**) XKB: rules: "xfree86"
(**) XKB: model: "macusb"
(**) XKB: layout: "us"
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(--) Using wscons driver (/dev/ttyE0)
(**) PCI-HOST bridge is UniNorth
(--) PCI: (0:16:0) ATI unknown chipset (0x5144) rev 0, Mem @
0x98000000/27, 0x90080000/19, I/O @ 0x0400/8
(II) ATI: ATI driver (version 5.3.5) for chipsets: ati, ativga
(II) r128: Driver for ATI Rage 128 chipset: ATI Rage 128 RE (PCI),
	ATI Rage 128 RF (AGP), ATI Rage 128 RK (PCI), ATI Rage 128 RL (AGP),
	ATI Rage 128 Pro PF (AGP), ATI Rage 128 Mobility LE (PCI),
	ATI Rage 128 Mobility LF (AGP)
(II) CHIPS: Driver for Chips and Technologies chipsets: ct65520, ct65525,
	ct65530, ct65535, ct65540, ct65545, ct65546, ct65548, ct65550,
	ct65554, ct65555, ct68554, ct69000, ct69030, ct64200, ct64300
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
	mga2164w AGP, mgag100, mgag200, mgag200 PCI, mgag400
(II) FBDev: driver for framebuffer: fbdev, afb
(WW) r128: No matching Device section for instance (BusID PCI:0:16:0) found
(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".

X connection to :0.0 broken (explicit kill or server shutdown).


--
My XF86Config File:

#
# XF86Config example
#

# The ordering of sections is not important in version 4.0 and later.

#
#**********************************************************************
#
#Files section.  This allows default font and rgb paths to be set
#
#**********************************************************************

Section "Files"
    FontPath	"/usr/X11R6/lib/X11/fonts/local/"
    FontPath
	"/usr/X11R6/lib/X11/fonts/misc/"
    FontPath
	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath
	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath
	"/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath
	"/usr/X11R6/lib/X11/fonts/CID/"
    FontPath
	"/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath
	"/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath
	"/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

#
#**********************************************************************
#
#Server flags section.  This contains various server-wide Options.
#
#**********************************************************************

Section "ServerFlags"
    Option	"blank time"	"10"	# 10 minutes

Option	"standby time"	"40"
    Option	"suspend time"	"60"
    Option "off time"	"120"

    Option	"PCI type" "UniNorth"
#   Option	"PCI type"	"Bandit"
#   Option "PCI type"	"Grackle"
EndSection

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

#
#**********************************************************************
#
#Core keyboard's InputDevice section
#
#**********************************************************************

Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"keyboard"

Option	"Protocol"	"wskbd"
    Option	"Device" "/dev/wskbd1"
#    Option	"Device"	"/dev/wskbd1"

# Option	"AutoRepeat"	"500 5"
    Option	"XkbRules"	"xfree86"

Option	"XkbModel"	"macusb"
#    Option	"XkbModel"	"macadb"

Option	"XkbLayout"	"us"
#    Option	"XkbVariant" "altjp"
EndSection


#
#**********************************************************************
#
#Core Pointer's InputDevice section
#
#**********************************************************************

Section
"InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"	"wsmouse"
    Option "Device" "/dev/wsmouse1"
EndSection

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

#Any number of monitor sections may be present

Section "Monitor"

Identifier	"Generic Monitor"
    HorizSync	27-82         # multisync

VertRefresh	50-72         # multisync
    Option "dpms"
EndSection

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

#Section "Device"
#    Chipset	"mach64"
#    Identifier	"Mach64"
#Driver	"ATI"
#    BusID	"PCI:0:17:0"
#    Option	"noaccel"
#EndSection

Section "Device"
#    Chipset	"r128"


Identifier  	"Rage 128"
    Driver      "r128"
#    BusID	"PCI:0:16:0"
#    Option      "noaccel"
EndSection

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

Section "Screen"
    Identifier		"Screen1"
#    Device		"Mach64"
Device		"Rage 128"
Monitor		"Generic Monitor"

# XXX 24bpp may be broken

#   DefaultDepth	8
   DefaultDepth 	16
#   DefaultDepth	24

    SubSection "Display"
	Depth 8
	Modes "1280x1024"
    EndSubSection
    SubSection "Display"
	Depth 16
	Modes "1280x1024"
EndSubSection
    SubSection "Display"
	Depth 24
	Modes "1280x1024"
    EndSubSection
EndSection


#
#**********************************************************************
#
#ServerLayout sections.
#
#**********************************************************************

Section "ServerLayout"
    Identifier	"Main Layout"
    Screen	"Screen1"

InputDevice	"Mouse1"	"CorePointer"
    InputDevice	"Keyboard1" "CoreKeyboard"
EndSection