diff options
Diffstat (limited to 'x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset.patch')
-rw-r--r-- | x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset.patch b/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset.patch new file mode 100644 index 00000000..742a5d8e --- /dev/null +++ b/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset.patch @@ -0,0 +1,14 @@ +diff -Nur a/src/module.c b/src/module.c +--- a/src/module.c 2013-04-26 16:49:03.022174178 +0100 ++++ b/src/module.c 2016-09-19 18:50:43.080311387 +0100 +@@ -96,7 +96,9 @@ + int retries = 30; + bb_log(LOG_INFO, "Unloading %s driver\n", driver); + char *mod_argv[] = { +- "rmmod", ++ "modprobe", ++ "-r", ++ "nvidia_modeset", + driver, + NULL + }; |