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
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
Jörg Thalheim
083823b790
gpu/amd: drop hardware.amdgpu.opencl option
...
This now conflicts with nixpkgs.
2024-06-20 14:48:13 +00:00
Jörg Thalheim
144f53f534
common: remove deprecated modules
2024-06-20 15:51:13 +02:00
K900
291c3ee610
treewide: drop hardware.amdgpu.amdvlk option
...
This is now provided in nixpkgs (see https://github.com/NixOS/nixpkgs/pull/318175 ).
2024-06-13 09:51:03 +03:00
fidgetingbits
2e7d6c5680
asus/zenbook/ux371: init
2024-05-26 09:23:05 +00:00
Quinn X. J.
f0cf568780
common/gpu/intel: add extraPackages32
2024-05-19 18:00:23 +00:00
Jörg Thalheim
5c0b7f47f4
common-gpu-nvidia-sync: fix typos
2024-04-30 08:19:58 +00:00
Emre Cebi
0cbc36e245
ASUS TUF FA507NV added.
2024-04-30 08:19:58 +00:00
Sebastian Sellmeier
0335d1a093
common/gpu/intel: Make initrd - i915 an option
2024-04-23 15:44:17 +02:00
Jörg Thalheim
b7747f0f60
remove unused variables with deadnix
2023-12-25 20:25:23 +00:00
Bernardo Meurer
fb6af288f6
fix(common/gpu/amd): use new rocmPackages
2023-10-12 08:54:10 +00:00
Guanran928
d53069def4
fix: enable enableOffloadCmd in prime.nix only when offload is enabled
2023-09-18 10:02:00 +00:00
Guanran928
504893e091
chore: replace writeShellScriptBin in prime.nix with enableOffloadCmd
...
introduced in this commit:
2a7130d13a
2023-09-18 10:02:00 +00:00
Lyndon Sanche
1b3c128388
common/nvidia disable: Remove lib.mkDefault
2023-08-09 08:42:35 +01:00
bors[bot]
47dca15d86
Merge #630 #649 #650 #652 #654 #656 #657
...
630: starfive visionfive2: update kernel to 6.4.0 r=Mic92 a=NickCao
649: macbook-air-6: remove mba6x_bl kernel module r=Mic92 a=DanielSiepmann
650: apple/t2: init r=Mic92 a=networkException
652: build(deps): bump cachix/install-nix-action from 21 to 22 r=Mic92 a=dependabot[bot]
654: fixing iptsd not able to find DEVICE r=Mic92 a=buttergrillcorn
656: treewide: avoid alias usage for intel-vaapi-driver based on nixos version r=Mic92 a=lilyinstarlight
657: Added more blocked Nvidia kernel modules to fix the dGPU not being disabled r=Mic92 a=spacebanana420
Co-authored-by: Nick Cao <nickcao@nichi.co>
Co-authored-by: Daniel Siepmann <coding@daniel-siepmann.de>
Co-authored-by: kekrby <kekrby@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: buttergrillcorn <126628446+buttergrillcorn@users.noreply.github.com>
Co-authored-by: Lily Foster <lily@lily.flowers>
Co-authored-by: Space Banana <tomasbessa@protonmail.com>
2023-07-08 06:38:34 +00:00
Space Banana
289a5af77e
Additional blocked nvidia kernel modules
2023-06-28 00:55:39 +01:00
Lily Foster
1d0b3cf27b
treewide: avoid alias usage for intel-vaapi-driver based on nixos version
2023-06-23 07:38:13 -04:00
K900
630a8e3e4e
common/gpu/amd: use modesetting driver by default
...
Follows upstream nixpkgs
2023-03-06 12:08:52 +03:00
c3r5b8
defc8e4677
Fix disabling Nvidia dGPU
2023-03-04 18:39:37 +02:00
Kiskae
d7a5d6a29a
common/gpu/intel*: Migrate to common/gpu/intel/* and add disable
2023-02-27 14:04:53 +01:00
Martino Fontana
b4bf2550b3
AMD: don't install OpenCL by enabling amdvlk
2023-02-17 15:30:02 +01:00
Martino Fontana
1156f4d66e
AMD: disable amdvlk install by default
...
Nobody recommends using amdvlk over RADV.
Also don't set environment variable that sets the use of RADV when installing amdvlk
2023-02-17 15:29:55 +01:00
bors[bot]
44ae00e02e
Merge #550
...
550: Add amdvlk and opencl options to amdgpu & Fix proton crash when Dual-Direct GFX enabled for lenovo legion 16ach6h r=Mic92 a=LostAttractor
Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-02-09 09:06:46 +00:00
ChaosAttractor
b45bd0353a
Change lib.mkDefault to lib.mkOverride 990 for hardware.nvidia.prime.offload.enable
...
Fix conflict to 2a7130d13a
2023-02-09 12:41:39 +08:00
ChaosAttractor
5af4dc5d52
Add the option of whether to install the opencl environment and whether to use amdvlk for amdgpu
2023-01-30 15:23:11 +08:00
Jörg Thalheim
03c6d15152
treewide: apply deadnix and statix
2022-12-31 11:57:44 +01:00
ChaosAttractor
a1a8723bf9
Add a option to add(or disadd) amdgpu to kernelModule
...
Add a option to add(or disadd) amdgpu to boot.initrd.kernelModule
2022-12-17 00:04:46 +08:00
Tristan Daniël Maat
7e60458d86
common/gpu/nvidia*: Migrate to common/gpu/nvidia/* and add non-prime
...
Fixes #338
2022-11-13 01:41:03 +00:00