I am new to Ubuntu and try to find out if my igpu is configured correctly.
I use Ubuntu 22.04 on MacBook Air 2014 with Intel HD 5000 integrated graphics. And have the following concerns:
Initially there was an issue in Google Chrome when colorful horizontal lines were appeared. As solution I turned off hardware acceleration, but after a while I realized that laptop started heating when I watch videos and CPU loads over 50%. This isn't a usual behavior when I watch videos on macOS from this laptop.
I tried to turn the hardware acceleration flag back on and turned on Vulcan flag in Chrome. These glitchy lines in YouTube were gone, but the CPU still seems to be overloaded.
- I assume that something is indeed configured wrong. I installed 'intel-gpu-tools' from apt to look at igpu performance. And turned on 4k video on YouTube (just for test). Here is the result.
The GPU runs at 300 MHz of 1100 MHz available in Turbo Boost; 14W of 30W available; it uses only "Render / 3D" engine. Meanwhile the CPU is 92% loaded (if I pause the video it will drop to 1-5%).
terminal and svitals monitor:
Is that behavior OK or does something have to be configured additionally? The Ubuntu is a fresh installation with no additional GPU drivers installed.
vainfo:
libva info: VA-API version 1.14.0libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.solibva info: Found init function __vaDriverInit_1_14libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failedlibva info: va_openDriver() returns 1libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.solibva info: Found init function __vaDriverInit_1_10libva info: va_openDriver() returns 0vainfo: VA-API version: 1.14 (libva 2.12.0)vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 2.4.1vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple : VAEntrypointEncSlice VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264MultiviewHigh : VAEntrypointVLD VAProfileH264MultiviewHigh : VAEntrypointEncSlice VAProfileH264StereoHigh : VAEntrypointVLD VAProfileH264StereoHigh : VAEntrypointEncSlice VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc VAProfileJPEGBaseline : VAEntrypointVLD
I found the first two solutions in this thread.