Dell XPS 9560: Add information and tweak config
This commit is contained in:
parent
7f1836531b
commit
4cc314ad67
|
@ -14,6 +14,8 @@
|
||||||
|
|
||||||
Not much tweaking of NixOS itself was needed. But we currently cannot automate the firmware setup, so this must be done by hand.
|
Not much tweaking of NixOS itself was needed. But we currently cannot automate the firmware setup, so this must be done by hand.
|
||||||
|
|
||||||
|
== Installation ==
|
||||||
|
|
||||||
=== Before installation ===
|
=== Before installation ===
|
||||||
|
|
||||||
These settings are needed both for booting the final install, and installer itself. Therefore, they must be done first.
|
These settings are needed both for booting the final install, and installer itself. Therefore, they must be done first.
|
||||||
|
@ -31,11 +33,23 @@ These settings are needed both for booting the final install, and installer itse
|
||||||
|
|
||||||
* ''Disable C-States.'' This is a processor idling thing. It seems to cause random crashes (Blank screen, no normal panic debug dump). Unfortunately, without it, the computer cannot be suspended. On the other hand, it doesn't seem to affect acpi's estimation of battery life when the computer is running with minimal load, but I haven't tested battery life in practice. I list it as optional as there's a tradeoff, and the crashes are rare enough one can probably get through installation just fine.
|
* ''Disable C-States.'' This is a processor idling thing. It seems to cause random crashes (Blank screen, no normal panic debug dump). Unfortunately, without it, the computer cannot be suspended. On the other hand, it doesn't seem to affect acpi's estimation of battery life when the computer is running with minimal load, but I haven't tested battery life in practice. I list it as optional as there's a tradeoff, and the crashes are rare enough one can probably get through installation just fine.
|
||||||
|
|
||||||
|
* This does not seem to be a problem on recent firmware/kernel versions.
|
||||||
|
|
||||||
* ''Update BIOS.'' According to Reddit, this helps with battery life.
|
* ''Update BIOS.'' According to Reddit, this helps with battery life.
|
||||||
|
|
||||||
* ''Update Intel's Thunderbolt firmware.'' Without this, the Thunderbolt port will only work as power source, and not transfer data.
|
* ''Update Intel's Thunderbolt firmware.'' Without this, the Thunderbolt port will only work as power source, and not transfer data.
|
||||||
|
|
||||||
=== Troubleshooting ===
|
== Optional Functionality ==
|
||||||
|
|
||||||
|
* ''Fan control'' This laptop supports Dell's own [libsmbios](https://github.com/dell/libsmbios) to set fan modes, as well as other bios settings. Simply add the `libsmbios` package to your environment.
|
||||||
|
|
||||||
|
* ''TPM 2.0 LUKS Decryption'' If using the experimental systemd initrd, the TPM can easily be used to decrypt the root partition at boot. Simply use `systemd-cryptenroll` with desired options.
|
||||||
|
|
||||||
|
* ''Firmware Upgrades'' `services.fwupd` and your desired front-end can be used to update almost all of the firmware on this system. Something curious is the BIOS offered through fwupd/lvfs is much newer than the one available on Dell's website.
|
||||||
|
|
||||||
|
* ''Secure Boot'' This works. There is more than one way to enable it. Tested with [lanzaboote](https://github.com/nix-community/lanzaboote) v0.3.0
|
||||||
|
|
||||||
|
== Troubleshooting ==
|
||||||
|
|
||||||
==== rcu_sched freezing problems ====
|
==== rcu_sched freezing problems ====
|
||||||
|
|
||||||
|
@ -52,3 +66,12 @@ boot.kernelParams = [ "acpi_rev_override=1" "pcie_aspm=off" "nouveau.modeset=0"
|
||||||
```
|
```
|
||||||
|
|
||||||
Some more detail about the problem can be found here: https://bbs.archlinux.org/viewtopic.php?id=223056
|
Some more detail about the problem can be found here: https://bbs.archlinux.org/viewtopic.php?id=223056
|
||||||
|
|
||||||
|
=== TPM 2.0 Intermittent ===
|
||||||
|
|
||||||
|
* The TPM was very unreliable, sometimes not showing up to the system. Updating to the latest TPM firmware fixed the problem. I could not seem to do this through `fwupd` so used the latest exe from the Dell website. Loading the exe through a command prompt on a Windows installer was adequate.
|
||||||
|
|
||||||
|
== Broken Functionality ==
|
||||||
|
|
||||||
|
* ''Fingerprint Reader'': Can be enabled with `services.fprintd.enable`, and can read your fingerprint. Fingerprint authentication is extremely reliable to the point it is not worth using.
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
|
../../../common/cpu/intel/kaby-lake
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
./xps-common.nix
|
./xps-common.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../../../common/cpu/intel
|
../../../../common/cpu/intel
|
||||||
|
../../../../common/cpu/intel/kaby-lake
|
||||||
../../../../common/pc/laptop
|
../../../../common/pc/laptop
|
||||||
../../../../common/gpu/nvidia/disable.nix
|
../../../../common/gpu/nvidia/disable.nix
|
||||||
../xps-common.nix
|
../xps-common.nix
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -14,9 +14,9 @@
|
||||||
##### disable intel, run nvidia only and as default
|
##### disable intel, run nvidia only and as default
|
||||||
hardware.nvidia.prime = {
|
hardware.nvidia.prime = {
|
||||||
# Bus ID of the Intel GPU.
|
# Bus ID of the Intel GPU.
|
||||||
intelBusId = lib.mkDefault "PCI:0:2:0";
|
intelBusId = "PCI:0:2:0";
|
||||||
|
|
||||||
# Bus ID of the NVIDIA GPU.
|
# Bus ID of the NVIDIA GPU.
|
||||||
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
# Solution to rcu_sched freezing
|
||||||
boot.kernelParams = [ "acpi_rev_override" ];
|
boot.kernelParams = [ "acpi_rev_override" ];
|
||||||
|
|
||||||
# This will save you money and possibly your life!
|
# This will save you money and possibly your life!
|
||||||
|
|
Loading…
Reference in a new issue