Skip to content

Commit

Permalink
Add basic dell precision 5490
Browse files Browse the repository at this point in the history
  • Loading branch information
teekuningas authored and mergify[bot] committed Oct 19, 2024
1 parent a825917 commit 2d125b6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
15 changes: 15 additions & 0 deletions dell/precision/5490/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Dell Precision 5490

The internal monitor needs Linux Kernel >= 6.7 so enabling hybrid graphics does not work out of the box in 24.05. Setting

```
boot.kernelParams = [ "i915.force_probe=7d55" ];
```

helped but introduced some screen tearing.

Setting
```
boot.kernelPackages = pkgs.linuxPackages_latest;
```
in nixos-stable worked with no problems.
14 changes: 14 additions & 0 deletions dell/precision/5490/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{ lib, ... }:
{
imports = [
../../../common/gpu/nvidia
];

# or even better: boot.kernelParams = pkgs.linuxPackages_latest;
boot.kernelParams = [ "i915.force_probe=7d55" ];

hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
}

0 comments on commit 2d125b6

Please sign in to comment.