You are not logged in.
Hey,
so after installing the recent kernel I noticed a warning (or maybe an error) while booting the system.
The journal says:
...
amdgpu 0000:2d:00.0: amdgpu: psp reg (0x16063) wait timed out, mask: 80000000, read: 0 exp: 80000000
amdgpu 0000:2d:00.0: amdgpu: psp reg (0x16063) wait timed out, mask: 80000000, read: 0 exp: 80000000
amdgpu 0000:2d:00.0: amdgpu: psp reg (0x16063) wait timed out, mask: 80000000, read: 0 exp: 80000000
...
Other than that there is not much going on. Nothing broke. Suspend works. System is running fine.
I searched around and found this bug report, which links to a commit that introduces the warning/error.
My question now is, if this is something I need to further investigate. Or is this just a warning to be ignored?
edit: fixed the error message.
edit2: Fixed with patch to kernel. See thread for more infos.
Last edited by I0F (2025-09-04 12:02:49)
Offline
This looks weird to me. The error message should also contain "read: %x exp: %x" at the end.
I cannot find a line of code in the current kernel sources, which matches your output.
At any rate, if the system behaves normally, you shouldn't worry too much about that.
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Sorry, I fixed the error message. Got cut off by the terminal while copying and I didn't notice.
Then I'll let it slide for now and see if something comes up in the future. I'll just track the linked commits/files and bugs.
Should I mark this as solved or keep it open for now?
Offline
Exactly the same error message here:
amdgpu 0000:03:00.0: amdgpu: psp reg (0x16063) wait timed out, mask 80000000, read: 0 exp 80000000
I get it just 2 times.
This happened with the Kernel 6.16 update (I use Zen).
I have noticed no negative effects so far.
Not an actual issue but irritating.
System-Info:
Operating System: Arch Linux
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.3-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 9950X 16-Core Processor
Memory: 32 GiB of RAM (30.4 GiB usable)
Graphics Processor 1: AMD Radeon RX 6900 XT
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7E62
System Version: 2.0
Last edited by theringoffire (2025-08-26 21:25:47)
Offline
After a full system upgrade I now get an error message:
amdgpu: psp reg (0x16063) wait timed out, mask: 80000000, read: 0 exp: 80000000 with 5 repeats.
Davinci Resolve Studio will not open any existing projects
Davinci Resolve uses most of the features of the gpu card.
Offline
Just a heads up for anyone who currently has the same problem. There is work being done to address this.
See this comment inside the bug report I shared in my original post.
Offline
Do you need help building a kernel with the patch applied?
Offline
Do you need help building a kernel with the patch applied?
That would be nice!
I did download the linux-zen PKGBUILD files and added the patch (named mypatch.patch) to source() and the folder .
Then I updated the checksums.
Also added inside prepare() like this:
patch -Np1 < "../mypatch.patch"
Then I do makepkg --skippgpcheck.
Sadly it tells me it fails patching the kernel with some error mentioning HUNKS. I don't have access to my Linux PC today, so I can't post the actual error message. I'll post it when I can.
The error basically tells me it can't patch one of the files of the mentioned patch. I suspect there are some more changes in there that it can't properly diff.
Is that the correct way of doing it? I have never done it myself, but that was everything I could gather for now.
Last edited by I0F (2025-09-03 12:11:22)
Offline
I did download the linux-zen PKGBUILD files and added the patch (named mypatch.patch) to source() and the folder .
Then I updated the checksums.
[/quote
That is all you need to do for the linux-zen package, it already has code in prepare() to apply any source file ending in .patch.
Sadly the commit does not apply cleanly to 6.16.4 as you found:
$ patch -Np1 -i ../d56c7118fb48e87226b45810bc55eac3f5bc3a82.patch
patching file drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
Hunk #1 FAILED at 149.
Hunk #2 FAILED at 397.
Hunk #3 succeeded at 666 (offset 1 line).
2 out of 3 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/amdgpu/psp_v11_0.c.rej
https://gitlab.freedesktop.org/agd5f/li … 55b8e959c3 needs to be applied first then the commit you want to test will apply cleanly.
Offline
Thanks, got it running. The patch solves the boot messages!
I did the following (just if other people are interested):
I cloned the linux-zen files. After that I downloaded both patches and named them 1.patch and 2.patch, so they get applied in the correct order. The patches get placed inside the cloned folder containing the PKGBUILD for linux-zen.
Then edit the PKGBUILD file and add '1.patch' and '2.patch' to the sources (right below config) and then run:
updpkgsums
That will update the PKGBUILD file with the correct checksums for the patches.
After that make the preparations for building the kernel. For that I ran the following command, which will only download and apply the patches. I did that so I can check if everything works as expected with the patches. Also I didn't want to deal with the keys, so I skipped checking them. I belive it doesn't matter for just trying out if the patched will fix the problem.
makepkg --skippgpcheck -o
After that compile the kernel with the following command, which simply builds the kernel. I noticed the compiling is pretty slow, so I followed this arch wiki chapter to enable all cores.
makepkg --skippgpcheck -e
After that just install with pacman -U.
Actually first time compiling the kernel, applying patches and messing around in a PKGBUILD file. Was a fun thing to do. Also reported to the bugtracker ticket. Thanks for the help!
Offline