summaryrefslogtreecommitdiff
path: root/x11-misc/bumblebee/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-31 16:08:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-31 16:08:27 +0000
commit53d20d9f7c06fbe957be0ec9f5455574db7e6677 (patch)
treee17b6ddd8f25ad44b334fb6e3d8707e8e88d3d0e /x11-misc/bumblebee/files
parentccaa7664498ab56de5e05d0b0d3c0d45fb010c2e (diff)
x11-misc/{bumblebee,primus} : drop
Diffstat (limited to 'x11-misc/bumblebee/files')
-rw-r--r--x11-misc/bumblebee/files/bbswitch-setup19
-rw-r--r--x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch15
-rw-r--r--x11-misc/bumblebee/files/bumblebee.confd3
-rw-r--r--x11-misc/bumblebee/files/bumblebee.envd3
-rw-r--r--x11-misc/bumblebee/files/bumblebee.initd23
5 files changed, 0 insertions, 63 deletions
diff --git a/x11-misc/bumblebee/files/bbswitch-setup b/x11-misc/bumblebee/files/bbswitch-setup
deleted file mode 100644
index ab00ae03..00000000
--- a/x11-misc/bumblebee/files/bbswitch-setup
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-start() {
- # workaround the fact that udev may have loaded nvidia or nouveau
- # and bbswitch refuses to turn off the card.
- ebegin "Setting up bbswitch"
- # make sure that the nvidia and nouveau modules are
- # removed, then reload bbswitch.
- for mod in nvidia nvidia_drm nvidia_modeset nouveau; do
- modprobe -r ${mod} 2> /dev/null # best effort
- done
- # reload bbswitch now
- modprobe -r bbswitch
- modprobe bbswitch # this inherits the options
- eend 0
-}
-
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
deleted file mode 100644
index 736658c1..00000000
--- a/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-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-23 18:21:39.053969992 +0100
-@@ -96,7 +96,10 @@
- int retries = 30;
- bb_log(LOG_INFO, "Unloading %s driver\n", driver);
- char *mod_argv[] = {
-- "rmmod",
-+ "modprobe",
-+ "-r",
-+ "nvidia_drm",
-+ "nvidia_modeset",
- driver,
- NULL
- };
diff --git a/x11-misc/bumblebee/files/bumblebee.confd b/x11-misc/bumblebee/files/bumblebee.confd
deleted file mode 100644
index 1c70206d..00000000
--- a/x11-misc/bumblebee/files/bumblebee.confd
+++ /dev/null
@@ -1,3 +0,0 @@
-# /etc/conf.d/bumblebee
-
-BUMBLEBEE_EXTRA_OPTS="--use-syslog" \ No newline at end of file
diff --git a/x11-misc/bumblebee/files/bumblebee.envd b/x11-misc/bumblebee/files/bumblebee.envd
deleted file mode 100644
index e19cc56a..00000000
--- a/x11-misc/bumblebee/files/bumblebee.envd
+++ /dev/null
@@ -1,3 +0,0 @@
-# Comment this out if you are using VirtualGL also for other purposes and this
-# slows down things for you.
-VGL_READBACK="pbo"
diff --git a/x11-misc/bumblebee/files/bumblebee.initd b/x11-misc/bumblebee/files/bumblebee.initd
deleted file mode 100644
index 0d639842..00000000
--- a/x11-misc/bumblebee/files/bumblebee.initd
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need bbswitch-setup
- before xdm
-}
-
-PIDFILE="${PIDFILE:-/var/run/bumblebee.pid}"
-
-start() {
- ebegin "Starting BumbleBee Daemon"
- start-stop-daemon -S -p "${PIDFILE}" -x /usr/sbin/bumblebeed -- -D ${BUMBLEBEE_EXTRA_OPTS} --pidfile "${PIDFILE}"
- eend $?
-}
-
-stop() {
-
- ebegin "Stopping BumbleBee Daemon"
- start-stop-daemon -K -p "${PIDFILE}" -R SIGTERM/10
- eend $?
-}