Quoting Mike Pieper ([EMAIL PROTECTED]):
> > behaviour, my revision is 1:
> >
> >   Bus  0, device  12, function  0:
> >     Multimedia controller: Philips Semiconductors SAA7146 (rev 1).
> >       IRQ 11.
> >       Master Capable.  Latency=32.  Min Gnt=15.Max Lat=38.
> >       Non-prefetchable 32 bit memory at 0xdb000000 [0xdb0001ff].
> 
> I have the same chip like you:
>   Bus  0, device   9, function  0:
>     Multimedia controller: Philips Semiconductors SAA7146 (rev 1).
>       IRQ 11.
>       Master Capable.  Latency=64.  Min Gnt=15.Max Lat=38.
>       Non-prefetchable 32 bit memory at 0xcfffce00 [0xcfffcfff].
>   Bus  0, device  13, function  0:
>     Multimedia controller: Philips Semiconductors SAA7146 (#2) (rev 1).
>       IRQ 10.
>       Master Capable.  Latency=64.  Min Gnt=15.Max Lat=38.
>       Non-prefetchable 32 bit memory at 0xcfffca00 [0xcfffcbff].
> 
> What is strange for me is that other applications like df_video or 
> df_video_particle have no problem with the pixelformat. Is there something 
> special with df_layer?

df_video and df_video_particle use RGB.

> > My guess is that byte swapping is turned on by the driver,
> > but older cards ignore it and the driver should disable it anyway.
> 
> How can I control that feature?

The feature should be handled by the DVB driver
to produce other YUV formats, e.g. YUY2.

> With the newest DVB driver from CVS it's still the same.
> 
> I'm using a matrox mystique G200. But I don't think that the card is the 
> problem.

Argh, that's the cause. The G200 only supports YUY2 and I haven't added
that extra check in the driver yet, sorry.

>From matrox_bes.c:

     if (config->flags & DLCONF_PIXELFORMAT)
          switch (config->pixelformat) {
               case DSPF_RGB32:
                    max_width = 512;
               case DSPF_RGB15:
               case DSPF_RGB16:
               case DSPF_YUY2:
               case DSPF_UYVY: /* FIXME: not supported on G200 */
                    break;
               default:
                    fail |= DLCONF_PIXELFORMAT;
          }
     else
          if (layer->shared->surface->format == DSPF_RGB32)
               max_width = 512;


I will have a deeper look into the SAA7146 docs.
The only way to get it working with YUV on your G200 is to add
support for YUY2 to the DVB driver. You could try a BTTV just for
debugging, but that's probably not the card you want to watch TV with ;)

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

           convergence integrated media GmbH


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to