diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-10-23 18:23:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-10-23 18:23:25 +0100 |
commit | 277b051f070f314b5918868bae5a890f42f99455 (patch) | |
tree | 5f13f20bb5a017c8b7a0235c79eaea1a9494510e /x11-misc/bumblebee | |
parent | bf3ee3582f1febd9cdddf49efd22c54c5168817b (diff) |
remove nvidia modules in proper order...newly added nvidia-drm module should be unloaded before nvidia-modeset for optimus to work
Diffstat (limited to 'x11-misc/bumblebee')
-rw-r--r-- | x11-misc/bumblebee/bumblebee-3.2.1-r4.ebuild (renamed from x11-misc/bumblebee/bumblebee-3.2.1-r3.ebuild) | 0 | ||||
-rw-r--r-- | x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/x11-misc/bumblebee/bumblebee-3.2.1-r3.ebuild b/x11-misc/bumblebee/bumblebee-3.2.1-r4.ebuild index 8700ac23..8700ac23 100644 --- a/x11-misc/bumblebee/bumblebee-3.2.1-r3.ebuild +++ b/x11-misc/bumblebee/bumblebee-3.2.1-r4.ebuild diff --git a/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch b/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch index e71dd086..736658c1 100644 --- a/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch +++ b/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch @@ -1,6 +1,6 @@ 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-10-22 18:41:42.151021720 +0100 ++++ b/src/module.c 2016-10-23 18:21:39.053969992 +0100 @@ -96,7 +96,10 @@ int retries = 30; bb_log(LOG_INFO, "Unloading %s driver\n", driver); @@ -8,8 +8,8 @@ diff -Nur a/src/module.c b/src/module.c - "rmmod", + "modprobe", + "-r", -+ "nvidia_modeset", + "nvidia_drm", ++ "nvidia_modeset", driver, NULL }; |