Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
what's te advantage of angle in chromium?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
jpsollie
Apprentice
Apprentice


Joined: 17 Aug 2013
Posts: 291

PostPosted: Wed Oct 13, 2021 5:31 am    Post subject: what's te advantage of angle in chromium? Reply with quote

I thought disabling anlge in chromium (use-gl=desktop) would improve performance, as it would talk to radeonsi directly
This, however, seems complletely wrong: when not using angle in chromium, the system load when playing videos is 33% higher. Due to the use of widevine, hardware playback is not possible.
so, how does this angle API work? what's it advantage over radeonsi in mesa?
_________________
The power of Gentoo optimization (not overclocked): [img]https://www.passmark.com/baselines/V10/images/503714802842.png[/img]
Back to top
View user's profile Send private message
Tatsh
Apprentice
Apprentice


Joined: 22 Jul 2007
Posts: 187

PostPosted: Sun Nov 07, 2021 11:30 am    Post subject: Reply with quote

ANGLE is mostly a wrapper for all APIs to map OpenGL calls on any platform. It works with OpenGL, Vulkan, D3D, Metal. It's just so Google can manage the intricacies in a separate library. For details go to chrome://gpu to see your own system's graphics quirks.

Nothing in Chrome is going to talk to your card directly (given that there's Mesa or equivalent somewhere in the chain, there's no exact definition of 'direct'). There are many paths the code takes before it gets to your graphics card, one being ANGLE.

You may want to try some flags in chrome://flags to improve performance.
Back to top
View user's profile Send private message
Tatsh
Apprentice
Apprentice


Joined: 22 Jul 2007
Posts: 187

PostPosted: Sun Nov 07, 2021 11:33 am    Post subject: Reply with quote

Also, Widevine does not block hardware accelerated playback. It is just a software method to decrypt content, but the decrypted content can still be rendered with the GPU. Most websites that use Widevine are not going beyond 1080p, or even 720p, so hardware acceleration is not exactly necessary.

In the case of Linux, Gentoo does not patch Chromium to enable hardware decoding and Google does not support hardware decoding on Linux at all (except on the special ChromeOS build).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum