diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-10-22 18:43:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-10-22 18:43:40 +0100 |
commit | a6098bbffed3a89d368f9ee777d3af17f088da22 (patch) | |
tree | d08740db4747beb67fada34f172c49e13756e216 /x11-misc/bumblebee | |
parent | 76850b84ab13946a9fcbb1487aaa7ee7f11fa29a (diff) |
make sure nvidia-drm module does not brake optimus as nvidia-modeset module did
Diffstat (limited to 'x11-misc/bumblebee')
-rw-r--r-- | x11-misc/bumblebee/bumblebee-3.2.1-r3.ebuild (renamed from x11-misc/bumblebee/bumblebee-3.2.1-r2.ebuild) | 2 | ||||
-rw-r--r-- | x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch (renamed from x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset.patch) | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/x11-misc/bumblebee/bumblebee-3.2.1-r2.ebuild b/x11-misc/bumblebee/bumblebee-3.2.1-r3.ebuild index e3b80418..8700ac23 100644 --- a/x11-misc/bumblebee/bumblebee-3.2.1-r2.ebuild +++ b/x11-misc/bumblebee/bumblebee-3.2.1-r3.ebuild @@ -32,7 +32,7 @@ DEPEND="${RDEPEND} src_prepare() { # Dirty fix for issue https://github.com/Bumblebee-Project/Bumblebee/issues/699 # cherry picked from https://github.com/arafey/Bumblebee/commit/5636b24fa86a005a5d2e30bd794516db13ccba56 - epatch "${FILESDIR}/${P}-handle-nvidia-modeset.patch" + epatch "${FILESDIR}/${P}-handle-nvidia-modeset-and-nvidia-drm.patch" } src_configure() { 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-and-nvidia-drm.patch index 742a5d8e..e71dd086 100644 --- 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-and-nvidia-drm.patch @@ -1,7 +1,7 @@ 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 @@ ++++ b/src/module.c 2016-10-22 18:41:42.151021720 +0100 +@@ -96,7 +96,10 @@ int retries = 30; bb_log(LOG_INFO, "Unloading %s driver\n", driver); char *mod_argv[] = { @@ -9,6 +9,7 @@ diff -Nur a/src/module.c b/src/module.c + "modprobe", + "-r", + "nvidia_modeset", ++ "nvidia_drm", driver, NULL }; |