YouTube isn't exactly a model of stability, but it's not always to blame. Some conflicts come from the browser itself, whose frequent updates can introduce regressions and performance problems.
I first ran into this issue a few months ago: every time I tried to scroll through YouTube with a video playing, Chrome went into an unbearable break dance, dropping frames and ruining the experience. Following the usual elimination process, I tried updating video drivers and other Chromium variants, but the problem persisted. Only when I switched to Firefox did I realize that this YouTube problem seemed specific to Chrome and its Chromium relatives.
A bit of Google-fu led me to the Nvidia driver release notes, where I found error 3129705: «Video playback stutters while scrolling down the YouTube page». However, based on reports from many web users, the errors aren't limited to Nvidia hardware; they also affect computers with AMD graphics. So what's the solution? It's actually a workaround hidden in the browser's flags section.
How to Fix YouTube Problems in Chrome
- Go to chrome://flags/
- Look for an option called «ANGLE»
- Change «Choose ANGLE graphics backend» from Default to D3D9
- If you don't see an improvement, try OpenGL
- You'll need to restart the browser each time you change this parameter
What is ANGLE? It's Almost Native Graphics Layer Engine, an abstraction layer for graphics engines developed by Google. In simple terms, it works like a portable version of OpenGL, translating OpenGL calls into Direct3D. By changing that parameter in chrome://flags/, we're defining the graphics backend for ANGLE, and on many configurations the Default option can cause browser meltdowns.
Problems with YouTube in Chrome are just a symptom. Many users have reported video and streaming failures on sites like Reddit, as well as animated GIF playback. D3D9 and OpenGL are the most commonly cited "solutions", but don't hesitate to experiment with the others. Good luck!