90 Commits
Author SHA1 Message Date
r-vdp 9408ef97db common/gpu/amd: add hardware.amdgpu.dcDebugMask options
This allows to combine several such options to get the right
hex value without any repeated kernel params.
Before this, the framework AI 300 got both 0x10 and 0x410 on
the cmdline with the order depending on the module system eval
order.

This also allows users to re-enable PSR on framework machines.
2026-08-17 10:48:17 +02:00
langsjo f8efd451e7 nvidia/pascal: use legacy_580 drivers by default
590 and higher have dropped support for Pascal
2026-06-23 00:52:09 +03:00
Jörg Thalheim 90848156e1 Merge pull request #1759 from SpectralPixel/hp-laptop-15s-fq1xxx
Implement Intel Ice Lake and HP Laptop 15s-fq1xxx
2026-02-15 15:58:41 +00:00
SpectralPixel ad0b1c0763 Add Intel Ice Lake GPU config
Based directly on Tiger Lake. According to Gentoo Wiki, both processors should have the same driver. (https://wiki.gentoo.org/wiki/Intel#Feature_support)
2026-02-07 23:21:25 +01:00
soumyadeep70 0251f56603 common/gpu/intel: avoid always enabling OneVPL runtime on pre-TGL GPUs 2026-02-05 06:30:43 +05:30
Sandro Jäckel 8781e10a1c treewide: drop 24.05 compat 2026-01-11 09:59:00 +01:00
robot-o 81c78cffb9 lenovo/legion/16iax10h: add Lenovo Legion Pro 7i 2025-11-08 21:15:31 +01:00
Sandro Jäckel e049c10c3e treewide: set intel cpu variant to legacy where newer versions are not supported
According to https://github.com/intel/compute-runtime#legacy-platforms
2025-09-12 00:45:01 +02:00
Sandro Jäckel 4100cffdbe common/gpu: add option to choose intel-compute-runtime variant 2025-09-12 00:45:00 +02:00
Sandro Jäckel a98f1a2b75 Drop some unused inputs 2025-09-11 23:59:28 +02:00
Andre 51e51e6014 chore: format repo using treefmt-nix and nixfmt-rfc-style 2025-06-04 12:35:54 -04:00
Jörg Thalheim e8f38b2c19 Merge pull request #1414 from moduon/nvidia-battery-saver
feat(nvidia-prime): automatic battery-saver specialisation
2025-05-19 21:49:27 +02:00
Jörg Thalheim ff949f78d6 ideacentr-k330: include nvidia-fermi architecture 2025-05-13 11:41:12 +02:00
Jairo Llopis 33d083f55b feat(nvidia-prime): automatic battery-saver specialisation
This enables a boot option that switches off NVIDIA GPU. Allows for battery saving.

@moduon MT-9339
2025-05-05 12:54:08 +01:00
Jairo Llopis 84eb0330ae feat: add Lenovo ThinkPad P16s Intel Gen 2
@moduon MT-9339
2025-04-30 12:58:16 +01:00
Benedikt Rips 72081c9fbb dell-precision-3490: init module 2025-04-29 19:34:49 +00:00
Mads Rumle Nordstrøm de6fc55511 added intel whiskey lake 2025-03-31 11:35:42 +00:00
ccritter 52cfc084ef dell/inspiron/7559: add + corresponding Skylake architecture configuration. 2025-03-07 05:11:18 +00:00
Manuel Transfeld f75203cc31 common/gpu/nvidia: remove a default value (#1373)
https://github.com/NixOS/nixpkgs/pull/326369 has been merged.
2025-02-24 08:48:14 +01:00
Matei Dibu d73a04dabf gpu/intel/tiger-lake: don't try to use Xe by default
it doesn't work without a force_probe anyway

see https://github.com/NixOS/nixos-hardware/issues/1278
2025-01-09 16:44:32 +02:00
adjoly 0c657fd134 feat(Intel CoffeeLake): Added support 2024-11-16 06:54:23 +00:00
onurmercury 4048e9ce2d Fix "nividia" typo 2024-10-31 09:22:48 +00:00
Andre b486ff2d75 Revert "common/gpu/intel: Disable intel-ocl due to web.archive.org outage"
This reverts commit e8a2f6d551.
2024-10-31 09:09:53 +00:00
Gavin John e8a2f6d551 common/gpu/intel: Disable intel-ocl due to web.archive.org outage 2024-10-24 03:58:40 +00:00
Jörg Thalheim 22e8de2729 Merge pull request #1197 from NixOS/lunar-lake
common/gpu/intel/lunar-lake: enable xe driver
2024-10-22 21:14:45 +02:00
Jörg ThalheimandGavin John 6e486f2812 common/gpu/intel/lunar-lake: enable xe driver
Starting with lunarlake this driver no longer needs to force probe:

https://github.com/torvalds/linux/blob/ad46e8f95e931e113cb98253daf6d443ac244cde/drivers/gpu/drm/xe/xe_pci.c#L339

Co-authored-by: Gavin John <gavinnjohn@gmail.com>
2024-10-22 18:27:09 +02:00
André Silva 77ec51c21c common-gpu-intel-kaby-lake: enable HuC firmware loading 2024-10-21 11:22:17 +00:00
Pádraic Ó Mhuiris 8f38d8a475 dell/xps/15-9520: use alder-lake gpu profile 2024-10-20 09:44:21 +00:00
Jörg Thalheim be33295d69 gpu/intel/tiger-lake: simplify conditionals 2024-10-20 09:44:21 +00:00
Gavin John 86a33c3e32 common/gpu/intel: update modules to use new options 2024-10-20 09:44:21 +00:00
Gavin John 184091915d common/gpu/intel: add vaapi configuration options 2024-10-20 09:44:21 +00:00
Gavin John 0ccdd27056 common/gpu/intel: reformat 2024-10-20 09:44:21 +00:00
Gavin John 7200fdc70f comon/gpu/intel: Add VAAPI support for older iGPUs 2024-09-29 16:33:55 -07:00
Lyndon Sanche 7ea5daa492 common-gpu-nvidia: Add kepler 2024-09-04 11:27:08 -06:00
Bradley Nelson ca005ac1e8 fix: spelling errors 2024-09-03 17:29:09 +00:00
Bradley Nelson 04567f4ebc fix: Update NVIDIA GPU configurations to use mkOverride 2024-09-03 17:29:09 +00:00
Bradley Nelson 4ac7150415 feat: Add configurations for nvidia microarchitectures with configs for the open source drivers 2024-09-03 17:29:09 +00:00
Luna c4e1b82a91 gpu/intel: cleanup vdpau variable 2024-08-28 16:36:54 +00:00
jaredmontoya 83dfb51306 fix: intelgpu.loadInInitrd now does something 2024-08-24 01:33:08 +02:00
Ali Rizvi 14c333162b treewide: remove uses of lib.mdDoc 2024-07-30 09:47:52 +00:00
Dom Rodriguez d8bfbbf614 fix: Add more aliases to 24.05-compat
We're using these options too, which breaks builds without this commit.

Fixes: #1045
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2024-07-19 15:41:46 +00:00
Jörg Thalheim c5013aa7ce common/gpu/nvidia: use lib.mkDefault for hardware.nvidia.modesetting 2024-07-11 22:43:18 +00:00
seth 6b745e2331 common-gpu-nvidia: enable modesetting by default
This is commonly required for many applications. As of
https://github.com/NixOS/nixpkgs/pull/324921 this will also enable
`nvidia-drm.fbdev=1`, fixing issues such as
https://github.com/NixOS/nixpkgs/issues/302059
2024-07-11 22:43:18 +00:00
seth c5925d86de common-gpu-nvidia: drop libva-vdpau-driver
libva-vdpau-driver has not seen a new release in over a decade and is a
common cause for bugs in some applications. NixOS has also been using
the now preferred nvidia-vaapi-driver since
https://github.com/NixOS/nixpkgs/pull/162660, so there isn't much reason
to keep this
2024-07-11 22:43:18 +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
Lyndon Sanche 231274268f gpu/amd: Remove loadInInitrd option
Option is now in nixpkgs under `hardware.amdgpu.initrd.enable` as of
NixOS/nixpkgs@6a0b6a6b74
2024-06-29 07:55:37 +00:00
x123 14aadcba1a common/gpu/nvidia: vaapiVdpau -> libva-vdpau-driver 2024-06-27 11:28:16 +00:00
Jörg Thalheim 5fe1583567 gpu/amd: remove unused pkgs 2024-06-26 14:50:27 +00:00
Jörg Thalheim 4677bf5e89 gpu/intel: remove outdated libvdpau-va-gl driver
the existing drivers should provide video accelerations since broadwell.
This driver also caused a crash in the past in VLC:
https://github.com/NixOS/nixpkgs/issues/283083
2024-06-26 14:50:27 +00:00
Jörg Thalheim 4e59e4c9e9 common/gpu/24.05-compat: don't create conflicts with user configuration
fixes https://github.com/NixOS/nixos-hardware/issues/1000
2024-06-22 13:22:07 +02:00