[Savage40] Xv on savage 2000

Felix Kühling fxkuehl at gmx.de
Wed Feb 9 12:29:14 PST 2005


Am Mittwoch, den 09.02.2005, 08:07 -0800 schrieb Alex Deucher:
> I recently got Xv on savage 2000 working, but it has a couple problems:
> 
> - The video is half as wide as it should be (squashed horizontally by
> 1/2 exactly) the other half is either garbage or the squashed image
> repeated
> - colors are wrong.  Looks like only the UV data is being shown.
> - horizontal downscaling is funky (may be a hardware limitation)
> 
> On the plus side it actually displays something and scaling works.
> If anyone has any ideas please let me know.  At the moment I'm at a
> loss.  Stride and offset seemed like the logical places to look, but
> messing with those seem to produce predicatable stride/offset related
> behavior.  Maybe the hardware expects the data in a different order or
> something?

If colors are wrong it could mean that you're supplying a different
color format than what the hardware expects. Which color format are you
giving to the hardware. Maybe one can deduce from the resulting image,
what color format the hardware is assuming. I know from some reading of
savage_video.c that there is a planar format where chrominance and
luminance are stored separately. Maybe it's something like this, like
the left half is the chrominance and the right half is luminance, or the
other way around.

Anyway, getting the colors right first might help finding the right
strides and offsets.

> 
> patch against xorg cvs:
> http://www.botchco.com/alex/xorg/s2kXv.diff

Is this the same patch you sent me some time ago (your description
sounds like it)?

> 
> Thanks,
> 
> Alex
> 

-- 
| Felix Kühling <fxkuehl at gmx.de>                     http://fxk.de.vu |
| PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |



More information about the Savage40 mailing list