Youtube uses a lot of cpu, I use Vivaldi

Also thanks for this I’ll try them later today

it gives me comand not found

You need to install libva-utils as it will provide vainfo (see the wiki).

vainfo
Trying display: wayland
Trying display: x11
vaInitialize failed with error code -1 (unknown libva error),exit
[cris@cris-pl627rc ~]$

could it be ok ?

nope.
I guess that’s why you couldn’t get video acceleration running in the first place.
As per the wiki (still):

If the following error is displayed when running vainfo:

libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

You need to configure the correct driver, see #Configuring VA-API.

…maybe you shouldn’t mark your thread as “solved” just yet :sweat_smile:

Try and configure VA-API following the wiki, that might hopefully do the trick !

i thought that the vivaldi codec was enough , lul

so if i am using intel 7300 hq which driver is meant to be installed ? I knew that these drivers were to be installed automatically , never knew i’d have to install them manually… when checking with pacman -Ss none were installed

it seems to be 2 drivers here * Intel graphics:

I think yours is a “Kaby Lake” generation, so it comes after the Broadwell generation mentioned by the wiki so you should be good with intel-media-driver.

You should go through the wiki, and especially verification (and check it installing for example intel-gpu-tools and then running intel_gpu_top or another mentioned method) and and configuration parts.

hmm, I guess now it worked

[cris@cris-pl627rc ~]$ vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.20 (libva 2.20.1)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.1.3 ()
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
[cris@cris-pl627rc ~]$

indeed !

sweet :sunglasses:

You could install an run vdpauinfo too.

You just need to go thru the configuration now to be sure everything will be OK.

so , this seems to be about this case : For Intel graphics you need to set it to va_gl

idk how to do it , but evrything seems to be ok, vid playback , etc

[cris@cris-pl627rc ~]$ vdpauinfo
display: :0 screen: 0
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
[cris@cris-pl627rc ~]$ sudo vdpauinfo
[sudo] password for cris:
display: :0 screen: 0
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
[cris@cris-pl627rc ~]$

in my case, i added those lines to /etc/environment

LIBVA_DRIVER_NAME=iHD
VDPAU_DRIVER=va_gl

I guess you should too.

(as I understood it, chrome based browsers don’t use VDPAU, but still, if you use firefox and/or for other applications you should try to make VDPAU work too)