diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-09-19 18:56:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-09-19 18:56:25 +0100 |
commit | 4b1d147c4e4c523ca411a81e662ae3961c49a6db (patch) | |
tree | f396144b4396e91ccbcdfe618dd3229a652db454 /x11-misc/bumblebee/files | |
parent | 1f014b9e3076d1030d9ec9ef230be6b06b13002d (diff) |
fix for bumblebee issue : https://github.com/Bumblebee-Project/Bumblebee/issues/699
Diffstat (limited to 'x11-misc/bumblebee/files')
-rw-r--r-- | x11-misc/bumblebee/files/bumblebee-3.0.1-remove-wait.patch | 12 | ||||
-rw-r--r-- | x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset.patch | 14 |
2 files changed, 14 insertions, 12 deletions
diff --git a/x11-misc/bumblebee/files/bumblebee-3.0.1-remove-wait.patch b/x11-misc/bumblebee/files/bumblebee-3.0.1-remove-wait.patch deleted file mode 100644 index 06adda98..00000000 --- a/x11-misc/bumblebee/files/bumblebee-3.0.1-remove-wait.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/src/module.c b/src/module.c -index 06f8872..55fa70e 100644 ---- a/src/module.c -+++ b/src/module.c -@@ -96,7 +96,6 @@ int module_unload(char *driver) { - bb_log(LOG_INFO, "Unloading %s driver\n", driver); - char *mod_argv[] = { - "rmmod", -- "--wait", - driver, - NULL - };
\ No newline at end of file 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 + }; |