Skip to content

add Dell Pro 14 PA14250 #1534

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions dell/dell-pro/PA14250/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{ lib, ... }:

{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add this to the README.md and flake.nix

imports = [
../../../common/cpu/intel/lunar-lake
../../../common/pc/laptop
../../../common/pc/ssd
];

hardware.intelgpu.driver = "xe";
# use xe graphics module, i915 doesn't seem to work well
# just selecting xe seems to be not enough
boot.blacklistedKernelModules = [ "i915" ];

boot.kernelParams = [
# makes external display more stable
"xe.psr_safest_params=1"
# extra debug logs just in case something breaks
"xe.verbose_state_checks=true"
];

# 6.15.5 and 6.12.34 seems to work, newer versions in 25.05 fail to load graphics
Copy link
Member

@Mic92 Mic92 Jul 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So kernel newer than 6.12.34 are broken? this makes it a bit hard to deploy this. Does _latest work? Otherwise people would need to compile kernel manually.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, latest works so far (6.15.7), I was hoping it'd soon get fixed in 6.12 series. But just tried 6.12.39 - still doesn't work

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any downsides with just depending on linuxPackages_latest as the default?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't know what's common & recommended in nixos-hardware, but currently that's what I'm using so won't mind a default

# TODO: find or file upstream issue
# meanwhile on 25.05 you can use
# boot.kernelPackages = pkgs.linuxPackages_latest;
assertions = [
{
assertion = config.boot.kernelPackages.kernel.version != "6.12.35";
message = "probe with driver xe failed with error -110";
}
{
assertion = config.boot.kernelPackages.kernel.version != "6.12.36";
message = "probe with driver xe failed with error -110";
}
];

# Recommended in NixOS/nixos-hardware#127
services.thermald.enable = lib.mkDefault true;
}