So I built a new PC a couple weeks ago. My old one broke one day (I think I helped it, but that's another story). I was happy to move from a stock Prism Wraith cooler that was LOUD and ANNOYING. I put a new AMD Ryzen 9 7900X in this box with a couple of new nvme drives (Samsung 9100 PRO and 990 PRO). The thing is silent under Windows 11. Silence at last!
Then I installed openSUSE Tumbleweed (from which I'm typing this) and as the post title says, something is making a high-pitched noise, like coil whine, when the system is mostly idle. I searched the web and the first suggestion is that Linux handles CPU power states (C-state) differently than Windows. Or, it could be the new disk(s), too. It's a fly in the ointment, I am very happy with the new PC, with how powerful and fast it is, I'm so far happy with openSUSE, but there HAD TO be SOMETHING to spoil the experience.
Has anybody had a similar problem? Any tips on how to troubleshoot it and not BREAK my computer?
EDIT: more info from the comments
I just use the Ryzen iGPU, don't have a dedicated GPU. I set the fan curves in BIOS, so it's the same across all OSes. I'm pretty sure it's not the fans. My main suspect is the CPU because the noise is there in openSUSE's installer, so even before anything touched the disks (they were straight from factory with no partitions). As soon as I launched the Tumbleweed installer I heard it. Not hearing it in Windows 11. I can hear it when the CPU is idle, if I start some program, run a compiler or even scroll fast in the web browser, there is no noise.
I had the same monitor for several years. I hear the noise from the PC case and I'm 100% sure about that. I used the same monitor with my previous PC and there was no noise, including in Fedora Workstation. This is a new PC.
The noise is audible in openSUSE's installer, that's the first time I heard it. So even before there was anything on either of those nvme disks, at that time they were straight from factory with no partitions.
I dual boot on this PC and the whine is not there in Windows 11, neither in BIOS. I have fan curves set in BIOS, so it's the same across OSes.
I had a Dell laptop that made a whiny noise in Debian because of something with the sound card/driver/?, but if I plugged in headphones it immediately stopped. I fixed it with alsamixer. I forget the specifics, it was a while back. Shot in the dark, but if it isn't happening due to load, maybe it's a sound issue?