Overheating Over chrome and video-watching

Issues related to hardware problems
User avatar
gossip420
Posts: 10
Joined: 2020/05/20 17:08:48

Overheating Over chrome and video-watching

Post by gossip420 » 2020/05/20 17:22:43

Hi I have a razerblade stealth and my laptop drains battery extremely has when watching youtube videos and having more than 10 tabs opened which didn't happen on windows. I downloaded TLS and tuned but they didn't help much. Please help

System verison: CentOS Linux release 8.1.1911 (Core)

CPU: product: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
*-pci
description: Host bridge
product: Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
*-display
description: VGA compatible controller
product: HD Graphics 620
vendor: Intel Corporation
version: 02
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
*-generic:0
description: Signal processing controller
product: Sunrise Point-LP Thermal subsystem
vendor: Intel Corporation
*-generic:1
description: Signal processing controller
product: Sunrise Point-LP Serial IO I2C Controller #0
vendor: Intel Corporation

User avatar
TrevorH
Forum Moderator
Posts: 29457
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Overheating Over chrome and video-watching

Post by TrevorH » 2020/05/20 18:08:20

What did you do with tuned?

tuned-adm profile powersave

?
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
gossip420
Posts: 10
Joined: 2020/05/20 17:08:48

Re: Overheating Over chrome and video-watching

Post by gossip420 » 2020/05/20 18:13:32

I'm using balanced right now I tried powersave profile but it didn't help much

chemal
Posts: 692
Joined: 2013/12/08 19:44:49

Re: Overheating Over chrome and video-watching

Post by chemal » 2020/05/20 20:35:20

With Linux no browser uses the GPU for video decoding. Compared to Windows, a considerably higher CPU load and therefore faster battery drain is expected.

User avatar
gossip420
Posts: 10
Joined: 2020/05/20 17:08:48

Re: Overheating Over chrome and video-watching

Post by gossip420 » 2020/05/20 23:36:00

Is there a way to route videos to GPU ?

bonedome
Posts: 170
Joined: 2017/04/22 08:11:04

Re: Overheating Over chrome and video-watching

Post by bonedome » 2020/05/22 17:39:14

gossip420 wrote:
2020/05/20 23:36:00
is there a way to route videos to GPU ?
There is
here's how I do it, you'll need to install youtube-dl, mpv and libva (I think all available from rpmfusion)
Add these lines to ~/.config/mpv/mpv.conf

Code: Select all

ytdl-format="bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best"
hwdec
I have mine set to 720p max and exclude vp9 (webm) as there's no hw accel for it (I think some intel graphics support vp8)
You then copy youtube url and play like so

Code: Select all

mpv https://youtube.com/watch?v=T_yZuQVDMG4
I would experiment with two other settings to see which runs coolest (hw accel can sometimes increase core temp)

Code: Select all

mpv --hwdec=vaapi https://youtube.com/watch?v=T_yZuQVDMG4

Code: Select all

mpv --vo=gpu https://youtube.com/watch?v=T_yZuQVDMG4
While the video is playing check the terminal, it shoud say "Using hardware decoding (vaapi-copy) or (vaapi)"
vlc can also do this, again you will have to experiment (I have my Hardware accelerated decoding and Video output set to automatic) mpv and vlc are virtually identical in cpu usage and core temperature and the fan almost never comes on.
If vlc complains and won't play youtube videos I have a lua script I found on the net that fixes that.
As for chrome running hot, 2 personal recommendations
1 install brave browser
2 install this chrome extension https://chrome.google.com/webstore/deta ... cebajanakg

User avatar
gossip420
Posts: 10
Joined: 2020/05/20 17:08:48

Re: Overheating Over chrome and video-watching

Post by gossip420 » 2020/05/26 12:11:48

Thank you! Sorry for the late reply. Let me give them a try once I got time.

cheers

User avatar
gossip420
Posts: 10
Joined: 2020/05/20 17:08:48

Re: Overheating Over chrome and video-watching

Post by gossip420 » 2020/05/28 07:44:10

It worked great! But i got a question it doesn't seem to be playing vids from other sites for examples p---hub or other generic sites when i use the command vlc p---hub.com/..... Is there a way to fix that?
Thanks very much btw.

bonedome
Posts: 170
Joined: 2017/04/22 08:11:04

Re: Overheating Over chrome and video-watching

Post by bonedome » 2020/05/28 19:40:57

Here's the list of sites supported by youtube-dl https://ytdl-org.github.io/youtube-dl/s ... sites.html
So it should work with mpv.
I just tried a vimeo video with vlc which worked.
The site you're talking about probably uses webm/vp8 or vp9 which is not supported on my intel sandybridge processor which is why I have it excluded, if you install libva-utils and run vainfo it'll show which profiles are supported by hw accel on your machine.
I have

Code: Select all

vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
If you have a vp8 or 9 entry amend your ~/.config/mpv/mpv.conf to read ytdl-format="bestvideo[height<=?720][fps<=?30]+bestaudio/best" or just comment out the line # and see if it works

User avatar
gossip420
Posts: 10
Joined: 2020/05/20 17:08:48

Re: Overheating Over chrome and video-watching

Post by gossip420 » 2020/06/17 01:17:49

Hi so i tried to install libva-utils and intel-libva-driver but this error showed up.

[root@localhost /]# sudo yum install libva-utils
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:23:39 ago on Wed 17 Jun 2020 08:51:58 AM +08.
No match for argument: libva-utils
Error: Unable to find a match: libva-utils

Post Reply

Return to “CentOS 8 - Hardware Support”