Bumblebee kurarken hiç bir hata almadım ama şu çarkların dönmesi gereken kodta bende hata veriyor. Şunu da söylemem gerek sistemim harici harddiske kurulu.
[info]optirun -vvv glxgears [/info]
[24631.817210] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[24631.817607] [INFO]Configured driver: nvidia
[24631.817693] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[24631.817712] [DEBUG]Socket closed.
[24631.817734] [ERROR]Could not connect to bumblebee daemon - is it running?
[info]cat /etc/bumblebee/bumblebee.conf[/info]
# 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
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
# Xorg binary to run
XorgBinary=/usr/lib/xorg/Xorg
## 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
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-370
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-370:/usr/lib32/nvidia-370
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-370/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
[info]cat /etc/bumblebee/xorg.conf.nvidia[/info]
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
# as you see in the commented example.
# This Setting may be needed in some platforms with more than one
# nvidia card, which may confuse the proprietary driver (e.g.,
# trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
BusID "PCI:01:00:0"
# Setting ProbeAllGpus to false prevents the new proprietary driver
# instance spawned to try to control the integrated graphics card,
# which is already being managed outside bumblebee.
# This option doesn't hurt and it is required on platforms running
# more than one nvidia graphics card with the proprietary driver.
# (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
# If this option is not set, the new Xorg may blacken the screen and
# render it unusable (unless you have some way to run killall Xorg).
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
EndSection
tunahan--p
[info]cat /etc/X11/xorg.conf[/info]
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
[info]dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'[/info]
ii bumblebee 3.2.1-96~xenialppa1 amd64 NVIDIA Optimus support for Linux
ii bumblebee-nvidia 3.2.1-96~xenialppa1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-370 370.28-0ubuntu0~gpu16.04.3 amd64 NVIDIA binary driver - version 370.28
ii nvidia-prime-applet 1.0.6 all An applet for NVIDIA Prime
ii nvidia-settings 378.13-0ubuntu0~gpu16.10.2 amd64 Tool for configuring the NVIDIA graphics driver
ii primus 20150328-3~xenialppa1 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 20150328-3~xenialppa1 amd64 Shared libraries for primus
ii primus-libs:i386 20150328-3~xenialppa1 i386 Shared libraries for primus
ii primus-libs-ia32:i386 20150328-3~xenialppa1 i386 Shared libraries for primus (32-bit)
ii virtualgl 2.4.1-1~xenialppa1 amd64 Toolkit for displaying OpenGL applications to thin clients
ii virtualgl-libs:amd64 2.4.1-1~xenialppa1 amd64 Library files for virtualgl
[info]lspci | egrep 'VGA|3D|Display'[/info]
00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
[info]optirun glxgears[/info]
[25007.083776] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[25007.083820] [ERROR]Could not connect to bumblebee daemon - is it running?
[info]inxi -SGx[/info]
System: Host: tunahan--pc Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.2.6 (Gtk 3.18.9-1ubuntu3.1)
Distro: Linux Mint 18.1 Serena
Graphics: Card-1: Intel Skylake Integrated Graphics bus-ID: 00:02.0
Card-2: NVIDIA GM107M [GeForce GTX 960M] bus-ID: 01:00.0
Display Server: X.org 1.18.4 drivers: intel (unloaded: fbdev,vesa) FAILED: nouveau
tty size: 80x24 Advanced Data: N/A for root
[info]glxinfo | grep render[/info]
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil,
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NV_blend_square, GL_NV_conditional_render, GL_NV_depth_clamp,
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
[info]xrandr[/info]
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 381mm x 214mm
1920x1080 60.00*+ 59.93
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1600x900 60.00
1280x1024 60.02
1440x900 59.89
1280x960 60.00
1368x768 60.00
1360x768 59.80 59.96
1152x864 60.00
1280x720 60.00
1024x768 60.00
1024x576 60.00
960x540 60.00
800x600 60.32 56.25
864x486 60.00
640x480 59.94
720x405 60.00
640x360 60.00
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
[info]systemctl status nvidia-persistenced.service[/info]
● nvidia-persistenced.service - NVIDIA Persistence Daemon
Loaded: loaded (/lib/systemd/system/nvidia-persistenced.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Cum 2017-03-10 06:17:33 +03; 7h ago
Process: 898 ExecStart=/usr/bin/nvidia-persistenced --user nvidia-persistenced --no-persistence-mode --verbose (code=exited, sta
Mar 10 06:17:33 tunahan--pc systemd[1]: Starting NVIDIA Persistence Daemon...
Mar 10 06:17:33 tunahan--pc systemd[1]: nvidia-persistenced.service: Control process exited, code=exited status=203
Mar 10 06:17:33 tunahan--pc systemd[1]: Failed to start NVIDIA Persistence Daemon.
Mar 10 06:17:33 tunahan--pc systemd[1]: nvidia-persistenced.service: Unit entered failed state.
Mar 10 06:17:33 tunahan--pc systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
Eğer açılışta çıkan hatayı görmek isterseniz şu videoyu izleyin (orada gördüğüm kodu da (systemctl status nvidia-persistenced.service) en sona ekledim.):
[youtube]https://youtu.be/24EgHAOT6Ko[/youtube]