Mozilla will shut down Pocket’s services on July 8, 2025. At that time users will no longer be able to access the Pocket website, apps and API. You can export your saved items and API data until October 8, 2025 before they are permanently removed. For more information, see this article.

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

Dropped Frames on High Bitrate Youtube Videos Linux when using Global Scaling

During what I assume are high bitrate sections of YouTube videos (e.g. lots of movement, high resolution) YouTube will constantly drop frames.

Video for example: https://www.youtube.com/watch?v=KLuTLF3x9sA

I have tried: • Safe Mode • Installing the Flatpak and testing in that, which also has a fresh profile as I don't use the Flatpak version • Testing different related about:config settings – I can't remember them all now, but I tested every one I found googling that is related to the issue or hardware acceleration.

Hardware acceleration is for sure working. Turning it off makes the video drop to one or two FPS.

Chromium has no problem with the same video. However, you can see from the screenshots that both read the resolution/scaling of my screen differently, and it implies that Firefox is rendering something like 6314 x 3552 while Chromium is rendering at UHD, the resolution of the screen and my video. If I turn off all my Global Scaling, Firefox stops dropping frames (the same info box on YouTube states resolution is UHD), reinforcing my theory about scaling being the issue. Both are confirmed to be using native Wayland.

During what I assume are high bitrate sections of YouTube videos (e.g. lots of movement, high resolution) YouTube will constantly drop frames. Video for example: https://www.youtube.com/watch?v=KLuTLF3x9sA I have tried: • Safe Mode • Installing the Flatpak and testing in that, which also has a fresh profile as I don't use the Flatpak version • Testing different related about:config settings – I can't remember them all now, but I tested every one I found googling that is related to the issue or hardware acceleration. Hardware acceleration is for sure working. Turning it off makes the video drop to one or two FPS. Chromium has no problem with the same video. However, you can see from the screenshots that both read the resolution/scaling of my screen differently, and it implies that Firefox is rendering something like 6314 x 3552 while Chromium is rendering at UHD, the resolution of the screen and my video. If I turn off all my Global Scaling, Firefox stops dropping frames (the same info box on YouTube states resolution is UHD), reinforcing my theory about scaling being the issue. Both are confirmed to be using native Wayland.
Attached screenshots

Chosen solution

The solution is to set widget.wayland.fractional-scale.enabled to true

Read this answer in context 👍 1

All Replies (1)

Chosen Solution

The solution is to set widget.wayland.fractional-scale.enabled to true