I’m confused, im new to arch/endeavour and i’ve kinda just noticed on my laptop (thinkpad x390) that just having youtube open watching a video has my cpu running at about 48-52°c. I booted into windows to test and the same task has me running at 35-39°c. Now i really really really like endeavour but i cant seem to fix this. I tried thermald, and unless i did something wrong, nothing changed? I tried enabling hardware acceleration in firefox but issue didnt change at all. Would love to continue using endeavour but it doesn’t seem likely atm
You say you enabled hardware acceleration in firefox, but did you set up hardware acceleration before hand? https://wiki.archlinux.org/title/Hardware_video_acceleration
im new to arch (and linux in general honestly). I was having the temp issues before hardware acceleration was enabled btw. I recently installed the intel-media-driver and libva-intel-driver, but beyond that i didnt do anything. Im going to read over the link you sent, but if you could also provide me some guidance that would be great
You shouldn’t have both drivers. Just one or the other. I believe all the newer stuff should just use intel-media-driver.
i removed the other one. Im running intel_gpu_top
and the “video” bar is still at 0% however
Download a video and use this line from the arch wiki to at least make sure it is working locally mpv --hwdec=auto video_filename
temps are fine, and the video bar does go over 0%, seems like a firefox or youtube issue then?
Perhaps, earlier you mentioned that you enabled hardware acceleration in firefox. I’m assuming you changed media.ffmpeg.vaapi.enabled
this flag to true? If you launch firefox from the terminal like this MOZ_LOG="PlatformDecoderModule:5"
. That should make it spit out logs regarding what is going on with hardware acceleration. Before doing that though, did you check in about:support
that firefox is detecting hardware acceleration at all? Should be this line here
It should say webrender next to the
Compositing
label.
the setting is enabled, and in about:support it does say WebRender. Im confused with the launching firefox from terminal. Nothing happens when i run that command
Is firefox already open? If so close it, maybe it is trying to prevent multiple instances or something. The command should open firefox like normal, but when you start playing a video it should start printing a bunch of information in the terminal. Maybe if we add the env command to the front of the previous one. env MOZ_LOG="PlatformDecoderModule:5"
when i run the command nothing. when i run with env it spits out some info then nothing. Im starting to think this is an issue with firefox? should i maybe reinstall it, and if so what would be the best way to go about that
It should only spit out the info when you are playing the video. After that it shouldn’t do anything. Inside of that output. Search for va-api
or vaapi
and see if there are any issues.
dont see it at all, it only spit out info before firefox opened. it didnt open firefox at all. no info about va-api or vaapi*
Ok, it did the right thing on my laptop running wayland. On xorg it does not print any info, but it does at least launch firefox. Not sure what is going on there. Guess we will just skip that part. Lets just check intel_gpu_top when the video is running to see if it is doing anything. Also did you reboot after installing intel-media-driver
i have reboot since then, ill try checking the video right now
the video bar is still at 0%, im completely lost on whats happening
Oh, install the package libva-utils
and then run vainfo
and post that info here.
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.20 (libva 2.20.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.3.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
Ok, so using this information. I’m gonna assume that it is working. My guess is that youtube is serving you a codec that your hardware doesn’t support. Maybe try a different website. If it appears to work on different websites, when you are looking at intel_gpu_top
. Then there is an extension that you can install to force youtube to serve you a codec that pretty much all modern hardware support. One more thing I would like you to try is to download whatever video you have been testing with in youtube and play with mpv using the command from earlier.
the video i downloaded is the video im testing with. I tried a video on reddit and that seemed to make the video bar go up. Whats the extension then? seems like youtube is the issue.