nixos-hardware icon indicating copy to clipboard operation
nixos-hardware copied to clipboard

ACPI Errors on ROG Zephyrus G14 GA402RJ with AMD GPU in NixOS

Open mateowoetam opened this issue 2 months ago • 0 comments

Description: I am experiencing repeated ACPI errors related to the VGA status method on my ROG Zephyrus G14 GA402RJ laptop, which is equipped with an AMD Ryzen 7 6800HS CPU and both discrete and integrated AMD GPUs. The errors occur during boot, and I am unsure if I am using the correct NixOS hardware module for my model.

Error Log:

Aug 13 19:09:38 nixos kernel: ACPI Error: Aborting method \_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA due to previous error (AE_NOT_FOUND) (20250404/psparse-529)
Aug 13 19:09:38 nixos kernel: ACPI Error: Aborting method \_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA due to previous error (AE_NOT_FOUND) (20250404/psparse-529)
Aug 13 19:09:38 nixos kernel: ACPI Error: Aborting method \_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA due to previous error (AE_NOT_FOUND) (20250404/psparse-529)
Aug 13 19:09:38 nixos kernel: ACPI Error: Aborting method \_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA due to previous error (AE_NOT_FOUND) (20250404/psparse-529)

System Information:

  • Host: ROG Zephyrus G14 GA402RJ
  • CPU: AMD Ryzen 7 6800HS (16) @ 4.79 GHz
  • GPUs:
    • Discrete: AMD Radeon RX 6700S
    • Integrated: AMD Radeon 680M

I am currently using the following NixOS flake configuration:

{
  description = "My NixOS Flake";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; # nixos-25.11
    chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
    home-manager = {
      url = "github:nix-community/home-manager"; # release-25.11
      inputs.nixpkgs.follows = "nixpkgs";
    };
    nix-flatpak.url = "github:gmodena/nix-flatpak";
    nixos-hardware.url = "github:NixOS/nixos-hardware/master";
    nix-gaming.url = "github:fufexan/nix-gaming";
    lanzaboote = {
      url = "github:nix-community/lanzaboote";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    cachix.url = "github:cachix/cachix";
  };

  outputs =
    {
      self,
      nixpkgs,
      chaotic,
      home-manager,
      nix-flatpak,
      nixos-hardware,
      nix-gaming,
      lanzaboote,
      cachix,
      ...
    }@inputs:
    {
      nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
        system = "x86_64-linux";
        specialArgs = { inherit inputs; };
        modules = [
          ./configuration.nix
          chaotic.nixosModules.default
          nix-flatpak.nixosModules.nix-flatpak
          nixos-hardware.nixosModules.asus-zephyrus-ga402x-amdgpu
          nix-gaming.nixosModules.platformOptimizations
          lanzaboote.nixosModules.lanzaboote
        ];
      };

      homeConfigurations.user = home-manager.lib.homeManagerConfiguration {
        pkgs = nixpkgs.legacyPackages.x86_64-linux;
        extraSpecialArgs = { inherit inputs; };
        modules = [
          ./home.nix
          chaotic.homeManagerModules.default
          nix-flatpak.homeManagerModules.nix-flatpak
        ];
      };
    };
}

Is the nixos-hardware.nixosModules.asus-zephyrus-ga402x-amdgpu module appropriate for my setup, or is there a better alternative? Any guidance on resolving these ACPI errors or confirming the correct module would be greatly appreciated.

I've also got the full journalctl -b output here: bootlog.txt and just the errors journalctl -b | grep error here: bootlog-error.txt

just in case, my up to date configuration files: https://codeberg.org/mateowoetam/configuration.nix

mateowoetam avatar Aug 14 '25 01:08 mateowoetam