brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.73k stars 2.31k forks source link

Frame drops in YouTube videos at 2K/4K resolution in AMD laptops #38866

Open ghost opened 4 months ago

ghost commented 4 months ago

Description

Due to AMD FreeSync, there is frame drops while watching YouTube videos at 2K or 4K resolution, especially when the video FPS is at 60. It is happening when the screen resolution is at high refresh rate (such as 144 Hz) and the device is having AMD iGPU and (possibly) AMD dGPU. It might be reproducible even with desktops having AMD iGPU, but I could not test on one.

No such issues can be experienced in Firefox, Chrome, Edge and Vivaldi. Earlier, it was happening even in Vivaldi, but it seems it was fixed by AMD or Vivaldi developers.

Known workarounds:

  1. Disable AMD FreeSync using AMD Adrenaline Software for Brave browser.
  2. Use OpenGL rendering for Choose ANGLE graphics backend in brave://flags/. (causes high CPU usage)
  3. Rename brave.exe to chrome.exe. (causes Windows' defaults to reset)

Tested on two laptops, one having Ryzen 7 5800H with RX6600M dGPU and another having Ryzen 9 5900H with RX6600M. All drivers were up-to-date, for both iGPU and dGPU.

Steps to reproduce

  1. Open any YouTube video which is available in 2K or 4K, especially at 60 FPS, in fullscreen.
  2. Set the video to highest resolution and enable Stats for Nerds.
  3. Check the frames dropped section.

Actual result

On watching videos at 2K or 4K resolution, we can see there are frame drops.

Expected result

There should not be any frame drops.

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Brave: 1.66.118 Chromium: 125.0.6422.147 (Official Build) (64-bit) Revision: 07af53490e0a52336cfb99a376f87671be258049 OS: Windows 11 Version 23H2 (Build 22631.3593)

Channel information

Reproducibility

Miscellaneous information

No response

Brave-Matt commented 4 months ago

Seeing a few more users with these frame drop issues — cc @rebron if you know who can take a look at this

Brave-Matt commented 4 months ago

+1 https://community.brave.com/t/youtube-frame-drops-with-amd-freesync/551966/10

supriyoch commented 3 months ago

Hi, just saw this and wanted to report that this has been a prevalent issue with Brave for years. Whenever I'm watching a 1080p 60 or a 1440p or higher resolution video, there are issues with full-screen freezes on other sites like X too. There are frame drops at the beginning, and the screen will almost always freeze for 3-4 seconds when going fullscreen or seeking the video.

I'm using a 1440p 165Hz monitor and a 6700xt GPU, Driver Version: Adrenalin 24.5.1 Brave version: [Version 1.67.123] Windows 11 Latest

GundamSenpai commented 3 months ago

Hi just wanted to confirm this happens on nvidia gpu as well. so the issue is not exclusive to amd or nvidia.

other browsers like edge dont have this issue for me.