v28, Media Source Extensions and hardware video acceleration

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.
_Sandra_

v28, Media Source Extensions and hardware video acceleration

Unread post by _Sandra_ » 2018-12-22, 11:49

In PaleMoon v27.9.4 (32-bit) everything worked correctly. When enabled MSE, youtube.com provides the correct list of available video resolutions and hardware acceleration is used during video playback. The CPU load is small and the video card runs at special frequencies of 500/500 for the hardware video acceleration mode.
v27_1.png
v27_2.png
In PaleMoon v28.2.2 (32-bit) with MSE enabled, the list of video resolutions is large, but there is no hardware acceleration during video playback. The CPU load is large and the video card runs at normal frequencies.
v28_1.png
v28_2.png
If disable MSE then the list of video resolutions becomes small but the hardware video acceleration starts to work.
v28_5.png
v28_3.png
v28_4.png
My OS is Windows 7, x64. PC is HP ProBook 4530s, i3-2330M (Intel Graphics HD 3000) + AMD Radeon HD 6490M

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

Re: v28, Media Source Extensions and hardware video acceleration

Unread post by Moonchild » 2018-12-22, 13:42

Youtube prefers WebM over H.264. It may not be possible on your video hardware/driver combo to use hardware video decoding for WebM (VP9) video, and will fall back to CPU decoding in that case. This is not a bug in the browser but a limitation of your setup -- you can possibly work around it by disabling webm video completely by setting media.webm.enabled to false in about:config.
"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

_Sandra_

Re: v28, Media Source Extensions and hardware video acceleration

Unread post by _Sandra_ » 2018-12-22, 15:29

Moonchild wrote:you can possibly work around it by disabling webm video completely by setting media.webm.enabled to false in about:config.
Yes it works for me. The list of available video resolutions has become like in v27 and hardware acceleration works. Thank you very much!

_Sandra_

Re: v28, Media Source Extensions and hardware video acceleration

Unread post by _Sandra_ » 2018-12-23, 09:07

Is it possible to make the detection of hardware capabilities and automatic configuration?

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

Re: v28, Media Source Extensions and hardware video acceleration

Unread post by Moonchild » 2018-12-23, 09:40

_Sandra_ wrote:Is it possible to make the detection of hardware capabilities and automatic configuration?
No, it is not.
"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

Locked