Freezing Laptop
Hi all,
I recently installed Arch Linux to an Acer Aspire laptop (A-315-41) to be exact. It has an AMD ryzen 3 2200U CPU and a VEGA 3 VGA. All is well but I am facing an issue that drives me crazy. When I listen to music or watch videos the laptop freezes. This may happen just when I open a youtube video or after watching more of them. Same thing with audio.
When this happens the laptop is not responding. I have tried opening a pseudo terminal with no success and the Magic SysRq keys (after enabling them) to no success either, I thought that maybe it is a kernel issue and installed the Zen Kernel and it still happens. Finally the strangest think in my opinion is that nothing is written on the kernel log about that, there are no entries for when it happens
Anyone faced the same issue? Any suggestions?
Update: After some suggestions I decided to update my bios. However, to accomplish this, Acer provides an exe file. I installed Windows in a spare HDD that I swapped with the second one my Laptop had. As you may have guessed windows messed up my bootloader. I decided to perform a clean install instead of fixing it, as I had many things done wrong, it was my first Arch installation. I will update with news after some use of the Laptop
Update 2: After using the Laptop for some days I see no problem anymore. However just to be sure I did this too
Edited 24 Aug 2018. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 17 · 100% up
- Kind
- Text
- ID
- 95cbtf
23 comments
It's probably unrelated but does that laptop have 'Global C-State Control' in the bios? I have to keep it disabled or linux locks solid shortly after boot. I saw that solution on some youtube video a few months ago, works for me.
Maybe not unrelated at all. Seems it may be related to the C6 State bug that u/injury0314 was referring to
Try with the LTS kernel (linux-lts)
The bug that everyone is talking about but not linking is here: https://bugzilla.kernel.org/show_bug.cgi?id=196683
My desktop would frequently lock up if I left it idle, but also sometimes when doing light browsing or YouTube watching. The idle=nomwait fix from that thread improved things a bit but I was still having intermittent issues until I updated my BIOS and set "Typical Current Idle" in the power supply settings. Obviously you'll have a different BIOS but you might look for anything that plays with your PSU voltages.
I've had similar problems with an Intel laptop. It turns out it has something to do with the system going into a sleep state that is not working properly.
Try googling for a cstate bug for your cpu.
Hm...
Seems that may be it. Found a guide for disabling c-states. Maybe that will work
What kernel are you running? Kernel 4.17 brought much improvement to AMD APUs with Vega but 4.18 is apparently bringing more. Also, check if you have any BIOS updates as I had issues like this with a Ryzen desktop board and updating the BIOS firmware solved the problem.
I am currently in the process of trying to update my BIOS. However it seems that it needs Windows to do it. Trying to find a work around, but nothing till now.
Usually modern BIOS will allow you to put the firmware file on a USB flash drive formatted with FAT32. Then you can tell the BIOS to scan the drive and flash the file. This is how I had to do my last update since the internet download option of the BIOS stopped working.
Deleted before we saved it.
I've had similar freezing problems but that was related to nvidia drivers.
Seeing as your problem seems to be linked to sound, what audio backend are you using, Pulseaudio?
Yes, I use alsa with pulseaudio
Then I'd try disabling it completely and seeing if the problem continues.
The only other cause I could think of is some sort of thermal issue but you'd probably notice that outside of audio-using applications.
Wow, didn't you pay attention to r/AyyMD ?
I think you have to put it on a Shintel laptop for the temperature to be balanced.
Don't want you to get any cold burns.
I'm not familiar with AMD CPUs, is there a built-in graphics card you can switch to?
No the built-in graphics card is the only one that is currently in use
With my Intel CPU/GPU I had to disable DRI and I think that is what solved my random freezing on my ASUS laptop.
I run into a similar issue regularly on my new AN515-42-R5GT (Ryzen 2500U). I'm hoping it's something that will be solved in kernel 4.18.
Deleted before we saved it.