mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
24abe2b2b3
Added configurations to `bumblebee` package to easy multiple monitors on Optimus machines. The behaviour of the default `bumblebee` package hasn't change, so this change is backwards compatible. Users who want to connect a monitor to their discrete card should use the package `bumblebee_display` instead. Also added new configuration option to nixos bumblebee module: ``` hardware.bumblebee.connectDisplay = true ``` will enable the new configuration, but the default is still false.
12 lines
397 B
Diff
12 lines
397 B
Diff
--- bumblebee-3.2.1/src/bbsecondary.c 2012-02-05 00:03:06.003439638 +0100
|
|
+++ bumblebee-3.2.1/src/bbsecondary.c 2012-02-05 00:46:38.017382619 +0100
|
|
@@ -149,6 +149,8 @@
|
|
"-sharevts",
|
|
"-nolisten", "tcp",
|
|
"-noreset",
|
|
+ "-xkbdir", getenv("XKB_DIR"),
|
|
+ "-logfile", "/var/log/X.bumblebee.log",
|
|
"-verbose", "3",
|
|
"-isolateDevice", pci_id,
|
|
"-modulepath",
|