Subject: X out of sync on Power Mac G4 with Radeon 9000
To: None <port-macppc@netbsd.org>
From: =?ISO-8859-1?Q?Timo_Sch=F6ler?= <timo.schoeler@macfinity.net>
List: port-macppc
Date: 09/09/2004 21:34:07
hi list,

i'm running -current (as of 20040907) on a Power Mac G4 (400MHz, 1GByte  
RAM, pretty standard except the ATI Radeon 9000 gfx card).

running xf86config and trying to start X, regardless of the settings  
made in xf86config, the gfx card seems to deliver totally weird  
signaling to the monitor (a LaCie 22inch, capable of 130kHz horizontal)  
thus disabling to display any sensible screen -- the OSD says that the  
signal coming in is at 196Hz (vertical) and 532kHz (!) (horizontal).

i tried the radeon-driver (IIRC no. 6 in xf86config) and the generic  
ATI (IIRC no. 5) -- no avail.

my settings usually go the 1600 by 1200 at 85 Hz/24bpp direction. but  
of corse i did try with more conservative settings (800 x 600 and 640 x  
480 at lower refresh rates)...

has anybody X running on a Power Mac using a Radeon? Is there something  
to tweak?

tia! and uname & dmesg below:

spirit: {7} uname -a
NetBSD spirit.ts39-bln.macfinity.net 2.0_BETA NetBSD 2.0_BETA (SPIRIT)  
#0: Tue Sep  7 20:08:26 UTC 2004   
tis@spirit.ts39-bln.macfinity.net:/usr/src/sys/arch/macppc/compile/ 
SPIRIT macppc

spirit: {8} dmesg
NetBSD 2.0_BETA (SPIRIT) #0: Tue Sep  7 20:08:26 UTC 2004
	tis@spirit.ts39-bln.macfinity.net:/usr/src/sys/arch/macppc/compile/ 
SPIRIT
total memory = 1024 MB
avail memory = 984 MB
mainbus0 (root)
cpu0 at mainbus0: 7400 (Revision 2.9), ID 0 (primary)
cpu0: HID0 8094c0a4<EMCP,DOZE,DPM,EIEC,ICE,DCE,SGE,BTIC,BHT>
cpu0: 400.00 MHz, no-parity 1MB WB L2 cache (PB SRAM) at 2:1 ratio
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Interface (rev. 0x00)
ofb0 at pci0 dev 16 function 0: ATI Technologies product 0x4966
ofb0: 640 x 480, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
ppb0 at pci1 dev 13 function 0: Digital Equipment DECchip 21154 PCI-PCI  
Bridge (rev. 0x05)
pci2 at ppb0 bus 1
pci2: i/o space, memory space enabled
obio0 at pci2 dev 7 function 0: addr 0x80000000
zsc0 at obio0 offset 0x13000: irq 22,50
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
davbus at obio0 offset 0x14000 not configured
adb0 at obio0 offset 0x16000 irq 47: pm_adb_op: timeout. command = 0x0
0 targets
aed0 at adb0 addr 0: ADB Event device
apm0 at adb0: battery flags 0x9, 0% charged
wdc0 at obio0 offset 0x1f000 irq 19: DMA transfer
atabus0 at wdc0 channel 0
wdc1 at obio0 offset 0x20000 irq 20: DMA transfer
atabus1 at wdc1 channel 0
wdc2 at obio0 offset 0x21000 irq 21: DMA transfer
atabus2 at wdc2 channel 0
ohci0 at pci2 dev 8 function 0: Apple Computer KeyLargo USB Controller  
(rev. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci2 dev 9 function 0: Apple Computer KeyLargo USB Controller  
(rev. 0x00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
fwohci0 at pci2 dev 10 function 0: Texas Instruments TSB12LV23 OHCI  
IEEE 1394 Host Controller (rev. 0x00)
fwohci0: interrupting at irq 63
fwohci0: OHCI 1.0, 00:30:65:ff:fe:68:9f:4a, 400Mb/s, 2048 max_rec, 4  
ir_ctx, 8 it_ctx
uninorth2 at mainbus0
pci3 at uninorth2 bus 0
pci3: i/o space, memory space enabled
pchb2 at pci3 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
gem0 at pci3 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x01)
gem0: interrupting at irq 41
gem0: Ethernet address 00:30:65:68:9f:4a, 10KB RX fifo, 4KB TX fifo
bmtphy0 at gem0 phy 0: BCM5201 10/100 media interface, rev. 2
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fw0 at fwohci0: 00:30:65:ff:fe:68:9f:4a:0a:02:ff:ff:f0:01:00:00
uhub2 at uhub1 port 1uhub3 at uhub0 port 1
uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/3.12, addr 2

uhub3: Alps Electric Hub in Apple USB Keyboard, class 9/0, rev  
1.10/2.10, addr 2
uhub2: 4 ports with 4 removable, self powered
uhub3: 3 ports with 2 removable, bus powered
umass0 at uhub2 port 2 configuration 1 interface 0
umass0: Ltd Winter Ver1.3, rev 2.00/0.05, addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 4 luns per target
sd0 at scsibus0 target 0 lun 0: <USB2.0, CardReader CF RW, 0.0>> disk  
removable
sd0: drive offline
sd1 at scsibus0 target 0 lun 1: <USB2.0, CardReader SD RW, 0.0>> disk  
removable
uhidev0 at uhub3 port 1 configuration 1 interface 0sd1: drive offline

uhidev0: Alps Electric Apple USB Keyboard, rev 1.10/1.03, addr 3,  
iclass 3/1
sd2 at scsibus0 target 0 lun 2: <USB2.0, CardReader SM RW, 0.0>> disk  
removable
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
sd2: drive offline
sd3 at scsibus0 target 0 lun 3: <USB2.0, CardReader MS RW, 0.0>> disk  
removable
sd3: drive offline
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
wd0 at atabus0 drive 0: <Maxtor 90648D3>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 6179 MB, 12556 cyl, 16 head, 63 sec, 512 bytes/sect x 12656448  
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2  
(Ultra/33) (using DMA data transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <MATSHITADVD-RAM LF-D211A, , A115> cdrom  
removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
uhidev1 at uhub2 port 3 configuration 1 interface 0
uhidev1: Microsoft Microsoft Wireless Optical MouseM-. 1.0A, rev  
2.00/0.56, addr 4, iclass 3/1
uhidev1: 3 report ids
ums0 at uhidev1 reportid 1: 5 buttons and Z dir.
wsmouse1 at ums0 mux 0
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=1, output=0, feature=1
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs

-- 
mit vorzueglichster Hochachtung/best regards,

Timo Schoeler
//macfinity -- finest IT services | Triftstrasse 39 | 13353 Berlin |  
Germany
Fon ++49 30 25 20 30 20 | Fax ++49 30 25 20 30 19
PGP data http://www.macfinity.net/~tis/contact/PGPPKB_timo.schoeler.txt