MediaSDK
MediaSDK copied to clipboard
GPU Hang when try to playback a video generated by media recorder on Android platform
System information
- CPU information(
cat /proc/cpuinfo | grep "model name" | uniq): - TGL
- GPU information(
lspci -nn | grep -E 'VGA|isplay): - Gen12
- Display server if rendering to display(X or wayland): not display related.
Issue behavior
Describe the current behavior
We are working on TGL 8K encoding and decoding, for accelerate the encoding speed we enabled the tile feature: 611 if (pInParams->nEncTileRows && pInParams->nEncTileCols) { 612 if (m_mfxEncParams.mfx.CodecId == MFX_CODEC_HEVC) { 613 auto hevcTiles = m_mfxEncParams.AddExtBuffer<mfxExtHEVCTiles>(); 614 hevcTiles->NumTileRows = pInParams->nEncTileRows; 615 hevcTiles->NumTileColumns = pInParams->nEncTileCols; 616 } 617 }
GPU will hang when we try to playback it on Android and on Ubuntu with msdk-simple-decode tool
Describe the expected behavior
Debug information
- What's libva/libva-utils/gmmlib/media-driver/Media SDK version?
- Could you confirm whether GPU hardware exist or not by
ls /dev/dri? - Could you attach dmesg log if it's GPU hang by
dmesg >dmesg.log 2>&1? - Could you provide vainfo log if possible by
vainfo -a >vainfo.log 2>&1? - Could you provide strace log if possible by
strace YOUR_CMD >strace.log 2>&1? - Could you provide libva trace log if possible? Run cmd
export LIBVA_TRACE=/tmp/libva_trace.logfirst then execute the case. - Media SDK tracer output (https://github.com/Intel-Media-SDK/MediaSDK/blob/master/tools/tracer/README.md)?
- Do you want to contribute a PR? (yes/no):
GPU hang log: 08-03 20:15:57.345 0 0 I i915 0000: 00:02.0: [drm] Resetting vcs0 for preemption time out 08-03 20:15:57.353 0 0 I i915 0000: 00:02.0: [drm] HwBinder:611_6[6329] context reset due to GPU hang 08-03 20:15:57.363 0 0 I i915 0000: 00:02.0: [drm] Resetting vcs1 for preemption time out 08-03 20:15:57.371 0 0 I i915 0000: 00:02.0: [drm] [email protected][6355] context reset due to GPU hang 08-03 20:15:57.381 0 0 I i915 0000: 00:02.0: [drm] GPU HANG: ecode 12:4:28fffffd, in HwBinder:611_6 [6329] 08-03 20:15:57.391 0 0 I i915 0000: 00:02.0: [drm] GPU HANG: ecode 12:4:28fffffd, in [email protected] [6355]
@dyang23 Could you please share your encoded clip for checking?
链接: https://caiyun.139.com/m/i?005CiIFbzes43 提取码:absO 复制内容打开中国移动云盘手机APP,操作更方便哦
Can you get the file from caiyun disk, if not please let me know.
@dyang23 Could you please share your command line too?
@wangyan-intel we are using ffmpeg to reproduce this issue on ubuntu: ffplay -vcodec hevc_qsv xxxx.mp4
Thanks,