Compare commits

..

4 commits

Author SHA1 Message Date
Aires 80736f76de Merge branch 'surface-pro-9-disable-psr'
Some checks failed
Test / tests (push) Has been cancelled
2024-05-24 18:06:58 -04:00
Aires 704f05a3c8 Add Surface Pro 9 to Readme 2024-05-20 10:10:00 -04:00
Aires a1dc5cd106 Add Readme for Surface Pro 9 2024-05-12 12:00:44 -04:00
Aires 2e28b5160b Add Surface Pro 9 with Intel PSR disabled 2024-05-12 11:48:38 -04:00
4 changed files with 14 additions and 0 deletions

View file

@ -267,6 +267,7 @@ See code for all available configurations.
| [Microsoft Surface Laptop (AMD)](microsoft/surface/surface-laptop-amd) | `<nixos-hardware/microsoft/surface/surface-laptop-amd>` | | [Microsoft Surface Laptop (AMD)](microsoft/surface/surface-laptop-amd) | `<nixos-hardware/microsoft/surface/surface-laptop-amd>` |
| [Microsoft Surface Range (Common Modules)](microsoft/surface/common) | `<nixos-hardware/microsoft/surface/common>` | | [Microsoft Surface Range (Common Modules)](microsoft/surface/common) | `<nixos-hardware/microsoft/surface/common>` |
| [Microsoft Surface Pro 3](microsoft/surface-pro/3) | `<nixos-hardware/microsoft/surface-pro/3>` | | [Microsoft Surface Pro 3](microsoft/surface-pro/3) | `<nixos-hardware/microsoft/surface-pro/3>` |
| [Microsoft Surface Pro 9](microsoft/surface-pro/9) | `<nixos-hardware/microsoft/surface-pro/9>` |
| [Morefine M600](morefine/m600) | `<nixos-hardware/morefine/m600>` | | [Morefine M600](morefine/m600) | `<nixos-hardware/morefine/m600>` |
| [NXP iMX8 MPlus Evaluation Kit](nxp/imx8mp-evk) | `<nixos-hardware/nxp/imx8mp-evk>` | | [NXP iMX8 MPlus Evaluation Kit](nxp/imx8mp-evk) | `<nixos-hardware/nxp/imx8mp-evk>` |
| [NXP iMX8 MQuad Evaluation Kit](nxp/imx8mq-evk) | `<nixos-hardware/nxp/imx8mq-evk>` | | [NXP iMX8 MQuad Evaluation Kit](nxp/imx8mq-evk) | `<nixos-hardware/nxp/imx8mq-evk>` |

View file

@ -201,6 +201,7 @@
microsoft-surface-laptop-amd = import ./microsoft/surface/surface-laptop-amd; microsoft-surface-laptop-amd = import ./microsoft/surface/surface-laptop-amd;
microsoft-surface-common = import ./microsoft/surface/common; microsoft-surface-common = import ./microsoft/surface/common;
microsoft-surface-pro-3 = import ./microsoft/surface-pro/3; microsoft-surface-pro-3 = import ./microsoft/surface-pro/3;
microsoft-surface-pro-9 = import ./microsoft/surface-pro/9;
milkv-pioneer = import ./milkv/pioneer; milkv-pioneer = import ./milkv/pioneer;
morefine-m600 = import ./morefine/m600; morefine-m600 = import ./morefine/m600;
msi-b350-tomahawk = import ./msi/b350-tomahawk; msi-b350-tomahawk = import ./msi/b350-tomahawk;

View file

@ -0,0 +1,7 @@
# Microsoft Surface Pro 9
## Note on Intel Panel Self Refresh (PSR)
Intel GPUs support a feature called [Panel Self Refresh (PSR)](https://www.intel.com/content/www/us/en/support/articles/000057194/graphics.html), where the display refreshes independently of the OS. Out of the box, this can cause lots of display lag, stuttering, and enormous refresh rate drops.
This configuration disables PSR by adding `i915.enable_psr=0` to the kernel boot parameters, at the cost of some battery life. If you want to turn PSR back on, add `i915.enable_psr=1` to your `boot.kernelParams`.

View file

@ -0,0 +1,5 @@
{
imports = [ ../../surface/surface-pro-intel ];
boot.kernelParams = [ "i915.enable_psr=0" ]; # Disable Intel Panel Self Refresh
}