mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
dell-precision-5490: make force_probe conditional
This commit is contained in:
parent
b2f6701f91
commit
99918dfbd7
2 changed files with 7 additions and 9 deletions
|
@ -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.
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue