Youtube drain my CPU again on 70-80% CPU after update PM

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
SGvagon

Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by SGvagon » 2017-09-26, 15:55

Hello,

today I updated on the newest PM 27.5.0 (32bit) and 60FPS Youtube videos drains my CPU again on 70-80% :| .
Image
U must switch to Firefox now, because PM is unusable for me now.

User avatar
satrow
Forum staff
Forum staff
Posts: 1885
Joined: 2011-09-08, 11:27

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by satrow » 2017-09-26, 16:06

Enable Kernel activity in Task Manager and attach a new screenshot, please. An example URL?

SGvagon

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by SGvagon » 2017-09-26, 16:09

Why example URL? It doing all fHD 60FPS youtube videos.
For example this https://youtu.be/LX3kTR25CyY

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2410
Joined: 2012-08-19, 20:32

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by back2themoon » 2017-09-26, 16:33

Perhaps YouTube's new Material Design is causing this? Here's how to restore the old/classic YouTube. The video works normally here.

User avatar
rabnbeinn
Lunatic
Lunatic
Posts: 350
Joined: 2011-11-18, 20:38
Location: Scotland

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by rabnbeinn » 2017-09-26, 17:13

back2themoon wrote:Perhaps YouTube's new Material Design is causing this? Here's how to restore the old/classic YouTube. The video works normally here.
My problem after latest PM update was..... YT updated itself to the new YT and while the first video would play it wouldn't let me click on another video or go to home page, infact YT would just stay on first video until I shut down tab and restart YT, then the same would happen all over again. I'm not saying that PM made YT update, prob just coincidence.
Anyways, after restoring old/classic YouTube all is good again.

I was going to go down the route of changing user overides, but your solution saved me the hassle so Thank you back2themoon :thumbup: .

User avatar
satrow
Forum staff
Forum staff
Posts: 1885
Joined: 2011-09-08, 11:27

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by satrow » 2017-09-26, 18:22

Not seeing much difference between the new and old YT versions here, W7x64, Ivy Xeon/GTX1060 and PM 27.5.0 x64. Medium bump in Kernel activity with both. Differences are likely to be more obvious with iGPU/APU and weaker CPUs.
New YT then Old YT.
New YT then Old YT.

adisib
Lunatic
Lunatic
Posts: 380
Joined: 2015-06-13, 03:34
Location: KY

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by adisib » 2017-09-26, 19:02

I am also getting increased CPU usage on 27.5 update, even with the old youtube layout. I am currently seeing 90% CPU usage watching a 1080p60 video, where I was getting about 20% with 1080p60 after the video hardware acceleration fix. It seems as if hardware acceleration has broken again...

SGvagon

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by SGvagon » 2017-09-26, 19:04

I don't have problem with Youtube, but with 60FPS fHD videos on it, they drains my CPU on 70-80% after update on new Palemoon. In releasenote is something about MSE Media updates , and thats maybe disable my GPU in CPU (Core i7 6700HQ) :crazy: . In previous Palemoon these videos drains normal 10-12% CPU .

User avatar
badnick
Astronaut
Astronaut
Posts: 670
Joined: 2017-03-23, 19:56

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by badnick » 2017-09-26, 19:21

38-42% CPU for me -Videos 1080p/60fps on youtube (Intel I3/Radeon R7 200)
Windows 10 pro /64 (version 1809)
PM last/64

megaman

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by megaman » 2017-09-26, 21:35

AMD A6-6310 laptop (1.8Ghz Quad-Core, with 2.4Ghz Turbo Boost) and iGPU is R4.
When it first started, the video(1080p 60fps) it jumped to 30s in %, but then it dropped where it would linger in the 10s with rare spikes to 20 on CPU, other times it would drop below 10. One core out of your CPU should be more powerful than all my 4 cores combined, so it could be HW that's the problem. I'll try with HW off and Edit.

Edit: HW Off and it was in the 80%, it was barely smooth but it was watchable at least.
Intel HDs are troublesome, indeed.

SGvagon

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by SGvagon » 2017-09-27, 23:18

I like Palemoon, but this problem is very problematic for me. If I disable HW acceleration, the 60FPS fHD videos on Youtube still drains my CPU on 70-80% and videos are stuttering and lagging. So the HW acceleration not working or only half performance? In all other browsers I don't have this problem.
And again, I have Core i7 6700HQ in my MSI laptop GP62 6QF.

User avatar
eskaton
Lunatic
Lunatic
Posts: 474
Joined: 2013-08-23, 19:54

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by eskaton » 2017-09-28, 00:54

IIRC, you have an Intel HD530 and an nVidia 960m in the laptop; you've had three or so threads already posted about various video woes. Moonchild made some suggestions and youve tinkered in Pale Moon Commander with some success. Perhaps you need to create a new, test profile with 27.5 and see how that works.
Also, have you set PM to run on the 960m or the HD 530? Somewhere around version 25 or 26 I had to set PM to run off my Intel igpu instead of the nVidia one as I was having weird behavior with inevitable crashes. If you're running it on the 960m, perhaps changing it to the HD 530 will alleviate your problems.

adisib
Lunatic
Lunatic
Posts: 380
Joined: 2015-06-13, 03:34
Location: KY

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by adisib » 2017-09-28, 01:14

eskaton023 wrote:IIRC, you have an Intel HD530 and an nVidia 960m in the laptop; you've had three or so threads already posted about various video woes. Moonchild made some suggestions and youve tinkered in Pale Moon Commander with some success. Perhaps you need to create a new, test profile with 27.5 and see how that works.
Also, have you set PM to run on the 960m or the HD 530? Somewhere around version 25 or 26 I had to set PM to run off my Intel igpu instead of the nVidia one as I was having weird behavior with inevitable crashes. If you're running it on the 960m, perhaps changing it to the HD 530 will alleviate your problems.
He isn't the only one with hardware acceleration no longer working in 27.5 update, so I'm not sure his specifics are relevant.

SGvagon

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by SGvagon » 2017-09-28, 03:15

Exactly, in previous Palemoon I hadn't got problem with draining CPU (videos not smooth as like in Firefox, but they was OK) , but in PM 27.5.0 youtube videos in fHD on 60FPS drains again on 70-80%. And what about Palemoon Commander addon, yes, I successed with make Palemoon smoothly, but when I activated Layers forcing, I had draining CPU on youtube again (HW acceleration not working with this?) . It's hard to say, but I think that this problem is in the media encoders (MP4, MSE, webm, etc, ... ) , because in releasenote is something about MSE Media updates as I sad.
So I am on Firefox now and will wait for some new updates.
I have incompatible CPU or GPU in it? But other browsers works with this HD 530 GPU, so this problem is maybe really in Palemoon :eh: . I tried almost everything now (reinstalled all drivers, updated Bios, EC Firmware, tried another versions of GPU drivers, set True or False in about:config on GPU or render things, tried clear PM profile, PM Unstable, etc. ) . Firefox, Opera, IE, Chrome still works better (no draining CPU) than Palemoon.

testator777

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by testator777 » 2017-09-28, 05:48

The top picture is 27.4.2 and the bottom is 27.5.0. I have the same problem. Youtube doesn't use hardware acceleration in either version or is just extremely laggy with javascript enabled watching videos. I still get h264 acceleration if I open a video off of youtube though.
Off-topic:
I tested this on linux though and had to throttle my cpu to get a accurate test
Attachments
palemoon-youtube-27.4.2.png
palemoon-youtube-27.5.0.png

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1742
Joined: 2013-05-20, 18:19
Location: Somewhere in Sector 001

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by trava90 » 2017-09-28, 11:47

Might be a few days yet before I have more info but know that I am investigating this.

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1742
Joined: 2013-05-20, 18:19
Location: Somewhere in Sector 001

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by trava90 » 2017-09-28, 21:32

I've just pushed out a new unstable build for Linux that hopefully fixes this issue. Can those on Linux who are experiencing this please download and verify if CPU usage on YouTube 60fps is better with latest unstable?

testator777

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by testator777 » 2017-09-28, 23:21

Latest unstable helped slightly in the proccessing usage. Maybe it really is just javascript using all of that proccessing time up? Playing .mp4's in palemoon I use like 14-21 percent of the throttled proccessor. But with youtube it shoots up to like 70-80%.
Attachments
palemoon-youtube-27.6.0a1.png

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1742
Joined: 2013-05-20, 18:19
Location: Somewhere in Sector 001

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by trava90 » 2017-09-29, 04:55

testator777 wrote:Latest unstable helped slightly in the proccessing usage. Maybe it really is just javascript using all of that proccessing time up?
Thanks for the report. It seems you may be right. I've been experimenting with older SSUAO for YouTube (the one used in Pale Moon 27.4.2, with no other changes), which restores the "old" layout and seems to lessen the CPU usage by a fair amount on my system. A 2nd pull request has been submitted. If merged, I'll push out a new unstable build for folks to try.

adisib
Lunatic
Lunatic
Posts: 380
Joined: 2015-06-13, 03:34
Location: KY

Re: Youtube drain my CPU again on 70-80% CPU after update PM

Unread post by adisib » 2017-09-29, 05:39

I've actually found that the "80% CPU usage, hardware acceleration doesn't seem to be working" is no longer a problem for me at the moment on 27.5, on either the new or old layout. I thought my fan speeds were acting as if the GPU wasn't under load, but maybe it was actually a temporary youtube problem? Maybe it is a hardware acceleration problem, but is only manifesting with edgy conditions? I wonder if anyone else experiencing this issue has had a similar result?

Locked