Preguntas y respuestas de la comunidad de usuarios de Slimbook

¡Bienvenido al foro de la comunidad!

Si tienes problemas de software, este es tu sitio. Construyamos entre todos un lugar mejor, proporcionando experiencias, información de uso y tips. Si tienes alguna pregunta, procura dar información detallada sobre tu sistema.

Si tienes problemas de hardware, tramita la GARANTÍA AQUÍ, ya que nuestros técnicos no suelen revisar el foro por estar trabajando en reparaciones.

0

Video playback sometimes freezes entire system

Avatar
Leonito

Hi,

On my EVO 15, running Slimbook OS with GNOME, video playback in Firefox sometimes causes the entire system to become extremely slow and unresponsive (I'm talking seconds of input latency on mouse movements, every animation being very slow and dropping frames... it seems like the entire GUI runs at barely one fps). This happens seemingly randomly, sometimes multiple times in a day, sometimes not at all. I've had the issue with at least three different video codecs (AV1, VP9 and HEVC) but others may be affected. The issue never occurred outside of video playback.

When the freeze happens, nothing appears in the syslog. There is still plenty of free RAM, and the CPU isn't at 100%. The only thing a bit weird : at any point one kthread seems to be using of full CPU core, but it alternates between a few ones, including at least kworker/u64:0-flush-259:0 and kworker/u64:5+events_unbound. The specific thread that shows up changes, but it's always just one using ~100% (out of 16000%) CPU, as reported by GNOME's system monitor.

I've tried to recover in a few ways : first of course restarting firefox, but even after it's closed the system remains in this state. Logging out then back in doesn't help either. I even tried to terminate every process with sysrq (tried both e and i) but even after the entire DE is restarted the issue is still the same. Only a full reboot can restore the machine to a usable state.

After the reboot, nothing seems out of place in the syslog or dmesg, it's as if nothing ever happened. The only log that I was able to get : when killing everything with sysrq e, after gnome is terminated the kernel output becomes visible and there, just one line : 

workqueue: drm_fb_helper_damage_work hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND

This line appeared twice, with just the amount of "times" being incremented between the two lines.

The fans are no ramping up, and the laptop does not seem hot to the touch (at least not more than when it's in use).

Has anyone had a similar issue before ?

Thanks.

EVO 15
Avatar
Descartar
5 Respuestas
1
Avatar
Ousama
Mejor respuesta

Dear Leonito,

please can you confirm with GUI session you are using?

you can know by running this command:

echo $XDG_SESSION_TYPE

if you are not using X11 , please try switching to it:

  1. Log out of your session.

  2. At the login screen (GDM):

    • Click your username.

    • Before entering your password, click the gear icon (⚙️) in the bottom right.

    • Select "Ubuntu on Xorg" (or "GNOME on Xorg").

    • Enter your password and log in.

This change persists only for your session — you can repeat it at login.

Once you are in X11, please tell us if it still freezes with firefox and youtube and perform this:

sudo perf record -g -a

then run:

sudo perf report

tell us what results it returns to you.

Does this only happen with Firefox or is it also with chromium browsers?

Please advise.



Avatar
Descartar
0
Avatar
Leonito
Mejor respuesta

Thank you for your answer.

Sorry, I forgot to mention that I'm on Wayland !
After switching to X11, it seems more stable though I haven't had that much time to test so I'll report back if anything changes.

I ran perf record for a few minutes while playing video (youtube and twitch) but I'm not really sure how to share the report, I can only get so much in a screenshot (https://imgur.com/a/tosYmFg) and running perf report > perf.txt gives me a huge, very hard to read file. (first 2k lines here : https://pastebin.com/39XhBXvu)
Should I also try to run it while a freeze is happening in ?

I haven't tested on any other browser as I only use firefox, but I'll try to test that as well.

Avatar
Descartar
0
Avatar
Ousama
Mejor respuesta

Dear Leonito,

thank you for providing the proof in both formats,

there have been some reports of YouTube related issues with Firefox on Wayland, 

make sure you have the latest version of Firefox and the Mozilla Debian Package version instead of the flatpak one.

My best regards.

Avatar
Descartar
0
Avatar
Leonito
Mejor respuesta

I’m actually already using the deb package from the Mozilla PPA.

Have you seen those reports on more general forums/bug trackers or just here ?

thanks for your help.

Avatar
Descartar
0
Avatar
Ousama
Mejor respuesta

Dear Leonito,

on the official Mozilla bugtracker:

https://bugzilla.mozilla.org/buglist.cgi?quicksearch=youtube

If you want to issue your case on there, you can.

Thank you for your swift response and attention.

My best regards.


Avatar
Descartar