Date: Wed, 27 Sep 1995 10:36:57 +0100 (MET) From: Olof Johansson <offe@dawnrazor.campus.luth.se> To: "Amancio Hasty Jr." <hasty@rah.star-gate.com> Cc: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>, hackers@freebsd.org Subject: Re: vgalib for FreeBSD! Message-ID: <Pine.BSF.3.91.950927103143.576R-100000@dawnrazor.campus.luth.se> In-Reply-To: <199509270537.WAA13001@rah.star-gate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Sep 1995, Amancio Hasty Jr. wrote: > The biggest problem with the svgalib is its lack of support for svga > cards. For instance, the last time that I checked there was no > support for S3 cards . I guess a good starting point will be to > port whatever is available then include a lot of the XFree86 init > and graphic routines. The effort is almost not worth it -- at least > from my point and view . I suggest doing a net search for a better package. Since svgalib is the only graphics package for linux (or any other pc-unix) I've seen I don't have too much to compare it with. I think that a fairly easy-ported, not-too-good packages is better than none though. I have an unsupported S3 card myself. :-( (#9 GXE) These are the supported chipsets (from the README, sorry for the long list): VGA and compatibles 320x200x256, and the series of 16-color and non-standard planar 256 color modes supported by VGAlib, as well as 720x348x2. Cirrus Logic GD542x/3x All the modes, including 256 color, 32K/64K color, 16M color (3 bytes per pixel) and 32-bit pixel 16M color modes (5434). Some bitblt functions are supported. The driver doesn't work with mode dumps, but uses a SVGA abstraction with mode timings like the X drivers. Tseng ET4000/ET4000W32(i/p) Derived from VGAlib; not the same register values. ET4000 register values are not compatible; see et4000/README. Make sure the colors are right in hicolor mode; the vgatest program should draw the same color bars for 256 and hicolor modes (the DAC type is defined in et4000.regs or the dynamic registers file). ET4000/W32 based cards usually have an AT&T or Sierra 15025/6 DAC. With recent W32p based cards, you might have some luck with the AT&T DAC type. If the high resolution modes don't work, you can try dumping the registers in DOS using the program in the et4000 directory and putting them in a file (/etc/vga/libvga.et4000 is parsed at runtime if DYNAMIC is defined in config.h). 640x480x256, 800x600x256, 1024x768x256, 640x480x32K, 800x600x32K, 640x480x16M, etc. Reports of ET4000/W32i/p functionality are welcome. There may be a problem with the way the hicolor DAC register is handled; dumped registers may use one of two timing methods, with the value written to the register for a particular DAC for a hicolor mode (in vgahico.c) being correct for just one of the these methods. As a consequence some dumped resolutions may work while others don't. Trident TVGA 8900C/9000 (and possibly also 8800CS/8900A/B) Derived from tvgalib by Toomas Losin. 640x480x256, 800x600x256, 1024x768x256 (I and NI) Might be useful to add 16-color modes (for those equipped with a 512K TVGA9000). Oak Technologies OTI-037/67/77/87 Driver by Christopher Wiles; includes 32K color modes for OTI-087. See README.oak. ATI Mach32 The alpha driver by Michael Weller supports all BIOS-defined modes. However, non-Type 2 DAC's are untested. Check out README.mach32 (and README.config). Do send feedback. S3 The driver is not complete, but should work on a number of cards/RAMDACs, and 6408x480x256 should be work on most card. The best support is for a 801/805 with AT&T20C490-compatible RAMDAC, and S3-864 + SDAC. Clocks and Ramdac lines in config file supported. Clocks should be the same as in XFree86. Supported ramdac IDs: Sierra32K, SDAC, GenDAC, ATT20C490, ATT20C498 Example: Clocks 25.175 28.3 40 70 50 75 36 44.9 0 118 77 31.5 110 65 72 93.5 Ramdac att20c490 ARK Logic ARK1000PV/2000PV Full support, limited RAMDAC support. Only ARK1000PV tested. Supports Clocks and Ramdac lines in config file.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950927103143.576R-100000>