You are not logged in.

#1 2023-01-19 07:38:45

T41US
Member
Registered: 2021-08-19
Posts: 10

[Solved] Unable to get video acceleration working on Intel Xe

Hello,
I am running a 11th Gen Intel i7-1165G7 CPU and a Intel TigerLake-LP GT2 [Iris Xe Graphics].
For some reason, I cannot get the GPU do to video acceleration, and am doing all video via software only (I suspect).
Using intel_gpu_top from the intel-gpu-tools package, I see no increase in video usage while watching a youtube video.
I am trying to use the modesetting driver, but am unsure if it got enabled or not.

I have mesa, lib32-mesa, vulkan-intel, intel-ucode, intel-gmmlib, intel-media-driver, lib32-libva, lib32-libva-intel-driver, lib32-libva-mesa-driver, libva, libva-utils, and mesa utils all installed.

I have tried to enable the HuC/GuC loading, and `cat /sys/kernel/debug/dri/0/gt/uc/huc_info` && `/sys/kernel/debug/dri/0/gt/uc/guc_info` both contain a status of running. What am I missing?

Last edited by T41US (2023-01-21 19:30:30)

Offline

#2 2023-01-19 08:20:22

seth
Member
Registered: 2012-09-03
Posts: 35,307

Re: [Solved] Unable to get video acceleration working on Intel Xe

What am I missing?

Specification of "doing all video" and "watching a youtube video"

Start w/ https://wiki.archlinux.org/title/Hardwa … celeration and post the output of

vainfo

See whether you can play a h264 video w/ mpv and hw decoding.
If yes, it's down to your browser ("all video" and "playing youtube")

Use youtube-viewer (AUR) and see https://wiki.archlinux.org/title/Hardwa … plications
Chromium currently conflicts w/ the latest libva update, https://bbs.archlinux.org/viewtopic.php … 1#p2080141

Offline

#3 2023-01-19 18:38:33

T41US
Member
Registered: 2021-08-19
Posts: 10

Re: [Solved] Unable to get video acceleration working on Intel Xe

output of vainfo:

Trying display: wayland
vainfo: VA-API version: 1.17 (libva 2.17.1)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.6.4 ()
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
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointFEI
      VAProfileHEVCMain               :	VAEntrypointEncSliceLP
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointEncSliceLP
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointEncSliceLP
      VAProfileVP9Profile1            :	VAEntrypointVLD
      VAProfileVP9Profile1            :	VAEntrypointEncSliceLP
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointEncSliceLP
      VAProfileVP9Profile3            :	VAEntrypointVLD
      VAProfileVP9Profile3            :	VAEntrypointEncSliceLP
      VAProfileHEVCMain12             :	VAEntrypointVLD
      VAProfileHEVCMain12             :	VAEntrypointEncSlice
      VAProfileHEVCMain422_10         :	VAEntrypointVLD
      VAProfileHEVCMain422_10         :	VAEntrypointEncSlice
      VAProfileHEVCMain422_12         :	VAEntrypointVLD
      VAProfileHEVCMain422_12         :	VAEntrypointEncSlice
      VAProfileHEVCMain444            :	VAEntrypointVLD
      VAProfileHEVCMain444            :	VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10         :	VAEntrypointVLD
      VAProfileHEVCMain444_10         :	VAEntrypointEncSliceLP
      VAProfileHEVCMain444_12         :	VAEntrypointVLD
      VAProfileHEVCSccMain            :	VAEntrypointVLD
      VAProfileHEVCSccMain            :	VAEntrypointEncSliceLP
      VAProfileHEVCSccMain10          :	VAEntrypointVLD
      VAProfileHEVCSccMain10          :	VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444         :	VAEntrypointVLD
      VAProfileHEVCSccMain444         :	VAEntrypointEncSliceLP
      VAProfileAV1Profile0            :	VAEntrypointVLD
      VAProfileHEVCSccMain444_10      :	VAEntrypointVLD
      VAProfileHEVCSccMain444_10      :	VAEntrypointEncSliceLP

Previously I was using YouTube on firefox (just the normal package), and getting no video usage, only seeing the Render/3D change over time in the intel-gpu-top. However, while using the youtube-viewer, with VLC, I see the Video usage actually increase, which is a good change! But, when trying to use MPV, I see 0 Video usage at all. Is it just an issue with firefox/mpv?

I don't know how to check the specific codec with a video, however - this is the video I have been trying to test with.

Last edited by T41US (2023-01-19 18:39:51)

Offline

#4 2023-01-19 19:14:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 18,288

Re: [Solved] Unable to get video acceleration working on Intel Xe

Both firefox and mpv need to be configured appropriately to use HW accel: https://wiki.archlinux.org/title/Firefo … celeration https://wiki.archlinux.org/title/Mpv#Ha … celeration

Online

#5 2023-01-21 19:30:44

T41US
Member
Registered: 2021-08-19
Posts: 10

Re: [Solved] Unable to get video acceleration working on Intel Xe

That seems to have done it - thank you!

Offline

Board footer

Powered by FluxBB