Commit graph

216 commits

Author SHA1 Message Date
Lyndon Sanche 12acfdefc1
dell-xps-17-9700: Add nvidia architecture 2024-09-03 12:17:32 -06:00
Lyndon Sanche dec757bf4e
dell-xps-15-9560: Add nvidia architecture 2024-09-03 12:17:17 -06:00
Lyndon Sanche 9f9cf89d33
dell-xps-15-9550: Add nvidia architecture 2024-09-03 12:17:02 -06:00
Lyndon Sanche 3058433601
dell-xps-15-9520: Add nvidia architecture 2024-09-03 12:16:52 -06:00
Lyndon Sanche c75b52ace8
dell-xps-15-9510: Add nvidia architecture 2024-09-03 12:16:41 -06:00
Lyndon Sanche 32979d223a
dell-xps-15-9500: Add nvidia architecture 2024-09-03 12:16:31 -06:00
Lyndon Sanche b1ee64a4ea
dell-g3-3779: Add nvidia architecture 2024-09-03 12:16:12 -06:00
Bradley Nelson 5cbf79226b feat: Add support for NVIDIA microarchitecture to xps 7590 and 9570 2024-09-03 17:29:09 +00:00
Daniel Șerbănescu d3600fc296 xps13-9380: enable fwupd 2024-08-24 10:14:37 +00:00
Skyler Mäntysaari b09c46430f Add Dell Latitude 5490 2024-08-19 11:36:55 +00:00
Jörg Thalheim 05672b50f7 dell/xps/15-9560: fix graphics options 2024-07-19 18:10:23 +00:00
Jörg Thalheim 6a4ecebce5 dell/xps/15-9560: use graphics option 2024-07-19 18:10:23 +00:00
liamwb 42577dbb0f removed parts that are included in other modules 2024-07-19 18:10:23 +00:00
liamwb 19e9c2fb7a naively pasted code from our forum discussion 2024-07-19 18:10:23 +00:00
Lyndon Sanche ba8294c0a1 common: Move Intel generation-specific config from cpu to gpu
These modules only included gpu configuration, so belong in that
location.
2024-07-09 09:05:35 +00:00
pinage404 f140ca626b Dell Optiplex 3050: init 2024-06-26 14:30:13 +00:00
Jörg Thalheim 584a5e5518 fix 24.05 evaluation 2024-06-21 23:50:11 +02:00
toastal cc634b69c8 remove driSupport, opengl → graphics 2024-06-21 16:38:07 +00:00
Jan Heidbrink 9e848e173c add Dell Latitude 9430 2024-06-12 15:50:30 +00:00
V7 82b2e20fbf Update Inspiron 5509 2024-06-04 15:34:27 +00:00
fidgetingbits 0a944f8c68 dell/precision/7520: init 2024-05-19 17:31:50 +00:00
Benedikt Ritter a3746a14c1 feat: add dell latitude 7280 module 2024-04-05 13:41:45 +00:00
Vinetos 01467901ec dell-xps-15-9570: init 2024-02-28 08:59:50 +00:00
V7 3610be0dca Import Intel GPU module 2024-02-22 09:33:01 +00:00
Guillaume Girol 3b54f86b53 dell inspiron 5515: add early kms
since the update to 23.11, the screen would remain black frequently on
boot. Pressing alt+sysrq+k would make the display manager start.
Empirically, setting early kms up has solved the issue.
2024-02-01 10:08:38 +00:00
Lena Fuhrimann ef811636cc Add fwupd to Dell XPS 13 7390 config 2024-01-13 23:04:19 +00:00
Jörg Thalheim b34a6075e9 xps-15-9560: disable broken bumblebee for now
Looks like it fails to evaluate in nixpkgs just now
2024-01-09 07:46:34 +00:00
Sebastian Klähn 22ae59fec2 Update dell/xps/13-9310/default.nix 2023-12-29 19:45:20 +00:00
Sebastian Klähn 72fea2077c Update config for xps-13-9010
Add configuration for finger print
2023-12-29 19:45:20 +00:00
Dominic Egginton 1bace8cedd feat: add dell latitude 7390 module 2023-12-29 11:43:26 +00:00
Jörg Thalheim b7747f0f60 remove unused variables with deadnix 2023-12-25 20:25:23 +00:00
Kourosh Tafreshi c3abafb01c chore: Add switcheroo service for Dual GPU 2023-11-21 09:32:36 +00:00
Kourosh Tafreshi fc126177f6 chore: Activate nvidia powermanagement 2023-11-21 09:32:36 +00:00
Kourosh Tafreshi 87f8403371 chore: Add OPENGL settings 2023-11-03 20:49:21 +00:00
Kourosh Tafreshi ce6068070b chore: Tunning WiFi 2023-11-03 20:49:21 +00:00
Kourosh Tafreshi 455496f1b4 chore: Add DELL XPS 9510 2023-10-06 17:41:06 +00:00
Lyndon Sanche 817e297fc3 Dell XPS 9560: More formatting in README 2023-08-25 09:31:26 +01:00
Lyndon Sanche 79a189283e Dell XPS 9560: Fix README headers 2023-08-25 09:31:26 +01:00
Lyndon Sanche 2455827f55 Dell XPS 9560: Fix README links 2023-08-25 09:31:26 +01:00
Lyndon Sanche 4cc314ad67 Dell XPS 9560: Add information and tweak config 2023-08-25 09:31:26 +01:00
Lyndon Sanche 8ff521acd2 XPS 9560: Remove lib.mkDefault on mergable options 2023-08-09 08:43:19 +01:00
Baffle 5426a95071 inspiron 14 5420: more tlp info in README 2023-08-06 08:02:29 +01:00
bagelwaffle a75e04b259 inspiron 14 5420: remove TLP 2023-08-06 08:02:29 +01:00
bagelwaffle ae71259624 inspiron 14 5420: initial 2023-08-06 08:02:29 +01:00
Matthieu Dubuget b4f1105b9c Update default.nix: removing the fwupd line 2023-08-04 21:08:48 +01:00
Matthieu Dubuget 6dcf1381ec Adding Dell XPS 13 9333 2023-08-04 21:08:48 +01:00
bors[bot] 7dc4630467
Merge #613 #615
613: Add config for Dell XPS 15 9520 r=Mic92 a=palfrey



615: add dell precision 3541 r=Mic92 a=anstylian



Co-authored-by: Tom Parker-Shemilt <tom.parkershemilt@doxy.me>
Co-authored-by: Tom Parker-Shemilt <palfrey@tevp.net>
Co-authored-by: angelos <agathangelos.stylianidis@gmail.com>
2023-05-02 06:40:13 +00:00
angelos 576903907a add dell precision 3541 2023-04-29 17:54:03 +03:00
Tom Parker-Shemilt b13c895f11 Add config for Dell XPS 15 9520 2023-04-29 11:18:48 +01:00
Ghislain Vaillant e72756d0b4
Enable NVIDIA power management for Dell XPS 7590 2023-03-07 21:08:32 +01:00
bors[bot] 77de4cd09d
Merge #571
571: common/gpu/intel*: Migrate to common/gpu/intel/* and add disable r=Mic92 a=Kiskae



Co-authored-by: Kiskae <Kiskae@users.noreply.github.com>
2023-02-28 13:40:39 +00:00
Ghislain Vaillant 9fef72a2af dell-xps-15-7590: enable fwupd and deep sleep
- This device supports firmware updates through `fwupd`.
- Prefer deep sleep over s2idle which is inefficient.
- Remove old cruft in the corresponding readme.
2023-02-28 12:15:25 +01:00
Kiskae d7a5d6a29a common/gpu/intel*: Migrate to common/gpu/intel/* and add disable 2023-02-27 14:04:53 +01:00
Ghislain Vaillant 4f1565e56d
Remove override of WiFi module for Dell XPS 15 7590 2023-02-26 21:02:04 +01:00
bors[bot] 2a483ad9cd
Merge #569
569: Enable thermald for Dell XPS 15 7590 r=Mic92 a=ghisvail



Co-authored-by: Ghislain Vaillant <ghisvail@users.noreply.github.com>
2023-02-26 19:46:35 +00:00
Ghislain Vaillant 4bf15d3dfd Enable thermald for Dell XPS 15 7590 2023-02-26 20:35:47 +01:00
Ghislain Vaillant c37aed2394 Add NVIDIA config for Dell XPS 15 7590 2023-02-25 19:18:27 +01:00
Jörg Thalheim 03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
mexisme 0cee376703 Support reloading btusb module after resuming 2022-12-31 14:23:53 +13:00
mexisme 97900e1e7e Support reloading i2c-designware module(s) after resuming 2022-12-31 14:23:53 +13:00
mexisme b1582825dd Support for the Dell XPS 13, 9300 model 2022-12-31 14:23:53 +13:00
s1341 9c0fa60e49 Latitude 7430: init 2022-12-19 12:41:50 +02:00
Tristan Daniël Maat cdd049a353
treewide: Migrate to new nvidia modules 2022-11-13 01:55:13 +00:00
Quinn Dougherty d43d5ad52a Latitude 3340: init 2022-11-11 10:04:17 +01:00
Weathercold 3ed1ae8ef7 inspiron-7405: init 2022-09-09 23:45:13 -04:00
Andrew Kvalheim bb846f8ed9 Add Dell XPS 13 9350
Reviewed on a Dell XPS 13 Developer Edition 9350.

No Skylake-specific configuration is necessary:

  - RC6 sleep is automatically detected configured by default, and
    `i915.enable_rc6` no longer exists.

  - Frame buffer compression (FBC) is automatically detected and enabled
    by default, so `i915.enable_fbc` is unnecessary.

  - Panel self refresh (PSR) is automatically detected and enabled by
    default, so `i915.enable_psr` is unnecessary.

Wireless card detection log:

    iwlwifi 0000:3a:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x204

Touchpad detection log:

    psmouse serio1: synaptics: queried max coordinates: x [..5666], y [..4734]
    psmouse serio1: synaptics: queried min coordinates: x [1276..], y [1118..]
    psmouse serio1: synaptics: Your touchpad (PNP: DLL0704 PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you might want to try setting psmouse.synaptics_intertouch to 1 and report this to linux-input@vger.kernel.org.
    psmouse serio1: synaptics: Advanced gesture mode init failed: -5
    psmouse serio1: synaptics: Unable to initialize device.
    input: DLL0704:01 06CB:76AE Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-8/i2c-DLL0704:01/0018:06CB:76AE.0004/input/input26
    input: DLL0704:01 06CB:76AE Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-8/i2c-DLL0704:01/0018:06CB:76AE.0004/input/input27
    hid-multitouch 0018:06CB:76AE.0004: input,hidraw3: I2C HID v1.00 Mouse [DLL0704:01 06CB:76AE] on i2c-DLL0704:01
    psmouse serio1: Failed to enable mouse on isa0060/serio1

i915 debug log:

    i915 device info: pciid=0x1926 rev=0x0a platform=SKYLAKE (subplatform=0x1) gen=9
    i915 device info: graphics version: 9
    i915 device info: media version: 9
    i915 device info: display version: 9
    i915 device info: gt: 3
    i915 device info: iommu: disabled
    i915 device info: memory-regions: 5
    i915 device info: page-sizes: 11000
    i915 device info: platform: SKYLAKE
    i915 device info: ppgtt-size: 48
    i915 device info: ppgtt-type: 2
    i915 device info: dma_mask_size: 39
    i915 device info: is_mobile: no
    i915 device info: is_lp: no
    i915 device info: require_force_probe: no
    i915 device info: is_dgfx: no
    i915 device info: has_64bit_reloc: yes
    i915 device info: gpu_reset_clobbers_display: no
    i915 device info: has_reset_engine: yes
    i915 device info: has_global_mocs: no
    i915 device info: has_gt_uc: yes
    i915 device info: has_l3_dpf: no
    i915 device info: has_llc: yes
    i915 device info: has_logical_ring_contexts: yes
    i915 device info: has_logical_ring_elsq: no
    i915 device info: has_mslices: no
    i915 device info: has_pooled_eu: no
    i915 device info: has_rc6: yes
    i915 device info: has_rc6p: no
    i915 device info: has_rps: yes
    i915 device info: has_runtime_pm: yes
    i915 device info: has_snoop: no
    i915 device info: has_coherent_ggtt: yes
    i915 device info: unfenced_needs_alignment: no
    i915 device info: hws_needs_physical: no
    i915 device info: cursor_needs_physical: no
    i915 device info: has_cdclk_crawl: no
    i915 device info: has_dmc: yes
    i915 device info: has_ddi: yes
    i915 device info: has_dp_mst: yes
    i915 device info: has_dsb: no
    i915 device info: has_dsc: no
    i915 device info: has_fbc: yes
    i915 device info: has_fpga_dbg: yes
    i915 device info: has_gmch: no
    i915 device info: has_hdcp: yes
    i915 device info: has_hotplug: yes
    i915 device info: has_hti: no
    i915 device info: has_ipc: yes
    i915 device info: has_modular_fia: no
    i915 device info: has_overlay: no
    i915 device info: has_psr: yes
    i915 device info: has_psr_hw_tracking: yes
    i915 device info: overlay_needs_physical: no
    i915 device info: supports_tv: no
    i915 device info: rawclk rate: 24000 kHz
    i915 device info: available engines: 40f
    i915 device info: slice total: 2, mask=0003
    i915 device info: subslice total: 6
    i915 device info: slice0: 3 subslices, mask=00000007
    i915 device info: slice1: 3 subslices, mask=00000007
    i915 device info: slice2: 0 subslices, mask=00000000
    i915 device info: EU total: 48
    i915 device info: EU per subslice: 8
    i915 device info: has slice power gating: yes
    i915 device info: has subslice power gating: no
    i915 device info: has EU power gating: yes
2022-08-03 11:07:04 -07:00
Jörg Thalheim 727a099e87
Merge pull request #437 from symphorien/inspiron-5515
inspiron-5515: fix race for fix-touchpad.sh
2022-07-31 09:39:25 +01:00
Guillaume Girol fed22c2d60 inspiron-5515: fix race for fix-touchpad.sh
On rare occasions, the module would be removed before suspend and the touchpad would be
disabled on boot.
2022-07-29 21:16:28 +02:00
Shu Lin 169611d1d7
update readme: known issue 2022-05-23 21:46:43 +08:00
Jörg Thalheim 8b5e1bf2fd
Merge pull request #412 from j-steinbach/dell-latitude-5520
Add Dell Latitude 5520
2022-05-21 16:01:52 +01:00
JSteinbach e850604127 Add Dell Latitude 5520 2022-05-21 15:10:54 +02:00
Jörg Thalheim b49fe0e96e
Merge pull request #405 from anthonyroussel/fix-xps_9560-primus_deprecations
dell-xps-15-9560-nvidia: switch to Nvidia Offload mode to save battery power
2022-05-20 07:57:41 +01:00
workflow 4a0cdc97c8 no longer ignore kernel config errors 2022-04-15 10:39:16 +01:00
Anthony Roussel 68c87edeb9
dell-xps-15-9560-nvidia: use Nvidia Offload mode to save battery power
Also rename deprecated `hardware.nvidia.optimus_prime.*' to `hardware.nvidia.prime.*' since NixOS 20.09.

> The hardware.nvidia.optimus_prime.enable service has been renamed to
> hardware.nvidia.prime.sync.enable and has many new enhancements.
> Related nvidia prime settings may have also changed.

See https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09
2022-04-11 16:44:32 +02:00
workflow 638263b724 Add Dell XPS 17 9700
Co-authored-by: Ivan Malison <IvanMalison@gmail.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-04-01 10:10:15 +01:00
Jörg Thalheim 87a35a0d58
Merge pull request #356 from NelsonJeppesen/xps17-9710
add xps 17 9710
2022-01-12 05:36:37 +00:00
Nelson Jeppesen 346c13e609 add xps 17 9710 2022-01-11 10:05:50 -08:00
Guillaume Girol 961c0499df add dell inspiron-5515 2022-01-11 12:00:00 +00:00
maydayv7 7904e1d34f
Update README 2021-12-11 22:08:12 +05:30
maydayv7 e936b337b0
Add Dell Inspiron 5509 2021-12-11 21:37:01 +05:30
mitchmindtree 1794de7d78 xps-9310: Remove upstreamed kernel patches with custom config
I've upstreamed these patches in NixOS/nixpkgs#144409, which means we no
longer have to build the kernel every time we update just to get
bluetooth working 🎉

While these changes have landed in master, they haven't been back-ported
to 21.05. They will be available via 21.11, which I'm currently testing
(along with this commit) by setting my `nixos` channel to the necessary
nixpkgs pre-release branch, e.g.

```bash
sudo nix-channel --remove nixos
sudo nix-channel --add https://github.com/NixOS/nixpkgs/archive/release-21.11.tar.gz nixos
sudo nix-channel --update nixos
```

*Note that if you use the above branch like I am, you might miss the
cache on some pkgs and spend even longer building those (looking at you
libreoffice).*

As of writing this PR, the current kernel is 5.15.4 and all seems to be
working well.
2021-11-25 09:58:43 +10:00
Jörg Thalheim debc98ff9c add dell poweredge r7515 2021-11-13 09:04:08 +01:00
Sibi Prabakaran b2083d1b60
Dell latitude 7490 support 2021-11-07 14:05:31 +05:30
Konstantin vz'One Enchant 4cac4fbeef
Apply SSD optimization for Dell XPS 13 9310 2021-10-03 15:13:49 +03:00
Jörg Thalheim d2d9a58a5c
remove systemd-boot from hardware profiles (#307)
- We should not enable canTouchEfiVariables by default as this
  wears out the EFI storage.
- We should not set systemd-boot as default. This is up to the user to
  decide. There are exceptions when hardware only supports specific
  bootloaders so.
2021-08-21 09:22:25 +01:00
Jörg Thalheim 22f1a185cf xps-13-9310: fix evaluation 2021-08-18 17:53:34 +02:00
Terin Stock f22552c2e2 xps/13-9310: remove custom patches
The Linux kernel now has wireless patches upstreamed into the Linux
kernel. We can remove our custom build, but preserve enabling the
bluetooth drivers.
2021-07-26 16:33:44 -07:00
Jörg Thalheim b59eaeb50a
Merge pull request #278 from symphorien/precision5530flicker
Dell Precision 5530: fix screen flicker
2021-06-26 15:08:59 +02:00
Andy Richardson 6392ffbafb
Update default.nix 2021-06-09 13:18:05 +01:00
Andy Richardson d41711076e
Update default.nix 2021-06-09 12:51:33 +01:00
Andy Richardson 59a171c833
Fix 9500 wifi support 2021-06-09 12:46:01 +01:00
Symphorien Gibol b8a0c5251f dell precision 5530: remove irrelevant disk related setting 2021-05-01 17:46:04 +02:00
Symphorien Gibol 18af97340c dell precision 5530: avoid screen flicker 2021-05-01 17:45:25 +02:00
Jörg Thalheim f7540d6c27
Merge pull request #251 from NixOS/dell
dell-xps-15-7590: remove 20.03 compat
2021-04-25 08:48:49 +01:00
Jörg Thalheim 09febc71c1
dell-xps-15-7590: remove 20.03 compat 2021-04-25 07:03:51 +02:00
Thiago Kenji Okada 36094450fd Add nvidia-disable profile
This is already used in XPS 15-9560, but instead of defining it in XPS
15-9560 let's create a separate profile and expose it for those who want
to disable their NVIDIA GPU.
2021-02-28 13:51:46 -03:00
mitchmindtree f361f64db0 Remove no-longer-necessary modprobe config for audio. Fixes microphone.
It seems that `sof-firmware` has since been updated and the
`extraModprobeConfig` is no longer necessary! Microphone input also now
seems to work nicely.
2021-02-27 12:54:54 +01:00
mitchmindtree d1e64db4c5 Enable QCA6390 bluetooth
Adds a patch for missing kernel configuration along with a list of
kernel modules that are missing by default.
2021-02-27 12:36:44 +01:00
mitchmindtree 0359644c22 Pin to Linux 5.10.18 for patches. Remove upstreamed wi-fi firmware.
Pin to the latest stable 5.10.18 release in order to ensure patches
don't unexpectedly conflict in newer linux versions.

The wi-fi firmware has since been upstreamed to the `linux-firmware`
repo, and as such is now available via `enableRedistributableFirmware`.
As a result we can remove the old expr that pulled the firmware from
kvalo's github.

Also removes two patches that have since been upstreamed.
2021-02-26 12:43:00 +01:00
mitchmindtree cc5d84ccef Update to rebased patches for 5.10 release of kernel
Removes the old disable-mhi-2 patch file in favour of using the patch at
kernel.org.

Also adds fwupd to allow users to update their firmware via fwupdmgr.
2021-02-26 12:43:00 +01:00