Arkadaşlar konu ile ilgilenenlerin bildiği gibi Bumblebee kurulumu biraz sıkıntılı bir konu.Kurulum için forumdaki http://forum.ubuntu-tr.net/index.php?topic=41898.0 Nvidia Optimus (Bumblebee) Rehberi incelenebilir.
Bumblebee kurulumu sonrası her şeyin yolunda gittiğini aşağıdaki komut ile anlamak mümkün. Hatalı olan bir ayar varsa komutun çıktısı uyarı mesajı verecektir.
optirun glxgears
komutu sonunda dönen çarklar görüyorsanız ne ala kurulum sorunsuz olmuştur.Göremiyorsanız hata msjı alırsınız.Tüm sıkıntı burada başlıyor forumda referans olması için kendi sistemim için olan hatayı ve çözümü paylaşıyorum umarım faydalı olur.(Sistemde optimus destekli Nvidia GT610 ekran kartı var)
kurulumu Nvidia Optimus (Bumblebee) Rehberi konusundaki gibi yaptıktan sonra
optirun glxgears
komutunun çıktısı olarak alttaki hata msıjını aldım.
[ 105.576200] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
[ 105.576269] [ERROR]Aborting because fallback start is disabled.
Şimdi kendi bilgisayarım için olan çözümü paylaşıyorum adımları dikkatli bir şekilde uygulayalım.
Aşağıdaki komutu uçbirimde çalıştırıp /etc/bumblebee/xorg.conf.nvidia dosyasını açınız.
sudo gedit /etc/bumblebee/xorg.conf.nvidia
Aşağıdaki satırı bulunuz,
# BusID "PCI:01:00:0"
önündeki # işaretini kaldırınız dosyayı kaydediniz.
BusID "PCI:01:00:0"
haline gelecek.
Sonra aşağıdaki komut ile /etc/bumblebee/bumblebee.conf dosyasını açınız.
sudo gedit /etc/bumblebee/bumblebee.conf
Aşağıdaki satırı bulunuz,
KernelDriver=nvidia-current
ve aşağıdaki şekilde değiştiriniz.
KernelDriver=nvidia-304
Yine bumblebee.conf dosyası içinde aşağıdaki satırları bulunuz,
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
ve ilgili satırları sırasıyla aşağıdaki şekilde değiştirip dosyayı kaydediniz.
LibraryPath=/usr/lib/nvidia-304:/usr/lib32/nvidia-304
XorgModulePath=/usr/lib/nvidia-304/xorg,/usr/lib/xorg/modules
Şimdi aşağıdaki komutla bumblebee servisini yeniden başlatınız.
sudo service bumblebeed restart
sonrasında
optirun glxgears
ile dönen çarkları görmeyi başardım umarım işinize yarar.
Not:
komutlarda geçen nvidia-304 benim sisteme ait versiyondur.Kendi sisteminize ait versiyonu
dpkg -l | egrep 'nvidia|bumblebee'
ile öğrenebilirsiniz
optirun glxgears
[ 427.178214] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 427.178273] [ERROR]Aborting because fallback start is disabled.
böyle bir hata ile karşılaşıyorum
Anlatılanları yaptın mı?
Not: Konu diğer taraftan devam etsin.
ellerinize sağlık teşekkürler işe yaradı!
Merhabalar; hocam anlattıklarınızı birebir yaptım fakat başaramadım yine aynı hatayı alıyorum. ubuntuya yeniyim bazı ufak programlarımı wine ile çalıştırıyorum ve grafik işlemci olarak intelde kalıyo ve ram cache şişip makinayı tıkacak hale getiriyor terminal bile açamıyorum :( bi yardımcı olabilirmisiniz :(
@treyteodor, ilgili dosyaların çıktılarını görebilir miyiz? Kod etiketi kullanırsan çok güzel olur: kodetiketi
Özür dilerim forumda yeni olunca dikkat etmemiştim. Hemen istediğiniz bilgileri veriyorum eksik olan komutlar olursa lütfen bilgilendirin.
ilk olarak
f696@696FCom:~$ optirun glxgears
[ 9306.648297] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 9306.648394] [ERROR]Aborting because fallback start is disabled.
ikinci işlemim
f696@696FCom:~$ sudo gedit /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
üçüncü işlemim
sudo gedit /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=
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false
# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
# bbswitch - new in BB 3, recommended if available
# switcheroo - vga_switcheroo method, use at your own risk
# none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-304
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-304:/usr/lib32/nvidia-304
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-304/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
nvidia versiyon kontrolüm
f696@696FCom:~$ dpkg -l | egrep 'nvidia|bumblebee'
ii bumblebee 3.2.1-7 amd64 NVIDIA Optimus support for Linux
ii bumblebee-nvidia 3.2.1-7 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-304 304.125-0ubuntu2 amd64 NVIDIA legacy binary driver - version 304.125
ii nvidia-current 304.125-0ubuntu2 amd64 Transitional package for nvidia-current
ii nvidia-opencl-icd-304 304.125-0ubuntu2 amd64 NVIDIA OpenCL ICD
ii nvidia-settings 346.59-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
ayarlarım bu şekilde, sistemimde intel hd + gt540m ubuntu 15.04 x64 bileşenlerine sahip. Dediğim gibi bilgisayara yabancı değilim ama ubuntuya tamamen yabancıyım yaptım olmadı nereyi atladıgımıda bulamadım :( yardımlarınız için şimdiden teşekkür ederim
nvidia-304 yerine nvidia-340 ile dener misin bir de? Tabi nvidia-304 sürücünün kaldırılması lazım önce. Arada Bumblebee de kalkarsa tekrar yaparsın kurulumu.
Alıntı yapılan: heartsmagic - 11 Haziran 2015 - 13:57:18
nvidia-304 yerine nvidia-340 ile dener misin bir de? Tabi nvidia-304 sürücünün kaldırılması lazım önce. Arada Bumblebee de kalkarsa tekrar yaparsın kurulumu.
304ten 340a geçişini nasıl yapıcam bulamadım , diğer komutlarıda yapmam için neler yapmam lazım malum acemilik kusura bakmayın :)
sudo apt-get -s purge nvidia-304
ne diyor? Sadece Nvidia paketlerini kaldırıyorsa aynı komutu -s parametresi olmadan uygular, ardından nvidia-340 paketini kurarsın. Yok, ilk komutta Bumblebee falan da kaldırılıyorsa sen Bumblebee için kurduğun her şeyi güzelce purge ile kaldır, sonra yeniden kurulum yap. Fakat kurulum yaparken nvidia için nvidia-340 paketini kur.
Hatta şöyle yap güzel güzel temizlensin paketler, üstteki paragrafın anlamı kalmıyor :)
sudo apt-get purge nvidia* bumblebee*
Sonra sistemi bir yeniden başlat, Bumblee'den eser falan kalmasın. Arından tekrar kurulum yap, ancak söylediğim gibi nvidia için nvidia-340 sürücüsünü bir dene.
üstad, dediğin gibi sürücüleri komple temizledim , ardından kurulum olarak
sudo apt-get install nvidia-346 bumblebee bumblebee-nvidia primus linux-headers-generic
iki kere denedim editlenmesi gereken config dosyalarını editledim netice yok sonra 340 ile denedim yine olmadı,
sudo gedit /etc/bumblebee/bumblebee.conf
ile gerekli düzenlemeleri yaparken Ctrl + s yaptıgım anda termianlde çıkan uyarı şu şekilde
Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
çok basit bi yerde bir şeyi atlıyoruz galiba ama çözemedim :( , dış forumlarada bakıyorum ordada bişey bulamıyorum.
az önce bilgisayarıma format atıp sıfır kurulum üzerinde denedim ver. 346yı olmadı yine yapamadım :)
son çıktıları paylaşayım müsait olduğunuzda bakarsanız çok memnun olurum
sudo gedit /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
# 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=
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false
# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
# bbswitch - new in BB 3, recommended if available
# switcheroo - vga_switcheroo method, use at your own risk
# none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-346
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-346:/usr/lib32/nvidia-346
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-346/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
Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 12 Haziran 2015 - 15:02:42
Sonunda buldum :D sadece eksik bir kelime varmış foruma vermiş olduğum cevaba bakarken dikkatimi çekti
sudo gedit /etc/bumblebee/bumblebee.conf
editleme yaparken
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=
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
## Client options. Will take effect on the next optirun executed.
[optirun]
kısmındaki Driver=
parametresinin üstteki açıklaması dikkatimi çekti onu nvidia olarak değiştirdim, normalde boş olan değer oto aktifleme yapması gerekirken düzgün çalışmadığından dolayı olmadı bumblebee aktifleşmemiş, parametreyi
Driver=nvidia
yaptım şu anda sıkıntım yok hemen bi glxgears yaptım işlem tamam, wine ile test sürüşüne çıkıyorum şimdi.
Yardımlarınız için teşekkürler @heartsmagic
Rica ederiz @treyteodor, sorunu çözebilmene sevindim :)