5 Replies Latest reply on May 26, 2010 11:21 AM by Kirk

    IEGD 10.3 iegd_drv.so crashes Xorg 1.6.4 on vaPutSurface onto Pixmap (attached gdb backtrace)

    Green Belt

      As stated in the subject iegd_drv.so Xorg 1.6.4 driver crashes my Xorg on client side (application side) when I try to use vaPutSurface (via VA API driver iegd_drv_video.so) on PixMap drawable (instead of Window drawable).

       

      My Linux is: Linux atom 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux, Ubuntu 9.10 Karmic, X.Org X Server 1.6.4

       

      When using vaPutSurface on Window drawable it works just fine. Rest of things such as OpenGL rendering are working fine too.

       

      You may reproduce this crash using latest VA API hwdecode demos from:

      http://www.splitted-desktop.com/~gbeauchesne/hwdecode-demos/

       

      Running:

      ./vaapi_h264 --getimage pixmap

       

      I get following backtrace of Xorg in gdb:

       

      #0  0x00277afd in memmove () from /lib/tls/i686/cmov/libc.so.6
      #1  0x001c9069 in pixman_region_copy () from /usr/lib/libpixman-1.so.0
      #2  0x08120c44 in miRegionCopy ()
      #3  0x00f7dbe2 in ?? () from /usr/lib/xorg/modules/drivers//iegd_drv.so
      Backtrace stopped: previous frame inner to this frame (corrupt stack?)

       

      #0  0x00277afd in memmove () from /lib/tls/i686/cmov/libc.so.6

      #1  0x001c9069 in pixman_region_copy () from /usr/lib/libpixman-1.so.0

      #2  0x08120c44 in miRegionCopy ()

      #3  0x00f7dbe2 in ?? () from /usr/lib/xorg/modules/drivers//iegd_drv.soBacktrace stopped:

      previous frame inner to this frame (corrupt stack?)

       

      And Xorg crash report of:

       

      0: X(xf86SigHandler+0x7e) [0x80c91ce]

      1: [0xb7f34400]

      2: /usr/lib/xorg/modules/drivers//iegd_drv.so [0xb7912c31]

       

       

      I would be grateful if someone from Intel could tell if case of rendering VA surface to Pixmap was tested and if there's a change to get it fixed in near future. This is quite important feature for me, as it gives possibility to create OpenGL texture out of VA surface representing decompressed video frame.

       

      Regards,

      Adam