I’ve been working on certain modifications on my NixOS configurations to adapt it for my ROG Zephyrus G14 (2022) and I’m finding a constant roadblock when it comes to leaving the computer idle for a few minutes (usually more than 3 or 5 minutes).
When the laptop freezes it completely stops working and a hard reboot is required to be able to use the laptop again.
Some details about the laptop
- Ryzen 9 6900HS
- Radeon RX 6700S
- BIOS is on the latest update
- Exact model is GA402RJ
Other things worth noting, I am using the nixos-hardware flake for this (nixos-hardware/asus/zephyrus/ga402 at master · NixOS/nixos-hardware)
This is my current configuration.nix file and some of the errors I am seeing on journalctl (this is all using 25.11), not sure if there would be any recommendations to solve this freezing issue
{ config, lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelModules = [ "asus-nb-wmi" ];
boot.kernelParams = [
"amdgpu.runpm=0"
"amdgpu.dcdebugmask=0x10"
"processor.max_cstate=1"
"pcie_aspm=off"
"idle=nomwait"
"nvme_core.default_ps_max_latency_us=0"
];
hardware.cpu.amd.updateMicrocode = true;
hardware.enableRedistributableFirmware = true;
networking.hostName = "nixos-btw"; # Define your hostname.
networking.networkmanager.enable = true;
# Time zone
time.timeZone = "America/Toronto";
services.xserver = {
enable = true;
autoRepeatDelay = 200;
autoRepeatInterval = 35;
windowManager.qtile.enable = true;
};
services.displayManager.ly.enable = true;
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
libvdpau-va-gl
libva-vdpau-driver
];
};
services.xserver.videoDrivers = ["amdgpu"];
services.asusd.enable = true;
services.asusd.enableUserService = true;
services.supergfxd.enable = false;
programs.firefox.enable = true;
environment.systemPackages = with pkgs; [
vim
wget
git
helix
ghostty
rofi
];
fonts.packages = with pkgs; [
nerd-fonts.jetbrains-mono
];
nix.settings.experimental-features = [ "nix-command" "flakes"];
system.stateVersion = "25.11";
}
Error log
May 06 00:30:00 nixos-btw kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.G>
May 06 00:30:00 nixos-btw kernel: ACPI Error: Aborting method \_SB.PCI0.GPP0.SWUS.SWDS.VGA._ST>
May 06 00:30:00 nixos-btw kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.G>
May 06 00:30:00 nixos-btw kernel: ACPI Error: Aborting method \_SB.PCI0.GPP0.SWUS.SWDS.VGA._ST>
May 06 00:30:00 nixos-btw kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.G>
May 06 00:30:00 nixos-btw kernel: ACPI Error: Aborting method \_SB.PCI0.GPP0.SWUS.SWDS.VGA._ST>
May 06 00:30:00 nixos-btw kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.G>
May 06 00:30:00 nixos-btw kernel: ACPI Error: Aborting method \_SB.PCI0.GPP0.SWUS.SWDS.VGA._ST>
May 06 00:30:00 nixos-btw kernel: cdc_acm 8-1.1:1.1: probe with driver cdc_acm failed with err>
May 06 00:30:00 nixos-btw kernel: asus 0003:0B05:19B6.0002: Asus input not registered
May 06 00:30:00 nixos-btw kernel: asus 0003:0B05:19B6.0002: probe with driver asus failed with>
May 06 00:30:02 nixos-btw bootctl[916]: Mount point '/boot' which backs the random seed file >
May 06 00:30:02 nixos-btw bootctl[916]: Random seed file '/boot/loader/random-seed' is world a>
May 06 00:30:12 nixos-btw ly[1634]: gkr-pam: unable to locate daemon control file
May 06 00:30:22 nixos-btw ly[1638]: gkr-pam: unable to locate daemon control file