my problem is that i have very high CPU consumption when watching youtube.
Now before you crucify me let me say in short, that iv'e googled A LOT, tried A LOT of things, checked the forum here, and decided to write, because i'm sure most of you have the same problem as me.
To be more precise, i have 2 Thinkpad's T450 (debian stretch) and T490 (debian bullseye). When playing youtube let's say this link 1080p ( https://www.youtube.com/watch?v=DW4KWSfcGRU&t=50s ), the T450 has 25-35% load (top, process load)
and the newer T490 has 150%-250% (top, process load). Chromium is stock on both, no addons, no vaapi or whatsoever.
That brings me to doubt the installed codecs, since video is the same in chrome://media-internals i can see that different video_decoder is used, T450 - FFmpegVideoDecoder and T490 - VpxVideoDecoder (and there probably is some ffmpeg h264 VP8/VP9 youtube stream sorcery included).
Below are the packages i have installed_
Code: Select all
dpkg -la | grep ffmpeg
ii cmus-plugin-ffmpeg 2.8.0-2 amd64 lightweight ncurses audio player (FFmpeg plugin)
ii ffmpeg 7:4.2.1-2 amd64 Tools for transcoding, streaming and playing of multimedia files
ii ffmpeg2theora 0.30-1+b3 amd64 Theora video encoder using ffmpeg
ii gstreamer1.0-libav:amd64 1.16.1-1 amd64 ffmpeg plugin for GStreamer
ii libffmpegthumbnailer4v5 2.1.1-0.2+b1 amd64 shared library for ffmpegthumbnailer
ii libffms2-4:amd64 2.23-4 amd64 Cross platform ffmpeg wrapper library
ii libxine2-ffmpeg:amd64 1.2.9-1+b3 amd64 MPEG-related plugins for libxine2
Code: Select all
dpkg -la | grep libav
ii gstreamer1.0-libav:amd64 1.16.1-1 amd64 ffmpeg plugin for GStreamer
ii libavahi-client3:amd64 0.7-4+b1 amd64 Avahi client library
ii libavahi-common-data:amd64 0.7-4+b1 amd64 Avahi common data files
ii libavahi-common3:amd64 0.7-4+b1 amd64 Avahi common library
ii libavahi-core7:amd64 0.7-4+b1 amd64 Avahi's embeddable mDNS/DNS-SD library
ii libavahi-glib1:amd64 0.7-4+b1 amd64 Avahi GLib integration library
ii libavc1394-0:amd64 0.5.4-5 amd64 control IEEE 1394 audio/video devices
ii libavcodec-dev:amd64 7:4.2.1-2 amd64 FFmpeg library with de/encoders for audio/video codecs - development files
ii libavcodec-extra 7:4.2.1-2 all FFmpeg library with extra codecs (metapackage)
ii libavcodec-extra58:amd64 7:4.2.1-2 amd64 FFmpeg library with additional de/encoders for audio/video codecs
ii libavdevice-dev:amd64 7:4.2.1-2 amd64 FFmpeg library for handling input and output devices - development files
ii libavdevice58:amd64 7:4.2.1-2 amd64 FFmpeg library for handling input and output devices - runtime files
ii libavfilter-dev:amd64 7:4.2.1-2 amd64 FFmpeg library containing media filters - development files
ii libavfilter7:amd64 7:4.2.1-2 amd64 FFmpeg library containing media filters - runtime files
ii libavformat-dev:amd64 7:4.2.1-2 amd64 FFmpeg library with (de)muxers for multimedia containers - development files
ii libavformat58:amd64 7:4.2.1-2 amd64 FFmpeg library with (de)muxers for multimedia containers - runtime files
ii libavresample-dev:amd64 7:4.2.1-2 amd64 FFmpeg compatibility library for resampling - development files
ii libavresample4:amd64 7:4.2.1-2 amd64 FFmpeg compatibility library for resampling - runtime files
ii libavutil-dev:amd64 7:4.2.1-2 amd64 FFmpeg library with functions for simplifying programming - development files
ii libavutil56:amd64 7:4.2.1-2 amd64 FFmpeg library with functions for simplifying programming - runtime files
Code: Select all
dpkg -la | grep 264
ii libx264-155:amd64 2:0.155.2917+git0a84d98-2 amd64 x264 video coding library
ii x264 2:0.155.2917+git0a84d98-2 amd64 video encoder for the H.264/MPEG-4 AVC standard
dpkg -la | grep 265
ii libde265-0:amd64 1.0.3-1+b1 amd64 Open H.265 video codec implementation
ii libde265-dev:amd64 1.0.3-1+b1 amd64 Open H.265 video codec implementation - development files
ii libde265-examples 1.0.3-1+b1 amd64 Open H.265 video codec implementation - examples
ii libx265-179:amd64 3.2-2 amd64 H.265/HEVC video stream encoder (shared library)
ii x265 3.2-2 amd64 H.265/HEVC video stream encoder
I would appreciate if any one can point me the right direction or what i'm doing wrong. Thank you!
p.s. from chrome://media-internals/ i can see T450 uses "video_codec_name h264 " and T490 "video_codec_name VP9"
Update: checked packages on T450 that might be related with codecs/encoding/multimedia, seems like there is no difference in installed packages. T450 Chromium version is 73.0.3683.75 and T490 is 76.0.3809.100.