-
-
Notifications
You must be signed in to change notification settings - Fork 104
Comparing changes
Open a pull request
base repository: NixOS/nixpkgs-channels
base: f2b3bbe44e4f
head repository: NixOS/nixpkgs-channels
compare: 3f81cb1b278f
- 12 commits
- 18 files changed
- 7 contributors
Commits on Jul 9, 2018
-
nixos/xserver: Implement configuration of NVIDIA Optimus via PRIME
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.
Configuration menu - View commit details
-
Copy full SHA for f261537 - Browse repository at this point
Copy the full SHA f261537View commit details
Commits on Sep 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 32f3e45 - Browse repository at this point
Copy the full SHA 32f3e45View commit details
Commits on Oct 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 2c0d56f - Browse repository at this point
Copy the full SHA 2c0d56fView commit details -
doc: installing-usb make macOS note a note.
While it seemingly brings more attention to the macOS notes with the default docbook template, it better represents which parts of the section are about macOS, and which parts are simply in the flow of the text; otherwise the last paragraph may be lost into the details for macOS.
Configuration menu - View commit details
-
Copy full SHA for 8192fcd - Browse repository at this point
Copy the full SHA 8192fcdView commit details -
doc: installing-usb: removes notes about unetbootin.
They are known to cause more issues than solving issues; futhermore using `dd` should work everywhere without fail.
Configuration menu - View commit details
-
Copy full SHA for 8467dc8 - Browse repository at this point
Copy the full SHA 8467dc8View commit details -
doc: Reviews partitioning instructions to use parted.
The tests in <nixos/tests/installer.nix> are using `parted`, so they are bound to be better tested than `fdisk`. This is brought on by a couple issues, plus reports on IRC that the `fdisk` instructions didn't work as expected. * #39354 * #46309 * #39942 * #45478 Care was taken so that the other documented steps did not need changes. In all this kerfufle, a slight re-organization of the Chapter has been made, allowing better deep linking.
Configuration menu - View commit details
-
Copy full SHA for 6cfbf40 - Browse repository at this point
Copy the full SHA 6cfbf40View commit details -
Merge pull request #47697 from samueldr/fix/47602-new-partitioning-steps
Manual: reviews partitioning steps
Configuration menu - View commit details
-
Copy full SHA for a8878f4 - Browse repository at this point
Copy the full SHA a8878f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebdc294 - Browse repository at this point
Copy the full SHA ebdc294View commit details -
Configuration menu - View commit details
-
Copy full SHA for f058c23 - Browse repository at this point
Copy the full SHA f058c23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06961cc - Browse repository at this point
Copy the full SHA 06961ccView commit details -
Merge pull request #42846 from ambrop72/optimus-prime-config-master
nixos/xserver: Implement configuration of NVIDIA Optimus via PRIME
Configuration menu - View commit details
-
Copy full SHA for 1ffe83c - Browse repository at this point
Copy the full SHA 1ffe83cView commit details -
Merge pull request #47382 from magnetophon/zita-njbridge
zita-njbridge: init at 0.4.4
Configuration menu - View commit details
-
Copy full SHA for 3f81cb1 - Browse repository at this point
Copy the full SHA 3f81cb1View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff f2b3bbe44e4f...3f81cb1b278f