brave / brave-browser

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

Flickering of fullscreen youtube video. #16396

Open Fooughhy opened 3 years ago

Fooughhy commented 3 years ago

Description

If I view youtube videos (same for Twitch.tv) in fullscreen I get random flickering of the entire video. It presents itself in slightly different ways, but I believe that is random as I haven't noticed that I do anything special to get one variation or the other.

Steps to Reproduce

  1. Open up Brave browser and navigate to youtube.com
  2. Click on any random video
  3. Expand to fullscreen, and wait until the flickering starts

Actual result:

Unfortunately I am unable to show videos of this, as whenever I try (using ShareX in my case) the issue fixes itself. I don't know if ShareX (which uses ffmpeg, I believe) flushes some cache, which fixes it or something but it always becomes fixed once I start recording my screen. But the actual result is usually the entire screen flickering back and forth 5-10 frames. Another possibility is that the control-bar in the lower part of the screen flickers in its transparency. And another and final type is happening because I have an ultrawide monitor (3440x1440). Because of that I get black bars on all videos and sometimes those black bars flicker between black and slightly more grey.

Expected result:

A normal video, playing normally in fullscreen.

Reproduces how often:

Almost every time.

Brave version (brave://version info)

Type Version
Brave 1.25.72 Chromium: 91.0.4472.101 (Official Build) (64-bit)
Revision af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}
OS Windows 10 OS Version 2009 (Build 19042.1052)
JavaScript V8 9.1.269.36
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36
Command Line "C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" --enable-dom-distiller --disable-domain-reliability --no-pings --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --sync-url=https://sync-v2.brave.com/v2 --lso-url=https://no-thanks.invalid --variations-server-url=https://variations.brave.com/seed --enable-features=PrefetchPrivacyChanges,WebUIDarkMode,PasswordImport,ReducedReferrerGranularity,AutoupgradeMixedContent,SafetyTip,WinrtGeolocationImplementation,LegacyTLSEnforced --disable-features=AutofillServerCommunication,IdleDetection,SignedExchangePrefetchCacheForNavigations,HandwritingRecognitionWebPlatformApiFinch,FlocIdComputedEventLogging,HandwritingRecognitionWebPlatformApi,AutofillEnableAccountWalletStorage,FledgeInterestGroupAPI,EnableProfilePickerOnStartup,TextFragmentAnchor,FledgeInterestGroups,InterestCohortFeaturePolicy,InterestCohortAPIOriginTrial,FirstPartySets,SignedExchangeSubresourcePrefetch,DirectSockets,TrustTokens,SubresourceWebBundles,NetworkTimeServiceQuerying,LangClientHintHeader,NotificationTriggers,WebOTP,FederatedLearningOfCohorts,LiveCaption,SharingQRCodeGenerator,TabHoverCards --flag-switches-begin --load-media-router-component-extension=1 --flag-switches-end
Executable Path C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe
Profile Path C:\Users\fough\AppData\Local\BraveSoftware\Brave-Browser\User Data\Default
Variations aed3cac0-3f4a17df7146a73c-3f4a17dfc63a3c82-3f4a17df

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

It seems that the Brave Browser has also become much slower lately, having to buffer the videos on youtube significantly more, without using my resources more (nowhere near fully utilizing CPU/GPU/Memory). Jumping in videos can lag so much that they crash completely, and load endlessly.

ryanbr commented 3 years ago

Which GPU are using? Can you try disabling Hardware Acceleration via brave://settings/system @Fooughhy

Fooughhy commented 3 years ago

That seems to fix the issue after a quick test. I never think that is a solution though. It has worked before, it works with other browsers, so the issue shouldn't be with my GPU. It also works with Chromium, so is there some known issue with Hardware Acceleration on specifically the Brave Browser?

ryanbr commented 3 years ago

It'll depend on the hardware/GPU/drivers @Fooughhy

KittensScythe commented 9 months ago

after all these years seems this is STILL an issue, you can actually get around this without disabling Hardware acceleration (which you honestly should not have to disable it -.-)

if anyone still has or is not getting this issue, type brave://flags/ in your browser and search ANGLE graphics backend and set it to OpenGL. still can't believe this is still an issue but sadly I think it's chromium related or some stupid windows issue.

Alternative is to go to Nvidia Control Panel and turn G-Sync to ONLY FULLSCREEN apps rather than windowed, I sadly found it still flickered violently on YouTube. Honestly I had it worsen on the newest 537.58 nvidia drivers, Not sure if it's more of a problem on 3000 series cards or not as well. I literally thought my gpu was artifacting and dying, just a stupid issue that probably will never actually be fixed...

The-Lionheart-AB commented 2 weeks ago

after all these years seems this is STILL an issue, you can actually get around this without disabling Hardware acceleration (which you honestly should not have to disable it -.-)

if anyone still has or is not getting this issue, type brave://flags/ in your browser and search ANGLE graphics backend and set it to OpenGL. still can't believe this is still an issue but sadly I think it's chromium related or some stupid windows issue.

Alternative is to go to Nvidia Control Panel and turn G-Sync to ONLY FULLSCREEN apps rather than windowed, I sadly found it still flickered violently on YouTube. Honestly I had it worsen on the newest 537.58 nvidia drivers, Not sure if it's more of a problem on 3000 series cards or not as well. I literally thought my gpu was artifacting and dying, just a stupid issue that probably will never actually be fixed...

OH. MY. GOD.

I tried everything, scoured every website for a solution, but nothing seemed to work.

THIS WORKED.

Thank you so much internet stranger! May your pillow be cold forever! :)