Thiago Kenji Okada
679197e9ff
Merge pull request #174058 from jian-lin/fix-nvidia.powerManagement.finegrained-only-apply-workarounds-when-needed
...
nixos/nvidia: only apply workarounds for finegrained when needed
2022-06-02 17:55:23 +01:00
Thiago Kenji Okada
64870a0c57
Merge pull request #174259 from schuelermine/add-nixos-option/hardware.nvidia.forceFullCompositionPipeline
...
nixos/nvidia: add hardware.nvidia.forceFullCompositionPipeline
2022-06-02 17:50:50 +01:00
Anselm Schüler
446d2cb021
nixos/nvidia: add hardware.nvidia.forceFullCompositionPipeline
2022-05-24 11:46:50 +02:00
linj
d5a9c1dd08
nixos/nvidia: remove a useless option
...
According to the doc[1], NVreg_DynamicPowerManagement is a kernel
module parameter, which it is already set as. So it should not be set
as an xorg option.
[1]: https://download.nvidia.com/XFree86/Linux-x86_64/515.43.04/README/dynamicpowermanagement.html#DriverSettingsfe624
2022-05-23 05:11:26 +08:00
linj
97a855ca0e
nixos/nvidia: only apply workarounds for finegrained when needed
...
Accoriding to the doc[1], these workarounds is no needed for kernel
5.5 and newer.
[1]: https://download.nvidia.com/XFree86/Linux-x86_64/515.43.04/README/dynamicpowermanagement.html#KnownIssuesAndW6426e
2022-05-23 05:01:40 +08:00
Rick van Schijndel
536528ede8
Merge pull request #170695 from matshch/fix/nvidia-device-minor
...
nixos/nvidia: fix /dev/nvidia* devices minors
2022-04-30 15:34:16 +02:00
Graham Christensen
f00109472a
Merge pull request #164185 from alexshpilkin/calibration
...
facetimehd: support sensor calibration files
2022-04-29 15:53:30 -04:00
Artem Leshchev
4d7bc6ccc0
nixos/nvidia: fix /dev/nvidia-uvm-tools device minor
2022-04-28 13:55:53 +03:00
Artem Leshchev
73261bdc59
nixos/nvidia: make nvidia-frontend device major constant
...
It is assigned by https://www.kernel.org/doc/Documentation/admin-guide/devices.txt
and never changes, so we can skip grep.
2022-04-28 13:55:53 +03:00
Artem Leshchev
b01be47c87
nixos/nvidia: fix /dev/nvidia* devices minors
...
We can't assume that DRI card minor is the same as NVidia GPU device minor,
because some DRI minors could be taken by GPUs of other vendors.
Fixes #87788 , #98942 .
2022-04-28 01:18:58 +03:00
Janne Heß
4f3a868e59
Merge pull request #169049 from helsinki-systems/feat/systemd-stage-1-amdgpu-pro
...
nixos/amdgpu-pro: Add support for systemd stage 1
2022-04-20 11:36:53 +02:00
Janne Heß
0a60a12fae
nixos/amdgpu-pro: Add support for systemd stage 1
2022-04-17 14:00:02 +01:00
Guillaume Girol
5f95bff481
nixos/nvidia: fix type of bus ID option to accept empty string
2022-04-17 12:00:00 +00:00
polykernel
614b54d9b0
hardware/nvidia: stricter constraints on PCI bus-id.
...
The current type for the busId options are too relaxed, a stricter
constraint should be imposed to guard against typos which result
in Xorg unable to start.
This commit restricts the type to adhere to the B/D/F notation[1] for
addressing devices as expected by the module option.
[1] - https://wiki.osdev.org/PCI#Configuration_Space_Access_Mechanism_.231
2022-04-16 15:25:37 -04:00
Alyssa Ross
ae8e8aaee7
treewide: remove obsolete kernel version checks
...
We no longer support any Linux kernel older than 4.9.
2022-04-08 09:56:09 +00:00
Googlebot
4007aa201b
Merge remote-tracking branch 'upstream/master'
2022-03-21 11:32:36 -04:00
Jonathan Ringer
0326d67a58
nixos/nvidia: add vaapi support
2022-03-14 22:35:11 -07:00
Alexander Shpilkin
0d233ebed0
nixos/facetimehd: add option hardware.facetimehd.withCalibration
...
The new option (disabled by default) pulls in the experimental sensor
calibration files for the Facetime HD camera. These will also be pulled
in by hardware.enableAllFirmware.
2022-03-15 03:42:49 +03:00
Googlebot
b2068c1248
Merge branch 'NixOS:master' into master
2022-03-09 09:58:39 -05:00
Alyssa Ross
1176525f87
treewide: remove obsolete kernel version checks
...
We don't support Linux kernels older than 4.4 in Nixpkgs.
2022-02-19 21:09:19 +00:00
googlebot
125a347ae1
nvidia: Fix AMD APU for Prime Sync
2022-02-04 17:35:41 -05:00
Jan Tojnar
e00317be13
nixos/nvidia: remove obsolete GDM on Wayland assertion
...
GDM enables Wayland on supported platforms automatically (see ${gnome.gdm}/lib/udev/rules.d/61-gdm.rules), so we removed the `gdm.nvidiaWayland` option.
You will still need `hardware.nvidia.modesetting.enable = true;` with `nvidia` driver, though.
2022-02-01 19:22:04 +01:00
Allen Short
9e47e60971
amdgpu-pro: 17.40 -> 21.30
2021-12-21 11:17:34 -04:00
Jan Tojnar
dad4fddd52
nixos/nvidia: check modesetting for gdm-wayland only when gdm is enabled
...
Reported in https://github.com/NixOS/nixpkgs/pull/147153#issuecomment-982695772
2021-11-30 16:06:21 +01:00
Artturi
04a499cdde
Revert "nixos/hidpi: add xserver dpi"
2021-11-29 23:26:46 +02:00
Bernardo Meurer
cf0e83f5c4
Merge pull request #137157 from rebeccaskinner/fix/nvidia-settings
...
nixos/modules/hardware/video/nvidia: Fix incorrect reference to 'nvid…
2021-11-16 10:18:16 -08:00
Cole Mickens
216dd5b740
nvidia: fix egl-wayland loading
2021-10-20 15:19:06 -07:00
Timothy DeHerrera
305ea3e9ed
nixos/nvidia: fix typo in PM assert
2021-10-13 09:39:35 -06:00
Naïm Favier
2ddc335e6f
nixos/doc: clean up defaults and examples
2021-10-04 12:47:20 +02:00
rebecca skinner
e7996ab6ce
nixos/modules/hardware/video/nvidia: Fix incorrect reference to 'nvidiaSettings'
...
This patch fixes a bug caused by an incorrect reference to
'nvidiaSettings' rather than 'cfg.nvidiaSettings'. The bug caused
the system to not build when using the nvidia drivers.
Tested on my local machine.
2021-09-08 23:33:07 -05:00
Phillip Cloud
6aaccdcbc8
nixos/nvidia: remove extra space
2021-09-01 08:57:33 -04:00
Phillip Cloud
db0560c0f2
nixos/nvidia: fix missing variable reference
2021-09-01 08:54:32 -04:00
Bernardo Meurer
7b2709f6a4
nixos/nvidia: let user choose whether to install nvidia-settings
2021-08-30 17:06:07 -07:00
Artturi
bb03a951c9
Merge pull request #116290 from aaronjanse/mar2021-hidpi
...
nixos/hidpi: add xserver dpi
2021-08-13 01:50:36 +03:00
Edmund Wu
573aae39e2
nixos/modules: assertion for required PM files
2021-08-07 01:41:58 -04:00
Natan Lao
4d8569b173
nixos/nvidia: fix hardware.nvidia.package example
2021-06-08 19:40:27 -07:00
Jonathan Ringer
ced04640c7
nixos/video: remove obsolete ati modules
2021-05-21 16:16:48 -07:00
TredwellGit
08b21db9c9
nixos/amdgpu: remove
...
https://github.com/NixOS/nixpkgs/pull/111551#issuecomment-802082766
2021-03-24 21:03:44 +00:00
Aaron Janse
28828c4e8f
nixos/hidpi: add xserver dpi
2021-03-14 00:06:28 -08:00
Pasquale
f5f9a069d9
nixos/switcheroo-control: added nixos option
...
node/switcheroo-control: better formatting
2021-02-05 17:39:44 +01:00
Dmitry Kalinkin
161b9b2436
Merge pull request #99323 from eadwu/nvidia/hardware.nvidia.package
...
nixos: hardware.nvidia.package option for selecting nvidia package
2021-01-30 22:08:37 -05:00
Svein Ove Aas
c9f8884592
nVidia: Support dynamic (fine-grained) power management
2021-01-29 12:55:51 -05:00
Svein Ove Aas
6021ab7820
nvidia: Add AMD APU option for Prime
2021-01-29 12:55:51 -05:00
volth
bc0d605cf1
treewide: fix double quoted strings in meta.description
...
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Frederik Rietdijk
450cb04f16
nixos: hardware.nvidia.package option for selecting nvidia package
...
Make it possible to select a derivation to use. This also moves some
logic that belongs to the derivation back into it.
2021-01-11 13:01:48 -05:00
Jonathan Ringer
5e67d80a8b
nixos/nvidia: fix optionals usage
2020-10-18 11:47:34 -07:00
Edmund Wu
2e67196d79
nixos/nvidia: decouple nvidia_x11.persistenced
2020-10-18 11:24:20 -07:00
Joe Hermaszewski
99d2db8dce
nvidia-x11.vulkan_beta: init at 450.56.11 ( #97882 )
...
- This is fetched from a different URL, so allow passing that explicitly.
- There also isn't an nvidia-persistenced or nvidia-settings release for
this version, so use 450.57 instead. Also implement passing
persistenced and settings version explicitly.
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2020-09-24 10:53:05 -04:00
Gürkan Gür
eb627de968
treewide: fix typo on word environment
2020-07-28 08:00:38 +02:00
Jörg Thalheim
2fb5a9999f
nixos/hidpi: init
2020-05-25 09:17:25 +01:00