Comment 5 for bug 2076361

Revision history for this message
AaronMa (mapengyu) wrote (last edit ):

Hi niemeyer,

I tested ffmpeg for encoding hevc_vaapi and h264_vaapi, but not reproduced the issue on ThinkPad X1 with Intel(R) Core(TM) Ultra 7 165U.
My environment:
Ubuntu 24.04 LTS
ffmpeg version 6.1.1-3ubuntu5
6.8.0-40-generic

$ ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i INPUT -vf 'scale_vaapi=format=p010' -c:v hevc_vaapi -profile 2 -b:v 15M output.mp4

From the attached log, there is no obviously error in dmesg,
was it recorded after the issue is duplicated?

Could you check the status as following while encoding?
And attach the dmesg after the issue is duplicated?

$ sudo apt install intel-gpu-tools lm-sensors

Now we need 3 windows to show the status of system:
1, $ sudo watch -n1 sensors
2, $ watch -n 1 "grep \"^[c]pu MHz\" /proc/cpuinfo"
3, $ sudo intel_gpu_top

Then start encoding as the command above.
My result is like following:
intel_gpu_top will show the video engines usage is high like 40%.
The cpu temperature is around 60 and cpu usage around 30%.