black background and HW acceleraed rendering

Alex Deucher alexdeucher at
Fri May 10 08:00:33 PDT 2013

On Fri, May 10, 2013 at 10:41 AM, Ratin <ratin3 at> wrote:
> Hi All, I am using hardware accelerated video rendering on X windows, I want
> to set the default background color for windows to be black. It seems that
> every effort of doing that fails, i.e. when the HW accelerated video display
> queue is terminated, I end up with a green window, not black or alpha
> blended window showing whatever left at the GPU queue. I wanted to know if
> there is a way I can guarantee it will always be black when the HW backend
> process finishes with the window. Any body got any clue?

It depends on the hardware/player/API.  What combination are you using?

If you are using a video overlay with Xv for example, you can set the
colorkey to black via Xv attributes.


More information about the xorg mailing list