Subject: XFree86 4.0
To: None <port-macppc@netbsd.org>
From: Tsubai Masanari <tsubai@iri.co.jp>
List: port-macppc
Date: 06/22/2000 01:23:25
Hi,

I managed to run XFree86 4.0 on the G4 (so, only UniNorth machines for now).
Currently only RAGE 128 is tested.

Patch is ftp://nandra.iri.co.jp/pub/NetBSD/macppc/XFree86/

Enjoy!

% xinit

XFree86 Version 4.0 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 8 March 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.4ZD [ELF] The NetBSD Foundation, Inc.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Jun 22 01:03:37 2000
(==) 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 "Rage128 Pro"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Keyboard: Protocol: wskbd
(**) XKB: rules: "xfree86"
(**) XKB: model: "macusb"
(**) XKB: layout: "jp"
(**) XKB: variant: "altjp"
(**) 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
xf86OpenConsole
macppcPciInit
(--) PCI: (0:16:0) ATI Rage 128 Pro PF rev 0, Mem @ 0x94000000/26, 0x90000000/14, I/O @ 0x0400/8
(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)
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
        mga2164w AGP, mgag100, mgag200, mgag200 PCI, mgag400
(--) Chipset ATI Rage 128 Pro PF (AGP) found
(II) r128(0): PCI bus 0 card 16 func 0
(**) r128(0): Depth 16, (--) framebuffer bpp 16
(II) r128(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
(==) r128(0): Default visual is TrueColor
(==) r128(0): RGB weight 565
(II) r128(0): Using 6 bits per RGB (8 bit DAC)
(--) r128(0): Chipset: "ATI Rage 128 Pro PF (AGP)" (ChipID = 0x5046)
(--) r128(0): Linear framebuffer at 0x94000000
(--) r128(0): MMIO registers at 0x90000000
(--) r128(0): BIOS at 0x90020000
mapVidMem 90000000, 4000, fd = 5
(--) r128(0): VideoRAM: 16384 kByte (64-bit SDR SGRAM 2:1)
xf86ReadBIOS() 90020000 0, 40
(WW) r128(0): Video BIOS not detected in PCI space!
(WW) r128(0): Attempting to read Video BIOS from legacy ISA space!
xf86ReadBIOS() c0000 0, 40
No VGA
(WW) r128(0): Video BIOS not detected, using default PLL parameters!
(II) r128(0): PLL parameters: rf=2950 rd=65 min=12500 max=25000; xclk=10300
(==) r128(0): Using gamma correction (1.0, 1.0, 1.0)
(II) r128(0): clock range:  12.50 to 250.00 MHz
(WW) r128(0): Mode "640x350" deleted (vrefresh out of range)
(WW) r128(0): Mode "640x400" deleted (vrefresh out of range)
(WW) r128(0): Mode "720x400" deleted (vrefresh out of range)
(WW) r128(0): Mode "640x480" deleted (vrefresh out of range)
(WW) r128(0): Mode "640x480" deleted (vrefresh out of range)
(WW) r128(0): Mode "640x480" deleted (vrefresh out of range)
(WW) r128(0): Mode "800x600" deleted (vrefresh out of range)
(WW) r128(0): Mode "800x600" deleted (vrefresh out of range)
(WW) r128(0): Mode "1024x768" deleted (vrefresh out of range)
(WW) r128(0): Mode "1024x768" deleted (vrefresh out of range)
(WW) r128(0): Mode "1024x768" deleted (vrefresh out of range)
(WW) r128(0): Mode "1152x864" deleted (vrefresh out of range)
(WW) r128(0): Mode "1280x960" deleted (hsync out of range)
(WW) r128(0): Mode "1280x1024" deleted (vrefresh out of range)
(WW) r128(0): Mode "1280x1024" deleted (hsync out of range)
(WW) r128(0): Mode "1600x1200" deleted (hsync out of range)
(WW) r128(0): Mode "1600x1200" deleted (hsync out of range)
(WW) r128(0): Mode "1600x1200" deleted (hsync out of range)
(WW) r128(0): Mode "1792x1344" deleted (hsync out of range)
(WW) r128(0): Mode "1792x1344" deleted (bad mode clock/interlace/doublescan)
(WW) r128(0): Mode "1856x1392" deleted (hsync out of range)
(WW) r128(0): Mode "1856x1392" deleted (bad mode clock/interlace/doublescan)
(WW) r128(0): Mode "1920x1440" deleted (hsync out of range)
(WW) r128(0): Mode "1920x1440" deleted (bad mode clock/interlace/doublescan)
(--) r128(0): Virtual size is 1280x1024 (pitch 1280)
(**) r128(0): Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(==) r128(0): DPI set to (75, 75)
mapVidMem 90000000, 4000, fd = 5
mapVidMem 94000000, 1000000, fd = 5
(II) r128(0): Memory manager initialized to (0,0) (1280,6553)
(II) r128(0): Reserved area from (0,1024) to (1280,1026)
(II) r128(0): Largest offscreen area available: 1280 x 5527
(**) r128(0): Backing store enabled
(II) r128(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Lines
        Dashed Lines
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                32 256x256 slots
                16 512x512 slots
(II) r128(0): Acceleration enabled
(II) r128(0): Using hardware cursor (scanline 2052)
(II) r128(0): Largest offscreen area available: 1280 x 5526
(**) r128(0): DPMS enabled
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension disabled due to lack of shared memory support in the kernel
(**) Mouse1: Protocol: wsmouse
(**) Mouse1: Core Pointer
(==) Mouse1: Buttons: 3
(II) Keyboard "Keyboard1" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)

waiting for X server to shut down X connection to :0.0 broken (explicit kill or server shutdown).

%