lspci | egrep 'VGA|3D|Display'00:02.0 VGA compatible controller: Intel Corporation Haswell Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GK106M [GeForce GTX 765M] (rev a1)sudo add-apt-repository ppa:bumblebee/testing -y
sudo add-apt-repository ppa:graphics-drivers/ppa -y
sudo apt-get update
sudo apt-get install bumblebee nvidia-390 nvidia-settings bumblebee-nvidia primus virtualgl linux-headers-$(uname -r) -ysudo apt-get install primus-libs-ia32sudo xed /etc/bumblebee/bumblebee.conf# (See also the driver-specific sections below)
Driver=
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-current
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules# (See also the driver-specific sections below)
Driver=nvidia
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-390
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-390:/usr/lib32/nvidia-390
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-390/xorg,/usr/lib/xorg/modulessudo update-alternatives --set i386-linux-gnu_gl_conf /usr/lib/i386-linux-gnu/mesa/ld.so.confsudo update-alternatives --set x86_64-linux-gnu_egl_conf /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.confsudo update-alternatives --set x86_64-linux-gnu_gl_conf /usr/lib/x86_64-linux-gnu/mesa/ld.so.confecho -e '# 390 karaliste\nblacklist nvidia-390\nblacklist nvidia-390-updates\nblacklist nvidia-experimental-390' | sudo tee -a /etc/modprobe.d/bumblebee.confsudo xed /etc/default/grubGRUB_CMDLINE_LINUX=""GRUB_CMDLINE_LINUX="nogpumanager"sudo update-grubsudo dpkg-reconfigure bbswitch-dkmssudo dpkg-reconfigure nvidia-390glxgearsoptirun glxgearsoptirun uygulama_adıoptirun firefoxsudo apt-get install python-appindicator
wget -c --no-check-certificate https://www.dropbox.com/s/c7mxeekoz66w4on/bumblebee-ui.tar.gz
tar -xzvf bumblebee-ui.tar.gz
cd bumblebee-ui
chmod +x ./INSTALL
sudo ./INSTALLoptirun glxgearsoptirun glxgears
4686 frames in 5.optirun -vvv glxgears
cat /etc/bumblebee/bumblebee.conf
cat /etc/bumblebee/xorg.conf.nvidia
cat /etc/modprobe.d/bumblebee.conf
cat /etc/X11/xorg.conf
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
lspci | egrep 'VGA|3D|Display'
cat /proc/cmdlinesudo apt-get purge bumblebee* nvidia* bbswitch* primus* virtualgl*sudo rm -f /etc/apt/sources.list.d/bumblebee*
sudo rm -f /etc/apt/sources.list.d/graphics-drivers*
sudo apt-get updatesudo update-grub
sudo add-apt-repository ppa:bumblebee/stable"Bu PPA'nin xenial destegi yok"
PPA eklenemiyor: '"Bu PPA'nin xenial destegi yok"'.sudo add-apt-repository ppa:bumblebee/stable komutu verince ppa nin xenial desteği yok diyor.Tekrar kurulum yapmak istediğimizde bu komutu çalıştırmaya gerek var mı?
Daha önceden yüklediğim Nvidia kapalı kaynak sürücülerini belirttiğiniz komutlarla kaldırmama rağmen,Kod: [Seç]sudo add-apt-repository ppa:bumblebee/stable
komutu sonrası,Kod: [Seç]"Bu PPA'nin xenial destegi yok"
PPA eklenemiyor: '"Bu PPA'nin xenial destegi yok"'.
şeklinde çıktı veriyor. Bu sorun sonraki aşamalara da sirayet ediyor ki sanırım, örneğin bumblebee.conf dosyası bende boş geliyor. Bu sorunu nasıl çözebiliriz?
Bu sefer bunları uyguladığımda sorun çözüldü.Çok sağolun.Artık glxgears komutunu verdiğimde o hata gelmiyor.Yalnız bu sefer galiba 64 bit sistemler için primus paketinin 32 bit uyumluluk paketini yüklemedik.Yüklemeye gerek var mı acaba?
apt-cache policy primus-libs-ia32
sudo apt-get install primus-libs-ia32 -sBirdeKod: [Seç]sudo add-apt-repository ppa:bumblebee/stablekomutu verince ppa nin xenial desteği yok diyor.Tekrar kurulum yapmak istediğimizde bu komutu çalıştırmaya gerek var mı?
$ apt-cache policy primus-libs-ia32
primus-libs-ia32:i386:
Installed: 0~20150328-1
Candidate: 20150328-1~xenialppa1
Version table:
20150328-1~xenialppa1 500
500 http://ppa.launchpad.net/bumblebee/testing/ubuntu xenial/main i386 Packages
*** 0~20150328-1 500
500 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages
100 /var/lib/dpkg/status
$ sudo apt-get install primus-libs-ia32 -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
primus-libs-ia32:i386
1 upgraded, 0 newly installed, 0 to remove and 251 not upgraded.
Inst primus-libs-ia32:i386 [0~20150328-1] (20150328-1~xenialppa1 Bumblebee Developer releases:16.04/xenial [i386])
Conf primus-libs-ia32:i386 (20150328-1~xenialppa1 Bumblebee Developer releases:16.04/xenial [i386])
Galiba yüklenmiş.Yeni kurulumda tekrar sudo apt-get install primus-libs-ia32 komutunu çalıştırmaya gerek yok gibi.
primus-libs-ia32:i386:
Installed: 0~20150328-1
Kurulum ile ilgili kısım düzeltildi. Yeniden kurulum denediğinizde bumblebee.conf dosyası boş gelmeyecektir.
Sürücü Yöneticisi ile Nvidia sürücüsünü kurduğunuzda, Intel + Nvidia hibrit GPU için Nvidia Prime seçeneğini kullanırsınız. Bumblebee ve Nvidia Prime bu sistemler için üretilmiş birbirinden farklı çözümlerdir. Forumda birbirinden farklılıklarını anlatan konumuz mevcut, inceleyebilirsiniz.
sudo dpkg -l | grep nvidia
apt-cache policy nvidia-364 nvidia-367 nvidia-settingseersoy93@Lenovo ~ $ sudo dpkg -l | grep nvidia
[sudo] password for eersoy93:
ii bumblebee-nvidia 3.2.1-96~xenialppa1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-364 364.19-0ubuntu0~gpu16.04.6 amd64 NVIDIA binary driver - version 364.19
ii nvidia-settings 367.18-0ubuntu0~gpu16.04.1 amd64 Tool for configuring the NVIDIA graphics driver
eersoy93@Lenovo ~ $ apt-cache policy nvidia-364 nvidia-367 nvidia-settings
nvidia-364:
Kurulu: 364.19-0ubuntu0~gpu16.04.6
Aday: 364.19-0ubuntu0~gpu16.04.6
Sürüm çizelgesi:
*** 364.19-0ubuntu0~gpu16.04.6 500
500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
nvidia-367:
Kurulu: (hiçbiri)
Aday: 367.27-0ubuntu0~gpu16.04.1
Sürüm çizelgesi:
367.27-0ubuntu0~gpu16.04.1 500
500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main amd64 Packages
nvidia-settings:
Kurulu: 367.18-0ubuntu0~gpu16.04.1
Aday: 367.18-0ubuntu0~gpu16.04.1
Sürüm çizelgesi:
*** 367.18-0ubuntu0~gpu16.04.1 500
500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
361.42-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
eersoy93@Lenovo ~ $
[member=8]Butterfly[/member] hocam bir şeye kafam takıldı; anlatımda nvidia'nın 364 sürücüsünü vermişsiniz, peki bu her kart için uyumlu mu? Benim kart nvidia GT325m, sürücü olarak da hem nvidia sitesinde hem de sürücü yöneticisinde 340 (önerilen) olarak görünüyor. Bu durumda 340'a göre mi kurulum yapmak gerekir?
Evet, sizin sisteminizdeki GPU'yu inceleyince Nvidia-340 sürücüsüne kadar destek olduğunu gördüm. Bu durumda nvidia-364 gördüğünüz her yeri nividia-340 olarak değiştirip kurulum deneyebilirsiniz.Eyvallah hocam...
sudo update-alternatives --config x86_64-linux-gnu_egl_conf
x86_64-linux-gnu_egl_conf bağ grubunda (/etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf alternatifini sağlayan) sadece bir alternatif var: /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf
Yapılandırılacak bir şey yok.
optirun glxgearsGörüyorum, sıkıntı yok o zaman; teşekkürler...Kod: [Seç]optirun glxgears
[member=1635]yyz[/member] , yukarıdaki komutun çıktısında dönen çarkları görüyorsanız sorun yok demektir.
| optirun -vvv glxgears kodundan; [ 2017.570532] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [ 2017.570763] [INFO]Configured driver: nvidia [ 2017.571099] [DEBUG]optirun version 3.2.1 starting... [ 2017.571129] [DEBUG]Active configuration: [ 2017.571149] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf [ 2017.571159] [DEBUG] X display: :8 [ 2017.571169] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-367:/usr/lib32/nvidia-367 [ 2017.571177] [DEBUG] Socket path: /var/run/bumblebee.socket [ 2017.571184] [DEBUG] Accel/display bridge: auto [ 2017.571191] [DEBUG] VGL Compression: proxy [ 2017.571197] [DEBUG] VGLrun extra options: [ 2017.571202] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus [ 2017.571281] [DEBUG]Using auto-detected bridge virtualgl [ 2020.326017] [INFO]Response: Yes. X is active. [ 2020.326042] [INFO]Running application using virtualgl. [ 2020.326176] [DEBUG]Process vglrun started, PID 5964. |
sudo update-alternatives --config i386-linux-gnu_gl_conf
sudo update-alternatives --config x86_64-linux-gnu_egl_conf
sudo update-alternatives --config x86_64-linux-gnu_gl_conf
cat /etc/bumblebee/bumblebee.conf
cat /etc/bumblebee/xorg.conf.nvidiaoptirun -vvv glxgears sudo apt-get install bumblebee nvidia-367 nvidia-settings bumblebee-nvidia primus virtualgl linux-headers-$(uname -r) -y
Paket listeleri okunuyor... Bitti
Bağımlılık ağacı oluşturuluyor
Durum bilgisi okunuyor... Bitti
virtualgl paketi mevcut değil, ancak başka paket içerisinden işaret edilmiş.
Bu durum bu paketin kayıp, eskidiği için bırakılmış, ya da başka bir
yazılım kaynağında bulunduğu anlamına gelebilir.
E: nvidia-367 paketi bulunamadı
E: 'virtualgl' paketi için kurulum adayı yok
E: nvidia-367 paketi bulunamadı
E: 'virtualgl' paketi için kurulum adayı yok
optirun -vvv glxgears
[ 1069.803600] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1069.803770] [INFO]Configured driver: nvidia
[ 1069.803861] [DEBUG]optirun version 3.2.1 starting...
[ 1069.803870] [DEBUG]Active configuration:
[ 1069.803876] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1069.803882] [DEBUG] X display: :8
[ 1069.803887] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-367:/usr/lib32/nvidia-367
[ 1069.803893] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1069.803897] [DEBUG] Accel/display bridge: auto
[ 1069.803900] [DEBUG] VGL Compression: proxy
[ 1069.803903] [DEBUG] VGLrun extra options:
[ 1069.803906] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 1069.803931] [DEBUG]Using auto-detected bridge virtualgl
[ 1070.575894] [INFO]Response: Yes. X is active.
[ 1070.575909] [INFO]Running application using virtualgl.
[ 1070.576062] [DEBUG]Process vglrun started, PID 3378.
modprobe: FATAL: Module nvidia-modeset not found in directory /lib/modules/4.4.0-21-generic
3735 frames in 5.0 seconds = 746.865 FPS
cat /etc/bumblebee/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
# 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-367
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-367:/usr/lib32/nvidia-367
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-367/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
cat /etc/bumblebee/xorg.conf.nvidia
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:04: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
cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'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-367 367.44-0ubuntu0~gpu16.04.1 amd64 NVIDIA binary driver - version 367.44
ii nvidia-prime-applet 1.0.5 all An applet for NVIDIA Prime
ii nvidia-settings 370.28-0ubuntu0~gpu16.04.1 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
lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
04:00.0 3D controller: NVIDIA Corporation GK208M [GeForce 920M] (rev ff)
onur[member=877]Onur[/member]-HP-Pavilion-15-Notebook-PC ~ $ optirun glxgears
[ 376.947915] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 376.947954] [ERROR]Aborting because fallback start is disabled.
onur[member=877]Onur[/member]-HP-Pavilion-15-Notebook-PC ~ $
sudo xed /etc/bumblebee/xorg.conf.nvidiaSection "Screen"
Identifier "Default Screen"
Device "DiscreteNvidia"
EndSectionsudo service bumblebeed restart
silk[member=3943]silk[/member]-Inspiron-3542 ~ $ sudo add-apt-repository ppa:bumblebee/testing -yPPA eklenemiyor: '"Error reading https://launchpad.net/api/1.0/~bumblebee/+archive/testing: (6, 'Could not resolve host: launchpad.net')"'.
Hocam ben ubuntu 16.04.01 Xenial yeni kullanıyım bu dediğiniz adımları uygulamam doğru mudur ?
Hocam ben ubuntu 16.04.01 Xenial yeni kullanıyım bu dediğiniz adımları uygulamam doğru mudur ?
Merhaba, elimde bir tanesi entegre [Intel 4. Generation Integrated GPU (Veya kısaca Intel Haswell)], diğeri ise harici (Nvidia GeForce 820M) olan iki grafik kardı var. Şu an işletim sistemini (Linux Mint 18 "Sarah") yeni kurdum ve hiçbir şey yüklemedim. Verdiğiniz PPA deposunu (repository) eklemeye çalıştığımda şu hatayı veriyor:Kod: [Seç]silk[member=3943]silk[/member]-Inspiron-3542 ~ $ sudo add-apt-repository ppa:bumblebee/testing -y
Sonuç:Kod: [Seç]PPA eklenemiyor: '"Error reading https://launchpad.net/api/1.0/~bumblebee/+archive/testing: (6, 'Could not resolve host: launchpad.net')"'.
Araştırdığım kadarı ile proxy kaynaklı bir sorun fakat dediğim gibi daha işletim sistemini yeni yükledim ve yüklerken de herhangi bir sorunla karşılaşmadım.
apt-cache policy mintsources
mintsources:
Kurulu: 1.6.0
Aday: 1.6.0
Sürüm çizelgesi:
*** 1.6.0 700
700 http://ftp.otenet.gr/linux/linuxmint-packages sarah/upstream amd64 Packages
700 http://ftp.otenet.gr/linux/linuxmint-packages sarah/upstream i386 Packages
100 /var/lib/dpkg/status
Hocam
"sudo apt-get update " komutunu yazdığım zaman yükleme yapıyor en son satırda ise
"N: '/etc/apt/sources.list.d/' dizinindeki 'bumblebee-ubuntu-testing-xenial.list.save' dosyası geçersiz bir dosya uzaktısı olduğu için yok sayılıyor" gibi bir yazı yazıyor devam komutlarını yazıyorum fakat bu seferde dosyayı yapılandırmak için açmak istediğimde şu komut ile "sudo xed /etc/bumblebee/bumblebee.conf" , "sudo: xed: komut bulunamadı" diyor ne yazık ki
DNS adreslerini 8.8.8.8, 8.8.4.4 olarak ayarladım fakat aynı hatayı tekrar aldım. Verdiğiniz ikinci komutun sonucu:Kod: [Seç]mintsources:
Kurulu: 1.6.0
Aday: 1.6.0
Sürüm çizelgesi:
*** 1.6.0 700
700 http://ftp.otenet.gr/linux/linuxmint-packages sarah/upstream amd64 Packages
700 http://ftp.otenet.gr/linux/linuxmint-packages sarah/upstream i386 Packages
100 /var/lib/dpkg/status
ppa:bumblebee/testingppa:graphics-drivers/ppasudo update-alternatives --set x86_64-linux-gnu_egl_conf /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.confupdate-alternatives: /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf (x86_64-linux-gnu_egl_conf) alternatifini sağlaması için /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf elle ayarlanmış kipte kullanılıyor
cat /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf
/usr/lib/x86_64-linux-gnu/mesa-egl
optirun glxgears modprobe: FATAL: Module nvidia-modeset not found in directory /lib/modules/4.4.0-21-generic
3822 frames in 5.0 seconds = 764.395 FPS
3901 frames in 5.0 seconds = 780.003 FPSFPS değerine bakılırsa herşey güzelce çalışıyor. Fakat ilk satır konusunda ne yapmam gerekli? Sorun olur mu? Ayrıca benim amacım CUDA ile çalışmak. Bunun için ek olarak hangi paketleri kurmalıyım?
sudo apt-get install nvidia-modprobeoptirun -vvv glxgears
cat /etc/bumblebee/bumblebee.conf
cat /etc/bumblebee/xorg.conf.nvidia
cat /etc/X11/xorg.conf
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
lspci | egrep 'VGA|3D|Display'
caner[member=560]Caner[/member]-TULPAR-T5 ~/Masaüstü $ cat /etc/bumblebee/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
# 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
caner[member=560]Caner[/member]-TULPAR-T5 ~/Masaüstü $ cat /etc/bumblebee/xorg.conf.nvidia
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
caner[member=560]Caner[/member]-TULPAR-T5 ~/Masaüstü $ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: No such file or directory
caner[member=560]Caner[/member]-TULPAR-T5 ~/Masaüstü $ dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
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.2 amd64 NVIDIA binary driver - version 370.28
ii nvidia-settings 370.28-0ubuntu0~gpu16.04.1 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
caner[member=560]Caner[/member]-TULPAR-T5 ~/Masaüstü $ lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev ff)
Hala launcher hata veriyor. Cinnamon masaüstü kullanıyorum. Hala hata alıyorum... Cinnamon durduruldu terkar başlatmak ister misiniz gibi uyarı veriyor.
"Hala launcher hata veriyor" ne demek, bununla ilgili ne zaman bildirimde bulundunuz?
İlk komutun çıktısını paylaşmamışsınız.
caner[member=560]Caner[/member]-TULPAR-T5 ~/Masaüstü $ optirun -vvv glxgears
[ 237.166532] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 237.166923] [INFO]Configured driver: nvidia
[ 237.167115] [DEBUG]optirun version 3.2.1 starting...
[ 237.167131] [DEBUG]Active configuration:
[ 237.167137] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 237.167142] [DEBUG] X display: :8
[ 237.167146] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-370:/usr/lib32/nvidia-370
[ 237.167152] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 237.167156] [DEBUG] Accel/display bridge: auto
[ 237.167165] [DEBUG] VGL Compression: proxy
[ 237.167175] [DEBUG] VGLrun extra options:
[ 237.167182] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 237.167231] [DEBUG]Using auto-detected bridge virtualgl
[ 238.482776] [INFO]Response: Yes. X is active.
[ 238.482791] [INFO]Running application using virtualgl.
[ 238.482890] [DEBUG]Process vglrun started, PID 2499.
11197 frames in 5.0 seconds = 2239.382 FPS
11890 frames in 5.0 seconds = 2377.732 FPS
10923 frames in 5.0 seconds = 2184.538 FPS
11243 frames in 5.0 seconds = 2248.593 FPS
11055 frames in 5.0 seconds = 2210.792 FPS
10703 frames in 5.0 seconds = 2140.535 FPS
10830 frames in 5.0 seconds = 2165.885 FPS
11599 frames in 5.0 seconds = 2319.784 FPS
11779 frames in 5.0 seconds = 2355.659 FPS
11949 frames in 5.0 seconds = 2389.682 FPS
11084 frames in 5.0 seconds = 2216.768 FPS
11584 frames in 5.0 seconds = 2316.790 FPS
11416 frames in 5.0 seconds = 2283.178 FPS
10229 frames in 5.0 seconds = 2045.600 FPS
10971 frames in 5.0 seconds = 2194.135 FPS
10942 frames in 5.0 seconds = 2188.339 FPS
3986 frames in 5.0 seconds = 795.673 FPS
288 frames in 5.0 seconds = 57.504 FPS
7268 frames in 5.0 seconds = 1453.526 FPS
14174 frames in 5.0 seconds = 2834.730 FPS
21933 frames in 5.0 seconds = 4386.515 FPS
20180 frames in 5.0 seconds = 4035.935 FPS
21905 frames in 5.0 seconds = 4380.962 FPS
11654 frames in 5.0 seconds = 2330.766 FPS
12448 frames in 5.0 seconds = 2489.567 FPS
11223 frames in 5.0 seconds = 2244.473 FPS
[ 369.080725] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 369.080753] [DEBUG]Socket closed.
[ 369.080764] [DEBUG]Killing all remaining processes.
[ 22.539] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/i965_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/i965_dri.so: undefined symbol: _glapi_tls_Dispatch)
[ 22.539] (EE) AIGLX: reverting to software rendering
[ 23.261] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
[ 23.261] (EE) GLX: could not load software renderer
[ 23.261] (II) GLX: no usable GL providers found for screen 0[ 127.540278] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 127.540679] [INFO]Configured driver: nvidia
[ 127.541004] [DEBUG]optirun version 3.2.1 starting...
[ 127.541041] [DEBUG]Active configuration:
[ 127.541052] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 127.541062] [DEBUG] X display: :8
[ 127.541070] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-375:/usr/lib32/nvidia-375
[ 127.541078] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 127.541086] [DEBUG] Accel/display bridge: auto
[ 127.541094] [DEBUG] VGL Compression: proxy
[ 127.541102] [DEBUG] VGLrun extra options:
[ 127.541110] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 127.541165] [DEBUG]Using auto-detected bridge virtualgl
[ 128.488031] [INFO]Response: Yes. X is active.
[ 128.488056] [INFO]Running application using virtualgl.
[ 128.488168] [DEBUG]Process vglrun started, PID 3493.
Error: couldn't open display (null)
[ 128.493915] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 128.493955] [DEBUG]Socket closed.
[ 128.493977] [DEBUG]Killing all remaining processes.
# 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-375
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-375:/usr/lib32/nvidia-375
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-375/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
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
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
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-375 375.26-0ubuntu0~gpu16.04.1 amd64 NVIDIA binary driver - version 375.26
ii nvidia-opencl-icd-375 375.26-0ubuntu0~gpu16.04.1 amd64 NVIDIA OpenCL ICD
ii nvidia-prime-applet 1.0.5 all An applet for NVIDIA Prime
ii nvidia-settings 375.26-0ubuntu0~gpu16.04.1 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
ii virtualgl-libs:i386 2.4.1-1~xenialppa1 i386 Library files for virtualgl
ii virtualgl-libs-ia32:i386 2.4.1-1~xenialppa1 i386 Library files for virtualgl (32-bit)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev ff)
inxi -r
dpkg -l | grep intel
~ $ optirun -vvv glxgears
[ 1346.938870] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1346.939078] [INFO]Configured driver: nvidia
[ 1346.939183] [DEBUG]optirun version 3.2.1 starting...
[ 1346.939188] [DEBUG]Active configuration:
[ 1346.939193] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1346.939197] [DEBUG] X display: :8
[ 1346.939204] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-370
[ 1346.939211] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1346.939219] [DEBUG] Accel/display bridge: auto
[ 1346.939232] [DEBUG] VGL Compression: proxy
[ 1346.939241] [DEBUG] VGLrun extra options:
[ 1346.939249] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 1346.939285] [DEBUG]Using auto-detected bridge virtualgl
[ 1347.144044] [INFO]Response: No - error: [XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 1347.144062] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 1347.144066] [DEBUG]Socket closed.
[ 1347.144084] [ERROR]Aborting because fallback start is disabled.
[ 1347.144089] [DEBUG]Killing all remaining processes.
~ $ cat /etc/bumblebee/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
# 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-current:/usr/lib32/nvidia-370
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/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
bumblee yi kurmada sorun cıktı
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-370
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
# optirun -vvv glxgears
[ 244.851982] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 244.852344] [INFO]Configured driver: nvidia
[ 244.852402] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 244.852410] [DEBUG]Socket closed.
[ 244.852431] [ERROR]Could not connect to bumblebee daemon - is it running?
# cat /etc/bumblebee/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
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-370
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-370:/usr/lib32/nvidia-370
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-370/xorg,/usr/lib/xorg/modules
## 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
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/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
# cat /etc/bumblebee/xorg.conf.nvidia
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:03: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
# cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
# dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
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.09-0ubuntu0~gpu16.04.1 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
# lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
Socket closed.
Could not connect to bumblebee daemon - is it running?
sudo service bumblebeed start
Aşağıdaki komutu uçbirimde çalıştırınca durum ne oluyor?Kod: [Seç]sudo service bumblebeed start
# optirun glxgears
[ 7016.507268] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 7016.507290] [ERROR]Could not connect to bumblebee daemon - is it running?
hata devam ediyorKomutu çalıştırdıktan sonra Bumblee ile ilgili durum ne oluyor? Yukarıdaki komut zaten çıktı vermeyecek, sadece servisi başlatmaya yarıyor.
Evet, kaldırıp kurmayı yeniden kurmayı deneyebilirsiniz. Bumblebee Kaldırma (https://forum.linuxmint.net.tr/index.php?topic=6258.0#post_kaldirma)
[ 1781.365976] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1781.366187] [INFO]Configured driver: nvidia
[ 1781.366230] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 1781.366238] [DEBUG]Socket closed.
[ 1781.366252] [ERROR]Could not connect to bumblebee daemon - is it running?
# 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-367
PMMethod=auto
# colon-separated path to the nvidia libraries LibraryPath=/usr/lib/nvidia-367:/usr/lib32/nvidia-367
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path XorgModulePath=/usr/lib/nvidia-367/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
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:03: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
cat: /etc/X11/xorg.conf: No such file or directory
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-367 367.57-0ubuntu0.16.04.1+gpu16.04.1 amd64 NVIDIA binary driver - version 367.57
ii nvidia-prime-applet 1.0.5 all An applet for NVIDIA Prime
ii nvidia-settings 378.09-0ubuntu0~gpu16.04.1 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 virtualgl00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev ff)
# Module name to load, defaults to Driver if empty or unset KernelDriver=nvidia-367# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-367
[member=1429]erdem90[/member] , siz /etc/bumblebee/bumblebee.conf dosyasını yanlış yapılandırmışsınız. Buradaki (https://forum.linuxmint.net.tr/index.php?topic=6258.0#post_conf) düzenlemeyi alıp doğrudan dosyanın içine yapıştırmışsınız. Yapmanız gereken ilgili satırları bulup, gerekli düzenlemeleri yapmaktı.Harika, çok teşekkür ederim. Düzelttim hata dediğiniz gibi.
optirun -vvv glxgears
[ 1310.618406] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1310.618892] [INFO]Configured driver: nvidia
[ 1310.619147] [DEBUG]optirun version 3.2.1 starting...
[ 1310.619182] [DEBUG]Active configuration:
[ 1310.619195] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1310.619203] [DEBUG] X display: :8
[ 1310.619210] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-367:/usr/lib32/nvidia-367
[ 1310.619220] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1310.619230] [DEBUG] Accel/display bridge: auto
[ 1310.619241] [DEBUG] VGL Compression: proxy
[ 1310.619260] [DEBUG] VGLrun extra options:
[ 1310.619297] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 1310.619388] [DEBUG]Using auto-detected bridge virtualgl
[ 1310.646699] [INFO]Response: No - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 1310.646721] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 1310.646725] [DEBUG]Socket closed.
[ 1310.646747] [ERROR]Aborting because fallback start is disabled.
[ 1310.646751] [DEBUG]Killing all remaining processes.
cat /etc/bumblebee/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
# 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-367
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-367:/usr/lib32/nvidia-367
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-367/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
cat /etc/bumblebee/xorg.conf.nvidia
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:04: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
cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
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-367 367.57-0ubuntu0.16.04.1+gpu16.04.1 amd64 NVIDIA binary driver - version 367.57
ii nvidia-settings 378.09-0ubuntu0~gpu16.04.1 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
lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
04:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940M] (rev a2)
cd ~/bumblebee-ui/apps
chmod +x ./UNINSTALL
sudo ./UNINSTALL
Bumblebee-ui uzun süredir bakımı yapılmayan (2012'den beri) bir uygulama, anlaşıldığı kadarıyla dağıtımların sürümleri yenilendikçe bu uygulamanın uyum sorunları artıyor. Bumblebee-ui uygulamasını aşağıdaki komutlarla kaldırabilirsiniz.Kod: [Seç]cd ~/bumblebee-ui/apps
chmod +x ./UNINSTALL
sudo ./UNINSTALL
12- Forumda penetrasyon (sızma) testi ile ilgili dağıtım ve yazılımlara destek verilmemektedir. Böyle içereğe sahip konu ve mesajlar tespit edilmesi veya bildirilmesi durumunda bildirimde bulunulmaksızın kaldırılacaktır.
Not: Bu tarz dağıtımlara ait depoların eklenmesi sonrası oluşacak sorunlara forumda destek verilmemektedir.
optirun glxgears
[VGL] ERROR: in readback--
[VGL] 256: Window has been deleted by window manager acaba problem neden kaynaklanıyor olabilir. optirun -vvv glxgears
[ 1577.429782] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1577.430355] [INFO]Configured driver: nvidia
[ 1577.430700] [DEBUG]optirun version 3.2.1 starting...
[ 1577.430729] [DEBUG]Active configuration:
[ 1577.430778] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1577.430808] [DEBUG] X display: :8
[ 1577.430827] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-375:/usr/lib32/nvidia-375
[ 1577.430851] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1577.430889] [DEBUG] Accel/display bridge: auto
[ 1577.430941] [DEBUG] VGL Compression: proxy
[ 1577.430995] [DEBUG] VGLrun extra options:
[ 1577.431046] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 1577.431191] [DEBUG]Using auto-detected bridge virtualgl
[ 1578.566679] [INFO]Response: Yes. X is active.
[ 1578.566710] [INFO]Running application using virtualgl.
[ 1578.566825] [DEBUG]Process vglrun started, PID 3626.
6258 frames in 5.0 seconds = 1251.577 FPS
[VGL] ERROR: in readback--
[VGL] 256: Window has been deleted by window manager
[ 1586.636607] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 1586.636636] [DEBUG]Socket closed.
[ 1586.636654] [DEBUG]Killing all remaining processes.cat /etc/bumblebee/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
# 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-375
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-375:/usr/lib32/nvidia-375
# comma-separated path of the directory containing nvidia_drv.so and the# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-375/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.nouveaucat /etc/bumblebee/xorg.conf.nvidia
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"
EndSectioncat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yokcat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
fatih[member=2237]fatih[/member]-A07 ~ $ dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
ii bumblebee 3.2.1-97~xenialppa1 amd64 NVIDIA Optimus support for Linux
ii bumblebee-nvidia 3.2.1-97~xenialppa1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-375 375.39-0ubuntu0.16.04.1 amd64 NVIDIA binary driver - version 375.39
ii nvidia-settings 381.09-0ubuntu0~gpu16.04.2 amd64 Tool for configuring the NVIDIA graphics driver
ii primus 20150328-3~xenialppa2 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 20150328-3~xenialppa2 amd64 Shared libraries for primus
ii primus-libs:i386 20150328-3~xenialppa2 i386 Shared libraries for primus
ii primus-libs-ia32:i386 20150328-3~xenialppa2 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
lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 540M] (rev ff)cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.4.0-53-generic root=UUID=d0396d70-b9ce-4b78-ba47-c678402da601 ro nogpumanager quiet splash vt.handoff=7[ 1578.566825] [DEBUG]Process vglrun started, PID 3626.
6258 frames in 5.0 seconds = 1251.577 FPS
optirun glxgears
kullandıgımda.[ 477.076517] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 477.076556] [ERROR]Aborting because fallback start is disabled. optirun -vvv glxgears cıktısı [ 5566.422168] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 5566.422376] [INFO]Configured driver: nvidia
[ 5566.422469] [DEBUG]optirun version 3.2.1 starting...
[ 5566.422478] [DEBUG]Active configuration:
[ 5566.422484] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 5566.422489] [DEBUG] X display: :8
[ 5566.422494] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-381:/usr/lib32/nvidia-375
[ 5566.422498] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 5566.422501] [DEBUG] Accel/display bridge: auto
[ 5566.422506] [DEBUG] VGL Compression: proxy
[ 5566.422512] [DEBUG] VGLrun extra options:
[ 5566.422518] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 5566.422551] [DEBUG]Using auto-detected bridge virtualgl
[ 5566.558445] [INFO]Response: No - error: [XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 5566.558463] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 5566.558471] [DEBUG]Socket closed.
[ 5566.558486] [ERROR]Aborting because fallback start is disabled.
[ 5566.558490] [DEBUG]Killing all remaining processes.
cat /etc/bumblebee/bumblebee.conf cıktısı 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-375
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-381:/usr/lib32/nvidia-375
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-381/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
cat /etc/bumblebee/xorg.conf.nvidia cıktısı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:04: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
cat /etc/X11/xorg.conf cıktısı cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl' cıktısı ii bumblebee 3.2.1-98~xenialppa1 amd64 NVIDIA Optimus support for Linux
ii bumblebee-nvidia 3.2.1-98~xenialppa1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-375 375.66-0ubuntu0.16.04.1 amd64 NVIDIA binary driver - version 375.66
ii nvidia-settings 381.22-0ubuntu0~gpu16.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii primus 20150328-3~xenialppa2 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 20150328-3~xenialppa2 amd64 Shared libraries for primus
ii primus-libs:i386 20150328-3~xenialppa2 i386 Shared libraries for primus
ii primus-libs-ia32:i386 20150328-3~xenialppa2 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
lspci | egrep 'VGA|3D|Display' cıktısı 00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
04:00.0 3D controller: NVIDIA Corporation GK208M [GeForce 920M] (rev a1)
cat /proc/cmdline cıktısı BOOT_IMAGE=/boot/vmlinuz-4.4.0-79-generic root=UUID=5d5769c5-fb69-413b-8ced-19c12c30bc76 ro nogpumanager quiet splash vt.handoff=7
sudo service bumblebeed restart
optirun glxgears Error: couldn't get an RGB, Double-buffered visualyusuf@y560 ~ $ optirun -vvv glxgears
[ 397.422812] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 397.423383] [INFO]Configured driver: nvidia
[ 397.423660] [DEBUG]optirun version 3.2.1 starting...
[ 397.423681] [DEBUG]Active configuration:
[ 397.423712] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 397.423726] [DEBUG] X display: :8
[ 397.423784] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
[ 397.423789] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 397.423793] [DEBUG] Accel/display bridge: auto
[ 397.423799] [DEBUG] VGL Compression: proxy
[ 397.423802] [DEBUG] VGLrun extra options:
[ 397.423805] [DEBUG] Primus LD Path: /usr/lib/nvidia-381:/usr/lib32/nvidia-381
[ 397.423835] [DEBUG]Using auto-detected bridge virtualgl
[ 397.776109] [INFO]Response: Yes. X is active.
[ 397.776126] [INFO]Running application using virtualgl.
[ 397.776241] [DEBUG]Process vglrun started, PID 5523.
Error: couldn't get an RGB, Double-buffered visual
[ 397.782819] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 397.782839] [DEBUG]Socket closed.
[ 397.782855] [DEBUG]Killing all remaining processes.
yusuf@y560 ~ $ cat /etc/bumblebee/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
# 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/nvidia-381:/usr/lib32/nvidia-381
# 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-381
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-381/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
yusuf@y560 ~ $ cat /etc/bumblebee/xorg.conf.nvidia
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
yusuf@y560 ~ $ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: No such file or directory
yusuf@y560 ~ $ dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
ii bumblebee 3.2.1-100~xenialppa1 amd64 NVIDIA Optimus support for Linux
ii bumblebee-nvidia 3.2.1-100~xenialppa1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-381 381.22-0ubuntu0~gpu16.04.2 amd64 NVIDIA binary driver - version 381.22
ii nvidia-settings 381.22-0ubuntu0~gpu16.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii primus 20150328-3~xenialppa2 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 20150328-3~xenialppa2 amd64 Shared libraries for primus
ii primus-libs:i386 20150328-3~xenialppa2 i386 Shared libraries for primus
ii primus-libs-ia32:i386 20150328-3~xenialppa2 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
yusuf@y560 ~ $ lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02)
01:00.0 3D controller: NVIDIA Corporation Device 179c (rev ff)
yusuf@y560 ~ $ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.10.0-22-generic root=UUID=cecd7140-0be0-436b-8233-c472934df026 ro nogpumanager quiet splash vt.handoff=7
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-currentLibraryPath=/usr/lib/nvidia-381:/usr/lib32/nvidia-381PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primusPrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primussudo service bumblebeed restart
bumblebee.conf dosyasındaki aşağıdaki satırı,Kod: [Seç]LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
konuda anlatıldığı biçimde düzenlemeyi deneyebilirsiniz.Kod: [Seç]LibraryPath=/usr/lib/nvidia-381:/usr/lib32/nvidia-381
Ayrıca aşağıdaki satırı,Kod: [Seç]PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
aşağıdki şekilde değiştirip kaydedin, yani düzenlemeyi yanlış satırda yapmışsınız.Kod: [Seç]PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
Sonrasında aşağıdaki şekilde Bumblebee servisini yeniden başlatınız.Kod: [Seç]sudo service bumblebeed restart
cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yokböyle bir şeyle karşılaştım sanırım bunnun alakalı problemim yardımcı olabilir misiniz
Bumblebee kurulumunu yaptıktan sonra sistem çekmecemde active grapich card : unknown diye bir simge çıktı
sudo apt-get purge nvidia-prime nvidia-prime-applet
Uygulamayı yükledim gayet düzgün şekilde çalışıyor ama bumblebee'nin arayüzünden seçtiğim programlar ekran kartı ile çalıştırılmıyor. Aynı programları uçbirim ile denediğimde sıkıntısız çalışıyor.
$ optirun glxgears
Error: couldn't get an RGB, Double-buffered visual $ optirun -vvv glxgears
[ 250.227456] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 250.227789] [INFO]Configured driver: nvidia
[ 250.228052] [DEBUG]optirun version 3.2.1 starting...
[ 250.228067] [DEBUG]Active configuration:
[ 250.228072] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 250.228083] [DEBUG] X display: :8
[ 250.228090] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-381
[ 250.228099] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 250.228104] [DEBUG] Accel/display bridge: auto
[ 250.228112] [DEBUG] VGL Compression: proxy
[ 250.228120] [DEBUG] VGLrun extra options:
[ 250.228130] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 250.228190] [DEBUG]Using auto-detected bridge virtualgl
[ 251.053362] [INFO]Response: Yes. X is active.
[ 251.053379] [INFO]Running application using virtualgl.
[ 251.053463] [DEBUG]Process vglrun started, PID 2712.
Error: couldn't get an RGB, Double-buffered visual
[ 251.057815] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 251.057833] [DEBUG]Socket closed.
[ 251.057846] [DEBUG]Killing all remaining processes.
$ cat /etc/bumblebee/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
# 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-381
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-381
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-381/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
$ cat /etc/bumblebee/xorg.conf.nvidia
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$ cat /etc/modprobe.d/bumblebee.conf
# This file is installed by bumblebee, do NOT edit!
# to be used by kmod / module-init-tools, and installed in /etc/modprobe.d/
# or equivalent
# do not automatically load nouveau as it may prevent nvidia from loading
blacklist nouveau
# do not automatically load nvidia as it's unloaded anyway when bumblebeed
# starts and may fail bumblebeed to disable the card in a race condition.
# Debian
blacklist nvidia
blacklist nvidia-current
blacklist nvidia-legacy-304xx
blacklist nvidia-legacy-340xx
# Ubuntu
blacklist nvidia
blacklist nvidia-current
blacklist nvidia-current-updates
# 304
blacklist nvidia-304
blacklist nvidia-304-updates
blacklist nvidia-experimental-304
# 310
blacklist nvidia-310
blacklist nvidia-310-updates
blacklist nvidia-experimental-310
# 313
blacklist nvidia-313
blacklist nvidia-313-updates
blacklist nvidia-experimental-313
# 319
blacklist nvidia-319
blacklist nvidia-319-updates
blacklist nvidia-experimental-319
# 325
blacklist nvidia-325
blacklist nvidia-325-updates
blacklist nvidia-experimental-325
# 331
blacklist nvidia-331
blacklist nvidia-331-updates
blacklist nvidia-experimental-331
# 334
blacklist nvidia-334
blacklist nvidia-334-updates
blacklist nvidia-experimental-334
# 337
blacklist nvidia-337
blacklist nvidia-337-updates
blacklist nvidia-experimental-337
# 340
blacklist nvidia-340
blacklist nvidia-340-updates
blacklist nvidia-experimental-340
# 343
blacklist nvidia-343
blacklist nvidia-343-updates
blacklist nvidia-experimental-343
# 346
blacklist nvidia-346
blacklist nvidia-346-updates
blacklist nvidia-experimental-346
# 349
blacklist nvidia-349
blacklist nvidia-349-updates
blacklist nvidia-experimental-349
# 352
blacklist nvidia-352
blacklist nvidia-352-updates
blacklist nvidia-experimental-352
# 355
blacklist nvidia-355
blacklist nvidia-355-updates
blacklist nvidia-experimental-355
# 358
blacklist nvidia-358
blacklist nvidia-358-updates
blacklist nvidia-experimental-358
# 361
blacklist nvidia-361
blacklist nvidia-361-updates
blacklist nvidia-experimental-361
# 364
blacklist nvidia-364
blacklist nvidia-364-updates
blacklist nvidia-experimental-364
# 367
blacklist nvidia-367
blacklist nvidia-367-updates
blacklist nvidia-experimental-367
# 375
blacklist nvidia-375
blacklist nvidia-375-updates
blacklist nvidia-experimental-375
# 378
blacklist nvidia-378
blacklist nvidia-378-updates
blacklist nvidia-experimental-378
# 381
blacklist nvidia-381
blacklist nvidia-381-updates
blacklist nvidia-experimental-381
# 384
blacklist nvidia-384
blacklist nvidia-384-updates
blacklist nvidia-experimental-384
# 381
blacklist nvidia-381
blacklist nvidia-381-updates
blacklist nvidia-experimental-381
$ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
$ dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
ii bumblebee 3.2.1-100~xenialppa1 amd64 NVIDIA Optimus support for Linux
ii bumblebee-nvidia 3.2.1-100~xenialppa1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-381 381.22-0ubuntu0~gpu16.04.2 amd64 NVIDIA binary driver - version 381.22
ii nvidia-prime-applet 1.0.6 all An applet for NVIDIA Prime
ii nvidia-settings 387.22-0ubuntu0~gpu16.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii primus 20150328-3~xenialppa2 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 20150328-3~xenialppa2 amd64 Shared libraries for primus
ii primus-libs:i386 20150328-3~xenialppa2 i386 Shared libraries for primus
ii primus-libs-ia32:i386 20150328-3~xenialppa2 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
$ lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c8c (rev ff)
$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.10.0-42-generic root=UUID=114df884-9eb3-4b97-8416-9544e53d4e92 ro nogpumanager quiet splash vt.handoff=7
sudo apt-get purge virtualgl*
$ optirun glxgears
primus: fatal: failed to load any of the libraries: /usr/lib/nvidia-current/libGL.so.1:/usr/lib32/nvidia-381/libGL.so.1
/usr/lib/nvidia-current/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib32/nvidia-381/libGL.so.1: wrong ELF class: ELFCLASS32
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-381
okan[member=234]okan[/member]-Inspiron-3542 ~ $ optirun glxgears
[ 1358.396722] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[ 1358.396827] [ERROR]Aborting because fallback start is disabled.okan[member=234]okan[/member]-Inspiron-3542 ~ $ optirun -vvv glxgears
[ 2115.181095] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 2115.181546] [INFO]Configured driver: nvidia
[ 2115.181782] [DEBUG]optirun version 3.2.1 starting...
[ 2115.181802] [DEBUG]Active configuration:
[ 2115.181810] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 2115.181818] [DEBUG] X display: :8
[ 2115.181824] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-384:/usr/lib32/nvidia-384
[ 2115.181846] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 2115.181865] [DEBUG] Accel/display bridge: auto
[ 2115.181886] [DEBUG] VGL Compression: proxy
[ 2115.181919] [DEBUG] VGLrun extra options:
[ 2115.181936] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 2115.182031] [DEBUG]Using auto-detected bridge virtualgl
[ 2115.428443] [INFO]Response: No - error: Could not enable discrete graphics card
[ 2115.428471] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[ 2115.428489] [DEBUG]Socket closed.
[ 2115.428522] [ERROR]Aborting because fallback start is disabled.
[ 2115.428531] [DEBUG]Killing all remaining processes.
okan[member=234]okan[/member]-Inspiron-3542 ~ $ cat /etc/bumblebee/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
# 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-384
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-384:/usr/lib32/nvidia-384
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-384/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
okan[member=234]okan[/member]-Inspiron-3542 ~ $ cat /etc/bumblebee/xorg.conf.nvidia
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:08: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
Section "Screen"
Identifier "Default Screen"
Device "DiscreteNvidia"
EndSection
okan[member=234]okan[/member]-Inspiron-3542 ~ $ cat /etc/modprobe.d/bumblebee.conf
# This file is installed by bumblebee, do NOT edit!
# to be used by kmod / module-init-tools, and installed in /etc/modprobe.d/
# or equivalent
# do not automatically load nouveau as it may prevent nvidia from loading
blacklist nouveau
# do not automatically load nvidia as it's unloaded anyway when bumblebeed
# starts and may fail bumblebeed to disable the card in a race condition.
# Debian
blacklist nvidia
blacklist nvidia-current
blacklist nvidia-legacy-304xx
blacklist nvidia-legacy-340xx
# Ubuntu
blacklist nvidia
blacklist nvidia-current
blacklist nvidia-current-updates
# 304
blacklist nvidia-304
blacklist nvidia-304-updates
blacklist nvidia-experimental-304
# 310
blacklist nvidia-310
blacklist nvidia-310-updates
blacklist nvidia-experimental-310
# 313
blacklist nvidia-313
blacklist nvidia-313-updates
blacklist nvidia-experimental-313
# 319
blacklist nvidia-319
blacklist nvidia-319-updates
blacklist nvidia-experimental-319
# 325
blacklist nvidia-325
blacklist nvidia-325-updates
blacklist nvidia-experimental-325
# 331
blacklist nvidia-331
blacklist nvidia-331-updates
blacklist nvidia-experimental-331
# 334
blacklist nvidia-334
blacklist nvidia-334-updates
blacklist nvidia-experimental-334
# 337
blacklist nvidia-337
blacklist nvidia-337-updates
blacklist nvidia-experimental-337
# 340
blacklist nvidia-340
blacklist nvidia-340-updates
blacklist nvidia-experimental-340
# 343
blacklist nvidia-343
blacklist nvidia-343-updates
blacklist nvidia-experimental-343
# 346
blacklist nvidia-346
blacklist nvidia-346-updates
blacklist nvidia-experimental-346
# 349
blacklist nvidia-349
blacklist nvidia-349-updates
blacklist nvidia-experimental-349
# 352
blacklist nvidia-352
blacklist nvidia-352-updates
blacklist nvidia-experimental-352
# 355
blacklist nvidia-355
blacklist nvidia-355-updates
blacklist nvidia-experimental-355
# 358
blacklist nvidia-358
blacklist nvidia-358-updates
blacklist nvidia-experimental-358
# 361
blacklist nvidia-361
blacklist nvidia-361-updates
blacklist nvidia-experimental-361
# 364
blacklist nvidia-364
blacklist nvidia-364-updates
blacklist nvidia-experimental-364
# 367
blacklist nvidia-367
blacklist nvidia-367-updates
blacklist nvidia-experimental-367
# 375
blacklist nvidia-375
blacklist nvidia-375-updates
blacklist nvidia-experimental-375
# 378
blacklist nvidia-378
blacklist nvidia-378-updates
blacklist nvidia-experimental-378
# 381
blacklist nvidia-381
blacklist nvidia-381-updates
blacklist nvidia-experimental-381
# 384
blacklist nvidia-384
blacklist nvidia-384-updates
blacklist nvidia-experimental-384
# 384 karaliste
blacklist nvidia-384
blacklist nvidia-384-updates
blacklist nvidia-experimental-384
okan[member=234]okan[/member]-Inspiron-3542 ~ $ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
okan[member=234]okan[/member]-Inspiron-3542 ~ $ dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
ii bumblebee 3.2.1-100~xenialppa1 amd64 NVIDIA Optimus support for Linux
ii bumblebee-nvidia 3.2.1-100~xenialppa1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-384 384.111-0ubuntu0.16.04.1 amd64 NVIDIA binary driver - version 384.111
ii nvidia-prime-applet 1.0.6 all An applet for NVIDIA Prime
ii nvidia-settings 390.25-0ubuntu0~gpu16.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii primus 20150328-3~xenialppa2 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 20150328-3~xenialppa2 amd64 Shared libraries for primus
ii primus-libs:i386 20150328-3~xenialppa2 i386 Shared libraries for primus
ii primus-libs-ia32:i386 20150328-3~xenialppa2 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
okan[member=234]okan[/member]-Inspiron-3542 ~ $ lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
08:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev ff)
okan[member=234]okan[/member]-Inspiron-3542 ~ $ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.13.0-32-generic root=UUID=faf34f69-4bc2-48d7-bcd7-eaffcc520285 ro nogpumanager quiet splash vt.handoff=7
Response: No - error: Could not enable discrete graphics card
dpkg -l | grep tlp
okan[member=234]okan[/member]-Inspiron-3542 ~ $ dpkg -l | grep tlp
okan[member=234]okan[/member]-Inspiron-3542 ~ $ BusID "PCI:08:00:0"
sudo xed /etc/default/tlpRUNTIME_PM_BLACKLIST="08:00:0"bu çakışmayı laptop-mode-tools paketinde de önleyebilir miyiz?
okan[member=234]okan[/member]-Inspiron-3542 ~ $ optirun glxgears
[ 83.572807] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 83.572845] [ERROR]Aborting because fallback start is disabled.
okan[member=234]okan[/member]-Inspiron-3542 ~ $ optirun -vvv glxgears
[ 353.151572] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 353.152123] [INFO]Configured driver: nvidia
[ 353.152402] [DEBUG]optirun version 3.2.1 starting...
[ 353.152419] [DEBUG]Active configuration:
[ 353.152425] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 353.152447] [DEBUG] X display: :8
[ 353.152462] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-396:/usr/lib32/nvidia-396
[ 353.152478] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 353.152507] [DEBUG] Accel/display bridge: auto
[ 353.152523] [DEBUG] VGL Compression: proxy
[ 353.152539] [DEBUG] VGLrun extra options:
[ 353.152556] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 353.152650] [DEBUG]Using auto-detected bridge virtualgl
[ 353.233730] [INFO]Response: No - error: Could not load GPU driver
[ 353.233796] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 353.233820] [DEBUG]Socket closed.
[ 353.233861] [ERROR]Aborting because fallback start is disabled.
[ 353.233875] [DEBUG]Killing all remaining processes.
okan[member=234]okan[/member]-Inspiron-3542 ~ $ cat /etc/bumblebee/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
# 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-396
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-396:/usr/lib32/nvidia-396
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-396/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
okan[member=234]okan[/member]-Inspiron-3542 ~ $ cat /etc/bumblebee/xorg.conf.nvidia
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:08: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
okan[member=234]okan[/member]-Inspiron-3542 ~ $ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
okan[member=234]okan[/member]-Inspiron-3542 ~ $ dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
ii bumblebee 3.2.1-100~xenialppa1 amd64 NVIDIA Optimus support for Linux
ii bumblebee-nvidia 3.2.1-100~xenialppa1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-396 396.18-0ubuntu0~gpu16.04.2 amd64 NVIDIA binary driver - version 396.18
ii nvidia-prime-applet 1.0.6 all An applet for NVIDIA Prime
ii nvidia-settings 396.18-0ubuntu0~gpu16.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii primus 20150328-3~xenialppa2 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 20150328-3~xenialppa2 amd64 Shared libraries for primus
ii primus-libs:i386 20150328-3~xenialppa2 i386 Shared libraries for primus
ii primus-libs-ia32:i386 20150328-3~xenialppa2 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
okan[member=234]okan[/member]-Inspiron-3542 ~ $ lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
08:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
okan[member=234]okan[/member]-Inspiron-3542 ~ $ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.15.0-13-generic root=UUID=e5f25b11-c94f-452c-86e6-b2f23920566e ro nogpumanager splash quiet intel_pstate=disable vt.handoff=7
okan[member=234]okan[/member]-Inspiron-3542 ~ $