Date: Sun, 15 Jul 2001 23:21:38 -0400 From: Randall Hopper <aa8vb@nc.rr.com> To: "Kenneth D. Merry" <ken@kdm.org> Cc: multimedia@FreeBSD.ORG Subject: Re: Fxtv / G450 hack (was Re: fxtv, G450, & DGA anyone?) Message-ID: <20010715232138.A2174@nc.rr.com> In-Reply-To: <20010715201038.A60120@panzer.kdm.org>; from ken@kdm.org on Sun, Jul 15, 2001 at 08:10:38PM -0600 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010715232138.A2174>