When I go to YouTube, the browser becomes a little slow


Description of the issue:
When I go to YouTube and play or preview a video, the YouTube page starts flickering and the browser becomes very slow. Then, when I access brave://gpu/, I see that the hardware acceleration features are disabled. After that, the CPU temperature starts rising from 45°C to 68°C, the browser becomes slow, and videos lag.
How can this issue be reproduced?

  1. I open YouTube.

  2. I hover the cursor over any video to preview it or select it to play.

  3. The YouTube page starts flickering, hardware acceleration is disabled, the browser becomes slow, and videos lag.

Expected result:

Prevent the browser from becoming slow when accessing YouTube.

Brave Version( check About Brave): Brave 1.87.191 (Compilación oficial) (64 bits)

Chromium: 145.0.7632.120

Additional Information:

Things I’ve already tried:

- Cleared cookies and history.

- Reset the browser to factory settings.

- Removed all extensions.

- Created a new user profile with nothing installed.

- Reinstalled the browser from scratch using the official channels.

- Disabled hardware/GPU acceleration.

- I tried Brave beta and Brave Nightly and the problem is the same.I tried the Brave version in a flatpak package, ironically it works very well even though the Brave download website warns us that it doesn’t work well and I wasn’t able to replicate the problem, it only happens with the official packages.

I tried all of that, and the problem persists. I tested other browsers, and they work fine. Again, this only happens on Linux Mint 22.3; I haven’t tried other distributions.

Here’s a video where I demonstrate the problem.

**My System:
**
System:
Kernel: 6.17.0-14-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: hpet
Desktop: Cinnamon v: 6.6.7 tk: GTK v: 3.24.41 wm: Muffin v: 6.6.3 vt: 7 dm: LightDM v: 1.30.0
Distro: Linux Mint 22.3 Zena base: Ubuntu 24.04 noble
Machine:
Type: Laptop System: LENOVO product: 82KT v: IdeaPad 3 14ALC6 serial:
Chassis: type: 10 v: IdeaPad 3 14ALC6 serial:
Mobo: LENOVO model: LNVNB161216 v: SDK0T76463WIN serial:
part-nu: LENOVO_MT_82KT_BU_idea_FM_IdeaPad 3 14ALC6 uuid: UEFI: LENOVO
v: GLCN51WW date: 09/28/2022
Battery:
ID-1: BAT0 charge: 25.9 Wh (79.0%) condition: 32.8/38.0 Wh (86.4%) power: 6.4 W volts: 8.1
min: 7.7 model: SMP L20M2PF0 type: Li-poly serial: status: discharging cycles: 1443
CPU:
Info: quad core model: AMD Ryzen 3 5300U with Radeon Graphics bits: 64 type: MT MCP smt: enabled
arch: Zen 2 rev: 1 cache: L1: 256 KiB L2: 2 MiB L3: 4 MiB
Speed (MHz): avg: 1397 min/max: 413/3900 boost: enabled cores: 1: 1397 2: 1397 3: 1397 4: 1397
5: 1397 6: 1397 7: 1397 8: 1397 bogomips: 41521
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Lucienne vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s
lanes: 16 ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:164c class-ID: 0300
temp: 41.0 C
Device-2: IMC Networks Integrated Camera driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
lanes: 1 bus-ID: 1-3:3 chip-ID: 13d3:56ff class-ID: 0e02
Display: x11 server: X .Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
Monitor-1: eDP-1 mapped: eDP model: AU Optronics 0x403d res: 1920x1080 hz: 60 dpi: 158
size: 309x173mm (12.17x6.81") diag: 354mm (13.9") modes: max: 1920x1080 min: 640x480
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi device: 1 drv: swrast
gbm: drv: kms_swrast surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.2.8-0ubuntu0.24.04.1 glx-v: 1.4
direct-render: yes renderer: AMD Radeon Graphics (radeonsi renoir ACO DRM 3.64 6.17.0-14-generic)
device-ID: 1002:164c
API: Vulkan v: 1.3.275 layers: 7 surfaces: xcb,xlib device: 0 type: integrated-gpu driver: N/A
device-ID: 1002:164c device: 1 type: cpu driver: N/A device-ID: 10005:0000
Audio:
Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel
pcie: speed: 8 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:1637 class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A pcie: speed: 8 GT/s
lanes: 16 bus-ID: 03:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
speed: 8 GT/s lanes: 16 bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.17.0-14-generic status: kernel-api
Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Lenovo
driver: rtw88_8822ce v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 01:00.0
chip-ID: 10ec:c822 class-ID: 0280
IF: wlp1s0 state: up mac:
Bluetooth:
Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0 speed: 12 Mb/s lanes: 1
bus-ID: 3-4:2 chip-ID: 0bda:c123 class-ID: e001 serial:
Report: hciconfig ID: hci0 rfk-id: 5 state: down bt-service: enabled,running rfk-block:
hardware: no software: yes address:
Drives:
Local Storage: total: 476.94 GiB used: 143.63 GiB (30.1%)
ID-1: /dev/nvme0n1 vendor: Micron model: MTFDHBA512QFD size: 476.94 GiB speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: fw-rev: 0013P6LN temp: 41.9 C scheme: GPT
Partition:
ID-1: / size: 284.38 GiB used: 143.6 GiB (50.5%) fs: ext4 dev: /dev/nvme0n1p5
ID-2: /boot/efi size: 96 MiB used: 31.4 MiB (32.7%) fs: vfat dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-2:2 info: Logitech M185 compact wireless mouse type: mouse
driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s lanes: 1 power: 50mA
chip-ID: 046d:c542 class-ID: 0301
Device-2: 1-3:3 info: IMC Networks Integrated Camera type: video driver: uvcvideo interfaces: 2
rev: 2.0 speed: 480 Mb/s lanes: 1 power: 500mA chip-ID: 13d3:56ff class-ID: 0e02
Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-4:2 info: Realtek Bluetooth Radio type: bluetooth driver: btusb interfaces: 2
rev: 1.0 speed: 12 Mb/s lanes: 1 power: 500mA chip-ID: 0bda:c123 class-ID: e001 serial:
Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 41.9 C mobo: N/A gpu: amdgpu temp: 40.0 C
Fan Speeds (rpm): N/A
Repos:
Packages: 2366 pm: dpkg pkgs: 2334 pm: flatpak pkgs: 32
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/libreoffice-ppa-noble.list
1: deb [signed-by=/etc/apt/keyrings/libreoffice-ppa-noble.gpg] https: //ppa. launchpadcontent.n et/libreoffice/ppa/ubuntu noble main
Active apt repos in: /etc/apt/sources.list.d/megasync.list
1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https: //meg a.nz/linux/repo/xUbuntu_24.04/ ./
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: // p ack a ges . linu xmint . com zena main upstream import backport
2: deb http: //archi ve.ubu ntu. c om/ ubunt u noble main restricted universe multiverse
3: deb http: //arc hive. ubuntu. com/ubuntu noble-updates main restricted universe multiverse
4: deb http: // archive .ubuntu.com/ubuntu noble-backports main restricted universe multiverse
5: deb http: // security ubuntu .com/ ubuntu/ noble-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/brave-browser-beta.sources
1: deb [arch=amd64 arm64] https: // brave-browser-apt-beta .s3.brave.com stable main
Active apt repos in: /etc/apt/sources.list.d/brave-browser-nightly.sources
1: deb [arch=amd64 arm64] https: // brave-browser-apt-nightly. s3 .brave.com stable main
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.sources
1: deb [arch=amd64 arm64] https: // brave-browser-apt-release .s3.brave.com stable main
Active apt repos in: /etc/apt/sources.list.d/winehq-noble.sources
1: deb [arch=amd64 i386] https: // dl.winehq .org/wine-builds/ubuntu noble main
Info:
Memory: total: 20 GiB note: est. available: 17.41 GiB used: 9.88 GiB (56.8%)
Processes: 387 Power: uptime: 4h 16m states: freeze,mem,disk suspend: deep wakeups: 2
hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical
Compilers: gcc: 13.3.0 Client: Unknown python3.12 client inxi: 3.3.34

HW Acceleration being disabled will offload video decode to the CPU, which is much slower

My experience with anything Chrome on Linux is that a lot of times, GPU acceleration just turns off.

If you go to brave://flags and look for this setting, enabling it should kickstart it, if your GPU is working correctly (even though Chrome/Brave thinks it’s not).

Thank you for your response, but I’ve already enabled what you suggested, and the problem persists. When monitoring brave://gpu/, the functions are disabled when I open YouTube and preview a video with the mouse pointer. Clicking on a video causes lag, the CPU temperature rises, and the fans start running. However, this doesn’t happen with the Flatpak package; the GPU functions are always active, and the CPU stays cool.

Sorry, didn’t know. You didn’t mention this in what troubleshooting you’ve done.

Now this is interesting, I’ll leave this one with a dev because that is quite interesting and might be a corrupt file (possibly Local State).

I have hardware acceleration enabled, but the problem is that it automatically disables when I preview or play a video on YouTube. The browser then starts to slow down, and the CPU temperature rises considerably. This doesn’t happen with other browsers.

Sorry, didn’t know. You didn’t mention what troubleshooting you’ve done.

In the “Things I’ve already tried” section, it mentions all the measures I applied to try to find the solution.

Now this is interesting, I’ll leave this one with a dev because that is quite interesting and might be a corrupt file (possibly Local State).

Thanks, another thing I can mention is that it only happens on this system. I have a desktop PC with the same Linux distribution and the same kernel and there are no problems with the browser; it seems to only fail on this hardware configuration.

Nowhere once did you mention you went into flags to override the software rendering list.

That’s also an older un-edited quote which was edited a bit before you replied, but it stands.

image
(“this in” was added)

Nowhere.

With that, I’m gonna let someone else help. I’m not keen on this kind of “I already said…” when your post is still there and no, not once did you actually say that step.

Since I’m fairly certain you’ll point to this, this does not once mention or infer flags. This infers the primary setting under brave://settings/system which would be…
image

These two are not the same.

Override software rendering list

Overrides the built-in software rendering list and enables GPU-acceleration on unsupported system configurations. – Mac, Windows, Linux, ChromeOS, Android

#ignore-gpu-blocklist

Sorry, I don’t think I understood myself well, my English is not very good, I meant that I enabled the “Override software rendering list” section, as you suggested, but the problem persists.