-
-
Notifications
You must be signed in to change notification settings - Fork 769
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
base: master
Are you sure you want to change the base?
add Dell Pro 14 PA14250 #1534
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ lib, ... }: | ||
|
||
{ | ||
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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any downsides with just depending on linuxPackages_latest as the default? There was a problem hiding this comment. Choose a reason for hiding this commentThe 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; | ||
} |
There was a problem hiding this comment.
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