Linux freezes randomly while or after watching video

Hello,

I've been having this problem on my Lenovo ideapad ever since I installed Linux on it. Linux runs very nice and smoothly on this low-spec machine, however, whenever I am watching online video, I can be sure the laptop will freeze at a certain point.

It is rather random; it may happen in a few minutes, hours, or may be the next day, though it will certainly freeze. I was able to reproduce the same problem with Kubuntu 18.04 and 18.10, and with Manjaro Xfce and Manjaro KDE (Currently running Manjaro KDE, though I haven't tested after the last major update that included Plasma 15.6).

When frozen, the system would only work again after a hard-reset, which is rather annoying and leads to data loss at times.

Here is the output of inxi -Fxz:

System:    Host: hassan-pc Kernel: 5.1.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.1.0 Desktop: KDE Plasma 5.16.2 
           Distro: Manjaro Linux 
Machine:   Type: Laptop System: LENOVO product: 81D2 v: Lenovo ideapad 330-15ARR serial: <filter> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40700 WIN serial: <filter> UEFI: LENOVO v: 7VCN23WW date: 06/08/2018 
Battery:   ID-1: BAT0 charge: 26.5 Wh condition: 26.5/35.0 Wh (76%) model: LGC L17L2PF0 status: Full 
CPU:       Topology: Quad Core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen 
           L2 cache: 2048 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 31952 
           Speed: 1427 MHz min/max: 1600/2000 MHz Core speeds (MHz): 1: 1369 2: 1457 3: 1367 4: 1366 5: 1367 6: 1366 7: 1368 
           8: 1366 
Graphics:  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] vendor: Lenovo driver: amdgpu v: kernel 
           bus ID: 03:00.0 
           Display: x11 server: X.Org 1.20.5 driver: amdgpu FAILED: ati unloaded: modesetting resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD RAVEN (DRM 3.30.0 5.1.15-1-MANJARO LLVM 8.0.0) v: 4.5 Mesa 19.1.1 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Lenovo 
           driver: snd_hda_intel v: kernel bus ID: 03:00.1 
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus ID: 03:00.6 
           Sound Server: ALSA v: k5.1.15-1-MANJARO 
Network:   Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: Lenovo driver: ath10k_pci v: kernel 
           bus ID: 01:00.0 
           IF: wlp1s0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8168 v: 8.047.01-NAPI 
           port: 2000 bus ID: 02:00.0 
           IF: enp2s0 state: down mac: <filter> 
           Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 3-2:3 
Drives:    Local Storage: total: 931.51 GiB used: 34.55 GiB (3.7%) 
           ID-1: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB 
Partition: ID-1: / size: 215.74 GiB used: 34.52 GiB (16.0%) fs: ext4 dev: /dev/sda8 
Sensors:   System Temperatures: cpu: 42.6 C mobo: N/A gpu: amdgpu temp: 42 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 235 Uptime: 1d 16h 27m Memory: 3.47 GiB used: 1.86 GiB (53.6%) Init: systemd Compilers: gcc: 9.1.0 
           Shell: bash v: 5.0.7 inxi: 3.0.34 

I am not sure if the problem is related to AMD graphics, or to the Linux kernel or something else (or maybe it can be fixed by some small changes to grub settings?).

Any help is appreciated!

Edit: problem still happens after the latest update with Plasma 15.6

A forum search with "2500U" reveals this is a common problem. This thread may help you find a work around. There are several other 2500U threads to explore if that one is not helpful. :grinning:

The 2500U is not yet perfectly supported in the kernel OOTB. In a couple more weeks, there should be a newer kernel (5.2) which will have more AMD improvements. I've been following the Ryzen threads to see when AMD works well enough to replace my intel devices. At this point it looks like it takes some experimenting with kernel arguments (boot parameters) to make it work consistently. Edit: That's not to say that Intel is always freeze free!

2 Likes

I have applied a BIOS update. Had some hard time restoring grub after that, though I was able to do it after several hours of trying.

Three days later it seems the problem so far has been fixed, as I didn't have any freezes since the BIOS update. Thank you!

Edit: Many days later still no freezing!

1 Like

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