You are not logged in.

#1 2024-05-16 19:48:26

beeblebrox
Member
Registered: 2024-05-16
Posts: 6

[Solved] Fullscreen freezes the video

Hi,

Sometimes (not always) when I go to full screen on youtube, the video freezes and the keyboard does not work anymore meaning I cannot exit fullscreen. I can move the mouse but cannot click on anything. This happens on Firefox 126.0. The "fix" is to hold the power off button.

I'm running a very vanilla installation of Arch Linux with KDE. Regularly upgrading all packages.

I checked so far:
- /.mozilla/firefox/Crash Reports
- journalctl /usr/bin/plasmashell
- sudo journalctl -b -1 | grep kde

I did not see anything exciting there. Is there anywhere else I can check?

Edit: forgot to mention I'm using Wayland.

Edit2: Info of my laptop:

OS: Arch Linux x86_64
Host: 21CHCTO1WW ThinkPad T16 Gen 1
Kernel: 6.8.9-arch1-2
Uptime: 2 hours, 12 mins
Packages: 905 (pacman)
Shell: bash 5.2.26
Resolution: 2560x1600
DE: Plasma 6.0.4
WM: kwin
Theme: Breeze-Dark [GTK2], Breeze [GTK3]
Icons: breeze-dark [GTK2/3]
Terminal: konsole
CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 4.768GHz
GPU: AMD ATI Radeon 680M
Memory: 2922MiB / 30854MiB

Last edited by beeblebrox (2024-05-21 15:03:03)

Offline

#2 2024-05-16 21:40:34

xerxes_
Member
Registered: 2018-04-29
Posts: 707

Re: [Solved] Fullscreen freezes the video

Does 'coredumpctl' return something? Post full output of command: 'sudo journalctl -b-n' where n is number of system boot ago, for example -1. Expecting "Call trace".

Offline

#3 2024-05-16 21:57:05

beeblebrox
Member
Registered: 2024-05-16
Posts: 6

Re: [Solved] Fullscreen freezes the video

I have two items in the coredumpctl but they are from 7th and 10th of May.

I can see a Call Trace related to amdgpu

May 16 20:40:03 archlinux kernel: ------------[ cut here ]------------
May 16 20:40:03 archlinux kernel: WARNING: CPU: 13 PID: 227 at drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:221 dmub_psr_enable+0xfd/0x110 [amdgpu]
May 16 20:40:03 archlinux kernel: Modules linked in: ccm michael_mic snd_seq_dummy snd_hrtimer snd_seq snd_seq_device intel_rapl_msr qrtr_mhi intel_rapl_common snd_soc_acp6x_mach snd_soc_dmic snd_acp6x_pdm_dma snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp amdgpu snd_sof_pci snd_sof_xtensa_dsp snd_ctl_led snd_sof kvm_amd qrtr snd_hda_codec_realtek snd_sof_utils snd_hda_codec_generic ath11k_pci snd_hda_codec_hdmi snd_soc_core kvm ath11k snd_compress btusb btrtl ac97_bus snd_hda_intel btintel snd_pcm_dmaengine qmi_helpers irqbypass snd_pci_ps btbcm snd_intel_dspcfg amdxcp joydev crct10dif_pclmul mousedev nft_reject_inet btmtk drm_exec snd_intel_sdw_acpi crc32_pclmul snd_rpl_pci_acp6x snd_hda_codec gpu_sched nf_reject_ipv4 uvcvideo polyval_clmulni snd_acp_pci drm_buddy nf_reject_ipv6 mac80211 bluetooth snd_hda_core snd_acp_legacy_common polyval_generic videobuf2_vmalloc i2c_algo_bit nft_reject gf128mul uvc libarc4 hid_multitouch snd_pci_acp6x snd_hwdep ghash_clmulni_intel drm_suballoc_helper
May 16 20:40:03 archlinux kernel:  ecdh_generic videobuf2_memops think_lmi sha512_ssse3 hid_generic firmware_attributes_class wmi_bmof snd_pci_acp5x crc16 drm_ttm_helper videobuf2_v4l2 r8169 thinkpad_acpi sha1_ssse3 snd_pcm snd_rn_pci_acp3x cfg80211 ttm aesni_intel snd_acp_config ledtrig_audio videodev snd_timer platform_profile snd_soc_acpi drm_display_helper ucsi_acpi crypto_simd realtek rfkill sp5100_tco snd_pci_acp3x snd videobuf2_common cec typec_ucsi mdio_devres cryptd vfat fat ccp video soundcore nft_masq mc psmouse rapl pcspkr typec libphy mhi k10temp i2c_piix4 roles i2c_hid_acpi wmi amd_pmc i2c_hid acpi_tad mac_hid nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables pkcs8_key_parser i2c_dev crypto_user loop dm_mod nfnetlink zram ip_tables x_tables serio_raw atkbd libps2 vivaldi_fmap nvme sha256_ssse3 nvme_core xhci_pci i8042 xhci_pci_renesas nvme_auth serio btrfs blake2b_generic libcrc32c crc32c_generic crc32c_intel xor raid6_pq
May 16 20:40:03 archlinux kernel: CPU: 13 PID: 227 Comm: kworker/13:1H Not tainted 6.8.9-arch1-2 #1 2add8ee915b565df906f38100dd434d161273f2d
May 16 20:40:03 archlinux kernel: Hardware name: LENOVO 21CHCTO1WW/21CHCTO1WW, BIOS R23ET71W (1.47 ) 09/14/2023
May 16 20:40:03 archlinux kernel: Workqueue: events_highpri dm_irq_work_func [amdgpu]
May 16 20:40:03 archlinux kernel: RIP: 0010:dmub_psr_enable+0xfd/0x110 [amdgpu]
May 16 20:40:03 archlinux kernel: Code: d1 81 fb e8 03 00 00 74 21 48 8b 44 24 48 65 48 2b 04 25 28 00 00 00 75 15 48 83 c4 50 5b 5d 41 5c 41 5d 41 5e e9 5e b2 a2 dd <0f> 0b eb db e8 0a 81 90 dd 66 2e 0f 1f 84 00 00 00 00 00 90 90 90
May 16 20:40:03 archlinux kernel: RSP: 0018:ffffa9f280927ce0 EFLAGS: 00010246
May 16 20:40:03 archlinux kernel: RAX: 0000031347671547 RBX: 00000000000003e9 RCX: 000000000000000d
May 16 20:40:03 archlinux kernel: RDX: 000000000014ad29 RSI: 0000000000148fec RDI: 000003134752681e
May 16 20:40:03 archlinux kernel: RBP: 0000000000000000 R08: 0000000000000002 R09: 0000000000000007
May 16 20:40:03 archlinux kernel: R10: ffffa9f2ffae4100 R11: 0000000000000001 R12: ffff9c55954c0d50
May 16 20:40:03 archlinux kernel: R13: 0000000000000000 R14: ffffa9f280927ce4 R15: 0000000000000000
May 16 20:40:03 archlinux kernel: FS:  0000000000000000(0000) GS:ffff9c5c9f140000(0000) knlGS:0000000000000000
May 16 20:40:03 archlinux kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 16 20:40:03 archlinux kernel: CR2: 000079b9aec00990 CR3: 0000000106368000 CR4: 0000000000f50ef0
May 16 20:40:03 archlinux kernel: PKRU: 55555554
May 16 20:40:03 archlinux kernel: Call Trace:
May 16 20:40:03 archlinux kernel:  <TASK>
May 16 20:40:03 archlinux kernel:  ? dmub_psr_enable+0xfd/0x110 [amdgpu 467a5e0af0fb091ddcfdce7ee09e3fde02144454]
May 16 20:40:03 archlinux kernel:  ? __warn+0x81/0x130
May 16 20:40:03 archlinux kernel:  ? dmub_psr_enable+0xfd/0x110 [amdgpu 467a5e0af0fb091ddcfdce7ee09e3fde02144454]
May 16 20:40:03 archlinux kernel:  ? report_bug+0x16f/0x1a0
May 16 20:40:03 archlinux kernel:  ? handle_bug+0x3c/0x80
May 16 20:40:03 archlinux kernel:  ? exc_invalid_op+0x17/0x70
May 16 20:40:03 archlinux kernel:  ? asm_exc_invalid_op+0x1a/0x20
May 16 20:40:03 archlinux kernel:  ? dmub_psr_enable+0xfd/0x110 [amdgpu 467a5e0af0fb091ddcfdce7ee09e3fde02144454]
May 16 20:40:03 archlinux kernel:  edp_set_psr_allow_active+0x280/0x3b0 [amdgpu 467a5e0af0fb091ddcfdce7ee09e3fde02144454]
May 16 20:40:03 archlinux kernel:  dp_handle_hpd_rx_irq+0x4ac/0x4e0 [amdgpu 467a5e0af0fb091ddcfdce7ee09e3fde02144454]
May 16 20:40:03 archlinux kernel:  handle_hpd_rx_irq+0xca/0x2d0 [amdgpu 467a5e0af0fb091ddcfdce7ee09e3fde02144454]
May 16 20:40:03 archlinux kernel:  process_one_work+0x177/0x340
May 16 20:40:03 archlinux kernel:  worker_thread+0x309/0x450
May 16 20:40:03 archlinux kernel:  ? __pfx_worker_thread+0x10/0x10
May 16 20:40:03 archlinux kernel:  kthread+0xe8/0x120
May 16 20:40:03 archlinux kernel:  ? __pfx_kthread+0x10/0x10
May 16 20:40:03 archlinux kernel:  ret_from_fork+0x34/0x50
May 16 20:40:03 archlinux kernel:  ? __pfx_kthread+0x10/0x10
May 16 20:40:03 archlinux kernel:  ret_from_fork_asm+0x1b/0x30
May 16 20:40:03 archlinux kernel:  </TASK>
May 16 20:40:03 archlinux kernel: ---[ end trace 0000000000000000 ]---

Last edited by beeblebrox (2024-05-16 21:57:55)

Offline

#4 2024-05-16 21:57:21

seth
Member
Registered: 2012-09-03
Posts: 53,068

Re: [Solved] Fullscreen freezes the video

The journal won't have anything about this because

The "fix" is to hold the power off button.

Since

I can move the mouse but…

kernel and actually display server are still alive.
Switch to a different VT (ctrl+alt+F2,F3,…) and in case that *really* doesn't work and you also cannot ssh into the system, see https://wiki.archlinux.org/title/Keyboa … el_(SysRq)

Do you run FF as native wayland or as xwayland client?
https://wiki.archlinux.org/title/Firefox#Wayland

Same w/ video playback in eg. mpv?

Edit: F5 and also https://bbs.archlinux.org/viewtopic.php?id=289211
Does

amdgpu.dcdebugmask=0x10

in the https://wiki.archlinux.org/title/Kernel_parameters prevent it?

Last edited by seth (2024-05-16 22:03:55)

Offline

#5 2024-05-16 22:04:01

beeblebrox
Member
Registered: 2024-05-16
Posts: 6

Re: [Solved] Fullscreen freezes the video

In about:config and Window Protocol, Firefox states it runs in wayland.

I didn't test .mpv, I will test that.

Offline

#6 2024-05-21 15:02:13

beeblebrox
Member
Registered: 2024-05-16
Posts: 6

Re: [Solved] Fullscreen freezes the video

I added amdgpu.dcdebugmask=0x10 to the kernel parameters as suggested. In my case, since I'm using systemd-boot (https://wiki.archlinux.org/title/Systemd-boot), I appended the file in /boot/loader/entries/. I haven't had any issues the last few days. Thanks a lot!

Offline

#7 2024-05-21 15:05:21

seth
Member
Registered: 2012-09-03
Posts: 53,068

Re: [Solved] Fullscreen freezes the video

For explanation, this disables PSR

Offline

Board footer

Powered by FluxBB