From owner-freebsd-multimedia Sun Jul 15 20:22:55 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail7.nc.rr.com (fe7.southeast.rr.com [24.93.67.54]) by hub.freebsd.org (Postfix) with ESMTP id B746437B407 for ; Sun, 15 Jul 2001 20:22:50 -0700 (PDT) (envelope-from aa8vb@nc.rr.com) Received: from stealth.cary.dummynet ([66.26.228.229]) by mail7.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Sun, 15 Jul 2001 23:22:47 -0400 Received: (from rhh@localhost) by stealth.cary.dummynet (8.11.4/8.11.4) id f6G3LcK02237; Sun, 15 Jul 2001 23:21:38 -0400 (EDT) (envelope-from aa8vb@nc.rr.com) X-Authentication-Warning: stealth.cary.dummynet: rhh set sender to aa8vb@nc.rr.com using -f Date: Sun, 15 Jul 2001 23:21:38 -0400 From: Randall Hopper To: "Kenneth D. Merry" Cc: multimedia@FreeBSD.ORG Subject: Re: Fxtv / G450 hack (was Re: fxtv, G450, & DGA anyone?) Message-ID: <20010715232138.A2174@nc.rr.com> References: <20010711224717.A1723@nc.rr.com> <200107121621.f6CGLZk04238@beauty.kobe1995.net> <20010711225308.A1769@nc.rr.com> <20010712001108.A29469@panzer.kdm.org> <20010714214934.A13385@nc.rr.com> <20010714211740.A55034@panzer.kdm.org> <20010715094956.C1240@nc.rr.com> <20010715201038.A60120@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010715201038.A60120@panzer.kdm.org>; from ken@kdm.org on Sun, Jul 15, 2001 at 08:10:38PM -0600 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Kenneth D. Merry: |> http://people.freebsd.org/~rhh/fxtv/dgatest.c |> http://people.freebsd.org/~rhh/fxtv/dgafbtest.c |> http://people.freebsd.org/~rhh/fxtv/tv-dgatest.c | |The first one works, I suppose. The second one doesn't work like it's |supposed to. It's kinda hard to describe, so I put an X window dump here: | |http://people.FreeBSD.org/~ken/foo.xwd.gz | |The colors are off, but I think only the vertical line in the top left |corner was yellow. It's mis-guessing your 24bpp mode has 4 bytes per pixel when it has 3. The alternating colors indicate that. I see the same here when I run "--depth 24". Try this in your Fxtv app-default file; that fixes it here: ! Video-mode specific stuff Fxtv.bswap2Bpp: true Fxtv.bswap3Bpp: true Fxtv.bswap4Bpp: true Fxtv.wswap4Bpp: true Fxtv.Bpp24bit: 3 Fxtv.Bpp32bit: 4 |# ./tv-dgatest ... |Using Pixel Format: | Bpp,shifts[R,G,B],masks[R,G,B],byteswap = | 4,16,8,0,ff0000,00ff00,0000ff,1 ^ Yep, that's what's going on. The Bpp24bit=3 setting should do the trick. Randall -- Randall Hopper aa8vb@nc.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message