nixpkgs/pkgs/tools/X11/bumblebee/xopts.patch
Arie Middelkoop 3f1054b1ec Added 'bumblebee', a package that facilitates NVidia Optimus graphics with X11.
Note: it relies heavily on 'virtualgl'. This also makes the approach taken
by bumblebee not very effective.
So, this package is actually mainly useful for shutting down your card so that
it does not consume power/produce heat.

See the comments in bumblebee/default.nix

svn path=/nixpkgs/trunk/; revision=32036
2012-02-05 00:51:35 +00:00

11 lines
383 B
Diff

--- bumblebee-3.0/src/bbsecondary.c.orig 2012-02-05 00:03:06.003439638 +0100
+++ bumblebee-3.0/src/bbsecondary.c 2012-02-05 00:46:38.017382619 +0100
@@ -149,6 +149,8 @@
"-sharevts",
"-nolisten", "tcp",
"-noreset",
+ "-xkbdir", getenv("XKB_DIR"),
+ "-logfile", "/dev/null",
"-verbose", "3",
"-isolateDevice", pci_id,
"-modulepath",