You are not logged in.

#1 2008-05-30 18:33:35

Laertes
Member
From: Munich
Registered: 2007-04-08
Posts: 66

Your X server doesn't support YV12 overlays

Hi there,

When I run xine-check I get this error message:

[ hint ] Your X server doesn't support YV12 overlays.
         That means xine will have to do color space transformation and scaling
         in software, which is quite CPU intensive. Maybe upgrading your
         X server will help here.
         If you have an ATI card, you'll find accelerated X servers on
         http://www.linuxvideo.org/gatos/
         press <enter> to continue...

but it also says:

[ good ] your Xv extension supports YV12 overlays (improves MPEG performance)

and xvinfo gives:

X-Video Extension version 2.2
screen #0
  Adaptor #0: "ATI Radeon AVIVO Video"
    number of ports: 4
    port base: 131
    operations supported: PutImage 
[...]
 maximum XvImage size: 4096 x 4096
    Number of image formats: 2
      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)

I don't really know if this is a problem, because xine works with xv output and not keeping the CPU too busy. Nevertheless, I would like to get rid of this message.

My graphic card is a Mobile Radeon 9700 and I use the 8.5 catalyst drivers.

xorg.conf:

Section "Device"
        Identifier  "Card1"
        Driver      "fglrx"
        Option      "VideoOverlay" "on"
        Option      "TexturedVideo" "on"
        Option      "OpenGLOverlay" "off"
        Option      "BlockSignalsOnLock" "on"
        Option      "DesktopSetup" "single"
        Option      "DRI"        "true"
        Option      "TVOverscan" "on"   
EndSection

Thanks

Offline

#2 2008-06-01 08:52:48

Laertes
Member
From: Munich
Registered: 2007-04-08
Posts: 66

Re: Your X server doesn't support YV12 overlays

I decided to try again the open radeon drivers and the problem is gone, xine-check says:

[ good ] found xvinfo: X-Video Extension version 2.2
[ good ] your Xv extension supports YV12 overlays (improves MPEG performance)
[ good ] your Xv extension supports YUY2 overlays
[ good ] Xv ports:  RGBA RGBT RGB2 YUY2 UYVY YV12 I420

and xvinfo:

X-Video Extension version 2.2
screen #0
  Adaptor #0: "ATI Radeon Video Overlay"
    number of ports: 1
    port base: 73
    operations supported: PutImage 
[...]
 maximum XvImage size: 2048 x 2048
    Number of image formats: 8
      id: 0x41424752 (RGBA)
        guid: 52474241-0000-0010-8000-00aa00389b71
        bits per pixel: 32
        number of planes: 1
        type: RGB (packed)
        depth: 32
        red, green, blue masks: 0xff0000, 0xff00, 0xff
      id: 0x54424752 (RGBT)
        guid: 52474254-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: RGB (packed)
        depth: 16
        red, green, blue masks: 0x7c00, 0x3e0, 0x1f
      id: 0x32424752 (RGB2)
        guid: 52474200-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: RGB (packed)
        depth: 16
        red, green, blue masks: 0xf800, 0x7e0, 0x1f
      id: 0x0
        guid: 52474200-0000-0010-8000-00aa00389b71
        bits per pixel: 24
        number of planes: 1
        type: RGB (packed)
        depth: 24
        red, green, blue masks: 0xff0000, 0xff00, 0xff
 id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x59565955 (UYVY)
        guid: 55595659-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)

Before I switched to propietary drivers because the open drivers didn't have 3d support for my Mobility Radeon 9700, but now they have it so no real reason to use the propietary ones.

BTW, I use this options in xorg.conf:

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "All"
        BoardName   "All"
        Option      "AGPMode" "4"
        Option      "ColorTiling" "on"
#      Option      "AccelMethod" "EXA"
        Option      "AGPFastWrite" "False"
        Option      "XAANoOffscreenPixmaps" "True"
        Option      "BackingStore"    "True"
#      Option      "EnableDepthMoves" "True" 
        Option      "EnablePageFlip" "True"
#      Option      "RenderAccel" "True"
#      Option      "DynamicClocks" "True"
#      Option      "SWcursor" "off"
#      Option      "UseFBDev" 
#      Option      "AllowGLXWithComposite" "True"
#      Option      "backingstore"   "True"
EndSection

If I use EXA the windows are redrawn veeeeery slowly, and if I use AGPFastWrite th X server doesn't start. Apart from that everything is fine.

Offline

Board footer

Powered by FluxBB