Render/3D engine busy 100 % playing videos using VA-API
Dell XPS 13 9360/0596KF, BIOS 2.21.0 06/02/2022
$ lspci -nn -s 0:02.0
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 [8086:5916] (rev 02)
With Debian sid/unstable (intel-media-va-driver-non-free 24.1.0+ds1-1) and GNOME Shell with X.Org and dwm , since around two(?) months using VA-API, the Render/3D engine is shown to be busy 100 % and the fan starts spinning, but the the load average is low. This happens with Mozilla Firefox/Nightly 125.0a1 (and earlier) and mpv 0.37.0-1. intel_gpu_top
shows a power consumption 10.16/19.56 W.
$ mpv …
[…]
(+) Video --vid=1 (*) (h264 1920x1080 50.000fps)
(+) Audio --aid=1 --alang=deu (*) (aac 2ch 44100Hz)
Using hardware decoding (vaapi).
AO: [pipewire] 44100Hz stereo 2ch floatp
VO: [gpu] 1920x1080 vaapi[nv12]
intel-gpu-top: Intel Kabylake (Gen9) @ /dev/dri/card0 - 988/1052 MHz
0% RC6; 10.16/19.56 W; 735 irqs/s
IMC reads: 7658 MiB/s
IMC writes: 7168 MiB/s
ENGINES BUSY MI_SEMA MI_WAIT
Render/3D 100.00% |██████████████████████████████| 0% 0%
Blitter 0.00% | | 0% 0%
Video 23.62% |███████▏ | 12% 0%
VideoEnhance 0.00% | | 0% 0%
PID Render/3D Blitter Video VideoEnhance NAME
293463 |██████▍ || ||██▎ || | mpv
1 |██▌ || || || | systemd
1871 |█▍ || || || | gnome-shell
293345 | || || || | RDD Process
292071 | || || || | firefox-bin
2358 | || || || | xdg-desktop-por
2141 | || || || | gnome-software
Not using VA-API with --vo=x11
, the power usage is much lower:
intel-gpu-top: Intel Kabylake (Gen9) @ /dev/dri/card0 - 471/ 470 MHz; 56% RC6
2.25/14.65 W; 363 irqs/s
IMC reads: 6553 MiB/s
IMC writes: 3983 MiB/s
ENGINES BUSY MI_SEMA MI_WAIT
Render/3D 33.78% |████████████▎ | 0% 0%
Blitter 0.00% | | 0% 0%
Video 0.00% | | 0% 0%
VideoEnhance 0.00% | | 0% 0%
PID Render/3D Blitter Video VideoEnhance NAME
1 |██▊ || || || | systemd
1871 |█▍ || || || | gnome-shell
293345 | || || || | RDD Process
292071 | || || || | firefox-bin
2358 | || || || | xdg-desktop-por
2141 | || || || | gnome-software
1912 | || || || | mutter-x11-fram
Unfortunately, I do not know how to debug this.
Edited by Paul Menzel