https://bugzilla.kernel.org/show_bug.cgi?id=201763
--- Comment #8 from Rogério Brito (rbrito@ime.usp.br) --- Dear Michel,
(In reply to Michel Dänzer from comment #7)
(In reply to Rogério Brito from comment #5)
First of all, sorry for the late reply. I had really a really bad start of the year (death in family, complications caused by that, health problems, fire at home and also recovering from that hard hit etc.)
Nothing to apologize for, I hope things are (getting) better for you now!
Things are slowly getting better now (still working on fixing things related to the fire at home).
(In reply to Michel Dänzer from comment #2)
From the dmesg output, it looks like the AMD GPU is powered off most of
the
time. Do the freezes happen when you explicitly use it for something,
e.g.
for a game via DRI_PRIME=1?
I never play games (really, the only game that I played in the last few years was 2048 on a browser), but I guess that other applications may use the discrete AMD GPU that this notebook has.
The AMD GPU should only be used if you explicitly choose to, by setting DRI_PRIME=1 or maybe using a corresponding setting of your desktop environment. Maybe the AMD GPU is only getting powered up accidentally, and the freezes happen due to something going wrong while powering it up/down.
Nice to know that. I may have mentioned before, but I put DRI_PRIME=1 on my bash_profile file. I notice that when I open/close Firefox, then I get one instance of:
------------ [drm] PCIE GART of 256M enabled (table at 0x000000F400000000). amdgpu: [powerplay] can't get the mac of 5 amdgpu: [powerplay] VBIOS did not find boot engine clock value in dependency table. Using Memory DPM level 0! ------------
Please attach the corresponding Xorg log file, preferably captured after dmesg has at least two instances of
[drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
OK, I am attaching both a dmesg log and the corresponding Xorg log of this moment that I am writing (just performed a cold boot, to rule things out), but the Xorg log doesn't contain anything after the first 50 seconds or so...
I can turn on some debug options, if you want me to.
You could also try modprobe.blacklist=amdgpu on the kernel command line, to see if the freezes happen even if the amdgpu driver never initializes the AMD GPU.
OK, I will do that after I finish this message.
Thanks,
Rogério Brito.