Skip to content

Commit

Permalink
dell-precision-5490: make force_probe conditional
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 b2f6701 commit 99918df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 4 additions & 4 deletions dell/precision/5490/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +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
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:

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

helped but introduced some screen tearing.
However, this may lead to some screen tearing.

Setting
If possible, you might benefit from a newer kernel, for example:
```
boot.kernelPackages = pkgs.linuxPackages_latest;
```
in nixos-stable worked with no problems.
as it seems to work without any issues.
8 changes: 3 additions & 5 deletions dell/precision/5490/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{ lib, ... }:
{ config, lib, ... }:
{
imports = [
../../../common/gpu/nvidia
../../../common/gpu/nvidia/ada-lovelace
];

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

hardware.nvidia.open = true;
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
Expand Down

0 comments on commit 99918df

Please sign in to comment.