You are not logged in.

#1 2024-12-10 08:07:47

t0kkaaa
Member
Registered: 2024-12-10
Posts: 4

Arch on GNOME randomly starts lagging while watching YouTube videos.

Hello there, I'm newbie user of Arch and I do not understand what is going on. This problem isn't depending to time. It can occur after reboot and after some time from reboot. I checked many of forums about that and nothing worked.
I tried:
Changing browser (Tried firefox, chromium, chrome, vivaldi)
Reinstall Arch
Try other distro(On Ubuntu, Manjaro, Fedora problem doesn't occurs.)

Maybe I need some packages, which does't installed with Arch by default?

Specs:
PC: Xiaomi Redmibook Pro 15 2023
Processor: AMD Ryzen 7 7840HS
Video: Radeon 780M Graphics
RAM: 16GB (3 gigabytes of which is occupied by the graphics core video memory)
Kernel: 6.12.1-zen1-1-zen
GNOME: 47.1
WM: Mutter

I'm sorry for my English, don't know it so much.

What do I need to send here so that you can fully help me?

Offline

#2 2024-12-10 08:18:47

t0kkaaa
Member
Registered: 2024-12-10
Posts: 4

Re: Arch on GNOME randomly starts lagging while watching YouTube videos.

What I noticed when the problem appears:
Only one of the 16 processor threads is loaded at 100%, then the load is distributed between 2 threads 40/60. The remaining threads are loaded no more than 2%. The RAM is loaded at this moment by 5-6 GB. Disabling the browser process does not save the situation.

Offline

#3 2024-12-10 09:17:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,713

Re: Arch on GNOME randomly starts lagging while watching YouTube videos.

I'm sorry for my English, don't know it so much.

https://deepl.com/

https://wiki.archlinux.org/title/Hardwa … celeration

vainfo

Which processes cause the CPU load?
Is this gnome on wayland or X11? Does it make a difference?

Edit: https://bbs.archlinux.org/viewtopic.php … 4#p2213224
But that'd seem odd on a single GPU system.

Last edited by seth (2024-12-10 09:19:38)

Offline

#4 2024-12-10 20:46:16

t0kkaaa
Member
Registered: 2024-12-10
Posts: 4

Re: Arch on GNOME randomly starts lagging while watching YouTube videos.

seth wrote:

Which processes cause the CPU load?

https://imgur.com/a/mKYL8C8 - htop screenshot about memory and cpu load.

seth wrote:

Is this gnome on wayland or X11? Does it make a difference?

Gnome on wayland. On X11 same problem.

Sorry for the long reply, but this problem hasn't appeared since the post today.

Last edited by t0kkaaa (2024-12-10 20:50:48)

Offline

#5 2024-12-10 20:50:08

t0kkaaa
Member
Registered: 2024-12-10
Posts: 4

Re: Arch on GNOME randomly starts lagging while watching YouTube videos.

seth wrote:

vainfo

https://imgur.com/a/nIDT576

Last edited by t0kkaaa (2024-12-10 20:50:29)

Offline

#6 2024-12-10 21:08:42

icar
Member
Registered: 2020-07-31
Posts: 561

Re: Arch on GNOME randomly starts lagging while watching YouTube videos.

It seems you have vaapi working, reading the vainfo output. You might be watching a high resolution video and your CPU can't keep up.

Try enabling vaapi in Firefox: https://wiki.archlinux.org/title/Firefo … celeration

Additionally, try playing a video with a video player that uses your GPU, such as Clapper https://flathub.org/apps/com.github.rafostar.Clapper

Last edited by icar (2024-12-10 21:10:46)

Offline

#7 2024-12-10 22:38:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,713

Re: Arch on GNOME randomly starts lagging while watching YouTube videos.

Or mpv - and please don't post pictures of text, post the text.

Why is it using the gallium driver?
Try to "export LIBVA_DRIVER_NAME=radeonsi"

The htop screenshot doesn't show any particular GPU load.
Fwwi, hw acceleration in browsers is a matter in and by itself and for chromium specifically see https://bbs.archlinux.org/viewtopic.php?id=244031&p=44

Offline

Board footer

Powered by FluxBB