[mythtv] XV color key error

Damon Searle djsearle at netspace.net.au
Sun Jan 30 01:14:14 EST 2005


I get a similar message on one of my frontends using an old NVidia TNT2 m64
card with one monitor. Everything works fine, it just prints out the error.
(I'm running CVS from 29-01-05, I just upgraded from 0.16 and I don't think
it happened with 0.16)

2005-01-30 13:37:31.277 Using XV port 53
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  142
  Minor opcode:  14
  Resource id:  0x13c
Couldn't get the color key color, and we need it.
You likely won't get any video.

> -----Original Message-----
> From: mythtv-dev-bounces at mythtv.org [mailto:mythtv-dev-bounces at mythtv.org]
> On Behalf Of Preston A. Elder
> Sent: Sunday, 30 January 2005 3:12 PM
> To: mythtv-dev at mythtv.org
> Subject: [mythtv] XV color key error
> 
> Hi,
> 
> I am re-posting this here from the user list, since nobody replied on
> the user list, which leads me to believe it is not a common problem, and
> therefore not something other users could help me with.
> 
> Please note, this is a DIFFERENT problem to the XvBadPort error, which
> according to the user list is because the tuner card does not support
> XV.  Mine does, and it apparently gets the correct port, and fails after
> that point.
> 
> I have a Matrox Parhelia video card, and a Hauppauge WinTV Stereo (if
> memory serves) - both of which support XV.  I run my system @ 3840x1024
> (ie. 1280x1024 across 3 monitors, merged into one buffer), though I
> doubt that makes a difference.
> 
> Whenever I try to run mythfrontend and watch TV, without setting the
> NO_XV environment variable beforehand, I get no video, MythTV shows me
> this:
> 2005-01-28 01:24:11 Using XV port 57
> X Error: BadMatch (invalid parameter attributes) 8
>   Major opcode:  140
>   Minor opcode:  14
>   Resource id:  0x1aa
> Couldn't get the color key color, and we need it.
> You likely won't get any video.
> 
> However xawtv and mplayer both display fine using XV - so I think
> something is slightly broken in MythTV's XV support.
> 
> In case it will help, here is the results of my 'xvinfo':
> X-Video Extension version 2.2
> screen #0
>   Adaptor #0: "video4linux"
>     number of ports: 1
>     port base: 56
>     operations supported: PutVideo
>     supported visuals:
>       depth 24, visualID 0x22
>       depth 24, visualID 0x23
>       depth 24, visualID 0x24
>       depth 24, visualID 0x25
>     number of attributes: 8
>       "XV_ENCODING" (range -1000 to 1000)
>               client settable attribute
>               client gettable attribute (current value is 1)
>       "XV_BRIGHTNESS" (range -1000 to 1000)
>               client settable attribute
>               client gettable attribute (current value is 0)
>       "XV_CONTRAST" (range -1000 to 1000)
>               client settable attribute
>               client gettable attribute (current value is 0)
>       "XV_SATURATION" (range -1000 to 1000)
>               client settable attribute
>               client gettable attribute (current value is 0)
>       "XV_HUE" (range -1000 to 1000)
>               client settable attribute
>               client gettable attribute (current value is 0)
>       "XV_VOLUME" (range -1000 to 1000)
>               client settable attribute
>               client gettable attribute (current value is 799)
>       "XV_MUTE" (range 0 to 1)
>               client settable attribute
>               client gettable attribute (current value is 1)
>       "XV_FREQ" (range 0 to 16000)
>               client settable attribute
>               client gettable attribute (current value is 7700)
>     number of encodings: 28
>       encoding ID #0: "PAL-television"
>         size: 768 x 576
>         rate: 0.020000
>       encoding ID #1: "NTSC-television"
>         size: 640 x 480
>         rate: 0.016683
>       encoding ID #2: "SECAM-television"
>         size: 768 x 576
>         rate: 0.020000
>       encoding ID #3: "PAL-Nc-television"
>         size: 640 x 576
>         rate: 0.020000
>       encoding ID #4: "PAL-M-television"
>         size: 640 x 576
>         rate: 0.020000
>       encoding ID #5: "PAL-N-television"
>         size: 768 x 576
>         rate: 0.020000
>       encoding ID #6: "NTSC-JP-television"
>         size: 640 x 480
>         rate: 0.016683
>       encoding ID #7: "PAL-composite1"
>         size: 768 x 576
>         rate: 0.020000
>       encoding ID #8: "NTSC-composite1"
>         size: 640 x 480
>         rate: 0.016683
>       encoding ID #9: "SECAM-composite1"
>         size: 768 x 576
>         rate: 0.020000
>       encoding ID #10: "PAL-Nc-composite1"
>         size: 640 x 576
>         rate: 0.020000
>       encoding ID #11: "PAL-M-composite1"
>         size: 640 x 576
>         rate: 0.020000
>       encoding ID #12: "PAL-N-composite1"
>         size: 768 x 576
>         rate: 0.020000
>       encoding ID #13: "NTSC-JP-composite1"
>         size: 640 x 480
>         rate: 0.016683
>       encoding ID #14: "PAL-svideo"
>         size: 768 x 576
>         rate: 0.020000
>       encoding ID #15: "NTSC-svideo"
>         size: 640 x 480
>         rate: 0.016683
>       encoding ID #16: "SECAM-svideo"
>         size: 768 x 576
>         rate: 0.020000
>       encoding ID #17: "PAL-Nc-svideo"
>         size: 640 x 576
>         rate: 0.020000
>       encoding ID #18: "PAL-M-svideo"
>         size: 640 x 576
>         rate: 0.020000
>       encoding ID #19: "PAL-N-svideo"
>         size: 768 x 576
>         rate: 0.020000
>       encoding ID #20: "NTSC-JP-svideo"
>         size: 640 x 480
>         rate: 0.016683
>       encoding ID #21: "PAL-composite3"
>         size: 768 x 576
>         rate: 0.020000
>       encoding ID #22: "NTSC-composite3"
>         size: 640 x 480
>         rate: 0.016683
>       encoding ID #23: "SECAM-composite3"
>         size: 768 x 576
>         rate: 0.020000
>       encoding ID #24: "PAL-Nc-composite3"
>         size: 640 x 576
>         rate: 0.020000
>       encoding ID #25: "PAL-M-composite3"
>         size: 640 x 576
>         rate: 0.020000
>       encoding ID #26: "PAL-N-composite3"
>         size: 768 x 576
>         rate: 0.020000
>       encoding ID #27: "NTSC-JP-composite3"
>         size: 640 x 480
>         rate: 0.016683
>   Adaptor #1: "Matrox Parhelia"
>     number of ports: 5
>     port base: 57
>     operations supported: PutImage
>     supported visuals:
>       depth 24, visualID 0x22
>       depth 24, visualID 0x23
>       depth 24, visualID 0x24
>       depth 24, visualID 0x25
>     number of attributes: 4
>       "XV_BRIGHTNESS" (range -128 to 127)
>               client settable attribute
>               client gettable attribute (current value is 0)
>       "XV_CONTRAST" (range -128 to 127)
>               client settable attribute
>               client gettable attribute (current value is 0)
>       "XV_HUE" (range -128 to 127)
>               client settable attribute
>               client gettable attribute (current value is -128)
>       "XV_SATURATION" (range -128 to 127)
>               client settable attribute
>               client gettable attribute (current value is 0)
>     maximum XvImage size: 2048 x 2048
>     Number of image formats: 4
>       id: 0x32595559 (YUY2)
>         guid: 59555932-0000-0010-8000-00aa00389b71
>         bits per pixel: 16
>         number of planes: 1
>         type: YUV (packed)
>       id: 0x32315659 (YV12)
>         guid: 59563132-0000-0010-8000-00aa00389b71
>         bits per pixel: 12
>         number of planes: 3
>         type: YUV (planar)
>       id: 0x30323449 (I420)
>         guid: 49343230-0000-0010-8000-00aa00389b71
>         bits per pixel: 12
>         number of planes: 3
>         type: YUV (planar)
>       id: 0x59565955 (UYVY)
>         guid: 55595659-0000-0010-8000-00aa00389b71
>         bits per pixel: 16
>         number of planes: 1
>         type: YUV (packed)
> 
> Hope this will help you fix it :)
> 
> PreZ :)
> 




More information about the mythtv-dev mailing list