So I noticed that the fans of my Dell XPS 9560 kick in whenever I'm watching YouTube. I looked at CPU usage with top and powertop and 'Web Content' uses 50-90% of CPU. I googled a ton and it appears that Firefox just does not use hardware acceleration on Linux. So I followed every guide out there, changed every about:config line that is spoken of but the CPU usage is still the same. This is really annoying to me as I watch a lot of YT and my laptop is pretty powerful so this should not be the case. I tried both the Intel and Nvidia GPU but that is not the issue. Has somebody here found a solution?

I really searched all of AU and google but none of the solutions so far work.

Specs:

Intel i7-7700HQ

16 GB DDR4 -2400MHz

Cheers