(Disclaimer: I have read this bug from the first occurrence of "key".
That is comment #23.)

Same here. This bug stems from a change in the -ati driver a few months
ago (though I do not remember which upgrade ultimately caused this issue
for me). I first suspected different rounding applied to Xvideo colour
keys and colours in general to be the culprit here, but actually I am
now genuinely unsure, as I found something else as well. Observe:

0x000000: works
0x000001: works
0x000010: does not work (blue)
0x000100: works
0x001000: works
0x010000: works
0x100000: works

Funny, eh? It gets better.

0x000020: works
0x000030: does not work (blue)
0x000040: works
0x000050: does not work (blue)
0x000060: works
0x000070: does not work (blue)
0x000080: works
0x000090: does not work (blue)
0x0000A0: works
0x0000B0: does not work (blue)
0x0000C0: works
0x0000D0: does not work (blue)
0x0000E0: works
0x0000F0: does not work (blue)

And some more:

0x000002: works
0x000020: works
0x000200: does not work (green)
0x002000: does not work (red(!))
0x020000: works
0x200000: works

Rrrrright. Yet more:

0x000300: does not work (green)
0x000400: does not work (green)
0x000500: does not work (green)
0x000600: does not work (green)
0x000700: does not work (green)
0x000800: works
0x000900: works
0x000A00: does not work (green)
0x000B00: does not work (green)
0x000C00: does not work (green)
0x000D00: does not work (green)
0x000E00: does not work (green)
0x000F00: does not work (green)
0x003000: does not work (red)
0x004000: does not work (red)
0x005000: does not work (red)
0x006000: does not work (red)
0x007000: does not work (red)
0x008000: does not work (red)
0x009000: does not work (red)
0x00A000: does not work (red)
0x00B000: does not work (red)
0x00C000: does not work (red)
0x00D000: does not work (red)
0x00E000: does not work (red)
0x00F000: does not work (red)

(Here's hoping that "mplayer -vo xv:ck=set -colorkey $COLORKEY $VIDEO"
does the right thing there.) Does anyone see a pattern in this? Maybe an
endianness bug?

I do not know how the VideoKey value is expanded to a 24-/32-bit colour
specification (is it just appended to 0x0000?), so I cannot comment on
that. It even might be different for different chips and/or cards.

gstreamer's xvimagesink seems to use a *hardcoded* colour key of
0x010203, which, well, does not produce the expected results either.

-- 
radeon driver can not do xv with AIGLX enabled
https://bugs.launchpad.net/bugs/150519
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to