this post was submitted on 08 Aug 2023
197 points (98.5% liked)

Linux

48216 readers
631 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

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.

top 15 comments
sorted by: hot top controversial new old
[–] autotldr@lemmings.world 30 points 1 year 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!

[–] Molecular0079@lemmy.world 20 points 1 year ago (1 children)

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

[–] avidamoeba@lemmy.ca 4 points 1 year ago (1 children)

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.

[–] kogasa@programming.dev 2 points 1 year ago

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

[–] potemkinhr@lemmy.ml 12 points 1 year ago (3 children)

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...

[–] kogasa@programming.dev 5 points 1 year ago* (last edited 1 year 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.

[–] xtapa@feddit.de 1 points 1 year ago (1 children)

Have a look at Tumbleweed with KDE.

[–] potemkinhr@lemmy.ml 1 points 1 year ago

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

[–] Tippon@lemmy.world 1 points 1 year ago

Do it. Doooo iiiit...

[–] circuitfarmer@lemmy.sdf.org 6 points 1 year ago (1 children)

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

[–] avidamoeba@lemmy.ca 3 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] circuitfarmer@lemmy.sdf.org 5 points 1 year ago

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

[–] argv_minus_one@beehaw.org 4 points 1 year ago (1 children)

You can also solve this problem by disabling the TPM in the BIOS settings, assuming your motherboard has such a setting. No TPM, no problem.

[–] avidamoeba@lemmy.ca 2 points 1 year ago (1 children)

Yeah. I think I disabled it the day I built my system.

[–] argv_minus_one@beehaw.org 2 points 1 year ago* (last edited 1 year ago)

This is the way. Besides these stuttering issues, the TPM is owner-disobedient (there is no way for the owner to extract keys stored in it) and an unnecessary attack surface (which, if breached, gives the attacker unfettered, persistent, and irrevocable access to the entire machine).