60FPS Youtube videos drain my CPU on 60-70% Topic is solved

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

60FPS Youtube videos drain my CPU on 60-70%

Unread post by SGvagon » 2017-09-15, 10:35

Hello,

I have problem on Youtube, when I play videos in 60FPS. I have Core i7 6700HQ and playing these videos drains my CPU on 60-70% . In Opera, Chrome or Firefox is normal CPU usage (10-15%) .
Non 60FPS videos works in Palemoon with normal CPU usage, but 60FPS not.
Thank you in advance.
Image

SGvagon

Re: 60FPS Youtube videos drain my CPU on 60-70%

Unread post by SGvagon » 2017-09-15, 10:37

And Firefox
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35635
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: 60FPS Youtube videos drain my CPU on 60-70%

Unread post by Moonchild » 2017-09-15, 10:49

Example video?
Help -> troubleshooting information on both Pale Moon and Firefox?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

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

Re: 60FPS Youtube videos drain my CPU on 60-70%

Unread post by satrow » 2017-09-15, 10:50

Full screen?

Screen resolution?

SGvagon

Re: 60FPS Youtube videos drain my CPU on 60-70%

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

Every 60FPS video on youtuhe makes this CPU usage
On screenshot is this video https://youtu.be/x1c6twt8jsg
Troubleshoot is in the attachments
It drains CPU constantly, on Fullscreen or in windowed, I have Full HD display.
Attachments
PM Info.txt
(3.64 KiB) Downloaded 24 times
FF Info.txt
(11.24 KiB) Downloaded 18 times

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35635
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: 60FPS Youtube videos drain my CPU on 60-70%

Unread post by Moonchild » 2017-09-15, 10:56

Picked a video with 60fps available. No issue.
Attachments
60fps-yt-lowcpu.png
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35635
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: 60FPS Youtube videos drain my CPU on 60-70%

Unread post by Moonchild » 2017-09-15, 11:00

You don't have hardware acceleration in Pale Moon.
AzureCanvasBackend: skia
AzureContentBackend: cairo
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0
But you do in Firefox:
AzureCanvasAccelerated: 0
AzureCanvasBackend: direct2d 1.1
AzureContentBackend: direct2d 1.1
AzureFallbackCanvasBackend: skia
That is your (and only) reason that the CPU usage is high, because it will use the CPU to decode the video in this case.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

SGvagon

Re: 60FPS Youtube videos drain my CPU on 60-70%

Unread post by SGvagon » 2017-09-15, 11:08

So, what should I do, for turn on it?
I have already HW acceleration enabled in PM settings
Image

SGvagon

Re: 60FPS Youtube videos drain my CPU on 60-70%

Unread post by SGvagon » 2017-09-15, 14:10

Oh dear, it did Forcing layers acceleration in Palemoon Commander addon. It really speeds up my Palemoon, but maybe disabling GPU in CPU. So I uncheck this and 60FPS videos on Youtube now OK.
Image

RJARRRPCGP
Lunatic
Lunatic
Posts: 400
Joined: 2015-06-22, 19:48
Location: USA (North Springfield, Vermont)
Contact:

Re: 60FPS Youtube videos drain my CPU on 60-70%

Unread post by RJARRRPCGP » 2017-09-15, 15:22

Bad news, looks like for the Pentium N3700, which is Braswell, it don't work and acts like I'm on a Vista-era beater!

The only thing that's better was with VLC! But VLC fails at jumping to a different stream location, the video keeps freezing indefinitely...

Locked