Hardware acceleration does not work for Intel UHD Graphics 620 (Intel NUC 8) on Ubuntu 24
https://askubuntu.com/questions/1565425/hardware-acceleration-does-not-work-for-intel-uhd-graphics-620-intel-nuc-8-on
I'm using Ubuntu 24.04.4 (with Xfce) on the Intel NUC 8 (with UHD Graphics 620 integrated GPU).
My current problem is that all browsers (Chromium and Firefox) render websites very slowly (even local sites during development). The intel_gpu_top does not show blitter or video engine usage when opening a website in browser or video in VLC player.
Please help me find the cause of the problem.
UPD: journalctl has error - "kernel: i915 0000:00:02.0: [drm] ERROR Failed to probe lspcon"
UPD: chrome://media-internals/ shows error when video playback:
VaapiVideoDecoder: failed Initialize()ing the frame pool
UPD: chrome://gpu/ shows errors (after resetting the chromium flags to default, only the first error remained):
WARNING:sandbox/policy/linux/sandbox_linux.cc:405] : InitializeSandbox() called with multiple threads in process gpu-process.
ERROR:ui/gl/egl_util.cc:92] : EGL Driver message (Error) eglCreateContext: Requested version is not supported
ERROR:ui/gl/egl_util.cc:92] : EGL Driver message (Error) eglCreateContext: Requested version is not supported
ERROR:gpu/command_buffer/service/gl_utils.cc:387] : [.WebGL-0x201c07ec1800]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
UPD: FIrefox uses GPU video engine when video playback (I just missed it).
UPD: Speedometer3.1 score in Chromium is 7.11, score with --disable-gpu flag is also 6.86. So hardware acceleration definitely doesn't work.
UPD: glmark2 Score: 5136
DETAILED INFO
htop and intel_gpu_top when idle:

htop and intel_gpu_top when opening website in the Chromium browser:

htop and intel_gpu_top when opening .webm (or .mp4) video in the VLC player:

uname -a:
Linux m 6.17.0-20-generic #20~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 01:28:37 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/default/grub:
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
inxi -G:
Graphics:
Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] driver: i915 v: kernel
Display: x11 server: X.Org v: 21.1.11 driver: X: loaded: modesetting
unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 1920x1080~60Hz
API: EGL v: 1.5 drivers: iris,swrast platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa
v: 25.2.8-0ubuntu0.24.04.1 renderer: Mesa Intel UHD Graphics 620 (WHL GT2)
vainfo:
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.1.0 ()
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointFEI
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointFEI
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointFEI
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
glxinfo -B:
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) UHD Graphics 620 (WHL GT2) (0x3ea0)
Version: 25.2.8
Accelerated: yes
Video memory: 31769MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 25.2.8-0ubuntu0.24.04.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.2.8-0ubuntu0.24.04.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 25.2.8-0ubuntu0.24.04.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
glxheads :0:
Name: :0
Display: 0x5cf794bf0da0
Window: 0x5c00002
Context: 0x5cf794c891e0
GL_VERSION: 4.6 (Compatibility Profile) Mesa 25.2.8-0ubuntu0.24.04.1
GL_VENDOR: Intel
GL_RENDERER: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
journalctl -b | grep -i i915:
kernel: i915 0000:00:02.0: [drm] Found coffeelake/ult (device ID 3ea0) integrated display version 9.00 stepping N/A
kernel: i915 0000:00:02.0: [drm] VT-d active for gfx access
kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
kernel: i915 0000:00:02.0: [drm] Using Transparent Hugepages
kernel: i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
kernel: mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
>>> kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
kernel: i915 0000:00:02.0: [drm] Registered 3 planes with drm panic
kernel: [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 1
kernel: fbcon: i915drmfb (fb0) is primary device
kernel: i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915])
sudo dmesg | grep -i -e 'huc' -e 'guc' with enable_guc=3:
[ 11.620108] Setting dangerous option enable_guc - tainting kernel
[ 11.623029] i915 0000:00:02.0: [drm] GT0: Incompatible option enable_guc=3 - GuC submission is N/A
[ 11.742182] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/kbl_guc_70.1.1.bin version 70.1.1
[ 11.742190] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/kbl_huc_4.0.0.bin version 4.0.0
[ 11.769005] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
[ 11.769014] i915 0000:00:02.0: [drm] GT0: GUC: submission disabled
[ 11.769017] i915 0000:00:02.0: [drm] GT0: GUC: SLPC disabled
sudo dmesg | grep -i -e 'huc' -e 'guc' with enable_guc=2:
[ 10.542016] Setting dangerous option enable_guc - tainting kernel
[ 10.644744] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/kbl_guc_70.1.1.bin version 70.1.1
[ 10.644753] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/kbl_huc_4.0.0.bin version 4.0.0
[ 10.671981] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
[ 10.671989] i915 0000:00:02.0: [drm] GT0: GUC: submission disabled
[ 10.671992] i915 0000:00:02.0: [drm] GT0: GUC: SLPC disabled
sudo dmesg | grep -i i915 without changing enable_guc:
[ 23.239267] i915 0000:00:02.0: [drm] Found coffeelake/ult (device ID 3ea0) integrated display version 9.00 stepping N/A
[ 23.241227] i915 0000:00:02.0: [drm] VT-d active for gfx access
[ 23.299824] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 23.301624] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[ 23.304362] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 23.306559] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 23.357015] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[ 23.625872] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[ 23.627398] i915 0000:00:02.0: [drm] Registered 3 planes with drm panic
[ 23.627403] [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 1
[ 23.670628] fbcon: i915drmfb (fb0) is primary device
[ 23.670635] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 23.677392] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915])