intel / intel/vpl-gpu-rt

[Bug]: Cant get slice size

Open
#289 0 comments 0 reactions 1 assignee Claimed by @yefeizhou View on GitHub
Dominant language
C++
Stars
157
Forks
104
PR merge metrics
No merged PRs in 30d

Description

### Which component impacted?

Encode

### Is it regression? Good in old configuration?

Yes, it's good in old version

### What happened?

We try last version and we cant get slice size

### What's the usage scenario when you are seeing the problem?

Video Conference

### What impacted?

_No response_

### Debug Information

linux-image-6.1.0-0.deb11.5-amd64

ls -1 /dev/dri
by-path
card0
renderD128

12th Gen Intel(R) Core(TM) i5-12500
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:4690] (rev 0c)

[libva_trace.log](https://github.com/oneapi-src/oneVPL-intel-gpu/files/12000284/libva_trace.log)
[vainfo.log](https://github.com/oneapi-src/oneVPL-intel-gpu/files/12000288/vainfo.log)
[dmesg.log](https://github.com/oneapi-src/oneVPL-intel-gpu/files/12000289/dmesg.log)

./sample_encode h264 -i ./hd.yuv -o ./h.h264 -w 1280 -h 720 -mss 1000
CONFIGURE LOADER: required implementation: hw
CONFIGURE LOADER: required implementation mfxAccelerationMode: MFX_ACCEL_MODE_VIA_VAAPI
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
Loaded Library configuration:
Version: 2.9
ImplName: mfx-gen
Adapter number : 0
Adapter type: integrated
DRMRenderNodeNum: 128
Used implementation number: 0
Loaded modules:
0: /usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2.9

Encoding Sample Version 8.4.27.0

Input file format YUV420
Output video AVC
Source picture:
Resolution 1280x720
Crop X,Y,W,H 0,0,1280,720
Destination picture:
Resolution 1280x720
Crop X,Y,W,H 0,0,1280,720
Frame rate 30.00
Bit rate(Kbps) 3231
Gop size 0
Ref dist 1
Ref number 0
Idr Interval 0
Target usage balanced
Memory type system
Media SDK impl hw
Media SDK version 2.9

Processing started

[ERROR], sts=MFX_ERR_UNDEFINED_BEHAVIOR(-16), SynchronizeFirstTask, SyncOperation fail or timeout at /inst/oneVPL/tools/legacy/sample_encode/src/pipeline_encode.cpp:178

[ERROR], sts=MFX_ERR_UNDEFINED_BEHAVIOR(-16), GetFreeTask, m_TaskPool.SynchronizeFirstTask failed at /inst/oneVPL/tools/legacy/sample_encode/src/pipeline_encode.cpp:2230

[ERROR], sts=MFX_ERR_UNDEFINED_BEHAVIOR(-16), Run, m_pmfxENC->EncodeFrameAsync failed at /inst/oneVPL/tools/legacy/sample_encode/src/pipeline_encode.cpp:2478

[ERROR], sts=MFX_ERR_UNDEFINED_BEHAVIOR(-16), main, pPipeline->Run failed at /inst/oneVPL/tools/legacy/sample_encode/src/sample_encode.cpp:1927
Frame number: 0
Encoding fps: -0

### Do you want to contribute a patch to fix the issue?

None

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.