This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox refuses to use hardware video decoding on MacOS

  • 2 பதிலளிப்புகள்
  • 0 இந்த பிரச்னைகள் உள்ளது
  • 8 views
  • Last reply by anka.213

Whenever I play a YouTube video, the fans start spinning and Firefox uses over 100% CPU, most of which is from the media decoding thread. This problem does not occur in Google Chrome. Looking at the section in the troubleshooting info about media decoding, it seems like none of the media formats have hardware decoding enabled, but I have no clue why. I'm confident that the computer does support hardware decoding for them. I have a 2019 MacBook Pro.

I have tried creating a fresh clean Firefox profile but it does not help. Any other clues on how to troubleshoot this?

Whenever I play a YouTube video, the fans start spinning and Firefox uses over 100% CPU, most of which is from the media decoding thread. This problem does not occur in Google Chrome. Looking at the section in the troubleshooting info about media decoding, it seems like none of the media formats have hardware decoding enabled, but I have no clue why. I'm confident that the computer does support hardware decoding for them. I have a 2019 MacBook Pro. I have tried creating a fresh clean Firefox profile but it does not help. Any other clues on how to troubleshoot this?
Attached screenshots

All Replies (2)

Does it make any difference if you go to about:config and change layers.acceleration.force-enabled and media.hardware-video-decoding.force-enabled to true then restart the browser?

@zeroknight I think it might be helping, but I'm not 100% sure. There is still a significant cpu usage by the data decoder thread, but it seems to be lower. I don't know what cpu usage I should expect from "Data Decoder" when hardware decoding is being used.

An issue I have with debugging this is that I haven't found a way to know for sure if hardware decoding is used or not, other than guessing from CPU usage. Do you know how to determine if hardware decoding is being used or not?

edit: nope, it doesn't seem to have helped

anka.213 மூலமாக திருத்தப்பட்டது