Ayuda

¡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.

Video playback sometimes freezes entire system

Cerrado
Avatar
Léonard Foing

La pregunta ha sido cerrada

el 21/10/2025 05:47:44

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.

Avatar
Descartar
10 Respuestas
3
Avatar
Léonard Foing
Mejor respuesta

So after being on Wayland with the kernel option set, I can confirm that it solves the issue. I didn't get a single freeze, even with video playback in multiple codecs.

Avatar
Descartar
2
Avatar
Léonard Foing
Mejor respuesta

Hi,

I ran four passes of Memtest and there was no error.

However, now that I searched for a similar issue without restricting results to video playback I've found this : https://discuss.kde.org/t/complete-system-framerate-drop-spontaneously-after-a-while-on-amd-on-wayland/28281 which describes exactly my issue and gives a potential workaround by using the kernel parameter amdgpu.dcdebugmask=0x10. It also links to a freedesktop gitlab issue where many people seem to have this problem and have provided various reports.
I've added the kernel argument to grub, I'll report back here to confirm whether it fixes the issue.

Thanks

Avatar
Descartar
1
Avatar
Ousama Slimbook
Mejor respuesta

Dear Leonito,

please can you follow this guide to rule out possible faulty memory issues?

https://slimbook.com/en/blog/guides-2/post/rule-out-ram-failure-error-with-memtest86-356

Let us know if it passes completely the tests.

My best regards.

Avatar
Descartar
1
Avatar
Ousama Slimbook
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
Luigi Pirelli
Mejor respuesta

FYI I had the same issue 1 week ago whatching a youtube video. 1 processor was at 100% but top didn't show any process with high consume. Laptop was totally unusable and slow. I had to reboot. Sinche then no more issue. No idea how to replicate.

Avatar
Descartar
0
Avatar
Léonard Foing
Mejor respuesta

Hi,

So the issue has happened again, except this time there was nothing playing in Firefox (I think it wasn't even the focused window). It was on a wayland session. The only "heavy" thing I was running was docker desktop, but even after killing every docker process the system remained frozen and only a full reboot restored it to a usable state.
During the crash I ran perf record and report again, here are the results : https://imgur.com/a/NCW0Zh6 and https://drive.google.com/file/d/1cAm4Nguo0LxbB2-1MMWUIBh4JtK15Nnz/view?usp=sharing (this is only the processes above 0.5% CPU and even then it's almost 1MB large)

Thanks

Avatar
Descartar
0
Avatar
Ousama Slimbook
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
0
Avatar
Léonard Foing
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 Slimbook
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
Léonard Foing
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