You are not logged in.
Hello everyone
i am new to the arch linux world. i installed with archinstall the system with kde plasma and wayland on a lenovo thinkpad L450 notebook. I followed this guide: https://www.youtube.com/watch?v=tpy9yws-J2I&t=152s and I have seen many others on forums and videos. unfortunately i don't understand why, but 1080p videos are processed entirely by the cpu. i tried both chrome and firefox, but both do not distribute the load on the gpu. is there any way to fix? the drivers are properly installed for this laptop's intel video card.
thanks for the informations.
Offline
Welcome to Arch. The Arch Wiki has a lot of valuable information. Did you check https://wiki.archlinux.org/title/Hardwa … celeration ?
Mike C
Offline
Welcome to Arch. The Arch Wiki has a lot of valuable information. Did you check https://wiki.archlinux.org/title/Hardwa … celeration ?
yes, i have read official wiki, but i don't find nothing about this problem....i have followed all instruction, but i open video on youtube in firefox or chrome and don't work the gpu elaboration
Offline
Output of "vainfo"?
Also see https://bbs.archlinux.org/viewtopic.php?id=244031 - browser HW acceleration basically sucks
Offline
this is my vainfo output:
vainfo: VA-API version: 1.13 (libva 2.13.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Broadwell - 2.4.1
vainfo: 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
VAProfileVP8Version0_3 : VAEntrypointVLD
in my chromium (from extra repo), there are this gpu config:
Graphics Feature Status
Canvas: Hardware accelerated
Canvas out-of-process rasterization: Enabled
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Out-of-process Rasterization: Hardware accelerated
OpenGL: Enabled
Rasterization: Hardware accelerated on all pages
Raw Draw: Enabled
Skia Renderer: Enabled
Video Decode: Hardware accelerated
Video Encode: Software only. Hardware acceleration disabled
Vulkan: Enabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
i used only 3 flags in config file:
--enable-gpu-rasterization
--ignore-gpu-backlist
--disable-gpu-driver-workarounds
i have activated any flags in the browser for enable all gpu option...i don't find option for enable video encode...so..intel_gpu_top give me always 0% on video
Last edited by sephiroth986 (2022-01-19 00:32:01)
Offline
You do not have a VP9 hardware decoder, but youtube prefers to send VP9 videos. You can try https://addons.mozilla.org/de/firefox/a … d-h264ify/ (there should be something similar for chromium)
Here is a page to try different codecs: http://demo.nimius.net/video_test/
Last edited by progandy (2022-01-19 04:59:06)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
You do not have a VP9 hardware decoder, but youtube prefers to send VP9 videos. You can try https://addons.mozilla.org/de/firefox/a … d-h264ify/ (there should be something similar for chromium)
Here is a page to try different codecs: http://demo.nimius.net/video_test/
I have try this addon any days ago, but don't work...
Offline
"tried" doesn't mean you did and "don't work" isn't a problem description.
youtube offers "stats for nerds" in the video context menu that will tell you which video codec is being used.
Also check the browsers "about:gpu" to see whether hw acceleration is available in that context at all.
Offline
"tried" doesn't mean you did and "don't work" isn't a problem description.
youtube offers "stats for nerds" in the video context menu that will tell you which video codec is being used.
Also check the browsers "about:gpu" to see whether hw acceleration is available in that context at all.
this is the result:
Last edited by sephiroth986 (2022-01-19 22:36:37)
Offline
There is a usefull topic about hardware accel here https://bbs.archlinux.org/viewtopic.php?id=244031
Last edited by boban_dj (2022-01-20 06:12:20)
Offline
Here is [the screnshot of some plugin settings
youtube offers "stats for nerds" in the video context menu that will tell you which video codec is being used.
Also check the browsers "about:gpu" to see whether hw acceleration is available in that context at all.
Offline
sephiroth986 wrote:Here is [the screnshot of some plugin settings
seth wrote:youtube offers "stats for nerds" in the video context menu that will tell you which video codec is being used.
seth also wrote:Also check the browsers "about:gpu" to see whether hw acceleration is available in that context at all.
video stats:
Video ID / sCPNLXb3EKWsInQ / 7EBE FM2G 7743
Viewport / Frames1113x626 / 26 dropped of 4512
Current / Optimal Res1920x1080@60 / 1920x1080@60
Volume / Normalized100% / 100% (content loudness -3.9dB)
Codecsvp09.00.51.08.01.01.01.01.00 (303) / opus (251)
Colorbt709 / bt709
Offline
Codecsvp09.00.51.08.01.01.01.01.00 (303) / opus (251)
Guess what codec that is.
Offline
Codecsvp09.00.51.08.01.01.01.01.00 (303) / opus (251)
Guess what codec that is.
sorry i linked wrong data from my notes. this is from chrome under arch linux without plugin:
Video ID / sCPN2b2gJu-g3qE / JB9M RJJY HDSH
Viewport / Frames640x360 / 5 dropped of 2065
Current / Optimal Res1920x1080@30 / 1920x1080@30
Volume / Normalized100% / 96% (content loudness 0.4dB)
Codecsav01.0.08M.08 (399) / opus (251)
Offline
sorry i linked wrong data from my notes. this is from chrome under arch linux without plugin:
Codecsav01.0.08M.08 (399) / opus (251)
That is av1. You do not have a hardware decoder for that either.
And this is the reason you need that plugin. It blocks the formats you do not want. (You have to reload youtube after installing it or changing the settings)
Last edited by progandy (2022-01-20 21:06:18)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
399 is FullHD/AV01, you want codec 137, FullHD/AVC1
Edit: [waves fist at progandy]
Last edited by seth (2022-01-20 21:05:03)
Offline
with enanched h264ify on, i have this result' but gpu don't work the same
Video ID / sCPNLXb3EKWsInQ / 4M5K J1YC HC6E
Viewport / Frames640x360 / 212 dropped of 4234
Current / Optimal Res1920x1080@60 / 1920x1080@60
Volume / Normalized100% / 100% (content loudness -3.9dB)
Codecsavc1.64002a (299) / opus (251)
Offline
Browser HW acceleration basically sucks
Sucks on Linux only.
Offline
Please don't empty post.
@sephiroth986
Support H.264/AVC encode acceleration Main Profile @ L4.1 up to 40 Mbps (excludes GMA X4500HD and HD Graphics).
https://de.wikipedia.org/wiki/H.264#Level - copy and pasting tables isn't a thing in bbs, but that's "only" 1920 × 1080 @ 30Hz max
you want codec 137
Offline
Please don't empty post.
@sephiroth986
https://01.org/linuxmedia/vaapi wrote:Support H.264/AVC encode acceleration Main Profile @ L4.1 up to 40 Mbps (excludes GMA X4500HD and HD Graphics).
https://de.wikipedia.org/wiki/H.264#Level - copy and pasting tables isn't a thing in bbs, but that's "only" 1920 × 1080 @ 30Hz max
seth wrote:you want codec 137
Sorry seth, my english is orrible...what's the solution? I need to install codec 137?
Offline
137 is the youtube codec id for 1920x1080 @30Hz, your chip doesn't support hardware decoding for the 60Hz video.
Offline
137 is the youtube codec id for 1920x1080 @30Hz, your chip doesn't support hardware decoding for the 60Hz video.
So...is there any solution?
The only solution that i see is change the computer hahahhaha
Last edited by sephiroth986 (2022-01-21 14:15:09)
Offline
If you want to decode 1920x1080@60Hz in hardware you need a different chip.
But h264ify allows you to block 60Hz videos and w/ youtube-viewer or yt-dlp you can completey control the used codecs anyway.
Offline
I don't know these projects. I was just hoping to be able to use the browser without resorting to external applications. thanks for the help anyway.
Offline
You do understand that your HW cannot decode that video and no matter how you approach it, it will always come down to make youtube handing you decodable videos?
(which in this case and the h264ify plugin would mean to block 60FPS videos)
Offline