From owner-freebsd-multimedia Thu May 1 16:06:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA23868 for multimedia-outgoing; Thu, 1 May 1997 16:06:40 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA23863 for ; Thu, 1 May 1997 16:06:34 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id QAA00449; Thu, 1 May 1997 16:06:28 -0700 (PDT) Message-Id: <199705012306.QAA00449@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Randall Hopper cc: Doug White , multimedia@freebsd.org Subject: Re: Updated driver (bt848-970424) In-reply-to: Your message of "Thu, 01 May 1997 07:05:21 EDT." <19970501070521.63393@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 01 May 1997 16:06:28 -0700 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >From The Desk Of Randall Hopper : > > Ahhh, I think I know what's going on now. The Bt's 4Bpp format w/ no byte > swapping is: ARGB. With byte swapping, you get access to BGRA, GBAR, and > RABG. According to your visual's RGB masks (RGB: 0000FF,00FF00,FF0000) and > display frame buffer depth (4Bpp), seems you need an ABGR ordering. The Bt > can't do it, thus the drop-back to X images. Sorry about that. > > If the Mach64 server support changing the pixel component ordering for that > 4Bpp/24bpp mode to ARGB (I know the chip supports it at least), that should > get you going there. Otherwise 15/16bpp might be your best option. > > Randall Also, if the X server supports 24bit then the Bt848 can do BGR and drop the "A". This can be done by setting the PCI Enable Bytes on the Write Risc Instructions . PCI Enable Bytes is field 15:12 . In this case set the Bt848 to output 32bit , word swap, byte swap, and set bit 12. I don't think that Mach64 supports 24bit. Nevertheless, we should plan to incorporate the PCI Enable Bytes feature. Enjoy, Amancio