Subject: Re: Debugging XF 4.1 on Cube
To: None <port-macppc@netbsd.org>
From: Paul B. Lorah <paul@macmaverick.net>
List: port-macppc
Date: 10/05/2001 17:13:51
Good news! The after rebuilding XF with the radeon diff, XFree86 no
longer fails on startup. However, now my Apple LCD (attached via ADC on
the Radeon card in the cube), goes black, the powerlight, begins to
flash. A configuration error, perhaps? Here is my XF86Config File.
The log file shows nothing. Thanks. -Paul
#
# 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" "20"
Option "suspend time" "30"
Option "off time" "60"
Option "PCI type" "UniNorth"
# Option "PCI type" "Bandit"
# Option "PCI type" "Grackle"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard 1"
Driver "keyboard"
Option "Protocol" "wskbd"
Option "Device" "/dev/wskbd1"
Option "AutoRepeat" "500 5"
Option "XkbRules" "xfree86"
Option "XkbModel" "macintosh_usb"
Option "XkbLayout" "us"
Option "XkbVariant" "us"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Mouse 1"
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-90 # multisync
# VertRefresh 60 # multisync
Option "dpms"
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "Radeon"
VendorName "ATI"
Driver "ati"
BusID "PCI:0:16:0"
#Option "PanelWidth" "1280"
#Option "PanelHeight" "1024"
EndSection
# **********************************************************************
# Screen sections.
# **********************************************************************
Section "Screen"
Identifier "Screen 1"
Device "Radeon"
Monitor "Generic Monitor"
# XXX 24bpp may be broken
# DefaultDepth 8
DefaultDepth 16
# DefaultDepth 24
# DefaultDepth 32
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x900" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x900" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x900" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1152x900" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
Identifier "Main Layout"
Screen "Screen 1"
InputDevice "Mouse 1" "CorePointer"
InputDevice "Keyboard 1" "CoreKeyboard"
EndSection
------
"Charles M. Hannum" wrote:
>
> On Thu, 2001-10-04 at 23:42, Paul B. Lorah wrote:
> > (WW) RADEON(0): Video BIOS not found!
>
> This is expected, but...
>
> > (II) RADEON(0): PLL parameters: rf=61440 rd=0 min=-11210752 max=61440; xclk=0
>
> This is very strange, and is the source of the X server dying. Here's a
> patch that might help.
>
> ------------------------------------------------------------------------
> Name: radeon-diff
> radeon-diff Type: Plain Text (text/plain)
> Encoding: 7bit
--
#=#=#=#=#=#=
Paul B. Lorah
MacMaverick(SM), Inc.
Mac OS Consulting & Internet Design Services
http://www.macmaverick.net