Fwd: Xine video output proble

Bill Fink yellowdog-general@lists.terrasoftsolutions.com
Sat Sep 6 12:33:01 2003


On Sat Sep 6 2003, Anonymous wrote:

> Check that your /etc/X11/XF86Config (or XF86Config-4) file, in the
> > Section "Device", has Driver specified as "ati" to use the accelerated
> > ATI Xv driver.  You may also need to tell xine once to use the hardware
> > accelerated Xv driver instead of the much slower software Xshm driver
> > by running xine once as "xine -V Xv".
> 
> I have check my video driver, it's an ATI Rage Mobility, i have change
> the driver type with r128, the old was fbdev (I can't modify this by the
> Display Panel, I need to edit the XF86Config file).
> 
> So, when I try to run xine -V Xv, I have got an error :
> 
> "load_plugins: failed to load video output plugin <xv>
> main: video driver <xv> failed"

Did you restart your X server after editing your XF86Config file
(log out and back in should be sufficient)?

You can check if Xv is working by running xvinfo.  Here's mine:

gwiz% xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: "ATI Rage128 Video Overlay"
    number of ports: 1
    port base: 69
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
      depth 24, visualID 0x26
      depth 24, visualID 0x27
      depth 24, visualID 0x28
      depth 24, visualID 0x29
      depth 24, visualID 0x2a
      depth 24, visualID 0x2b
      depth 24, visualID 0x2c
      depth 24, visualID 0x2d
      depth 24, visualID 0x2e
      depth 24, visualID 0x2f
      depth 24, visualID 0x30
      depth 24, visualID 0x31
      depth 24, visualID 0x32
    number of attributes: 4
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 30)
      "XV_BRIGHTNESS" (range -64 to 63)
              client settable attribute
              client gettable attribute (current value is -1)
      "XV_SATURATION" (range 0 to 31)
              client settable attribute
              client gettable attribute (current value is 15)
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
    maximum XvImage size: 2048 x 2048
    Number of image formats: 4
      id: 0x32595559 (2YUY)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x59565955 (YVYU)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (21VY)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (024I)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)

Some of the key lines are:

    number of ports: 1
    port base: 69
    operations supported: PutImage

Make sure "number of ports" is at least 1, and that "operations supported"
includes "PutImage".

You can also check the /var/log/XFree86.0.log file and check that the
r128 X driver and XVideo extensions are being loaded properly.

						-Hope this helps

						-Bill