Radeon TV-in support in Xorg CVS.

Alex Deucher alexdeucher at gmail.com
Mon Oct 4 07:13:20 PDT 2004


On Mon, 04 Oct 2004 15:08:39 +0100, Torgeir Veimo <torgeir at pobox.com> wrote:
> On Mon, 2004-10-04 at 10:05 -0400, Alex Deucher wrote:
> 
> 
> > On Mon, 04 Oct 2004 13:31:01 +0100, Torgeir Veimo <torgeir at pobox.com> wrote:
> > > On Mon, 2004-10-04 at 13:49 +0200, Felix Kühling wrote:
> > > > On Mon, 04 Oct 2004 12:27:35 +0100
> > > > Torgeir Veimo <torgeir at pobox.com> wrote:
> > > >
> > > > > On Mon, 2004-10-04 at 11:52 +0200, Felix Kühling wrote:
> > > > > > On Sun, 3 Oct 2004 09:47:28 -0400 (EDT)
> > > > > > Vladimir Dergachev <volodya at mindspring.com> wrote:
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Sun, 3 Oct 2004, Torgeir Veimo wrote:
> > > > > > >
> > > > > > > > On Sat, 2004-10-02 at 23:12 -0400, Vladimir Dergachev wrote:
> > > > > > > >> Radeon TV-in support is in Xorg CVS.
> > > > > > > >
> > > > > > > > Has this code reached http://freedesktop.org/~fxkuehl/snapshots/ yet?
> > > > > > >
> > > > > > > These look to be 3D drivers, the TV-in support was added to 2D driver.
> > > > > >
> > > > > > The snapshots include the 2D driver. In case of radeon it includes
> > > > > > ati_drv.o and radeon_drv.o. Does TV-in support require some other
> > > > > > modules too? In that case DRI binary snapshots are not going to give you
> > > > > > TV-in support even when they are built from Xorg CVS.
> > > > >
> > > > > I am a bit confused now. Does the snapshot at
> > > > > http://freedesktop.org/~dri/snapshots/ contain the tv in patch, or is it
> > > > > a snapshot of the dri CVS?
> > > >
> > > > The snapshots at ~dri are still built from dri CVS. The first
> > > > experimental ones built from Xorg can be downloaded from ~fxkuehl (the
> > > > 20041003 ones). I'm not going to upgrade the regular snapshots until I
> > > > get some positive feedback about the new ones.
> > >
> > > Tried http://freedesktop.org/~fxkuehl/snapshots/radeon-20041003-
> > > linux.i386.tar.bz2, with xorg-x11-6.8.1-4 rpms from fedora development,
> > > but I dont get transparent overlays.
> > >
> > > For some reason the mode calculation seems to be different, since my
> > > projector now gets a few pixels overscan on the right edge. I'll have to
> > > double check though. (Relative to 6.7.0-5 which I used previously.)
> > >
> > > Is the overlay support related to this patch? http://lucke.in-
> > > berlin.de/xv-radeon-alpha.diff
> > >
> >
> > It's actually my patch from here:
> > http://www.botchco.com/alex/radeon/Xv/xv_alpha/radeon_xvalpha.diff
> > Vladimir committed it to gatos cvs a while back.
> >
> > You can adjust the opacity of the graphics and overlay layers.  I only
> > implemented it globally.  there is also an option to do it per-pixel
> > but that required ARGB visuals which weren't supported at the time.
> 
> Aha, that explains why I'm not seeing it. Any chance for ARGB visual
> support for overlays?

perhaps, but the problem is making it play nice with composite. 
Because it's an overlay, composite can't blend it with the graphics
layer.  I suppose you could some how exclude it from composite and
have it handle it's own blending, but I don't know how hard that would
be.  Take a look at the xorg or xserver archives.  there was a
discussion about dealing with overlays and composite a while back.  In
the long run it's probably better to implement Xv as rectangular YUV
or RGB textures so they can be composited.

Alex

> 
> --
> 
> 
> Torgeir Veimo <torgeir at pobox.com>
> 
>



More information about the xorg mailing list