about summary refs log tree commit diff
path: root/nixos/modules/hardware/video
Commit message (Collapse)AuthorAge
* Merge pull request #66601 from eadwu/nvidia/prime-render-offloadJosé Romildo Malaquias2020-03-01
|\ | | | | nvidia: prime render offload
| * nixos/nvidia: implement prime render offloadEdmund Wu2019-12-10
| |
| * nixos/xserver: introduce attr display to xserver.driversEdmund Wu2019-12-10
| | | | | | | | Specifically for NVIDIA so that only the device section would be created
| * nixos/nvidia: prime.sync.{intel,nvidia}BusId -> prime.{intel,nvidia}BusIdEdmund Wu2019-12-10
| |
| * nixos/nvidia: optimus_prime -> prime.syncEdmund Wu2019-12-10
| |
| * nixos/nvidia: remove lib referencesEdmund Wu2019-12-10
| |
* | Merge pull request #76546 from matthewbauer/nvidia-fix-udev-rulesMatthew Bauer2020-01-02
|\ \ | |/ |/| nvidia: fix $ substitution in udev rules
| * nixos/nvidia: add nvidia-uvm-tools deviceMatthew Bauer2019-12-30
| | | | | | | | Related to https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1767777
| * nvidia: fix $ substitution in udev rulesMatthew Bauer2019-12-26
| | | | | | | | | | | | | | | | | | | | | | This fixes a harmless error from systemd-udevd that looks like: Dec 23 15:35:23 dellbook systemd-udevd[696]: /nix/store/iixya3ni5whybpq9zz1h7f4pyw7nhd19-udev-rules/99-local.rules:25 Invalid value "..." for RUN (char 101: invalid substitution type), ignoring, but please fix it. Using $$ fixes it using the escaping documented at https://www.freedesktop.org/software/systemd/man/udev.html.
* | nixos/nvidia: assert that gdm.nvidiaWayland needs modesettingworldofpeace2019-11-19
| |
* | nixos/nvidia: drop gdm wayland assertionworldofpeace2019-11-19
| |
* | nixos/slim: removeworldofpeace2019-11-11
| | | | | | | | | | | | | | | | The SLIM project is abandoned and their last release was in 2013. Because of this it poses a security risk to systems, no one is working on it or picked up maintenance. It also lacks compatibility with systemd and logind sessions. For users, there liikely isn't anything like slim that's as lightweight in terms of dependencies.
* | nixos/displaylink: write out required xorg.conf fragmentPeter Hoeg2019-11-01
|/ | | | | | | Invoke xrandr to actually connect the device. Additionally, we let systemd create the logs directory and use our module loader instead of handling it manually.
* Merge branch 'master' into stagingVladimír Čunát2019-09-02
|\
| * nixos/modules: Remove all usages of types.stringSilvan Mosberger2019-08-31
| | | | | | | | | | | | And replace them with a more appropriate type Also fix up some minor module problems along the way
* | treewide: remove redundant quotesvolth2019-08-26
|/
* Merge pull request #61981 from ambrop72/no-opengl-ld-library-pathworldofpeace2019-07-11
|\ | | | | nixos: Don't set LD_LIBRARY_PATH for graphics drivers that don't need it.
| * nixos: Don't set LD_LIBRARY_PATH for graphics drivers that don't need it.Ambroz Bizjak2019-05-26
| | | | | | | | | | | | | | | | | | | | | | | | A new internal option `hardware.opengl.setLdLibraryPath` is added which controls if `LD_LIBRARY_PATH` should be set to `/run/opengl-driver(-32)/lib`. It is false by default and is meant to be set to true by any driver which requires it. If this option is false, then `opengl.nix` and `xserver.nix` will not set `LD_LIBRARY_PATH`. Currently Mesa and NVidia drivers don't set `setLdLibraryPath` because they work with libglvnd and do not override libraries, while `amdgpu-pro`, `ati` and `parallels-guest` set it to true (the former two really need it, the last one doesn't build so is presumed to). Additionally, the `libPath` attribute within entries of `services.xserver.drivers` is removed. This made `xserver.nix` add the driver path directly to the `LD_LIBRARY_PATH` for the display manager (including X server). Not only is it redundant when the driver is added to `hardware.opengl.package` (assuming that `hardware.opengl.enable` is true), in fact all current drivers except `ati` set it incorrectly to the package path instead of package/lib. This removal of `LD_LIBRARY_PATH` could break certain packages using CUDA, but only those that themselves load `libcuda` or other NVidia driver libraries using `dlopen` (not if they just use `cudatoolkit`). A few have already been fixed but it is practically impossible to test all because most packages using CUDA are libraries/frameworks without a simple way to test. Fixes #11434 if only Mesa or NVidia graphics drivers are used.
* | treewide: remove unused variables (#63177)volth2019-06-16
|/ | | | | | * treewide: remove unused variables * making ofborg happy
* nixos/nvidia: Add NVIDIA optimus option to allow external GPUsColin L Rice2019-05-02
| | | | Without this option - NVIDIA refuses to use an external GPU.
* nixos/docker: add enableNvidia optionAverell Dalton2019-02-27
|
* nixos: add preferLocalBuild=true; on derivations for config filesSymphorien Gibol2019-02-22
|
* Merge pull request #51294 from eadwu/nvidia_x11/legacy_390Dmitry Kalinkin2018-12-27
|\ | | | | nvidia: expose nvidia_x11_legacy390
| * nvidia: expose nvidia_x11_legacy390Edmund Wu2018-11-30
| |
* | nvidia: Improve assertion documentationSvein Ove Aas2018-12-12
| |
* | nixos/nvidia: improve the assertion againVladimír Čunát2018-12-12
| | | | | | | | /cc ac19d5e34 #51836.
* | nixos/nvidia: fix inverted assertionAndrew Childs2018-12-11
|/
* treewide: remove pkgs_i686Matthew Bauer2018-11-03
| | | | | | This was getting evaluated eagerly causing assertion failures in aarch64 systems. We can replace usages of pkgs_i686 with pkgs.pkgsi686Linux.
* nvidia_x11_beta: reinit at 410.57Edmund Wu2018-10-17
|
* Merge pull request #42846 from ambrop72/optimus-prime-config-masterMatthew Bauer2018-10-03
|\ | | | | nixos/xserver: Implement configuration of NVIDIA Optimus via PRIME
| * nixos/xserver: Implement configuration of NVIDIA Optimus via PRIMEAmbroz Bizjak2018-07-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds configuration options which automate the configuration of NVIDIA Optimus using PRIME. This allows using the NVIDIA proprietary driver on Optimus laptops, in order to render using the NVIDIA GPU while outputting to displays connected only to the integrated Intel GPU. It also adds an option for enabling kernel modesetting for the NVIDIA driver (via a kernel command line flag); this is particularly useful together with Optimus/PRIME because it fixes tearing on PRIME-connected screens. The user still needs to enable the Optimus/PRIME feature and specify the bus IDs of the Intel and NVIDIA GPUs, but this is still much easier for users and more reliable. The implementation handles both the X configuration file as well as getting display managers to run certain necessary `xrandr` commands just after X has started. Configuration of commands run after X startup is done using a new configuration option `services.xserver.displayManager.setupCommands`. Support for this option is implemented for LightDM, GDM and SDDM; all of these have been tested with this feature including logging into a Plasma session. Note: support of `setupCommands` for GDM is implemented by making GDM run the session executable via a wrapper; the wrapper will run the `setupCommands` before execing. This seemed like the simplest and most reliable approach, and solves running these commands both for GDM's X server and user X servers (GDM starts separate X servers for itself and user sessions). An alternative approach would be with autostart files but that seems harder to set up and less reliable. Note that some simple features for X configuration file generation (in `xserver.nix`) are added which are used in the implementation: - `services.xserver.extraConfig`: Allows adding arbitrary new sections. This is used to add the Device section for the Intel GPU. - `deviceSection` and `screenSection` within `services.xserver.drivers`. This allows the nvidia configuration module to add additional contents into the `Device` and `Screen` sections of the "nvidia" driver, and not into such sections for other drivers that may be enabled.
* | [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-20
|/
* nixos/uvcvideo.dynctrl: InitRaymond Gauthier2018-06-11
|
* Merge remote-tracking branch 'origin/master' into stagingShea Levy2018-03-28
|\
| * linuxPackages.nvidia_x11_legacy173: dropNikolay Amiantov2018-03-27
| | | | | | | | There's no kernel in nixpkgs suitable for this old driver -- tested with 4.4.
* | nvidia service: rely on libglvndNikolay Amiantov2018-03-26
|/
* Merge pull request #33685 from corngood/amdgpu-pro-upgradeMatthew Justin Bauer2018-03-19
|\ | | | | amdgpu-pro: 17.10 -> 17.40
| * amdgpu-pro: 17.10 -> 17.40David McFarland2018-01-12
| |
* | nixos: Move uses of stdenv.shell to runtimeShell.Shea Levy2018-03-01
|/
* nvidia-x11: fix eval error from 4ef82339c9Cray Elliott2017-09-28
|
* nixos/gdm,nvidia: new options to enable GDM on Wayland and disabling it for ↵Rostislav Beneš2017-09-28
| | | | nvidia drivers.
* nixos/nvidia: populating /dev with nvidia devices at bootRostislav Beneš2017-09-28
|
* nvidia module: link proper output as OpenGL driversNikolay Amiantov2017-05-31
|
* nvidia module: allow .persistenced == nullVladimír Čunát2017-05-30
| | | | | Fixes #26250. This is fallout from PR #22304. It's null for 304 and 173 legacy drivers.
* displaylink: 1.1.62 -> 1.3.52Nikolay Amiantov2017-05-19
|
* hardware.enableRedistributableFirmware: fix spelling errorJörg Thalheim2017-05-09
|
* hardware: add enableRedistributalFirmwareJörg Thalheim2017-05-09
| | | | | | | | Due the recent inclusion of broadcom-bt-firmware in enableAllFirmware, it was required to set `nixpkgs.config.allowUnfree` to obtain the full list. To make this dependency more explicit an assertion is added and an alternative option `enableRedistributalFirmware` is provided to only obtain firmware with an license allowing redistribution.
* bumblebee service: Fix pmMethod bbswitch checkzraexy2017-02-19
| | | Made useBbswitch work when pmMethod is "auto" and removed invalid pmMethod option "nouveau".
* nvidia: support application profilesNikolay Amiantov2017-02-19
| | | | Closes #22666.
* mwprocapture: init at 1.2.3269 (#22160)Cray Elliott2017-02-18
|