Skip to content

System freezes apart from audio.

Recently my system has started to freeze randomly, first time it happened was yesterday - at that time I had no audio playing, but noticed that nothing seemed to be moving anymore. Today it happened again, I was watching youtube and the audio kept playing though the video stopped and the machine seemed to accept no inputs.

Both cases happened after about 6-10 hours of uptime, and I have a hard time imagining they weren't related. I tried checking "journalctl -b-1", but unfortunately the last events I can spot are from around 6 hours-ish before the freeze. My system is fully updated and running the standard kernel.

This happened after 5.20, so I have some inkling that might be it, but I have no concrete evidence for that being the cause of the issue. I appreciate any help, thanks.

Specs:

OS: Arch Linux x86_64 
Kernel: 5.2.0-arch2-1-ARCH 
CPU: Intel i5-4460 (4) @ 3.400GHz 
GPU: AMD ATI Radeon R9 290/390 
GPU: NVIDIA GeForce GTX 1050 (used for passthrough to VM)

EDIT: In hopes that this is something that will be fixed in updates I will be keeping my system up to date, therefore you should assume that the Linux version number will rise as new releases come out.

Edited 16 Jul 2019. We only hold this version.

9 points7 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
9 · 100% up
Kind
Text
ID
cdrezf

Author

13
posts
91
comments
3
media
View profile

13 comments

yeah I've been facing this a lot and it's kinda annoying to type when it freezes and I've stopped using Firefox for that reason and telegram is facing similar issue. Chromium is working fine for me

3 points

Wait, this is firefox related? Is there any... I dunno, evidence to back it up? Because I really don't wanna abandon the best browser.

1 points

It's not. I use Chrome exclusively and it happened to me today.

1 points

I have the exact same problem, I checked the System logs and it turns out something in the amdgpu Kernel Module is segfaulting (access at Address 0), causing a Kernel Panic.

Before 5.2 everything was fine.

I'm running on the 5.2 Mainline Kernel right now which somehow doesn't have this issue. I really hope that this does get fixed soon. As much fun as it is to compile your own Kernel it still takes quite some time.

​

EDIT:

Here is the full Kernel Panic for anyone who is interested:

 BUG: kernel NULL pointer dereference, address: 00000000000002b4
 #PF: supervisor read access in kernel mode
 #PF: error_code(0x0000) - not-present page
 PGD 0 P4D 0 
 Oops: 0000 [#1] PREEMPT SMP NOPTI
 CPU: 2 PID: 19623 Comm: kworker/u16:5 Tainted: G           OE     5.2.0-arch2-1-ARCH #1
 Hardware name: System manufacturer System Product Name/M5A78L-M LX V2, BIOS 1701    11/18/2016
 Workqueue: events_unbound commit_work [drm_kms_helper]
 RIP: 0010:dc_stream_log+0x6/0xb0 [amdgpu]
 Code: 04 00 00 49 8b bc 02 80 02 00 00 48 8b 07 48 8b 40 50 e8 1d a5 66 cd b8 01 00 00 00 c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 53 <8b> 86 b4 02 00 00 48 89 f3 48 89 f2 8b 8e 10 01 00 00 bf 04 00 00
 RSP: 0018:ffffb5fc07b43af0 EFLAGS: 00010202
 RAX: 0000000000000000 RBX: ffff96f118001000 RCX: 0000000000000002
 RDX: ffffffffc0e1b710 RSI: 0000000000000000 RDI: ffff96f118001000
 RBP: ffff96ee3f330000 R08: ffff96ee3f330000 R09: 0000000000000000
 R10: ffff96ee3f330000 R11: 0000000000000000 R12: 0000000000000001
 R13: ffffb5fc07b43d58 R14: ffff96f11834cff0 R15: 0000000000000000
 FS:  0000000000000000(0000) GS:ffff96f127a80000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 00000000000002b4 CR3: 000000041313c000 CR4: 00000000000406e0
 Call Trace:
  dc_commit_state+0x9a/0x5a0 [amdgpu]
  ? dm_plane_helper_cleanup_fb+0xa3/0x120 [amdgpu]
  amdgpu_dm_atomic_commit_tail+0xc5d/0x1a10 [amdgpu]
  ? __switch_to_asm+0x40/0x70
  ? __switch_to_asm+0x34/0x70
  ? __switch_to_asm+0x40/0x70
  ? __switch_to_asm+0x34/0x70
  ? __switch_to_asm+0x40/0x70
  ? __switch_to_asm+0x34/0x70
  ? __switch_to_asm+0x40/0x70
  ? __switch_to_asm+0x34/0x70
  ? __switch_to_asm+0x40/0x70
  ? _raw_spin_unlock_irq+0x1d/0x30
  ? finish_task_switch+0x84/0x2d0
  ? commit_tail+0x3c/0x70 [drm_kms_helper]
  commit_tail+0x3c/0x70 [drm_kms_helper]
  process_one_work+0x1d1/0x3e0
  worker_thread+0x4a/0x3d0
  kthread+0xfb/0x130
  ? process_one_work+0x3e0/0x3e0
  ? kthread_park+0x90/0x90
  ret_from_fork+0x22/0x40
 Modules linked in: dm_crypt algif_skcipher af_alg fuse dm_mod hwmon_vid xfs btrfs xor edac_mce_amd kvm_amd raid6_pq libcrc32c ccp amdgpu rng_core kvm snd_hda_codec_hdmi input_leds mousedev irqbypass snd_hda_codec_realtek snd_hda_codec_generic amd_iommu_v2 ledtrig_audio gpu_sched i2c_algo_bit snd_hda_intel ttm snd_hda_codec drm_kms_helper snd_hda_core snd_hwdep drm snd_pcm snd_timer agpgart crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd soundcore syscopyarea sysfillrect sysimgblt fb_sys_fops r8169 aesni_intel aes_x86_64 sp5100_tco crypto_simd cryptd wmi_bmof wmi glue_helper realtek libphy ppdev i2c_piix4 k10temp fam15h_power evdev pcspkr parport_pc parport pcc_cpufreq mac_hid asus_atk0110 acpi_cpufreq vboxnetflt(OE) vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) sg crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 hid_generic usbhid hid uas usb_storage sd_mod sr_mod cdrom ohci_pci ata_generic pata_acpi ahci libahci pata_atiixp crc32c_intel libata ehci_pci
  ehci_hcd scsi_mod ohci_hcd
 CR2: 00000000000002b4
 ---[ end trace 8fcf1ae8e7edcabd ]---
 RIP: 0010:dc_stream_log+0x6/0xb0 [amdgpu]
 Code: 04 00 00 49 8b bc 02 80 02 00 00 48 8b 07 48 8b 40 50 e8 1d a5 66 cd b8 01 00 00 00 c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 53 <8b> 86 b4 02 00 00 48 89 f3 48 89 f2 8b 8e 10 01 00 00 bf 04 00 00
 RSP: 0018:ffffb5fc07b43af0 EFLAGS: 00010202
 RAX: 0000000000000000 RBX: ffff96f118001000 RCX: 0000000000000002
 RDX: ffffffffc0e1b710 RSI: 0000000000000000 RDI: ffff96f118001000
 RBP: ffff96ee3f330000 R08: ffff96ee3f330000 R09: 0000000000000000
 R10: ffff96ee3f330000 R11: 0000000000000000 R12: 0000000000000001
 R13: ffffb5fc07b43d58 R14: ffff96f11834cff0 R15: 0000000000000000
 FS:  0000000000000000(0000) GS:ffff96f127a80000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 00000000000002b4 CR3: 000000041313c000 CR4: 00000000000406e0
1 points

Also experiencing this. Just installed an RX580 Nitro card - it was fine before with GTX660.

Sep 05 09:42:30 kernel: BUG: kernel NULL pointer dereference, address: 00000000000002b4
Sep 05 09:42:30 kernel: #PF: supervisor read access in kernel mode
Sep 05 09:42:30 kernel: #PF: error_code(0x0000) - not-present page
Sep 05 09:42:30 kernel: PGD 0 P4D 0 
Sep 05 09:42:30 kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
Sep 05 09:42:30 kernel: CPU: 2 PID: 20912 Comm: kworker/u16:5 Tainted: G           OE     5.2.11-arch1-1-ARCH #1
Sep 05 09:42:30 kernel: Hardware name: Gigabyte Technology Co., Ltd. GA-990XA-UD3/GA-990XA-UD3, BIOS F14e 09/09/2014
Sep 05 09:42:30 kernel: Workqueue: events_unbound commit_work [drm_kms_helper]
Sep 05 09:42:30 kernel: RIP: 0010:dc_stream_log+0x6/0xb0 [amdgpu]
Sep 05 09:42:30 kernel: Code: 04 00 00 49 8b bc 02 b0 02 00 00 48 8b 07 48 8b 40 50 e8 2d 0b 44 fe b8 01 00 00 00 c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 53 <8b> 86 b4 02 00 00 48 89 f3 48 89 f2 8b 8e 10 01 00 00 bf 0>
Sep 05 09:42:30 kernel: RSP: 0018:ffffb23e49a93af8 EFLAGS: 00010202
Sep 05 09:42:30 kernel: RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000003
Sep 05 09:42:30 kernel: RDX: ffffffffc0a4a710 RSI: 0000000000000000 RDI: ffff96656b735000
Sep 05 09:42:30 kernel: RBP: ffff96635f240000 R08: ffff96635f240000 R09: 0000000000000000
Sep 05 09:42:30 kernel: R10: ffff96635f240000 R11: 0000000000000018 R12: ffff96656b735000
Sep 05 09:42:30 kernel: R13: ffffb23e49a93d58 R14: ffff96656816cff0 R15: 0000000000000000
Sep 05 09:42:30 kernel: FS:  0000000000000000(0000) GS:ffff96656fa80000(0000) knlGS:0000000000000000
Sep 05 09:42:30 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 05 09:42:30 kernel: CR2: 00000000000002b4 CR3: 000000041305e000 CR4: 00000000000006e0
Sep 05 09:42:30 kernel: Call Trace:
Sep 05 09:42:30 kernel:  dc_commit_state+0x99/0x580 [amdgpu]
Sep 05 09:42:30 kernel:  ? wait_for_common+0x156/0x190
Sep 05 09:42:30 kernel:  amdgpu_dm_atomic_commit_tail+0xc5d/0x19a0 [amdgpu]
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x40/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x34/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x40/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x40/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x40/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x40/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x34/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x40/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x40/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x34/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x40/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x34/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x40/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x34/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x40/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x34/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x40/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x34/0x70
Sep 05 09:42:30 kernel:  ? __switch_to_asm+0x40/0x70
Sep 05 09:42:30 kernel:  ? commit_tail+0x3c/0x70 [drm_kms_helper]
Sep 05 09:42:30 kernel:  commit_tail+0x3c/0x70 [drm_kms_helper]
Sep 05 09:42:30 kernel:  process_one_work+0x1d1/0x3e0
Sep 05 09:42:30 kernel:  worker_thread+0x4a/0x3d0
Sep 05 09:42:30 kernel:  kthread+0xfb/0x130
Sep 05 09:42:30 kernel:  ? process_one_work+0x3e0/0x3e0
Sep 05 09:42:30 kernel:  ? kthread_park+0x80/0x80
Sep 05 09:42:30 kernel:  ret_from_fork+0x22/0x40
Sep 05 09:42:30 kernel: Modules linked in: tun fuse xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat xt_addrtype iptable_filter xt_conntrack nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ip>
Sep 05 09:42:30 kernel:  uas usb_storage sd_mod dm_crypt dm_mod ohci_pci ahci libahci firewire_ohci libata firewire_core crc_itu_t xhci_pci xhci_hcd scsi_mod ehci_pci ehci_hcd ohci_hcd
Sep 05 09:42:30 kernel: CR2: 00000000000002b4
Sep 05 09:42:30 kernel: ---[ end trace f0bf883de0cf8168 ]---
Sep 05 09:42:30 kernel: RIP: 0010:dc_stream_log+0x6/0xb0 [amdgpu]
Sep 05 09:42:30 kernel: Code: 04 00 00 49 8b bc 02 b0 02 00 00 48 8b 07 48 8b 40 50 e8 2d 0b 44 fe b8 01 00 00 00 c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 53 <8b> 86 b4 02 00 00 48 89 f3 48 89 f2 8b 8e 10 01 00 00 bf 0>
Sep 05 09:42:30 kernel: RSP: 0018:ffffb23e49a93af8 EFLAGS: 00010202
Sep 05 09:42:30 kernel: RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000003
Sep 05 09:42:30 kernel: RDX: ffffffffc0a4a710 RSI: 0000000000000000 RDI: ffff96656b735000
Sep 05 09:42:30 kernel: RBP: ffff96635f240000 R08: ffff96635f240000 R09: 0000000000000000
Sep 05 09:42:30 kernel: R10: ffff96635f240000 R11: 0000000000000018 R12: ffff96656b735000
Sep 05 09:42:30 kernel: R13: ffffb23e49a93d58 R14: ffff96656816cff0 R15: 0000000000000000
Sep 05 09:42:30 kernel: FS:  0000000000000000(0000) GS:ffff96656fa80000(0000) knlGS:0000000000000000
Sep 05 09:42:30 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 05 09:42:30 kernel: CR2: 00000000000002b4 CR3: 000000041305e000 CR4: 00000000000006e0
1 points

Can you post the output of inxi -Fxz?

1 points
System:    Host: Cloaker Kernel: 5.2.0-arch2-1-ARCH x86_64 bits: 64 compiler: gcc v: 9.1.0 Desktop: i3 4.16.1 
           Distro: Arch Linux 
Machine:   Type: Desktop Mobo: MSI model: H97M-G43(MS-7924) v: 1.0 serial: <filter> UEFI [Legacy]: American Megatrends v: 2.10 
           date: 07/28/2015 
CPU:       Topology: Quad Core model: Intel Core i5-4460 bits: 64 type: MCP arch: Haswell rev: 3 L2 cache: 6144 KiB 
            flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 25611 
            Speed: 800 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Hawaii PRO [Radeon R9 290/390] vendor: PC Partner Limited driver: amdgpu 
           v: kernel bus ID: 01:00.0 
           Device-2: NVIDIA GP107 [GeForce GTX 1050] vendor: ZOTAC driver: vfio-pci v: 0.2 bus ID: 04:00.0 
           Display: tty server: X.Org 1.20.5 driver: modesetting unloaded: vesa resolution: 1920x1200~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: AMD Radeon R9 200 Series (HAWAII DRM 3.32.0 5.2.0-arch2-1-ARCH LLVM 8.0.0) v: 4.5 Mesa 19.1.2 
           direct render: Yes 
Audio:     Device-1: Intel 9 Series Family HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           Device-2: Advanced Micro Devices [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X] 
           vendor: PC Partner Limited driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           Device-3: NVIDIA GP107GL High Definition Audio vendor: ZOTAC driver: vfio-pci v: 0.2 bus ID: 04:00.1 
           Device-4: Blue Microphones Yeti Stereo Microphone type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 2-3:4 
           Sound Server: ALSA v: k5.2.0-arch2-1-ARCH 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI driver: r8169 v: kernel 
           port: d000 bus ID: 03:00.0 
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:    Local Storage: total: 2.96 TiB used: 1.83 TiB (62.1%) 
           ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-00BN5A0 size: 931.51 GiB 
           ID-2: /dev/sdb vendor: Crucial model: CT250BX100SSD1 size: 232.89 GiB 
           ID-3: /dev/sdc vendor: Western Digital model: WD20EZRZ-00Z5HB0 size: 1.82 TiB 
Partition: ID-1: / size: 204.60 GiB used: 152.62 GiB (74.6%) fs: ext4 dev: /dev/sdb2 
           ID-2: /home size: 1.79 TiB used: 1.04 TiB (57.9%) fs: ext4 dev: /dev/sdc1 
           ID-3: swap-1 size: 24.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sdb1 
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: amdgpu temp: 54 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 186 Uptime: 18m Memory: 11.72 GiB used: 4.44 GiB (37.9%) Init: systemd Compilers: gcc: 9.1.0 Shell: zsh 
           v: 5.7.1 inxi: 3.0.34

EDIT: In hopes that this is something that will be fixed in updates I will be keeping my system up to date, therefore you should assume that the Linux version number will rise as new releases come out.

1 points

While of no help to fixing your problem, I’ve experienced the exact same symptom (audio loop, no logs), caused by a faulty USB Ethernet driver.

So I’d assume that it’s most likely your kernel.

1 points

The audio doesn't loop though. The system freezes apart from the audio, the audio works fine.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.