From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cameron Morland To: Plan 9 Mailing List <9fans@cse.psu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [9fans] Mach64 Support Date: Sun, 7 Oct 2001 12:21:47 -0400 Topicbox-Message-UUID: ffa93a7c-eac9-11e9-9e20-41e7f4b1d025 (I tried sending this to the newsgroup, but it disappeared without a trace.) I have a spare PC and figured I'd give Plan9 a try. Specs: Intel Pentium, 133 MHz, 48 MBytes (EDO), 1.7 GBytes. No funny hardware. I downloaded the distribution this morning (Saturday 2001-10-06). The first problem I had was with recognizing the video card, with is an ATI Mach64 (I know because it says so on the chip). I get aux/vga: controller not in /lib/vgadb 0xC0000 55 AA 40 EB 7B 66 FF 00 00 00 00 00 00 00 00 00 U.@.{f.......... 0xC0010 00 00 00 00 00 00 00 00 28 01 00 00 00 00 49 42 ........(.....IB 0xC0020 4D 00 64 7B 00 00 00 00 00 00 00 00 00 00 00 00 M.d{............ 0xC0030 20 37 36 31 32 39 35 35 32 30 00 00 00 00 00 00 761295520...... 0xC0040 33 31 00 20 00 00 00 00 FE 00 00 00 00 00 00 00 31............. 0xC0050 31 39 39 36 2F 30 31 2F 30 39 20 31 34 3A 32 33 1996/01/0914:23 0xC0060 00 00 00 00 E9 3E 51 00 E9 33 51 00 E9 18 0F 00 .....>Q..3Q..... 0xC0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0xC0080 E9 BD 00 0D 0A 41 54 49 20 4D 41 43 48 36 34 2C .....ATIMACH64, 0xC0090 20 50 43 49 20 42 49 4F 53 20 50 2F 4E 20 31 31 PCI BIOS P/N11 0xC00A0 33 2D 34 30 30 30 36 2D 31 30 30 20 0D 0A 00 28 3-40006-100...( 0xC00B0 43 29 20 31 39 38 38 2D 39 35 2C 20 41 54 49 20 C) 1988-95, ATI 0xC00C0 54 65 63 68 6E 6F 6C 6F 67 69 65 73 20 49 6E 63 TechnologiesInc 0xC00D0 2E 42 4B 33 2E 37 2E 30 2F 32 2E 30 30 37 4D 41 .BK3.7.0/2.007MA 0xC00E0 43 48 36 34 47 58 50 43 49 55 59 4D 4D 31 30 30 CH64GXPCIUYMM100 0xC00F0 2D 33 31 36 30 30 2D 30 30 20 00 00 28 00 00 A0 -31600-00..(... So I guessed that it was failing to detect it because it's a different flavour of Mach64. I added a line 0xC00DE="MACH64GXPCIUYMM" # My ATI card (GX PCI ?) to vgadb. Now it successfully recognizes the card, but fails: rom table offset FE freq table offset 59F2 memclk 50170000 ref_freq 14320000 ref_divider 46 min_freq 10010000 max_freq 159380000 pd 0 value 0 (|0) post = 1 mach64xx pixel clock = 0 couldn't find ATI clock table vmf 25175000 vmdf 0 vf1 0 vbw 0 vga->init mach64xx->init sequencer->enter on sequencer->leave on mach64xx: vclk 25175000 out of range My plan9.ini file is as follows: *nomp=1 distname=plan9 partition=new bootargs=local!/bzroot ether0=type=NE2000 monitor=multisync vgasize=640x480x8 mouseport=0 bootfile=fd0!dos!9pcflop.gz installurl=http://204.178.31.2/... I also fiddled with the monitor and vgasize parameters, to no effect. It seems to me that the card is supported, and I should just need to configure it to accept the right dot clock. How? +---------------------------------------------------------- | PGP http://www.eng.uwaterloo.ca/student/cjmorlan/pgp.txt | cjmorland@uwaterloo.ca | | it must be admitted that when I turn around while driving our car | and reply to my wife's protests that I can perfectly well see | where I am going without having to look where I am going because | the focus of outflow is implicit, she is not reassured. | --James J. Gibson +----------------------------------------------------------