Edit:
Confirmed that a bug exists on Fedora 39+ when using kernel-6.8.4-200
and greater.
BZ link for those that want to follow.
Looking to see if:
Anyone from framework or in the community has filed a bug for this
If anyone else has been able to replicate this
Using Fedora 39 and Fedora 40, I have tested the following kernels:
kernel-6.7.11-200.fc39.x86_64
kernel-6.8.4-200.fc39.x86_64
kernel-6.8.4-300.fc40.x86_64
With the 6.8 kernels, regardless of power profile set, my GPU will not go above 50 watts.
However, with the 6.7 kernel, I am able to get to my max wattage of 100 watts.
Rolling back the kernel has temporarilly solved this issue. However, since F40 will be live in about a week - I think we should get a bug filed if there isnt one yet.
I havent created a Fedora bug - but can create an account and do so if needed.
Check if AMD PMF driver is loading. There is another issue raised recently that Fedora silver blue is missing it.
Might be a common issue. If so, please raise an issue with Fedora bugzilla.
1 Like
Mario,
Do you know if there is a BZ link for the Silverblue issue?
I just did a restart into the 6.8 kernel and it does not look like its loading the driver - as I can only see from my reboot into the 6.7 kernel:
...
Apr 08 17:56:40 framework kernel: amd-pmf AMDI0102:00: registered PMF device successfully
Apr 08 19:38:16 framework kernel: efi: ACPI=0x5affe000 ACPI 2.0=0x5affe014 TPMFinalLog=0x5af3f000 SMBIOS=0x58e77000 SMBIOS 3.0=0x58e74000 MEMATTR=0x52d09018 ESRT=0x548b8798 MOKvar=0x5907b000 RNG=0x5af8e018 TPMEventLog=0x47b9e018
Apr 08 19:43:40 framework kernel: efi: ACPI=0x5affe000 ACPI 2.0=0x5affe014 TPMFinalLog=0x5af3f000 SMBIOS=0x58e77000 SMBIOS 3.0=0x58e74000 MEMATTR=0x52d09018 ESRT=0x548b8798 MOKvar=0x5907b000 RNG=0x5af8e018 TPMEventLog=0x47b9e018
$ uptime
19:44:30 up 0 min, 1 user, load average: 0.60, 0.19, 0.07
No there isn’t. I suspect they’re the same though.
In kernel 6.8 amd-pmf has a new dependency on tee and maybe the distro kernel forgot to enable it.
2 Likes
Sounds good - creating a bug now.
Here’s the other issue
Sure.
Try running modinfo amd-pmf. If it doesn’t find it, then make sure you’re on the correct and latest kernel version for your distro. If you are, then there appears to be a kernel bug that it’s not built.
You can reference both your issue.
The two kconfig options needed are
CONFIG_AMDTEE
CONFIG_AMD_PMF
1 Like
I went ahead and created the bug. If anyone else has more data to provide, please feel free to contribute.
https://bugzilla.redhat.com/show_bug.cgi?id=2274069
Mario,
Thanks for the hint on the amd-pmf driver. Hopefully we can get this into the next kernel update.
3 Likes
Update on this - the 6.8.5 kernel has been pushed as an update for Fedora 38-40. You can wait till it pushes through stable, or download and install manually.
FEDORA-2024-6d35739db7 (kernel-6.8.5-300.fc40) has been submitted as an update to Fedora 40. FEDORA-2024-6d35739db7 — security update for kernel — Fedora Updates System
FEDORA-2024-33a9ea72d1 (kernel-6.8.5-200.fc39) has been submitted as an update to Fedora 39. FEDORA-2024-33a9ea72d1 — security update for kernel — Fedora Updates System
FEDORA-2024-a56a47ef1b (kernel-6.8.5-100.fc38) has been submitted as an update to Fedora 38. FEDORA-2024-a56a47ef1b — security update for kernel — Fedora Updates System
Update:
Kernel has been pushed to updates-testing