Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: IEGD Driver

  1. #11
    Join Date
    Jan 2010
    Posts
    5

    Default

    Hi Gwenole,

    Here is the log of green screen video without HW acceleration that worked fine with previous version of mplayer-vaapi with same invocation and same IEGD driver:

    Code:
    denis@ubuntu-fitpc2:~/Downloads/mplayer-vaapi-20100105.i686$ ./mplayer -va vaapi -vo vaapi /home/denis/Videos/2/vid02.wmv 
    MPlayer SVN-r30226-4.2.4 (C) 2000-2009 MPlayer Team
    
    Playing /home/denis/Videos/2/vid02.wmv.
    ASF file format detected.
    [asfheader] Audio stream found, -aid 1
    [asfheader] Video stream found, -vid 2
    VIDEO:  [WMV3]  1248x700  24bpp  1000.000 fps  2500.0 kbps (305.2 kbyte/s)
    libva: libva version 0.31.0-sds3
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/va/drivers/iegd_drv_video.so
    Intel(r) Embedded Graphics Driver 10.2 Build 1450
    libva: va_openDriver() returns 0
    ==========================================================================
    Opening video decoder: [dmo] DMO video codecs
    DMO dll supports VO Optimizations 0 1
    DMO dll might use previous sample when requested
    Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32 
    Decoder is capable of YUV output (flags 0x1b)
    Movie-Aspect is undefined - no prescaling applied.
    VO: [vaapi] 1248x700 => 1248x700 Planar YV12 
    Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16005->176400)
    Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
    ==========================================================================
    AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    A:   5.9 V:   4.7 A-V:  1.198 ct:  0.038  52/ 52 129% 26%  1.6% 50 0 
    
               ************************************************
               **** Your system is too SLOW to play this!  ****
               ************************************************
    
    Possible reasons, problems, workarounds:
    - Most common: broken/buggy _audio_ driver
      - Try -ao sdl or use the OSS emulation of ALSA.
      - Experiment with different values for -autosync, 30 is a good start.
    - Slow video output
      - Try a different -vo driver (-vo help for a list) or try -framedrop!
    - Slow CPU
      - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
        e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
    - Broken file
      - Try various combinations of -nobps -ni -forceidx -mc 0.
    - Slow media (NFS/SMB mounts, DVD, VCD etc)
      - Try -cache 8192.
    - Are you using -cache to play a non-interleaved AVI file?
      - Try -nocache.
    Read DOCS/HTML/en/video.html for tuning/speedup tips.
    If none of this helps you, read DOCS/HTML/en/bugreports.html.
    
    A:   9.7 V:   7.0 A-V:  2.696 ct:  0.044 121/121 132% 26%  1.4% 118 0 
    Exiting... (Quit)
    Another thing I have found - on H264 videos last mplayer-vaapi gives normal picture, no green screen, HW acceleration works, but in log there are some warnings that do not present in old logs:
    Code:
    denis@ubuntu-fitpc2:~/Downloads/mplayer-vaapi-20100105.i686$ ./mplayer -va vaapi -vo vaapi /home/denis/Videos/NIN.flv 
    MPlayer SVN-r30226-4.2.4 (C) 2000-2009 MPlayer Team
    
    Playing /home/denis/Videos/NIN.flv.
    libavformat file format detected.
    [h264 @ 0x94b8430]get_buffer() failed (-1 0 0 (nil))
    [h264 @ 0x94b8430]decode_slice_header error
    [h264 @ 0x94b8430]no frame!
    [flv @ 0x94b71f0]Estimating duration from bitrate, this may be inaccurate
    [lavf] Video stream found, -vid 0
    [lavf] Audio stream found, -aid 1
    VIDEO:  [H264]  640x480  0bpp  29.970 fps  187.6 kbps (22.9 kbyte/s)
    Clip info:
     duration: 427
     starttime: 0
     totalduration: 427
     width: 640
     height: 480
     videodatarate: 183
     audiodatarate: 64
     totaldatarate: 254
     framerate: 30
     bytelength: 13559926
     canseekontime: true
     sourcedata: BD4B34AA4MM
     purl: 
     pmsg: 
    libva: libva version 0.31.0-sds3
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/va/drivers/iegd_drv_video.so
    Intel(r) Embedded Graphics Driver 10.2 Build 1450
    libva: va_openDriver() returns 0
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    [VD_FFMPEG] VA API accelerated codec.
    Unsupported PixelFormat -1
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
    FAAD: compressed input bitrate missing, assuming 128kbit/s!
    AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
    Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    [VD_FFMPEG] Trying pixfmt=0.
    Unsupported PixelFormat -1
    Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
    VO: [vaapi] 640x480 => 640x480 H.264 VA API Acceleration 
    [VD_FFMPEG] XVMC-accelerated MPEG-2.
    A:  18.3 V:  18.3 A-V:  0.049 ct:  0.059   0/  0 13% 12%  6.6% 21 0 
    Exiting... (Quit)

  2. #12
    Join Date
    Jan 2010
    Posts
    8

    Default

    I've installed libva-0.0.31 (latest version) with that I am getting following error,
    [root@localhost test]# ./vainfo
    libva: libva version 0.31.0
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/xorg/modules/drivers/iegd_drv_video.so
    libva error: /usr/lib/xorg/modules/drivers/iegd_drv_video.so has no function __vaDriverInit_0_31
    libva: va_openDriver() returns -1
    vaInitialize failed with error code -1 (unknown libva error),exit

  3. #13
    Join Date
    Jan 2010
    Posts
    8

    Default iegd

    Quote Originally Posted by huso113 View Post
    Install libva package from http://www.splitted-desktop.com/~gbe...bva/pkgs/i386/

    I have encountered libva errors to with 0.29 version that exists in IEGD driver.

    I've no idea abt iegd wether it will support libva-0.31 or not

    is it possible to configure iegd to support libva-0.31 ??
    Last edited by Rajkumar; 01-08-2010 at 04:46 AM.

  4. #14
    Join Date
    Jun 2009
    Location
    Paris
    Posts
    428

    Default

    Quote Originally Posted by Rajkumar View Post
    [root@localhost mplayer-vaapi]# ./mplayer -va vaapi -vo vaapi /home/Videos/FlightSimX_720p60_51_15Mbps.wmv
    MPlayer SVN-r29968-4.3 (C) 2000-2009 MPlayer Team

    Playing /home/Videos/FlightSimX_720p60_51_15Mbps.wmv.
    ASF file format detected.
    [asfheader] Audio stream found, -aid 1
    [asfheader] Video stream found, -vid 2
    VIDEO: [WVC1] 1280x720 24bpp 1000.000 fps 15000.0 kbps (1831.1 kbyte/s)
    libva: VA_DRIGetClientDriverName: 10.3.1495 iegd (screen 0)
    driver_name: iegd
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/xorg/modules/drivers/iegd_drv_video.so
    Intel(r) Embedded Graphics Driver 10.3 Build 1495
    libva: va_openDriver() returns 0
    major : 0, minor : 29
    va_subpic_formats : 0
    status value is : ffffffff
    [vo_vaapi] vaQuerySubpictureFormats(): unknown libva error
    Error opening/initializing the selected video_out (-vo) device.
    - I am surprised you could build current MPlayer/VAAPI against an old libVA. Please use libVA 0.31 as pointed out.

    - The FlightSimulator clip will show a few green frames at the begnining with the IEGD driver. It works with the "psb" driver though. I think it even worked in previous versions of IEGD (10.1 maybe), I will have to check if something has not regressed there.

    - The vaQuerySubpictureFormats() error is a bug in the current 10.3-beta driver, it will be fixed for the next one. However, I added a workaround for it in the latest MPlayer/VAAPI sources.

  5. #15
    Join Date
    Jun 2009
    Location
    Paris
    Posts
    428

    Default

    Quote Originally Posted by huso113 View Post
    VO: [vaapi] 1248x700 => 1248x700 Planar YV12
    Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
    This is strange. It seems MPlayer has not enabled HW acceleration on this clip and thus fallback'ed to SW decoding and plain rendering through vaPutImage(), which is currently not supported by the IEGD driver so you will see a green screen. You will probably get more details with mplayer -vo vaapi -va vaapi -msglevel vo=9 /path/to/video

    For the H.264 clip,

    Playing /home/denis/Videos/NIN.flv.
    libavformat file format detected.
    [h264 @ 0x94b8430]get_buffer() failed (-1 0 0 (nil))
    [h264 @ 0x94b8430]decode_slice_header error
    [h264 @ 0x94b8430]no frame!
    Does this happen only with this specific clip or others are affected too?

    In both cases, I will try to check it out if you upload them to our FTP server.

  6. #16
    Join Date
    Jun 2009
    Location
    Paris
    Posts
    428

    Default

    Quote Originally Posted by Rajkumar View Post
    I've no idea abt iegd wether it will support libva-0.31 or not

    is it possible to configure iegd to support libva-0.31 ??
    No, but our libVA supports older 0.29 and 0.30 drivers provided you simply make a symlink to make them available under /usr/lib/va/drivers instead.

  7. #17
    Join Date
    Jan 2010
    Posts
    8

    Default

    If I install http://www.splitted-desktop.com/~gbe...bva/pkgs/i386/
    libva-0.31 I am getting,

    [root@localhost test]# ./vainfo
    libva: libva version 0.31.0
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/xorg/modules/drivers/iegd_drv_video.so
    libva error: /usr/lib/xorg/modules/drivers/iegd_drv_video.so has no function __vaDriverInit_0_31
    libva: va_openDriver() returns -1
    vaInitialize failed with error code -1 (unknown libva error),exit

    ================================================== ==============

    What I abserved is that in iegd_drv_video.so i've only __vaDriverInit_0_28 & __vaDriverInit_0_29.

    How can I build my iegd_drv_video.so to support __vaDriverInit_0_31. Any idea...??

  8. #18
    Join Date
    Jan 2010
    Posts
    5

    Default

    Try to download manually iedg_drv* from http://edc.intel.com/Software/Downloads/IEGD/
    and place them instead your iegd drivers.

  9. #19
    Join Date
    Jun 2009
    Location
    Paris
    Posts
    428

    Default

    Quote Originally Posted by Rajkumar View Post
    If I install http://www.splitted-desktop.com/~gbe...bva/pkgs/i386/
    libva-0.31 I am getting,

    [root@localhost test]# ./vainfo
    libva: libva version 0.31.0
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/xorg/modules/drivers/iegd_drv_video.so
    libva error: /usr/lib/xorg/modules/drivers/iegd_drv_video.so has no function __vaDriverInit_0_31
    libva: va_openDriver() returns -1
    vaInitialize failed with error code -1 (unknown libva error),exit

    ================================================== ==============

    What I abserved is that in iegd_drv_video.so i've only __vaDriverInit_0_28 & __vaDriverInit_0_29.

    How can I build my iegd_drv_video.so to support __vaDriverInit_0_31. Any idea...??
    No, you have not installed the SDS libVA packages correctly. Just install them or rebuild them as described and remove the older libVA 0.31 you had. Because, you obviously are not using the libVA version from: http://www.splitted-desktop.com/~gbeauchesne/libva/

  10. #20
    Join Date
    Jan 2010
    Posts
    8

    Default

    Quote Originally Posted by gbeauche View Post
    No, but our libVA supports older 0.29 and 0.30 drivers provided you simply make a symlink to make them available under /usr/lib/va/drivers instead.

    yeah i did symlinks.

    **mplayer is crashing now.

    [root@localhost mplayer-vaapi]# ./mplayer -vo vaapi -va vaapi /home/Videos/FlightSimX_720p60_51_15Mbps.wmv
    MPlayer SVN-r30226-4.3 (C) 2000-2009 MPlayer Team

    Playing /home/Videos/FlightSimX_720p60_51_15Mbps.wmv.
    ASF file format detected.
    [asfheader] Audio stream found, -aid 1
    [asfheader] Video stream found, -vid 2
    VIDEO: [WVC1] 1280x720 24bpp 1000.000 fps 15000.0 kbps (1831.1 kbyte/s)
    libva: libva version 0.31.0
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/xorg/modules/drivers/iegd_drv_video.so
    Intel(r) Embedded Graphics Driver 10.3 Build 1495


    MPlayer interrupted by signal 11 in module: preinit_libvo
    - MPlayer crashed by bad usage of CPU/FPU/RAM.
    Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
    disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
    - MPlayer crashed. This shouldn't happen.
    It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
    gcc version. If you think it's MPlayer's fault, please read
    DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
    won't help unless you provide this information when reporting a possible bug.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •