Adding the razer blade 14 2025
This commit is contained in:
parent
c5db9569ac
commit
64e8049770
6 changed files with 244 additions and 0 deletions
68
razer/blade/14/RZ09-0530/README.md
Normal file
68
razer/blade/14/RZ09-0530/README.md
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
# Razer Blade 14 (RZ09-0530)
|
||||
|
||||
Model year: 2025
|
||||
|
||||
## Hardware Specifications
|
||||
|
||||
- **Model:** RZ09-0530
|
||||
- **CPU:** AMD Ryzen AI 9 HX 370 (Strix Point)
|
||||
- **iGPU:** AMD Radeon 880M / 890M
|
||||
- **dGPU:** NVIDIA GeForce RTX 5060 Max-Q (Blackwell)
|
||||
- **Display:** 14" 2560x1600 OLED, 240Hz
|
||||
|
||||
## Identifying Your Model
|
||||
|
||||
```bash
|
||||
nix-shell -p dmidecode --run "sudo dmidecode -s system-product-name"
|
||||
# Should output: Blade 14 - RZ09-0530
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```nix
|
||||
{
|
||||
imports = [
|
||||
inputs.nixos-hardware.nixosModules.razer-blade-14-RZ09-0530
|
||||
];
|
||||
}
|
||||
```
|
||||
|
||||
## Features
|
||||
|
||||
This profile configures:
|
||||
|
||||
- AMD CPU with microcode updates
|
||||
- NVIDIA Prime offload (use `nvidia-offload` command for GPU-intensive applications)
|
||||
- AMD iGPU for early KMS
|
||||
- Power management for hybrid graphics
|
||||
- Proper PCI bus IDs for the hybrid GPU setup
|
||||
|
||||
## Optional: OpenRazer for RGB Control
|
||||
|
||||
If you want to control the Razer RGB keyboard lighting, you can enable OpenRazer:
|
||||
|
||||
```nix
|
||||
{
|
||||
hardware.openrazer = {
|
||||
enable = true;
|
||||
# Disable keyStatistics if using a keyboard remapper like kanata
|
||||
keyStatistics = false;
|
||||
users = [ "your-username" ];
|
||||
};
|
||||
|
||||
# Optional: Polychromatic GUI for RGB control
|
||||
environment.systemPackages = [ pkgs.polychromatic ];
|
||||
}
|
||||
```
|
||||
|
||||
## Known Issues
|
||||
|
||||
- None reported yet
|
||||
|
||||
## Additional Notes
|
||||
|
||||
- The NVIDIA RTX 5060 Max-Q uses the Blackwell architecture and works with the open kernel modules (`hardware.nvidia.open = true`)
|
||||
- Fine-grained power management is enabled by default for better battery life
|
||||
- Use `nvidia-offload <command>` to run applications on the discrete GPU
|
||||
|
||||
|
||||
60
razer/blade/14/RZ09-0530/default.nix
Normal file
60
razer/blade/14/RZ09-0530/default.nix
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkDefault;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../../../../common/cpu/amd
|
||||
../../../../common/gpu/amd
|
||||
../../../../common/gpu/nvidia/prime.nix
|
||||
../../../../common/pc/laptop
|
||||
../../../../common/pc/ssd
|
||||
../../../../common/wifi/mediatek/mt7925
|
||||
../../../../common/wifi/mediatek/mt7925/iwd.nix
|
||||
];
|
||||
|
||||
# Razer Blade 14 (RZ09-0530 / 2025) - AMD Ryzen AI 9 HX 370 + NVIDIA RTX 5060 Max-Q
|
||||
|
||||
# Enable AMD iGPU and NVIDIA dGPU drivers
|
||||
services.xserver.videoDrivers = mkDefault [
|
||||
"amdgpu"
|
||||
"nvidia"
|
||||
];
|
||||
|
||||
hardware = {
|
||||
# Firmware for AMD CPU/GPU, WiFi, Bluetooth
|
||||
enableRedistributableFirmware = mkDefault true;
|
||||
|
||||
# Enable AMD iGPU in initrd for early KMS
|
||||
amdgpu.initrd.enable = mkDefault true;
|
||||
|
||||
nvidia = {
|
||||
modesetting.enable = mkDefault true;
|
||||
nvidiaSettings = mkDefault true;
|
||||
|
||||
# Open kernel modules work on Blackwell (RTX 50 series)
|
||||
open = mkDefault true;
|
||||
|
||||
prime = {
|
||||
offload = {
|
||||
enable = mkDefault true;
|
||||
enableOffloadCmd = mkDefault true;
|
||||
};
|
||||
|
||||
# Bus IDs for Razer Blade 14 2025
|
||||
# Obtained via: nix shell nixpkgs#pciutils -c lspci -d ::03xx
|
||||
# c4:00.0 (196:0:0) - NVIDIA GeForce RTX 5060 Max-Q
|
||||
# c5:00.0 (197:0:0) - AMD Radeon 880M / 890M
|
||||
amdgpuBusId = "PCI:197:0:0";
|
||||
nvidiaBusId = "PCI:196:0:0";
|
||||
};
|
||||
|
||||
# Power management for hybrid graphics
|
||||
powerManagement = {
|
||||
enable = mkDefault true;
|
||||
finegrained = mkDefault true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue