Skip to content

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.

17 points21 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
17 · 100% up
Kind
Text
ID
95cbtf

Author

4
posts
25
comments
0
media
View profile

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.

6 points

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.

4 points

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.

3 points

Hm...

Seems that may be it. Found a guide for disabling c-states. Maybe that will work

1 points

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.

2 points

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.

1 points

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.

1 points
unknown author

Deleted before we saved it.

1 points

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?

2 points

Yes, I use alsa with pulseaudio

2 points

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.

1 points

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.

2 points

I'm not familiar with AMD CPUs, is there a built-in graphics card you can switch to?

1 points

No the built-in graphics card is the only one that is currently in use

1 points

With my Intel CPU/GPU I had to disable DRI and I think that is what solved my random freezing on my ASUS laptop.

/etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
  Identifier  "Intel Graphics"
  Driver      "intel"
  Option "DRI" "False"
EndSection
1 points
unknown author

Deleted before we saved it.

0 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.