آقا بازم نشد اینم خروجی دستور sudo /usr/sbin/bumblebeed -vv --driver nvidia
[ 271.173055] [DEBUG]Found card: 01:00.0 (discrete)
[ 271.173112] [DEBUG]Found card: 00:02.0 (integrated)
[ 271.173164] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 271.173593] [INFO]Configured driver: nvidia
[ 271.173632] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 271.173802] [DEBUG]Process /sbin/modprobe started, PID 3001.
[ 271.173893] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 271.176030] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 271.176160] [DEBUG]bbswitch has been detected.
[ 271.176194] [INFO]Switching method 'bbswitch' is available and will be used.
[ 271.176228] [DEBUG]Active configuration:
[ 271.176250] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 271.176278] [DEBUG] X display: :8
[ 271.176299] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-304:/usr/lib32/nvidia-304
[ 271.176326] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 271.176348] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 271.176377] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 271.176397] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 271.176420] [DEBUG] ModulePath: /usr/lib/nvidia-304/xorg,/usr/lib/xorg/modules
[ 271.176443] [DEBUG] GID name: bumblebee
[ 271.176472] [DEBUG] Power method: auto
[ 271.176492] [DEBUG] Stop X on exit: 1
[ 271.176514] [DEBUG] Driver: nvidia
[ 271.176537] [DEBUG] Driver module: nvidia-304
[ 271.176563] [DEBUG] Card shutdown state: 1
[ 271.176700] [DEBUG]Process /sbin/modprobe started, PID 3002.
[ 271.176744] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 271.178718] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 271.178776] [ERROR]Module 'nvidia-304' is not found.
اما بعد از این رفتم دوباره nvidia-current-update رو نصب کردم و فایل bumblebee.conf رو به این صورت ویرایش کردم :
# Configuration file for Bumblebee. Values should **not** be put between quotes
## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia-304-updates
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false
# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
# bbswitch - new in BB 3, recommended if available
# switcheroo - vga_switcheroo method, use at your own risk
# none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
## Section with nvidia driver specific options, only parsed if Driver=nvidia-current-updates
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-304-updates
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-304-updates:/usr/lib32/nvidia-304-updates
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-304-updates/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
و خروجی دستور sudo /usr/sbin/bumblebeed -vv --driver nvidia :
[ 656.458586] [DEBUG]Found card: 01:00.0 (discrete)
[ 656.458645] [DEBUG]Found card: 00:02.0 (integrated)
[ 656.458698] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 656.459142] [INFO]Configured driver: nvidia-304-updates
[ 656.459182] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 656.459348] [DEBUG]Process /sbin/modprobe started, PID 3138.
[ 656.459442] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 656.460532] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 656.460650] [DEBUG]bbswitch has been detected.
[ 656.460701] [INFO]Switching method 'bbswitch' is available and will be used.
[ 656.460724] [DEBUG]Active configuration:
[ 656.460752] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 656.460774] [DEBUG] X display: :8
[ 656.460803] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-304-updates:/usr/lib32/nvidia-304-updates
[ 656.460829] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 656.460848] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 656.460870] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 656.460897] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 656.460918] [DEBUG] ModulePath: /usr/lib/nvidia-304-updates/xorg,/usr/lib/xorg/modules
[ 656.460945] [DEBUG] GID name: bumblebee
[ 656.460967] [DEBUG] Power method: auto
[ 656.460995] [DEBUG] Stop X on exit: 1
[ 656.461017] [DEBUG] Driver: nvidia
[ 656.461044] [DEBUG] Driver module: nvidia-304-updates
[ 656.461065] [DEBUG] Card shutdown state: 1
[ 656.461213] [DEBUG]Process /sbin/modprobe started, PID 3139.
[ 656.461266] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 656.462230] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 656.462245] [DEBUG]Configuration test passed.
[ 656.462339] [ERROR]Daemon already running, pid 1417
که هم driver-304-update رو شناخت و هم bumblebee.socket هم ساخته شده ولی وقتی optirun glxgear رو که میزنم این خروجی رو میده :
[ 864.935261] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 864.935310] [ERROR]Aborting because fallback start is disabled.