Merge pull request #9 from Ericson2314/master

WIP: Dell XPS 15 9550
This commit is contained in:
Emery Hemingway 2016-03-05 22:28:04 +01:00
commit 86393d664b
2 changed files with 78 additions and 0 deletions

40
dell/xps-15-9550.nix Normal file
View file

@ -0,0 +1,40 @@
{ config, pkgs, ... }:
{
imports =
[ ../lib/kernel-version.nix
];
## BEGIN from generated hardware-configuration
## Probably better to just use a freshly generated hardware.configuration.nix
## than this, but including for reference.
#imports =
# [ <nixos/modules/hardware/network/broadcom-43xx.nix>
# <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
# ];
#
#boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "rtsx_pci_sdmmc" ];
#boot.kernelModules = [ "kvm-intel" ];
#boot.extraModulePackages = [ ];
#
#nix.maxJobs = 8;
## END from generated hardware-configuration
# Use the gummiboot efi boot loader. (From default generated configuration.nix)
boot.loader.gummiboot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Honestly forget if needed or just better for touchpad.
# Would be nice to try libinput instead once nixos-unstable updates
services.xserver.synaptics.enable = true;
# Intel Graphics confirmed not working at 4.1, confirmed working at {4.3, 4.4}
kernelAtleast =
[ { version = "4.2"; msg = "Intel Graphics confirmed not to work."; }
{ version = "4.3"; msg = "Intel Graphics untested."; }
{ version = "4.4"; msg = "Touchpad does not work, though the touchscreen still does"; }
];
# To just use intel integrated graphics with Intel's open source driver
# hardware.nvidiaOptimus.disable = true;
}

38
dell/xps-15-9550.wiki Normal file
View file

@ -0,0 +1,38 @@
= Dell XPS 15 9550 =
Most of this I presume also applies to the XPS 13 1530, the 13" variant.
== Tested Hardware ==
* CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
* RAM: 16 GB
* HDD: 512 GiB SSD
* Screen: 15" 4k (3840✕2160)
* Graphics: NVIDIA Corporation GM107M, with Intel Graphics too.
* Input: Touchscreen and trackpad.
== Firmware Configuration ==
Not much tweaking of NixOS itself was needed. But we currently cannot automate the firmware setup, so this must be done by hand.
=== Before installation ===
These settings are needed both for booting the final install, and installer itself. Therefore, they must be done first.
* ''Disable Secure Boot (but keep UEFI Boot).'' Thakfully doing so is as easy as changing any other simple setting.
* ''Disable Intel hardware RAID and use AHCI instead.'' Intel doesn't seem to provide a working linux driver for this. (If you just have SSD it's pointless and just slows things down needlessly anyways.)
=== After installation ===
* ''Add gummiboot to UEFI boot list.'' The (uneditable anyways) settings mapping drive UUIDs to HD* work fine.
=== Optional ===
* ''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.
* ''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.