Bug 18012

Summary: Xvideo support on RS740
Product: xorg Reporter: Mihail Zenkov <mihail.zenkov>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.log none

Description Mihail Zenkov 2008-10-10 16:05:12 UTC
Created attachment 19582 [details]
Xorg.log

When i try play something, i have only black screen (or sometimes static garbage).

From mplayer:
VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x576 => 768x576 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel@goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 57 for hw scaling
[xv] dx: 0 dy: 0 dw: 768 dh: 576
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[xv] dx: 256 dy: 194 dw: 768 dh: 576
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Unicode font: 3574 glyphs.?,?% 0 0 92%
X11 error: BadAlloc (insufficient resources for operation)
Type: 0, display: 0x894cd88, resourceid: a00006, serial: 58
Error code: b, request code: 89, minor code: 13
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
X11 error: BadAlloc (insufficient resources for operation)
Type: 0, display: 0x894cd88, resourceid: a00006, serial: 59
Error code: b, request code: 89, minor code: 13

xvinfo:
X-Video Extension version 2.2
screen #0
  Adaptor #0: "Radeon Textured Video"
    number of ports: 16
    port base: 57
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x21
    no port attributes defined
    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)

I also try change AccelMethod/AccelDFS/DMAForXv without success.
Comment 1 Mihail Zenkov 2008-10-10 16:33:55 UTC
Sory, wrong report - problem in my xorg build.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.