You are not logged in.

#1 2022-06-09 17:06:02

Szymon
Member
Registered: 2022-06-09
Posts: 24

[SOLVED] Intel iris Xe graphics no video acceleration support.

Hello,

I'm having some issues with hardware acceleration for the my laptop with the following specs:

11th Generation Intel Core i7-1165G7
Integrated Intel Iris Xe Graphics

I have read this wiki page thoroughly: https://wiki.archlinux.org/title/Hardwa … celeration

I've installed all of the required packages, removed xf86-video-intel, currently the driver is modesetting.

In the following you can see the output of inxi -G

Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
  Device-2: Syntek Integrated Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2 driver: X:
    loaded: modesetting gpu: i915 resolution: 1: 5120x2160~60Hz
    2: 3840x2400~60Hz
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 22.1.1

Also vainfo:

error: XDG_RUNTIME_DIR not set in the environment.
vainfo: VA-API version: 1.14 (libva 2.14.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.4.2 ()
vainfo: Supported profile and entrypoints ...

And vdpauinfo:

display: :0   screen: 0
API version: 1
Information string: OpenGL/VAAPI backend for VDPAU

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 NV24 YV24 P010 P016 Y_U_V_444_16
422     4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 NV24 YV24 P010 P016 Y_U_V_444_16
444     4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 NV24 YV24 P010 P016 Y_U_V_444_16
420_16  4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 NV24 YV24 P010 P016 Y_U_V_444_16
422_16  4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 NV24 YV24 P010 P016 Y_U_V_444_16
444_16  4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 NV24 YV24 P010 P016 Y_U_V_444_16

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                          --- not supported ---
MPEG2_SIMPLE                   --- not supported ---
MPEG2_MAIN                     --- not supported ---
H264_BASELINE                  51 16384  2048  2048
H264_MAIN                      51 16384  2048  2048
H264_HIGH                      51 16384  2048  2048
VC1_SIMPLE                     --- not supported ---
VC1_MAIN                       --- not supported ---
VC1_ADVANCED                   --- not supported ---
MPEG4_PART2_SP                 --- not supported ---
MPEG4_PART2_ASP                --- not supported ---
DIVX4_QMOBILE                  --- not supported ---
DIVX4_MOBILE                   --- not supported ---
DIVX4_HOME_THEATER             --- not supported ---
DIVX4_HD_1080P                 --- not supported ---
DIVX5_QMOBILE                  --- not supported ---
DIVX5_MOBILE                   --- not supported ---
DIVX5_HOME_THEATER             --- not supported ---
DIVX5_HD_1080P                 --- not supported ---
H264_CONSTRAINED_BASELINE      51 16384  2048  2048
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---
VP9_PROFILE_0                  --- not supported ---
VP9_PROFILE_1                  --- not supported ---
VP9_PROFILE_2                  --- not supported ---
VP9_PROFILE_3                  --- not supported ---
HEVC_MAIN                      --- not supported ---
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---
HEVC_MAIN_444_10               --- not supported ---
HEVC_MAIN_444_12               --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y
R8G8B8A8         16384 16384    y
R10G10B10A2      16384 16384    y
B10G10R10A2      16384 16384    y
A8               16384 16384    y

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             -
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  -
SHARPNESS                        -
LUMA_KEY                         -
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              -
VIDEO_SURFACE_HEIGHT             -
CHROMA_TYPE                      -
LAYERS                           -

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 -
CSC_MATRIX                       -
NOISE_REDUCTION_LEVEL            -
SHARPNESS_LEVEL                  -
LUMA_KEY_MIN_LUMA                -
LUMA_KEY_MAX_LUMA                -


double free or corruption (!prev)
zsh: IOT instruction  sudo vdpauinfo

The problem I'm having is that if I run intel_gpu_top, it newer shows any video acceleration above 0%. Only the 3D acceleration spikes. This thing happens when playing back videos in the browser (i enabled hardware acceleration in the browser).

In the previously referenced wiki page, it is stated that intel_gpu_top is supposed to indicate video bar above 0% if there is acceleration.

I wanted to ask:

Is it expected to have no video acceleration or my drivers are misconfigured? Does anyone have experience with intel xe graphics?

Thanks

Last edited by Szymon (2022-06-11 12:21:20)

Offline

#2 2022-06-09 20:18:18

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,369

Re: [SOLVED] Intel iris Xe graphics no video acceleration support.

Please use code tags, https://bbs.archlinux.org/help.php#bbcode (edit your post and wrap the outputs accordingly)

The vainfo seems missing the relevant lines ("Supported profile and entrypoints" which you seem to have replaced w/ an ellipsis?) and vdpauinfo suggest there's only h264 support, so make sure that the video you're trying to decode is h264 (there're extensions to make eg. youtube hand you that insntead of VP9)
In doubt check eg. mpv instead of your browser to test basic functionality and not be subjected to random codecs or the browser-video-acceleration-is-broken bug of the week.

Offline

#3 2022-06-10 20:00:07

Szymon
Member
Registered: 2022-06-09
Posts: 24

Re: [SOLVED] Intel iris Xe graphics no video acceleration support.

Thanks a lot for helping me resolve the issue.

Apologies for not including the code tags, it should be fixed by now.

I have checked video acceleration using MPV and indeed in such case intel_gpu_top shows that the video bar is above 0%

I guess it means that youtube must hand me a wrong encoding format.

I have installed browser extension which changes the codec (h264ify extension) but it looks like it doesn't change anything.
I think it indicates that its the browser-video-acceleration-is-broken bug of the week.

From what I observed, when playing videos using mpv, i get roughly 30% render/3D and 15% video usage in intel_gpu_top.
Interestingly, when I turn on my compositor (picom) the 3D render goes up to 60%, I think that looks normal.
However when playing on youtube, everything is on Render/3D which sometimes causes fans to operate abnormally loud.

Could you suggest a place where I could look for some hints on that? Or is it that the browser video acceleration just doesn't work?

Thanks a lot for helping me, it turns out that the graphics drivers actually work.

Offline

#4 2022-06-10 20:16:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,369

Re: [SOLVED] Intel iris Xe graphics no video acceleration support.

Chromium of firefox?
https://wiki.archlinux.org/title/Firefo … celeration
https://wiki.archlinux.org/title/Chromi … celeration
https://bbs.archlinux.org/viewtopic.php?id=244031 (the eternal "chromium-video-acceleration-is-broken" thread)

I assume the browser decodes in software and the fans go up because of the CPU load?

Offline

#5 2022-06-11 08:32:27

Szymon
Member
Registered: 2022-06-09
Posts: 24

Re: [SOLVED] Intel iris Xe graphics no video acceleration support.

Hi,

I finally managed to solve the issue.

After reading through the page https://wiki.archlinux.org/title/chromium.

In case anyone has the same problem, I explained the solution that worked for me below:

I have written the chrome-flags.conf file and placed it in $XDG_CONFIG_HOME :

--enable-features=VaapiVideoDecoder,VaapiVideoEncoder
--ignore-gpu-blocklist
--enable-zero-copy
--enable-gpu-rasterization
--use-gl=desktop
--disable-features=UseChromeOSDirectVideoDecoder

Now in intel_gpu_top I can see actual video acceleration taking place.

Thanks a lot for helping me solve the issue.

Offline

#6 2022-06-11 12:14:32

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,369

Re: [SOLVED] Intel iris Xe graphics no video acceleration support.

Great!

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#7 2022-06-11 12:22:37

Szymon
Member
Registered: 2022-06-09
Posts: 24

Re: [SOLVED] Intel iris Xe graphics no video acceleration support.

Thanks,

I have edited the initial post title.

Thanks a lot for your time.

Offline

Board footer

Powered by FluxBB