Skip to content

Commit 99918df

Browse files
teekuningasmergify[bot]
authored andcommitted
dell-precision-5490: make force_probe conditional
1 parent b2f6701 commit 99918df

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

dell/precision/5490/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Dell Precision 5490
22

3-
The internal monitor needs Linux Kernel >= 6.7 so enabling hybrid graphics does not work out of the box in 24.05. Setting
3+
Linux kernel versions prior to 6.7 may not function correctly with the internal monitor, as official support was introduced in version 6.7 (https://www.phoronix.com/news/Linux-6.7-Intel-Meteor-Lake-Gfx). You can enable experimental support by adding the following parameter:
44

55
```
66
boot.kernelParams = [ "i915.force_probe=7d55" ];
77
```
88

9-
helped but introduced some screen tearing.
9+
However, this may lead to some screen tearing.
1010

11-
Setting
11+
If possible, you might benefit from a newer kernel, for example:
1212
```
1313
boot.kernelPackages = pkgs.linuxPackages_latest;
1414
```
15-
in nixos-stable worked with no problems.
15+
as it seems to work without any issues.

dell/precision/5490/default.nix

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
{ lib, ... }:
1+
{ config, lib, ... }:
22
{
33
imports = [
4-
../../../common/gpu/nvidia
4+
../../../common/gpu/nvidia/ada-lovelace
55
];
66

7-
# or even better: boot.kernelParams = pkgs.linuxPackages_latest;
8-
boot.kernelParams = [ "i915.force_probe=7d55" ];
7+
boot.kernelParams = lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.7") [ "i915.force_probe=7d55" ];
98

10-
hardware.nvidia.open = true;
119
hardware.nvidia.prime = {
1210
intelBusId = "PCI:0:2:0";
1311
nvidiaBusId = "PCI:1:0:0";

0 commit comments

Comments
 (0)