Closed vincent911001 closed 4 years ago
you need:
Iam also facing same issue : with Sample_decode code: root@Rental32-LaptopU:/home/mamatha/msdk/build/bin/release# ./sample_decode h264 -i ./input_file.h264 -hw -vaapi -calc_latency -async 2 -rgb4 -rdrm libva info: VA-API version 1.13.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so libva info: Found init function vaDriverInit_1_7 libva info: va_openDriver() returns 0 drmrender: trying connection: eDP drmrender: selected crtc already attached to connector drmrender: succeeded... drmrender: connected via eDP to 1920x1080@60 capable display pretending that aspect ratio is 1:1 Decoding Sample Version 8.4.27.0
Input video AVC Output format RGB4 (using vpp) Input: Resolution 1280x720 Crop X,Y,W,H 0,0,1280,720 Output: Resolution 1280x720 Frame rate 10.00 Memory type vaapi MediaSDK impl hw MediaSDK version 1.32
Decoding started drmrender: error: failed to get drm mastership during 3 seconds - aborting DeliverOutput return error = -1 Frame 1, latency=33.93300 ms fread_fps: 3115.265, fwrite_fps: 0.200 Frame 2, latency=35.79100 ms
Latency summary:
AVG=34.86200 ms, MAX=35.79100 ms, MIN=33.93300 ms Decoding finished drmrender: error: failed to get drm mastership during 3 seconds - aborting drmrender: warning: failure to restore original mode may lead to application segfault! drmrender: error: failed to get drm mastership during 3 seconds - aborting drmrender: warning: failure to restore original mode may lead to application segfault!
After root access also it is same and what does "enter text mode with "init 3"" mean?
Trying in Linux 5th generation
Everybody is getting this issue, any solution???
Hi, can i know what is causing the error?
It seems to me that it is failing at the composition stage, am I right?