Fedora 33 freezes when watching video in firefox

When I watch video in firefox, the entire system will freeze sooner or later. The last second or two of the video’s audio will loop and the system is unresponsive. I can’t change tty for example and I have to hold the power button to turn the machine off.

This happened on Xorg as well as wayland. I have an R9 270 + Xeon X5660.

Here is an older post from last year that I think is relevant:

Someone there advised to run journalctl -b -1 -k -p5 -r to gather diagnostic data so here is the output of that if it is any use:

> -- Logs begin at Tue 2021-01-12 05:41:14 GMT, end at Fri 2021-01-15 01:02:22 GMT. --
Jan 14 23:30:34 localhost.localdomain kernel: BUG: Bad page state in process swapper/4  pfn:28a9ea
Jan 14 22:41:07 localhost.localdomain kernel: radeon_dp_aux_transfer_native: 32 callbacks suppressed
Jan 14 22:40:59 localhost.localdomain kernel: mgag200 0000:06:04.0: swiotlb buffer is full (sz: 2097152 bytes), total 32768 (slots), used 257 (slots)
Jan 14 22:40:59 localhost.localdomain kernel: swiotlb_tbl_map_single: 88 callbacks suppressed
Jan 14 22:40:56 localhost.localdomain kernel: radeon_dp_aux_transfer_native: 242 callbacks suppressed
Jan 14 22:40:46 localhost.localdomain zram_generator::generator[769]: Creating dev-zram0.swap for /dev/zram0 (4096MB)
Jan 14 22:40:46 localhost.localdomain systemd-sysv-generator[767]: SysV service '/etc/rc.d/init.d/livesys-late' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a >
Jan 14 22:40:46 localhost.localdomain systemd-sysv-generator[767]: SysV service '/etc/rc.d/init.d/livesys' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a nativ>
Jan 14 22:40:45 localhost.localdomain kernel: kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using workaround
Jan 14 22:40:44 localhost.localdomain kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
Jan 14 22:40:44 localhost.localdomain kernel: cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Jan 14 22:40:44 localhost.localdomain kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database
Jan 14 22:40:44 localhost.localdomain kernel: lpc_ich: Resource conflict(s) found affecting gpio_ich
Jan 14 22:40:44 localhost.localdomain kernel: ACPI Warning: SystemIO range 0x0000000000000828-0x000000000000082F conflicts with OpRegion 0x0000000000000800-0x000000000000084F (\PMRG) (20200925/utaddress-204)
Jan 14 22:40:44 localhost.localdomain kernel: i2c i2c-10: Systems with more than 4 memory slots not supported yet, not instantiating SPD
Jan 14 22:40:44 localhost.localdomain systemd[1]: /usr/lib/systemd/system/mcelog.service:8: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altog>
Jan 14 22:40:44 localhost.localdomain systemd[1]: /usr/lib/systemd/system/alsa-restore.service:15: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the settin>
Jan 14 22:40:44 localhost.localdomain systemd[1]: /usr/lib/systemd/system/plymouth-start.service:15: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please upda>
Jan 14 22:40:44 localhost.localdomain zram_generator::generator[522]: Creating dev-zram0.swap for /dev/zram0 (4096MB)
Jan 14 22:40:44 localhost.localdomain systemd-sysv-generator[520]: SysV service '/etc/rc.d/init.d/livesys-late' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a >
Jan 14 22:40:44 localhost.localdomain systemd-sysv-generator[520]: SysV service '/etc/rc.d/init.d/livesys' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a nativ>
Jan 14 22:40:42 localhost.localdomain kernel: audit: type=1334 audit(1610664042.271:25): prog-id=10 op=LOAD
Jan 14 22:40:42 localhost.localdomain kernel: audit: type=1334 audit(1610664042.271:24): prog-id=9 op=LOAD
Jan 14 22:40:42 localhost.localdomain kernel: audit: type=1334 audit(1610664042.113:23): prog-id=6 op=UNLOAD
Jan 14 22:40:42 localhost.localdomain kernel: audit: type=1334 audit(1610664042.113:22): prog-id=7 op=UNLOAD
Jan 14 22:40:42 localhost.localdomain kernel: audit: type=1334 audit(1610664042.113:21): prog-id=8 op=UNLOAD
Jan 14 22:40:42 localhost.localdomain kernel: audit: type=1334 audit(1610664042.107:20): prog-id=3 op=UNLOAD
Jan 14 22:40:42 localhost.localdomain kernel: audit: type=1334 audit(1610664042.107:19): prog-id=4 op=UNLOAD
Jan 14 22:40:42 localhost.localdomain kernel: audit: type=1334 audit(1610664042.107:18): prog-id=5 op=UNLOAD
Jan 14 22:40:42 localhost.localdomain kernel: audit: type=1130 audit(1610664042.062:17): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-fsck-root comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? t>
Jan 14 22:40:42 localhost.localdomain kernel: audit: type=1130 audit(1610664042.037:16): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=dracut-initqueue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? te>
Jan 14 22:40:42 localhost.localdomain kernel: kauditd_printk_skb: 5 callbacks suppressed
Jan 14 22:40:42 localhost.localdomain kernel: CRAT table not found
Jan 14 22:40:40 localhost.localdomain kernel: sd 6:0:0:0: [sdc] Attached SCSI removable disk
Jan 14 22:40:40 localhost.localdomain kernel: random: 7 urandom warning(s) missed due to ratelimiting
Jan 14 22:40:40 localhost.localdomain kernel: random: crng init done
Jan 14 22:40:39 localhost.localdomain kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through
Jan 14 22:40:39 localhost.localdomain kernel: sd 6:0:0:0: [sdc] No Caching mode page found
Jan 14 22:40:39 localhost.localdomain kernel: sd 6:0:0:0: [sdc] Write Protect is off
Jan 14 22:40:39 localhost.localdomain kernel: sd 6:0:0:0: [sdc] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB)
Jan 14 22:40:39 localhost.localdomain kernel: sd 6:0:0:0: Attached scsi generic sg2 type 0
Jan 14 22:40:39 localhost.localdomain kernel: scsi 6:0:0:0: Direct-Access              USB DISK 2.0     PMAP PQ: 0 ANSI: 6
Jan 14 22:40:39 localhost.localdomain kernel: random: fast init done
Jan 14 22:40:38 localhost.localdomain kernel: audit: type=1334 audit(1610664038.758:10): prog-id=6 op=LOAD
Jan 14 22:40:38 localhost.localdomain kernel: audit: type=1130 audit(1610664038.757:9): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=dracut-pre-udev comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? term>
Jan 14 22:40:38 localhost.localdomain kernel: audit: type=1130 audit(1610664038.731:8): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=dracut-cmdline comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? termi>
Jan 14 22:40:38 localhost.localdomain kernel: audit: type=1130 audit(1610664038.723:7): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr>
Jan 14 22:40:38 localhost.localdomain kernel: audit: type=1130 audit(1610664038.707:6): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? ter>
Jan 14 22:40:38 localhost.localdomain kernel: audit: type=1130 audit(1610664038.687:5): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=dracut-cmdline-ask comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? t>
Jan 14 22:40:38 localhost.localdomain kernel: audit: type=1130 audit(1610664038.668:4): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-vconsole-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr>
Jan 14 22:40:38 localhost.localdomain kernel: audit: type=1130 audit(1610664038.665:3): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-sysctl comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? termi>
lines 1-52

does it freeze when video is played with Video or VLC?

I played a movie for 10 minutes or so in Gnome Videos and it didn’t freeze. I then played a video in rpm firefox for 10 minutes or so and it also didn’t freeze.

I was using flathub firefox before and that was what was freezing. I’ll test again on that to see if it still does.

Unfortunately I’ve come across this issue outside of video too. When I install flathub gnome builder then the system freezes during installation. I did this twice in the software centre and once through command line and each time the system froze so it was reproducible.

It also freezed 2 times without watching video although I don’t exactly know what was taking place then. I don’t believe it to be a hardware issue since I was doing all these things on Pop!_OS before fedora and it all worked fine.

Here is the journal ctl command after the installation crash too:

> -- Logs begin at Tue 2021-01-12 05:41:14 GMT, end at Sun 2021-01-17 01:08:00 GMT. --
Jan 17 01:05:15 localhost.localdomain kernel: BUG: Bad page state in process swapper/4  pfn:2d4452
Jan 16 21:39:12 localhost.localdomain kernel: radeon_dp_aux_transfer_native: 32 callbacks suppressed
Jan 16 21:38:58 localhost.localdomain kernel: mgag200 0000:06:04.0: swiotlb buffer is full (sz: 2097152 bytes), total 32768 (slots), used 257 (slots)
Jan 16 21:38:58 localhost.localdomain kernel: swiotlb_tbl_map_single: 88 callbacks suppressed
Jan 16 21:38:54 localhost.localdomain kernel: radeon_dp_aux_transfer_native: 284 callbacks suppressed
Jan 16 21:38:44 localhost.localdomain kernel: kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using workaround
Jan 16 21:38:43 localhost.localdomain kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
Jan 16 21:38:43 localhost.localdomain kernel: cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Jan 16 21:38:43 localhost.localdomain kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database
Jan 16 21:38:43 localhost.localdomain kernel: i2c i2c-10: Systems with more than 4 memory slots not supported yet, not instantiating SPD
Jan 16 21:38:43 localhost.localdomain kernel: lpc_ich: Resource conflict(s) found affecting gpio_ich
Jan 16 21:38:43 localhost.localdomain kernel: ACPI Warning: SystemIO range 0x0000000000000828-0x000000000000082F conflicts with OpRegion 0x0000000000000800-0x000000000000084F (\PMRG) (20200925/utaddress-204)
Jan 16 21:38:42 localhost.localdomain systemd[1]: /usr/lib/systemd/system/mcelog.service:8: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altog>
Jan 16 21:38:42 localhost.localdomain systemd[1]: /usr/lib/systemd/system/alsa-restore.service:15: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the settin>
Jan 16 21:38:42 localhost.localdomain systemd[1]: /usr/lib/systemd/system/plymouth-start.service:15: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please upda>
Jan 16 21:38:42 localhost.localdomain zram_generator::generator[522]: Creating dev-zram0.swap for /dev/zram0 (4096MB)
Jan 16 21:38:42 localhost.localdomain systemd-sysv-generator[519]: SysV service '/etc/rc.d/init.d/livesys-late' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a >
Jan 16 21:38:42 localhost.localdomain systemd-sysv-generator[519]: SysV service '/etc/rc.d/init.d/livesys' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a nativ>
Jan 16 21:38:41 localhost.localdomain kernel: audit: type=1334 audit(1610833121.159:25): prog-id=10 op=LOAD
Jan 16 21:38:41 localhost.localdomain kernel: audit: type=1334 audit(1610833121.159:24): prog-id=9 op=LOAD
Jan 16 21:38:41 localhost.localdomain kernel: audit: type=1334 audit(1610833121.003:23): prog-id=3 op=UNLOAD
Jan 16 21:38:41 localhost.localdomain kernel: audit: type=1334 audit(1610833121.003:22): prog-id=4 op=UNLOAD
Jan 16 21:38:41 localhost.localdomain kernel: audit: type=1334 audit(1610833121.003:21): prog-id=5 op=UNLOAD
Jan 16 21:38:41 localhost.localdomain kernel: audit: type=1334 audit(1610833120.998:20): prog-id=6 op=UNLOAD
Jan 16 21:38:41 localhost.localdomain kernel: audit: type=1334 audit(1610833120.998:19): prog-id=7 op=UNLOAD
Jan 16 21:38:41 localhost.localdomain kernel: audit: type=1334 audit(1610833120.998:18): prog-id=8 op=UNLOAD
Jan 16 21:38:40 localhost.localdomain kernel: audit: type=1130 audit(1610833120.861:17): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-fsck-root comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? t>
Jan 16 21:38:40 localhost.localdomain kernel: audit: type=1130 audit(1610833120.839:16): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=dracut-initqueue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? te>
Jan 16 21:38:40 localhost.localdomain kernel: kauditd_printk_skb: 5 callbacks suppressed
Jan 16 21:38:39 localhost.localdomain kernel: CRAT table not found
Jan 16 21:38:38 localhost.localdomain kernel: [drm:si_dpm_set_power_state [radeon]] *ERROR* si_restrict_performance_levels_before_switch failed
Jan 16 21:38:37 localhost.localdomain kernel: sd 6:0:0:0: [sdc] Attached SCSI removable disk
Jan 16 21:38:37 localhost.localdomain kernel: random: 7 urandom warning(s) missed due to ratelimiting
Jan 16 21:38:37 localhost.localdomain kernel: random: crng init done
Jan 16 21:38:36 localhost.localdomain kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through
Jan 16 21:38:36 localhost.localdomain kernel: sd 6:0:0:0: [sdc] No Caching mode page found
Jan 16 21:38:36 localhost.localdomain kernel: sd 6:0:0:0: [sdc] Write Protect is off
Jan 16 21:38:36 localhost.localdomain kernel: sd 6:0:0:0: [sdc] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB)
Jan 16 21:38:36 localhost.localdomain kernel: sd 6:0:0:0: Attached scsi generic sg2 type 0
Jan 16 21:38:36 localhost.localdomain kernel: scsi 6:0:0:0: Direct-Access              USB DISK 2.0     PMAP PQ: 0 ANSI: 6
Jan 16 21:38:36 localhost.localdomain kernel: random: fast init done
Jan 16 21:38:35 localhost.localdomain kernel: audit: type=1334 audit(1610833115.765:10): prog-id=6 op=LOAD
Jan 16 21:38:35 localhost.localdomain kernel: audit: type=1130 audit(1610833115.764:9): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=dracut-pre-udev comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? term>
Jan 16 21:38:35 localhost.localdomain kernel: audit: type=1130 audit(1610833115.741:8): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr>
Jan 16 21:38:35 localhost.localdomain kernel: audit: type=1130 audit(1610833115.738:7): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=dracut-cmdline comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? termi>
Jan 16 21:38:35 localhost.localdomain kernel: audit: type=1130 audit(1610833115.730:6): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? ter>
Jan 16 21:38:35 localhost.localdomain kernel: audit: type=1130 audit(1610833115.693:5): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=dracut-cmdline-ask comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? t>
Jan 16 21:38:35 localhost.localdomain kernel: audit: type=1130 audit(1610833115.677:4): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-vconsole-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr>
Jan 16 21:38:35 localhost.localdomain kernel: audit: type=1130 audit(1610833115.671:3): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-sysctl comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? termi>
Jan 16 21:38:35 localhost.localdomain kernel: audit: type=1130 audit(1610833115.661:2): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-modules-load comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=?>
Jan 16 21:38:35 localhost.localdomain kernel: random: systemd: uninitialized urandom read (16 bytes read)
Jan 16 21:38:35 localhost.localdomain kernel: random: systemd: uninitialized urandom read (16 bytes read)
Jan 16 21:38:35 localhost.localdomain kernel: random: systemd: uninitialized urandom read (16 bytes read)
lines 1-54

@rtsajwad Well I do not use flatpack, so could not help with that. I do Just the dnf packages. You know sudo dnf install {application name} or sudo dnf update . Even removed “Software” and “Packagekit” ,

You might want to take a look at:

There are some suggestions for working around this.

Thanks

3 Likes

I actually already know of this issue from before using fedora and posted a simple fix on the flatpak forum. It involved installing an ffmpeg extension I believe to stop laggy h264 video.

However I think that my issue is fedora related since I also get this issue outside of video when installing certain applications like gnome builder. Also others on fedora have reported this exact same problem.

1 Like

Okay, it seems like the issue does not occur anymore. Possibly due to an update. I will update this thread if anything changes but for now, everything seems to be working just fine.

In regards to the flatpak part of the issue. It got to the point where the PC didn’t crash but still wouldn’t install builder. The error was in installing the gnome sdk. I uninstalled those sdks but couldn’t reinstall. I did some flatpak repairs whilst trying to reinstall them and that part is also solved now.

1 Like

Unfortunately , it did crash another two times after this :frowning:

I suspected it to be fixed but instead it is unpredictable. I can’t reproduce it. It just has to happen by chance.

This issue occurred due to my motherboards graphics drivers. I disabled the driver using a kernel parameter so only my AMD graphics card driver was in use.

This also removed the extra VGA input that was being detected when configuring displays, which showed up as an unknown display in settings.

Here is the link to the solution on a separate thread. Also you will have to read the replies after it to make it permanent.

https://discussion.fedoraproject.org/t/an-extra-unknown-display-is-detected-but-only-one-plugged-in/77449/9

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.