Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Multi-VPP crash issue

abel_z_
Beginner
515 Views

Hello:

       I'm using intel hw to encode h264 video recently, and i found that the program will always crash. after serval week's debug, i found it's caused by VPP, and i wrote a small test program,  only use VPP, after serval hours or 1 or 2days, it will crash in libmfx32.dll. my use case is:

       1. malloc memory for input YUV

       2. read YUV data.

       3. malloc memory2.

       4. copy YUV from memory to memory2.

       5. malloc memory3 for output YUV.

       6. attach memory2 and memory 3 to input and output surface.

       7. call RunFrameVPPAsync

       8. call SyncOperation

       9. free all the memory.(in my real environment, i need always malloc and free memory like this)

       10. loop it forever.

        i have upload all the test solution, for input YUV, i use 1920*1088(for multiple of 32)&NV12, so you can use any YUV with this format to reproduce it.

 

         my system information:

         SDK: Media SDK 2014 for Clients & Media SDK 2014 R2 for Clients

         Driver version: 10.18.10.3621

         CPU: Intel(R) Xeon(R) CPU E3-1245 V3

         GPU: Intel(R) HD Graphics P4600/4700

         System: Windows 8.1

         Analyzer output:420769


The following versions of Media SDK API are supported by platform/driver:

    Version    Target    Supported    Dec    Enc
    1.0    HW    Yes        X    X    [Adapter 1]
    1.0    SW    No             
    1.1    HW    Yes        X    X    [Adapter 1]
    1.1    SW    No             
    1.3    HW    Yes        X    X    [Adapter 1]
    1.3    SW    No             
    1.4    HW    Yes        X    X    [Adapter 1]
    1.4    SW    No             
    1.5    HW    Yes        X    X    [Adapter 1]
    1.5    SW    No             
    1.6    HW    Yes        X    X    [Adapter 1]
    1.6    SW    No             
    1.7    HW    Yes        X    X    [Adapter 1]
    1.7    SW    No             
    1.8    HW    Yes        X    X    [Adapter 1]
    1.8    SW    No             

Graphics Devices:
    Name                                         Version             State
    Intel(R) HD Graphics P4600/P4700             10.18.10.3621       08
    Matrox G200eR (WDDM 1.2)                     4.0.1.4             Active

System info:
    CPU:    Intel(R) Xeon(R) CPU E3-1245 v3 @ 3.40GHz
    OS:    Microsoft Windows 8.1
    Arch:    64
Installed Media SDK packages (be patient...processing takes some time):

0 Kudos
1 Reply
Sravanthi_K_Intel
515 Views

Hello there - 

"ncode h264 video recently, and i found that the program will always crash" --> What encode application did you use? Did you use sample_encode from samples or simple_encode from the tutorials?

"caused by VPP"--> Can you please run the tutorial applications such as simple_4_vpp_resize_denoise and let us know if you are seeing similar behavior (VPP crashing I mean).

In general, we highly recommend you use our samples and tutorials applications as starting points. For simple encode test, you could use simple_3_encode tutorial or its variants, for simple vpp operations test, the sample I mentioned above. If you want to test multiple encodes and vpp, you can use the sample_encode and sample_vpp samples.

Let me know if you can reproduce the issue you are seeing with the samples/tutorials I mentioned above - that would be greatly helpful.

0 Kudos
Reply