Commit graph

957 commits

Author SHA1 Message Date
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 ea3efc80f8
Merge pull request #438 from pasqui23/pstate
Adding amd pstate handling
2022-08-01 13:14:34 +01:00
Jörg Thalheim a01a1095e4 amd pstate: small typo 2022-08-01 14:14:12 +02:00
pasqui23 68a27c2b00
Clarify kernel version condition
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-08-01 12:03:29 +02:00
paki23 8732fa9eb5
clarify amd pstate 2022-07-31 20:13:42 +02:00
paki23 b183aac0ac
g733qs: addded amd pstate handling 2022-07-31 13:57:49 +02:00
paki23 5e9934fa07
pstate:init
fixup pstate
2022-07-31 13:57:38 +02: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
Jörg Thalheim 83009edccc
Merge pull request #435 from mkgvt/master
Adds support for Thinkpad T460p
2022-07-21 11:57:07 +01:00
Mark K Gardner b19015a0ba
Adds support for Thinkpad T460p 2022-07-19 09:06:58 -04:00
Ryan Horiguchi e3259b25eb
Fix legion 7 slim 15ach6 2022-07-19 09:06:57 -04:00
Jörg Thalheim 0015f5cc09
Merge pull request #436 from rhoriguchi/master
Fix legion 7 slim 15ach6
2022-07-19 11:51:03 +01:00
Ryan Horiguchi 122ae8476a
Fix legion 7 slim 15ach6 2022-07-18 08:52:34 +02:00
Jörg Thalheim 76c9664813
Merge pull request #432 from mcdonc/p50-and-p51
Add Lenovo Thinkpad P50 and P51
2022-07-14 08:53:36 +02:00
Chris McDonough 0e7decc220 fix merge conflicts from p52-to-master merge 2022-07-13 17:48:44 -04:00
Jörg Thalheim 14e9f7298c
Merge pull request #433 from mcdonc/p52
add p52
2022-07-13 21:01:26 +02:00
Chris McDonough 6aafb9960b comment about silencing ACPI errors 2022-07-13 01:15:35 -04:00
Chris McDonough 66f8f007d0 add comment about normalizing dpi between sync and offload mode 2022-07-12 23:02:05 -04:00
Chris McDonough a3f3326899 add comment about normalizing dpi between sync and offload mode 2022-07-12 23:01:26 -04:00
Chris McDonough e8e0e7dc37 conditionally turn on power management and modesetting when we are in sync mode 2022-07-12 20:02:44 -04:00
Chris McDonough 6261a28429 conditionally turn on power management and modesetting when we are in sync mode 2022-07-12 20:01:42 -04:00
Chris McDonough fd08b05aed comment about acpi errors 2022-07-12 17:11:02 -04:00
Chris McDonough 116ae977ab throttled consistency 2022-07-11 17:44:39 -04:00
Chris McDonough 6bd8ae5409 flake changes 2022-07-11 14:05:13 -04:00
Chris McDonough 20530b31ef flake changes 2022-07-11 14:04:34 -04:00
Chris McDonough 47cb2be872 mkDefault consistency 2022-07-10 19:13:48 -04:00
Chris McDonough c2295916b3 mkDefault consistency 2022-07-10 19:10:49 -04:00
Chris McDonough bd873a9807 cannot replicate sleep problem without external monitor or any usb device plugged in 2022-07-09 04:36:30 -04:00
Chris McDonough f5d9dd114f cannot replicate findings for sleep not working when system has no usb or external video plugged in to it, make wireless work 2022-07-08 23:11:43 -04:00
Chris McDonough 22cdffc925 turns out hardware.enableAllFirmware is also required for p51 wireless 2022-07-07 10:00:40 -04:00
Chris McDonough 005e19d6f0 required to make wireless work 2022-07-07 09:31:42 -04:00
Chris McDonough ac75bbc476 transform sleep comment into optionally includable expression 2022-07-05 17:45:16 -04:00
Chris McDonough e36b0c4022 add p52 2022-07-05 14:39:22 -04:00
Chris McDonough f90db4cb9e add p50 and p51 2022-07-04 23:24:35 -04:00
Sandro 3bf48d3587
Merge pull request #431 from SuperSamus/patch-1
AMD: Add lib.mkDefault to AMD_VULKAN_ICD
2022-07-04 13:21:50 +02:00
SuperSamus 0efe78c51a
AMD: Add lib.mkDefault to AMD_VULKAN_ICD 2022-07-02 23:39:55 +02:00
Jörg Thalheim c530838143
Merge pull request #429 from xfix/lenovo-gen4
thinkpad/x1-extreme/gen4: add module
2022-07-01 21:04:22 +02:00
Konrad Borowski c3aa1fae79 lenovo/thinkpad/x1-extreme/gen4: add module 2022-07-01 20:54:40 +02:00
Thiago Kenji Okada a50513f8a6
Merge pull request #430 from Melkor333/master
Fix Wifi for Lenovo Thinkpad T14s Gen1
2022-06-30 22:28:24 +01:00
Samuel Hierholzer 3d9b6a6215 Fix Wifi for Lenovo Thinkpad T14s Gen1 2022-06-28 08:28:04 +02:00
Jörg Thalheim 78e7c2c397
Merge pull request #428 from NixOS/macbook-pro-flake
flake.nix: add macbook-pro
2022-06-27 20:16:57 +02:00
André Silva a3dfc3100b
flake.nix: add macbook-pro 2022-06-26 13:20:38 +01:00
Thiago Kenji Okada 99e33a5714
Merge pull request #426 from ulrikstrid/ulrikstrid--16ITHg6
Add lenovo legion 7 16ITHg6
2022-06-26 11:57:44 +01:00
Thiago Kenji Okada 9aa5395bd5
Merge pull request #427 from thiagokokada/fix-nvidia-offload
nvidia: remove `-a` flag from exec
2022-06-26 11:56:00 +01:00
Thiago Kenji Okada 9194b8e949 nvidia: remove -a flag from exec
The `-a` from exec sets the `$0` from the process. So `exec -a "$0"`
would set the name of the new process to `nvidia-offload` (the name of
the script), however this is causing issues with a few programs that try
to interpret `$0` in a special way. For example, see `wine`:

```
$ nvidia-offload /nix/store/zhv91s26gsrl1w8yn9800xd03a31r3wj-wine-osu-7.0/bin/wine .osu/drive_c/osu/osu\!.exe
/nix/store/zhv91s26gsrl1w8yn9800xd03a31r3wj-wine-osu-7.0/bin/nvidia-offload: could not open
```

What I think `wine` is doing here is trying to re-exec `wine` again, but
to do so it tries to figure out the original call of wine by readind `$0`,
and will fail in this case because the `$0` was changed because of the
`nvidia-offload` script using `-a` flag, as explained above.

Instead, let's simplify this. There is no good reason to rename the `$0`
from the script anyway (it just sets a few environment variables), so let's
just remove it. We may lose the ability to know if the command is being
offloaded, but I think having more commands to work is a good trade-off.
2022-06-24 23:45:31 +01:00
Ulrik Strid 9ec5f52ea2 Add lenovo legion 7 16ITHg6 2022-06-23 09:30:05 +02:00
Jörg Thalheim f9d8dff4e6
Merge pull request #425 from Moredread/common
flake.nix: add common-gpu-intel
2022-06-21 06:35:51 +01:00
André-Patrick Bubel 26291dec5b flake.nix: add common-gpu-intel 2022-06-21 06:12:29 +02:00
Jörg Thalheim 0cab18a48d
Merge pull request #422 from NixOS/msi-gl62-ini
msi/gl62: reworked
2022-06-01 05:29:57 +01:00