Persistent Glitch Every 10s on Thinkpad w/AMD 7840u

I have a Thinkpad P14s Gen 4 AMD with an AMD 7840u. Everything boots fine and runs well except for a stutter or glitch that happens every 10 seconds. I can see a cpu thread spike every 10 seconds. I can run other linux distros like Fedora without the issue.

I experienced the issue on Nixos 23.11, running the latest (6.8.4) kernel with Gnome 45.5 on wayland. I also tried the LTS kernel and experienced same issue.

you could try to import the nixos-hardware module for your hardware.
It could look something like this:

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
    nixos-hardware.url = "github:NixOS/nixos-hardware";
  }
outputs = { ... } @ inputs: {
    nixosConfigurations.example = nixpkgs.lib.nixosSystem {
      inherit system;
      modules = [
        # replace with your hardware module
        nixos-hardware.nixosModules.lenovo-thinkpad-x230
      ];
    };
};
}

if you use a flake config that is, i should have said that