Good news for AMD Linux users - fTPM RNG will soon be disabled

3 years ago by Avid Amoeba to c/linux

cross-posted from: https://lemmy.world/post/2852886

For those out of the loop, some AMD users have been suffering from stuttering issues caused by the AMD fTPM random number generator. A firmware/BIOS update appears to fix the issue for some users, but not others, leading to more bug reports being sent in. Last week, Linus Torvalds said "let's just disable the stupid fTPM hwrnd thing", and, as of today the Linux kernel has gone ahead and blanket disabled RNG use for all current AMD fTPMs.

autotldr 26 points 3 years ago

This is the best summary I could come up with:


As a follow-up to the first-on-Phoronix article last month that highlighted Linus Torvalds' frustrated views on the AMD fTPM random number generator continuing to cause problems for users even with updated firmware/BIOS, as of today the Linux kernel has gone ahead and blanket disabled RNG use for all current AMD fTPMs.

Mario summed up in that commit: tpm: Disable RNG for all AMD fTPMs

The TPM RNG functionality was previously disabled on a subset of AMD fTPM series, but reports continue to show problems on some systems causing stutter root caused to TPM RNG functionality.

Expand disabling TPM RNG use for all AMD fTPMs whether they have versions that claim to have fixed or not.

Thus over the next few days this change in behavior for modern AMD Ryzen systems will be rolling out in the next set of stable kernel point releases.

Hopefully this will lay to rest the various AMD stutter issues that continue to be reported by Linux users on recent kernel versions.


I'm a bot and I'm open source!

path: 0 2214915, hotness: undefined, score: 26, children: 0
Molecular0079 18 points 3 years ago

I am glad that I have not been bitten by this bug. Seems quite annoying.

path: 0 2215342, hotness: undefined, score: 18, children: 2
avidamoeba 4 points 3 years ago

I assume there's a kernel boot param that allows for disabling it if you get affected in a kernel older than the one they'll be disabling this.

path: 0 2215342 2220124, hotness: undefined, score: 4, children: 1
kogasa 2 points 3 years ago

They're backporting to 6.1 but you can always just disable fTPM.

path: 0 2215342 2220124 2246335, hotness: undefined, score: 2, children: 0
potemkinhr 12 points 3 years ago

Just to add a perspective from the other side of the fence, I have a gaming laptop running Windows 11 (yes I know) where this (or a very similar) issue has been plaguing Ryzen users for at least a year and a half. The issue is that TPM per se is not causing issues if turned on, but if BitLocker encryption is on it will cause occasional audio stutters and intermittent complete system halts. The only thing that reliably helps is completely turning off Bitlocker, the TPM chip can stay on and is of course needed for W11. OEMs and AMD have been digging their heads in the sand like ostritches and they have released the odd fix that does nothing to fix the underlying issue. I can't see MS doing anything to reverse course on requirements and am getting a bit fed up with their BS lately, browsing what distro might suit me best and might pull the trigger and finally switch...

path: 0 2241578, hotness: undefined, score: 12, children: 4
kogasa 4 points 3 years ago

TPM is not necessary for Windows 11.

I have a Windows 11 partition and fTPM is disabled in UEFI. Windows complains that "My computer doesn't meet the requirements to update to Windows 11" on the update menu, but there's no issue.

path: 0 2241578 2246295, hotness: undefined, score: 4, children: 0
xtapa 1 point 3 years ago

Have a look at Tumbleweed with KDE.

path: 0 2241578 2245751, hotness: undefined, score: 1, children: 1
potemkinhr 1 point 3 years ago

Thanks for the heads up, I'm distro hopping these days and looking for options on where to settle

path: 0 2241578 2245751 2778716, hotness: undefined, score: 1, children: 0
Tippon 1 point 3 years ago

Do it. Doooo iiiit...

path: 0 2241578 2243119, hotness: undefined, score: 1, children: 0
circuitfarmer 5 points 3 years ago

Sweet. I'm switching to Ryzen next week and was hoping to see this resolved just in case.

path: 0 2220939, hotness: undefined, score: 5, children: 2
avidamoeba 1 point 3 years ago

You'll need to use a bleeding edge kernel to get this patch unless it's backported to older kernels by your distro's maintainers. I doubt this will happen for say Debian or Ubuntu. Instead, you'd have to wait for a new HWE that has this new kernel or whatever the equivalent in Debian is.

path: 0 2220939 2230246, hotness: undefined, score: 1, children: 1
circuitfarmer 4 points 3 years ago

Yep. This system will be running Arch so I'm not too worried.

path: 0 2220939 2230246 2230247, hotness: undefined, score: 4, children: 0
linux
linux

@lemmy.ml

login for more options
68094
9453
5309

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

go to feed...