D
D
Dmitry Kim2019-09-20 07:45:02
ubuntu
Dmitry Kim, 2019-09-20 07:45:02

How to make Ubuntu 18.04 / 19.04 run stable and freeze-free on AMD Ryzen 5 3400G+ GPU?

I have an old laptop with Ubuntu 18.04 (SSD), the system worked like clockwork.
I built myself a desktop: Ryzen 5 3400G (with Radeon Vega 11 integrated graphics), ASUS TUF B450M-PLUS, 16GB RAM.
Moved drive from laptop to desktop. Everything seemed to be fine, but random freezes immediately appeared on Ubuntu.
It hangs like this: the keyboard and mouse do not respond, but the screen shows that the processes continue to work (loading indicators are spinning), it is not known whether it is correct or not. Only Hard Reset helps.
Most often this happens when indexing a project in PhpStorm (apparently under CPU load). I checked it several times and noticed the following:

  • open terminaltail -f /var/log/syslog
  • open PhpStorm so as not to close the view of our terminal window, and clear the cache in PhpStorm
  • PhpStorm starts indexing the project and at some stage (usually towards the end of indexing), the system freezes, and 2 identical lines appear in the terminal:
    Sep 18 22:42:09 kernel: [97.849203] pcieport 0000:02:00.0: Refused to change power state, currently in D3


I checked several times in a row: as soon as these lines appear in the terminal, the system hangs. Also, the system hangs randomly, but without the participation of PhpStorm, but simply when working in the browser. But when working in the browser, this happens so randomly that there is no way to view the log at the moment of freezing.
I tried to put the system on a blank formatted disk - the same result.
I only found on the Internet that this is probably a problem due to the AMD GPU, but I could not overcome this ailment.
Yesterday I installed Ubuntu 19.04, did the same indexing several times - there are no inscriptions in the terminal, indexing is passing. Rejoiced. But early. After a couple of hours of surfing in chrome, the system hung again.
Does anyone have a similar experience with solving the problem?
PS: next to Ubuntu there is another disk with Windows 10. There are no freezes when working in windows.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kim, 2020-03-17
@kimono

Everything was decided by a three-month wait for the next BIOS update.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question