I just bought a MSI Bravo 15 laptop without pre-installed OS and I have installed Manjaro with KDE desktop. This laptop runs on an AMD Ryzen 7 4800H processor and has a Raedon RX 5500M GPU.
During the first minutes after the installation it seemed to be fine but then the desktop started to freeze randomly (I could see the screen but mouse and keyboard would not respond) and it did it so often that it almost became unusable.
I have tried to troubleshoot it without much success but what I have noted so far is that the crashes seem to start once I disconnect from the laptop the battery charger. Also, the battery got drained from 100% to 15% in about 2 hours without running any program at all and also got quite warm in the process
I thought it could be related to the drivers and I installed, fron the AUR, the amdgpu-pro-libgl drivers (which I think are basically the Radeon Software for linux) but the, after shutting down, the computer wont boot anymore.
I donāt mind too much reinstalling the system because I just did some minor configurations but I would love to get some help from you to solve these freezing issues and correctly install whichever driver is necessary.
Hello, thank you for answering! just to understand better, how these isos differ from the stable one in the manjaro webpage? From the answer above I assume they run in a different kernel?
Hi!
You should update your kernel, the 5.6 is EOL ( end of live), and because of your hardware I would use the 5.8, it bring a lot of improvements for ryzen4000
Hello,
I have posted the information you were requesting and I have modified the /etc/default/grub file and for the moment the behaviour of the laptop seems more stable. Eventhough I will try it for a bit more just to mark it is solved.
Regarding your suggestions and that one of stephane of changing the kernel, what advantage would it give? Could I just wait until a more stable version is released?
Also I would appreciate if you could point me to a manual or the documents where it is explained what is the effect of disabling the power management.
Hi, thanks for the added info! Isnāt the 5.8 kernel a beta kernel? That might be a bit unstable for an average noob like meā¦ Thatās the main reason I am thinking twice for changing
Nope, 5.9 is the RC (sort of like) beta at the moment. 5.8 is the stable one. The good practice is to have at least two kernels installed. The latest LTS (currently 5.4) and latest stable one (currently 5.8), then use the latter.
Each new kernel version have more features and driver improvements, especially for AMD hardware, so itās beneficial to have at least the latest stable kernel.
Kernels are not like other software and since years they are super stable (aside RC versions), so in most cases all works well. There is no reason to hold on to older kernel, unless you notice that it causes problems. But thatās the beauty of Manjaro, you can easily install, switch kernels and use the best one for you at the moment, so itās easy to jump to the latest stable kernel.
In my 5-6 years of using Manjaro, I have never noticed any major issues with any of the kernels, so the problems are really rare. They do happen but for the minority, so there is really no reason to be scared to try out any kernel you want. You can always uninstall or switch to any available kernel.
Ok, so I tried kernel 5.8 (removing amdgpu.runpm=0 at GRUB_CMDLINE_LINUX= in /etc/default/grub) but the laptop became unstable again. So for the moment I am am using kernel 5.8 and put back the modified /etc/default/grub file which for the moment seems to be the solution. Once I test this configuration for some time I will let you know.
Thanks!
When the amdgpu kernel module is loaded, all resolutions are possible, both using the X fbdev driver and the X amdgpu driver. However, using graphics when the amdgpu module is loaded is very, very unstable. Usually in X, the system crashes within seconds. Yes, even when using the fbdev driver. I have reported this as a kernel bug (208149 ā amdgpu makes system crash (even when using fbdev for X)).
I was not able to check if video out works with amdgpu, as the system just crashes too soon.
The fix they used was the same as what you did as well with the kernel parameter:
P.P.P.P.S.: Kernel 5.7.4 with amdgpu.runpm=0 works very well for me, thanks to oknozor for coming up with that configuration. X is now stable on both Vega iGPU and Navi dGPU. Without amdgpu.runpm=0 it crashes instantly on starting X. However, there still is a problem with resuming after suspend-to-disk.
On the other side, it will consume power. Hope that helps
runpm (int)
Override for runtime power management control for dGPUs in PX/HG laptops. The amdgpu driver can dynamically power down the dGPU on PX/HG laptops when it is idle. The default is -1 (auto enable). Setting the value to 0 disables this functionality.