Linux Mint Türkiye

Linux Mint Destek => Ekran Kartları => Donanım => Nvidia => Konuyu başlatan: Butterfly - 05 Temmuz 2016, 12:27:36

Başlık: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 05 Temmuz 2016, 12:27:36
[info]Bumblebee ve Optimus Hakkında Genel Bilgi (#post_bilgi)
Optimus/Bumblebee Desteğinin Sorgulanması (#post_sorgu)
Bumblebee Kurulumu (#post_kurulum)
Kurulum Sonrası Yapılandırma (#post_yapilandirma)
          bumblebee.conf dosyasını düzenleme (#post_conf)
          GL sağlayıcı değiştirme (#post_gl)
          Nvidia sürücü modülünü karalisteye alma (#post_karaliste)
Grub Dosyasında Düzenleme (#post_grub)
Bbswitch ve Nvidia Sürücüsü Yeniden İnşa (#post_rebuild)
Bumblebee Kullanımı (#post_kullanim)
Sorunlar Hakkında (#post_sorunlar)
Bumblebee Kaldırma (#post_kaldirma)[/info]

[warning]Bu konudaki anlatım Linux Mint 18 sürüm içindir.

Linux Mint 17 ve öncesi için aşağıdaki bağlantıdaki anlatımı uygulayınız.

https://forum.linuxmint.net.tr/index.php?topic=78.0 (https://forum.linuxmint.net.tr/index.php?topic=78.0)
[/warning]

Yeni nesil taşınabilir sistemlerde Nvidia ekran kartıyla birlikte entegre Intel ekran kartı da bulunabiliyor. Nvidia'nın Optimus ismini verdiği teknoloji ile yüksek GPU gücüne ihtiyaç duymayan uygulamalarda Nvidia ekran kartı devreye girmeyerek Intel GPU kullanılıyor. Böylece daha az güç harcayan GPU sayesinde daha uzun süre pil kullanamı ve daha az ısınma olması hedeflenmiş.

Linux tarafında henüz bu teknoloji için Nvidia tarafından resmi destek gelmedi. Ama Bumblebee isimli açık kaynak projesi olan uygulama Intel ve Nvidia kartlar arasında geçiş yapılması sağlanabiliyor ve açık bir nebze de olsa giderilmiş durumda.

Sizin sisteminizin Optimus teknolojisine sahip olup olmadığını aşağıdaki komutu uçbirimde çalıştırarak sorgulayabilirsiniz.

Kod: [Seç]
lspci | egrep 'VGA|3D|Display'
Yukarıdaki komutu uçbirimde çalıştırdığınızda aşağıdakine benzer bir çıktı alıyorsanız, sizin de sisteminizde Intel + Nvidia Optimus ekran kartı mevcut demektir. Sisteminizdeki ısınma ve fan sorunlarının temel nedenlerinden biri de budur.

Kod: [Seç]
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)

Linux dağıtımlarında Bumblebee isimli açık kaynak projesi olan uygulama ile sistemin geneli Intel GPU kullandığı halde, istenen uygulamanın Nvidia GPU ile işlem yapması sağlanabiliyor.

Aşağıdaki şekilde komutları sırasıyla uçbirimde çalıştırarak Bumblebee uygulamasını kurabilirsiniz.


1 - Kurulum

Linux Mint 18.x LTS İçin

Linux Mint 18 sürüme kurulum için aşağıdaki komutları sırasıyla uçbirimde çalıştırınız.

Kod: [Seç]
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) -y

64 bit sistemler için aşağıdaki komut ile Primus için 32 bit uyumluluk paketini kurmanızı da öneririz.

Kod: [Seç]
sudo apt-get install primus-libs-ia32

2 - Kurulum Sonrası Yapılandırma

Şimdi bir kaç ufak düzenleme yapılması gerekecek. Kurulum sonrası aşağıdaki komut ile bumblebee.conf dosyasını açınız.

Kod: [Seç]
sudo xed /etc/bumblebee/bumblebee.conf
Açılan dosyada aşağıdaki satırları bulunuz,

Kod: [Seç]
# (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

ve aşağıdaki şekilde değiştirip dosyayı kaydediniz.

Kod: [Seç]
# (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/modules


Bumblebee.conf dosyasında düzenleme yaptıktan sonra varsayılan GL sağlayıcısı için değişiklik yapılması gerekiyor. Bunun için aşağıdaki komutları sırasıyla uçbirimde çalıştırınız.

Kod: [Seç]
sudo update-alternatives --set i386-linux-gnu_gl_conf /usr/lib/i386-linux-gnu/mesa/ld.so.conf
Kod: [Seç]
sudo update-alternatives --set x86_64-linux-gnu_egl_conf /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf
Kod: [Seç]
sudo update-alternatives --set x86_64-linux-gnu_gl_conf /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf
Nvidia-390 sürücüsünün başlangıçta etkinleşmemesi için, aşağıdaki komutu uçbirimde çalıştırarak sürücüyü karalisteye alınız.

Kod: [Seç]
echo -e '# 390 karaliste\nblacklist nvidia-390\nblacklist nvidia-390-updates\nblacklist nvidia-experimental-390' | sudo tee -a /etc/modprobe.d/bumblebee.conf

3 - Grub Dosyasında Düzenleme

Linux Mint 18 ile gelen gpumanager yazılımı Nvidia sürücüsü kurulduğunda otomatik olarak xorg.conf dosyası oluşturmaya çalışıyor, bu durum Bumblebee kuruduğunuzdada gerçekleşiyor. Bu sebeple aşağıdaki şekilde grub ayar dosyasında güncelleme yaparak bunu enegellememiz gerekecek.

Bunun için aşağıdaki komutla grub varsayılan dosyasını açınız.

Kod: [Seç]
sudo xed /etc/default/grub
Açılan dosyada aşağıdaki satırı bulup,

Kod: [Seç]
GRUB_CMDLINE_LINUX=""
aşağıdaki şekilde değiştiriniz ve dosyayı kaydediniz.

Kod: [Seç]
GRUB_CMDLINE_LINUX="nogpumanager"
Ardından aşağıdaki komutla grub ayar dosyasını güncelleyiniz ve sistemi yeniden başlatmayı deneyiniz.

Kod: [Seç]
sudo update-grub
Bu düzenlemeler sonrasında sisteminizi yeniden başlatınız.

[info]Cinnamon masaüstünü kullananlar için not: Bu aşamada sisteminizi yeniden başlattığınızda 3D hızlandırma etkin olmayacağı için Cinnamon masaüstü ile ilgili çökme bildirimi alabilirsiniz. Bu durumda masaüstüne sağ tıklayıp "Burada uçbirimi aç" seçeneği ile uçbirime ulaşıp aşağıdaki adımlarla kurulum adımlarına devam ediniz, aşağıdaki adımları uygulayıp sistemi yeniden başlattıktan sonra sorun kalmayacaktır.[/info]


4 - Yeniden İnşa

Sisteminizi yeniden başlattıktan sonra bbswitch-dkms ve nvidia-390 paketlerinin yeniden yapılandırılmasını sağlamasınız.

Aşağıdaki komutla bbswitch-dkms paketini yeniden yapılandırınız.

Kod: [Seç]
sudo dpkg-reconfigure bbswitch-dkms
Aşağıdaki komutla nvidia-390 sürücüsünü yeniden yapılandırınız.

Kod: [Seç]
sudo dpkg-reconfigure nvidia-390
Bu işlemler sonrasında sisteminizi yeniden başatınız. Sisteminizi yeniden başlattıktan sonra aşağıdaki komutla Bumblebee'nin doğru çalışmasını kontrol edebilirsiniz.

Normal kullanım için aşağıdaki komutu çalıştırınız.

Kod: [Seç]
glxgears
Nvidia GPU ile kullanım için aşağıdaki komutu çalıştırınız.

Kod: [Seç]
optirun glxgears
Komutun çıktısında dönen çarklar görüyorsanız Bumblebee başarıyla çalışıyor demektir.


Kaynak (https://lenovolinux.blogspot.com.tr/2016/05/bumblebee-on-lenovo-t440p-nvidia-gt.html)


5 - Bumblebee Kullanımı

Bir uygulamayı Nvidia ekran kartı ile çalıştırmak için aşağıdaki şekilde uçbirimi kullanabilirsiniz.

Kod: [Seç]
optirun uygulama_adı
Örneğin Firefox'u Nvidia ekran kartı ile çalıştıracaksanız komutu aşağıdaki şekilde düzenlemelisiniz.

Kod: [Seç]
optirun firefox
Ya da uçbirimle hiç uğraşmazsınız, aşağıdaki komutları sırasıyla uçbirimde çalıştırarak bumblebee-ui uygulamasını yükleyip, elle optirun komutu girmekten kurtulabilirsiniz. İstediğiniz uygulamaları GUI (Grafik Arayüz) kullanarak Nvidia ekran kartı ile çalışmasını sağlayabilirsiniz.

Kod: [Seç]
sudo 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 ./INSTALL

Kurulumdan uygulamayı menüden aratarak bulup çalıştırabilirsiniz.
Ya da kontrol amaçlı bir uygulamacığın başlangıçda devreye girmesini sağlayabilirsiniz.
Bunun için menüden Başlangıç Uygulamalarını bulup açınız.
Açılan Başlangıç Uygulamalarında Ekle düğmesine basınız ve aşağıdaki düzenlemeyi yapıp kaydediniz.


İsim : Bumblebee-ui
Komut : /usr/local/bin/bumblebee-indicator

Böylece başlangıç sırasında bumblebee-ui isimli uygulamayı kontol edebileceğiniz küçük bir uygulamacık sistem çekmesinde açılarak kontrolünüzü kolaylaştıracaktır.


(http://s12.postimg.org/gbajnm5rh/Captura_de_2013_10_25_23_59_04.png)


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.

Kod: [Seç]
optirun glxgears
Başarılı bir kurulumun çıktıları aşağıdaki gibi olacaktır.

Kod: [Seç]
optirun glxgears
4686 frames in 5.


6 - Sorunlar Hakkında

Hatalı bir şeylerin olduğunu düşünüyorsanız lütfen aşağıdaki komutları sırasıyla uçbirimde çalıştırıp çıktılarını paylaşınız.

Kod: [Seç]
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/cmdline



7 - Bumblebee Kaldırma

Bumblebee ile ilgili paketleri sistemden kaldırmak için aşağıdaki komutları sırasıyla uçbirimde çalıştırınız.

Kod: [Seç]
sudo apt-get purge bumblebee* nvidia* bbswitch* primus* virtualgl*
Aşağıdaki komutlarla Bumblebee kurulumu için eklediğiniz depoları kaldırınız. (Not: Bumblebee'yi yeniden kuracaksanız bu depoları kaldırmanıza gerek yok.)

Kod: [Seç]
sudo rm -f /etc/apt/sources.list.d/bumblebee*
sudo rm -f /etc/apt/sources.list.d/graphics-drivers*
sudo apt-get update

Bumblebee ve Nvidia sürücüsü ile ilgili paketleri kaldırdıktan sonra buradaki (#post_grub) Grub önyükleyici ile ilgili düzenlemeyi geri almanız gerekmektedir. Grub önyükleyici ile ilgili düzenlemeyi geri aldıktan sonra aşağıdaki komutla grub ayar dosyasını güncellemelisiniz. (Not : Bumblebee'yi yeniden kuracaksanız Grub dosyası ile ilgili düzenlemeyi geri almanıza gerek yok.)

Kod: [Seç]
sudo update-grub
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: natre - 05 Temmuz 2016, 13:53:37
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?

Ayrıca kapalı kaynak sürücüleri kullanmamızın ne gibi bir zararı var? Ben Linux Mint'in kendi sürücü yöneticisi ile kurduğum kapalı kaynaklı sürücüden memnundum. Sağ alta gelen uygulama sayesinde rahatlıkla ekran kartları arasında geçiş yapabiliyorduk.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: tux5 - 05 Temmuz 2016, 13:58:34
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?
Birde
Kod: [Seç]
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ı?
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 05 Temmuz 2016, 14:03:19
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?

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.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 05 Temmuz 2016, 14:09:34
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?


Primus'un 32 bit uyumluluk paketi PPA deposunda mevcut aslında, aşağıdaki komutların çıktısına bakalım.

Kod: [Seç]
apt-cache policy primus-libs-ia32
sudo apt-get install primus-libs-ia32 -s

Alıntı
Birde
Kod: [Seç]
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ı?

Bu komutu anlatımda düzelttim, doğrusu Nvidia sürücüsü ile ilgili PPA deposu olacaktı. Eğer PPA depolarını daha önce sisteme ekledi iseniz, yeniden kurulumlarda PPA deposu ekleme ile ilgili komutları geçebilirsiniz.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: tux5 - 05 Temmuz 2016, 14:17:12
Kod: [Seç]
$ 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
Kod: [Seç]
$ 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
Kod: [Seç]
sudo apt-get install primus-libs-ia32 komutunu çalıştırmaya gerek yok gibi.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 05 Temmuz 2016, 14:26:36
Alıntı
primus-libs-ia32:i386:
  Installed: 0~20150328-1

Paket zaten Ubuntu deposundan kurulu gözüküyor, güncelleyerek PPA deposundaki sürümü kurabilirsiniz.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: tux5 - 05 Temmuz 2016, 14:30:32
Yardımlarınız için çok çok teşekkürler.Herhangi bir karşılık beklemeden insanlara böyle yardım etmeniz gerçekten herkesin yapabileceği birşey değil.Başarılarınızın devamını dilerim.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: natre - 05 Temmuz 2016, 14:32:29
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.

Tamamdır, sorunum çözüldü. Bumblebee düzgün olarak çalışmakta. Teşekkür ederim  :)
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Trust - 06 Temmuz 2016, 07:50:41
Anlatım ve bilgilendirme için teşekkürler üstad.Bir uyarı vermek isterim.     
     3. maddeden sonra bende sistemi yeniden başalattığımda Cinnamon fallback modunda açıldı. Masaüstü gnome-2 ye dönmüştü. Uçbirimi bulamadım bende synaptic paket yöneticisinden terminator adlı uçbirimi yükleyerek 4. maddeyi uyguladım ve şimdi sorunsuz bir şekilde çalışıyor.Bilgilendirmek istedim. :)
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 06 Temmuz 2016, 11:21:13
Cinnamon fallback (kurtarma) kipinde açıldığında masaüstüne sağ tıklayıp "Burada Uçbirimi Aç" seçeneğini kullanarak uçbirime ulaşabilirsiniz.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: eersoy93 - 10 Temmuz 2016, 15:47:52
Bende de işe yaradı, çok teşekkür ederim, Allah râzı olsun. glxgears ile yaklaşık 20 kat fps farkı elde ettim.

Yalnız daha yeni NVIDIA sürücüleri için ne yapacağız? Güncelleme Yöneticisi'nde 367 sürümü var, yükselteyim mi?

EKLEME: Linux Mint'in asıl forum sitesine de bu konuyla ilgili buraya bağlantı verdim: https://forum.linuxmint.net.tr/index.php?topic=6258.0

2. EKLEME: Sayın Butterfly, bu bilgileri nereden ve nasıl elde ediyorsunuz? Yanıt sayınıza baktığımda çok iyi bir Linux uzmanı olmalısınız.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 10 Temmuz 2016, 16:44:22
Nvidia-367 ile bir miktar sorun yaşadığım için, başarılı kurulum yaptığım Nvidia-364 sürücüsü ile konuyu hazırladım. Gerçi PPA deposunda dahi Nvidia-361 sürücüsü öneriliyor ama şu an Nvidia-364 sürücü ile sorun yaşamadım.

Nvidia-364 sürücüsünü kurdu iseniz, Güncelleme Yöneticisinde Nvidia-367 sürücüsü görünmemesi gerekir, bununla ilgili aşağıdaki komutların çıktılarına bakalım.

Kod: [Seç]
sudo dpkg -l | grep nvidia
apt-cache policy nvidia-364 nvidia-367 nvidia-settings



Bende sizin gibi bir son kullanıcıyım, konuyu kaynağını paylaştığım bir başka konuyu referans alıp Linux Mint'e uyarlayarak hazırladım.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: eersoy93 - 10 Temmuz 2016, 17:17:29
İkisi için de konsol çıktısını vereyim:

Kod: [Seç]
eersoy93@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 ~ $
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 10 Temmuz 2016, 18:17:21
Şu an Nvidia-367sürücüsü kurulu gözükmüyor, bu sebeple Güncelleme Yöneticisinde böyle bir öğe görünmemesi gerekir. Acaba Güncelleme Yöneticisi yerine böyle bir öğeyi Sürücü Yöneticisinde görüyor olabilir misiniz?
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: eersoy93 - 10 Temmuz 2016, 20:16:32
Ben yanlış anlamışım, Güncelleme Yöneticisi'nde başka paketler var. nvidia-367 ise Sürücü Yöneticisi'nde gözüküyor ama o seçili değil.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: yyz - 19 Temmuz 2016, 17:14:08
[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?
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 19 Temmuz 2016, 18:23:52
[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.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: yyz - 19 Temmuz 2016, 19:35:18
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...
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: yyz - 23 Temmuz 2016, 15:54:49
Geri bildirim...

Evet [member=8]Butterfly[/member] hocam, nvidia-340'a göre burada anlatıldığı gibi kurulum yapmayı başardım, optirun komutu çalışıyor... Yalnız bumblebee.conf dosyasından sonra yapılacak düzenlemelerin ilkinde zaten bende 1seçeneği ayarlı olarak çıktı; ikinci ayar için de yapılandıralacak bir şey yok çıktı, şu şekilde
Kod: [Seç]
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.

Bu bir sorun değil herhalde?
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 23 Temmuz 2016, 18:15:44
Kod: [Seç]
optirun glxgears
[member=1635]yyz[/member] , yukarıdaki komutun çıktısında dönen çarkları görüyorsanız sorun yok demektir.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: yyz - 23 Temmuz 2016, 19:05:43
Kod: [Seç]
optirun glxgears
[member=1635]yyz[/member] , yukarıdaki komutun çıktısında dönen çarkları görüyorsanız sorun yok demektir.
Görüyorum, sıkıntı yok o zaman; teşekkürler...
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: zboraon - 03 Ağustos 2016, 13:24:33
Teşekkürler,
2 günümü yiyen mesele sizin sayenizde çözüldü:)

Bora

Mesajlar Birleştirildi.
Butterfly selamlar,
Üç sorum olacak.

1. Sizce kurulumu yaptıktan sonra ppa:bumblebee/testing'i uygulama kaynaklarından kaldırmak gerekir mi?

2. Bir diğer soru da, eğer ppa:bumblebee/testing'i kaldırırsak ve daha sonra bumblebee'ye güncelleme gelir de kurarsak sorun olur mu. Yani duraylı (stable) sürüm acaba sorunlardan arınmış sürüm mü olacaktır?

3. Ayrıca bahsi geçen kurulumu yaptıktan sonra Matlab programı hata verdi sadece matlabı -softwareopengl komutu ile çalıştırabiliyorum. Biraz bu konuda interneti karıştırdım ancak kafam karıştı. Bir fikriniz var mı acaba? Sanki mesa ile ilgili imiş gibi geliyor bana, ya da java ile ilgili olabilir mi?

Cevabınız için şimdiden teşekkürler,

Bora
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: CemalCTN - 17 Ağustos 2016, 17:32:05
Hocam temanın adı nedir resimdeki ?
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: yunus emre pişkin - 30 Ağustos 2016, 18:09:24
İyi günler. Linuxe yeni geçtim ve çokda beğendim ancak bu ekran kartı kurulumunu yapamadım. Linux Mint 18 Cinnamon kullanıyorum. 4 adıma geçişte fallback modunda açılıyor. sonrasında 4. adımı uygulayıp reset attığımda aynı şekil fallback modunda açılıyor. Nvidia 364 de bu sorun olunca önerilen 367 denedim fkat değişen birşey olmadı. Yardımlarınız için şimdiden teşekkürler.[member=8]Butterfly
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.

Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 31 Ağustos 2016, 15:02:43
Aşağıdaki komutlar ne çıktı veriyor?

Kod: [Seç]
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.nvidia

Aşağıdaki komutu çalıştırınca dönen çarkları görebiliyor musunuz?

Kod: [Seç]
optirun -vvv glxgears
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Cygmad - 24 Eylül 2016, 21:56:56
Merhaba
Aşağıdaki kodu yazdığımda
Kod: [Seç]
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

bu sorunla karşılaşıyorum.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 24 Eylül 2016, 22:01:51
Alıntı
E: nvidia-367 paketi bulunamadı
E: 'virtualgl' paketi için kurulum adayı yok

Büyük ihtimalle kurulum adımlarını eksik uyguluyorsunuz, PPA depolarını eklememiş olabilirsiniz.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Cygmad - 24 Eylül 2016, 22:03:43
Ah evet benim hatam eksik ugulamışım kusura bakmayın.

Mesajlar Birleştirildi.
Herşeyi düzgün yaptığımı sanıyordum ama menüdeki uygulama kutularını işaretleyip sonra kapatıp tekrar menüyü açtığımda hiçbiri seçilmemiş görünüyor.

Kod: [Seç]
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

Kod: [Seç]
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

Kod: [Seç]
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

Kod: [Seç]
cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok

Kod: [Seç]
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

Kod: [Seç]
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)
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: motodoshi - 17 Ekim 2016, 02:16:21
merhaba

Kod: [Seç]
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 ~ $

hatası alıyorum
yardım edebilirmisiniz ?
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 17 Ekim 2016, 09:07:18
Aşağıdaki komutla /etc/bumblebee/xorg.conf.nvidia dosyasını açıp,

Kod: [Seç]
sudo xed /etc/bumblebee/xorg.conf.nvidia
aşağıdaki satırları girintilere dikkat ederek dosyanın en altına ekleyip dosyayı kaydediniz.

Kod: [Seç]
Section "Screen"
  Identifier "Default Screen"
  Device "DiscreteNvidia"
EndSection

Ardından aşağıdaki komutla bumblebee servisini yeniden başlatınız.

Kod: [Seç]
sudo service bumblebeed restart
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: 4Kaiken - 21 Ekim 2016, 20:31:30
Hocam ben ubuntu 16.04.01 Xenial yeni kullanıyım bu dediğiniz adımları uygulamam doğru mudur ?
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: silk - 21 Ekim 2016, 20:39:15
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.







-----------------------------------------
Hocam ben ubuntu 16.04.01 Xenial yeni kullanıyım bu dediğiniz adımları uygulamam doğru mudur ?

Merhaba. Linux Mint 18, Ubuntu 16.04 üzerinden geliştirilmiştir, ve bu yüzden Ubuntu 16.04 ile yapabileceğiniz hemen hemen her şeyi  Linux Mint 18 ile yapabilirsiniz. Yani evet.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 21 Ekim 2016, 21:53:09
Hocam ben ubuntu 16.04.01 Xenial yeni kullanıyım bu dediğiniz adımları uygulamam doğru mudur ?

Evet bu konudaki adımları Ubuntu 16.04.x sürümler içinde uygulayabiirsiniz.



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.


Önce DNS adresi değiştirmeyi dener misiniz?

https://forum.linuxmint.net.tr/index.php?topic=616.msg3568#msg3568

Eğer sorun bu şekilde çözülmezse, mintsources paketinin son sürümde olup olmadığını kontrol ediniz.

Kod: [Seç]
apt-cache policy mintsources
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: 4Kaiken - 21 Ekim 2016, 22:26:27
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
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: silk - 21 Ekim 2016, 22:38:47
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
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 21 Ekim 2016, 22:43:42
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

Bu başlıkla alakası olmayan hususlar için, konunun dallanıp budaklanmaması ve forum düzeni açısından yeni bir konu açmanız daha uygun olacaktır. https://forum.linuxmint.net.tr/index.php?topic=1177.msg7024#msg7024

Ubuntu'da xed yerine gedit yazmayı deneyiniz. Unity ya da Gnome Shell'den farklı bir masaüstü kullanıyorsanız, xed yerine masaüstü ortamındaki metin düzenleyiciyi yazınız.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 21 Ekim 2016, 22:50:48
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

Yazılım Kaynakları aracı güncel görünüyor. Menüden aratarak Yazılım Kayakları aracını açınız, PPA depoları sekmesine gelip "Yeni PPA ekle..." düğmesine tıklayınız ve açılan alana aşağıdaki satırı girip Tamam tuşu ile ekleyiniz.

Kod: [Seç]
ppa:bumblebee/testing
Diğer PPA deposu içinde aşağıdaki satır eklenecek.

Kod: [Seç]
ppa:graphics-drivers/ppa
Sorun bu şekilde çözülmezse PPA deposunun eklenememesi ile ilgili buradaki (https://forum.linuxmint.net.tr/index.php?board=56.0) bölüme yeni bir konu açınız. Açtığınız konuda aldığınız hata mesajlarını paylaşınız.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: silk - 21 Ekim 2016, 23:03:43
Açtım. İlginiz için teşekkürler.

https://forum.linuxmint.net.tr/index.php?topic=6944.0 (https://forum.linuxmint.net.tr/index.php?topic=6944.0)

Mesajlar Birleştirildi.
Kod: [Seç]
sudo update-alternatives --set x86_64-linux-gnu_egl_conf /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf
Komutu şu çıktıyı veriyor:

Kod: [Seç]
update-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

Bir soruna neden olur mu?
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 21 Ekim 2016, 23:44:39
Çıktıya bakalım hemen.

Kod: [Seç]
cat /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: silk - 21 Ekim 2016, 23:48:24
Kod: [Seç]
/usr/lib/x86_64-linux-gnu/mesa-egl

Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 21 Ekim 2016, 23:55:20
Sorun yok devam edebilirsiniz.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: silk - 22 Ekim 2016, 00:11:24
Kod: [Seç]
optirun glxgears
Sonucu:

Kod: [Seç]
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 FPS
FPS 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?
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 22 Ekim 2016, 00:21:49
Aşağıdaki komuta nvidia-modprobe paketini kurmayı deneyiniz.

Kod: [Seç]
sudo apt-get install nvidia-modprobe
Paylaştığınız komutun çıktısı ile beraber dönen çarkları görüyorsanız bumblebee çlaışıyor demektir.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: canercambel - 09 Kasım 2016, 16:31:38
Alıntı
optirun -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'

Alıntı
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

Alıntı
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

Alıntı
caner[member=560]Caner[/member]-TULPAR-T5 ~/Masaüstü $ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: No such file or directory

Alıntı
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

Alıntı
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.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 09 Kasım 2016, 17:50:55
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.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: canercambel - 09 Kasım 2016, 21:24:31
"Hala launcher hata veriyor" ne demek, bununla ilgili ne zaman bildirimde bulundunuz?



İlk komutun çıktısını paylaşmamışsınız.

Yanlış anlatmışım kendimi, biryerde cinnamon kullanıcıları için hata vericektir fakat bu yaralar yapıldıktan sonra düzelecektir kısmından bahsederek hala dedim yani geri bildirim yaptığım halde geri dönüş almadığımı söylemek istememiştim :/

Alıntı
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.

Teşekkürler...
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 09 Kasım 2016, 22:02:59
Çıktıya göre Bumblebee sorunsuz çalışıyor, eğer Cinnamon ile ilgili sorun devam ediyorsa "Cinnamon Masaüstü" bölümünde yeni bir konu açmanız daha uygun olacaktır.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: mathias-freire - 24 Aralık 2016, 15:09:46
Merhabalar. Linux Mint 18 KDE kurdum. 2 haftadır Linux Mint ve Ubuntu üzerinde stabil bir sistem kurmaya çalışıyorum. İlk denemelerimde bu belgeye dayanarak sorunsuz kurulan Bumblebee, 2 gündür bir nedenden sistemde arıza vermeye başladı.

Kurulum aşamalarında grub güncellemeden sonra yeniden başlatıyorum. Masaüstü gelmiyor, sadece siyah ekran. Terminale ulaşıp, Xorg.0.log dosyasının içeriğine baktığımda da şu hatayı görüyorum:

Kod: [Seç]
[    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

Basit bir Google araması bu sorunu tek yaşayanın ben olmadığımı gösteriyor ama yine de bir çözüme ulaşmış değilim. [/b]
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 24 Aralık 2016, 16:47:19
https://forum.linuxmint.net.tr/index.php?topic=6258.0#post_sorunlar

Not: Masaüstüne ulaşamıyorsanız, sistemi kurtarma kipi ile başlatarak masaüstüne ulaşmayı deneyebilirsiniz.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: mathias-freire - 24 Aralık 2016, 17:55:41
optirun -vvv glxgears

Kod: [Seç]
[  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.

cat /etc/bumblebee/bumblebee.conf

Kod: [Seç]
# 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


cat /etc/bumblebee/xorg.conf.nvidia

Kod: [Seç]
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

Kod: [Seç]
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok

dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'

Kod: [Seç]
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)

lspci | egrep 'VGA|3D|Display'

Kod: [Seç]
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)
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 24 Aralık 2016, 19:38:19
Intel'in sitesinden grafik sürücüler ile ilgili bir paket yardımıyla güncelleme yapmış olabilir misiniz? Aşağıdaki komutların çıktılarına bakalım.

Kod: [Seç]
inxi -r
dpkg -l | grep intel
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: mathias-freire - 25 Aralık 2016, 00:26:46
Kusura bakmayın. Cevap veremedim. Problem nvidia-375'e gelen son güncellemeden geliyor. Mevcut son sürüm 375.26 ile bu arıza meydana geliyor, halbuki daha 3-4 gün önce daha eski bir sürüm (375.20) ile sorunsuz çalışıyordu. nvidia-370 kurulumu yaptım ve şu an herşey olması gerektiği gibi. Boş yere meşgul ettiysem kusura bakmayın. Bu sürüm ile ilgili dilerseniz konu içerisinde bir bug notu düşebilirsiniz.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Ömerbey07 - 27 Aralık 2016, 02:52:00
Kod: [Seç]
~ $ 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.


Mesajlar Birleştirildi.
Kod: [Seç]
~ $ 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ı
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 27 Aralık 2016, 13:16:19
Alıntı
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-370

XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules

/etc/bumblebee/bumblebee.conf dosyasında, yukarıda kırmızı ile belirtilen kısımlardaki düzenlemeler eksik kalmış. Aşağıdaki bağlantıdaki anlatıma göre dosyayı düzenlemeniz gerekiyor.

https://forum.linuxmint.net.tr/index.php?topic=6258.0#post_conf
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: erdem90 - 08 Şubat 2017, 13:17:30
Kod: [Seç]

# 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)

sorun nerede olabilir acaba ?

optirun glxgears yaptığımda hata alıyorum fakat glxgears yaptığımda çarklar dönüyor. Aynı zamanda optirun firefox yaptığımda da hata alıyorum.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 08 Şubat 2017, 14:53:25
Alıntı
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?

Aşağıdaki komutu uçbirimde çalıştırınca durum ne oluyor?

Kod: [Seç]
sudo service bumblebeed start
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: erdem90 - 08 Şubat 2017, 14:59:03
Aşağıdaki komutu uçbirimde çalıştırınca durum ne oluyor?

Kod: [Seç]
sudo service bumblebeed start

hiç bir şey bir süre bekliyor sonra yeni kod satırı geliyor herhangi bir hata veya mesaj/yazı çıkmıyor.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 08 Şubat 2017, 15:02:56
Komutu çalıştırdıktan sonra Bumblee ile ilgili durum ne oluyor? Yukarıdaki komut zaten çıktı vermeyecek, sadece servisi başlatmaya yarıyor.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: erdem90 - 08 Şubat 2017, 15:06:12
Kod: [Seç]
# 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 ediyor

Mesajlar Birleştirildi.
Komutu çalıştırdıktan sonra Bumblee ile ilgili durum ne oluyor? Yukarıdaki komut zaten çıktı vermeyecek, sadece servisi başlatmaya yarıyor.

kaldırma işlemi filan yapıp baştan mı kurulum yapsam ?
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 08 Şubat 2017, 17:12:46
Evet, kaldırıp kurmayı yeniden kurmayı deneyebilirsiniz. Bumblebee Kaldırma (https://forum.linuxmint.net.tr/index.php?topic=6258.0#post_kaldirma)

Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: erdem90 - 08 Şubat 2017, 17:37:30
Evet, kaldırıp kurmayı yeniden kurmayı deneyebilirsiniz. Bumblebee Kaldırma (https://forum.linuxmint.net.tr/index.php?topic=6258.0#post_kaldirma)

Rahatsızlık veriyorum kusura bakmayın lütfen.Ben kaldırma işlemini gerçekleştirdim ve tekrar kurdum lakin sonuç olarak gene aynı hatayı almaktayım. Yardımlarınızı bekliyorum.

Şunu da eklemek isterim sudo service bumblebeed start komutunu da yazıp denemedim.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: furkan - 09 Şubat 2017, 10:44:54
Merhaba, "optirun glxgears" komutundan sonra dönen çarklar çıkmıyor yardımcı olabilir misiniz ?


optirun -vvv glxgears

Kod: [Seç]
[ 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?

cat /etc/bumblebee/bumblebee.conf

Kod: [Seç]
# 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

Kod: [Seç]
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

Kod: [Seç]
cat: /etc/X11/xorg.conf: No such file or directory

dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'

Kod: [Seç]
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 virtualgl

lspci | egrep 'VGA|3D|Display'

Kod: [Seç]
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 ff)
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 09 Şubat 2017, 16:53:01
[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ı.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 09 Şubat 2017, 16:57:42
[member=1622]furkan[/member]  sizinde /etc/bumblebee/bumblebee.conf dosyanız hatalı yapılandırılmış.

Örneğin aşağıdaki satır,

Kod: [Seç]
# Module name to load, defaults to Driver if empty or unset KernelDriver=nvidia-367
aslında aşağıdaki gibi olmalı, lütfen dosyayı düzeltmeyi deneyiniz.

Kod: [Seç]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-367
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: erdem90 - 16 Şubat 2017, 21:38:07
[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.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: adorratm - 16 Şubat 2017, 22:15:28
Merhaba. 3. kez denememden sonra artık linux mint yükleyip kaldırmaktan yoruldum. İnternettteki çözümlerin hiç biri işe yaramıyor. Sorunum şu :

Donanım; i5 5200U HD Graphics 5500 + Nvidia GT940M

optirun glxgears yazınca aşağıdaki gibi hata veriyor

Kod: [Seç]
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.

Kod: [Seç]
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

Kod: [Seç]
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

Kod: [Seç]
cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok

Kod: [Seç]
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

Kod: [Seç]
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)

Yukarıdaki kodları attım 3 kere formatlayıp temiz kurulum yapmama rağmen banamısın demiyor optirun glxgears ile çark çalışmıyor mouse modülü yüklenmiyor. Ne yapabilirim?
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: abdyek - 16 Şubat 2017, 23:33:47
bumblebee indicator da sorun yaşıyorum, seçtiğim uygulamalar seçili kalmıyor. Ve tiklediğim programlar sarı görünüyor. Sanırım normalde yeşil görünmesi gerekiyordu. Optirun komutu ise sorunsuz çalışıyor. Optirunda sıkıntı olmadığı için verdiğiniz komutların çıktısını paylaşmıyorum, anladığım kadarıyla bu indicator bazı metin dosyalarını düzenleyip bize görsel çözüm sunuyor, bumblebee indicator'ı kaldırıp yeniden kurarsam sorun kalkar diye düşünüyorum, nasıl kaldırılıyor bu? Bir de sorunu çözemenin başka bir yolu varsa onu da alabilirim. Sorun çözülmezse de sorun değil. Sadece chromium da kullandığım için, chromium u atadığım kısayolu düzenleyip başına optirun ekleyiveririm. Önceden bu indicator sorunsuz çalışıyordu. Makinemi bazı sebeplerden dolayı sıfırlamak durumunda kaldım herşeyi sıfırdan temiz kurdum, böyle küçük bir pürüz oluştu
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 17 Şubat 2017, 16:28:04
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
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: abdyek - 18 Şubat 2017, 16:14:49
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


Teşekkürler
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Akıncı - 11 Nisan 2017, 11:12:07
.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 11 Nisan 2017, 11:48:13
Lütfen forum kuralalrını inceleyiniz.

Alıntı yapılan: https://forum.linuxmint.net.tr/index.php?topic=140.0
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.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Raven - 13 Nisan 2017, 14:19:07
Merhaba sayın kullanıcılar..Öncelikle edeceğiniz yardımlar için hepinize şimdiden teşekkür ederim.İlk defa linux deniyorum ve hatta sistemimi dün kurmuş bulunmaktayım ve  ilk mesajım forumda bu olacak sanırım :).Bendede çift ekran kartı var ve de bumblebee uygulamasını kurmaya calıştım.Her adımı tamamladım son deneme noktasında [member=8]Butterfly[/member] üstadın ilk baştaki anlatımının 5. sıradaki kontrol işlemini gerçekleştirdiğimde şöyle bir uyarı aldım
Kod: [Seç]
optirun glxgears
[VGL] ERROR: in readback--
[VGL]    256: Window has been deleted by window manager
acaba problem neden kaynaklanıyor olabilir.

Çıktıları da paylaşayım sizlerle eksik olmasın :
Kod: [Seç]
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.
Kod: [Seç]
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.nouveau
Kod: [Seç]
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
Kod: [Seç]
cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
Kod: [Seç]
cat /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
Kod: [Seç]
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)
Kod: [Seç]
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

Yardımlarınız için şimdiden teşekkür ederim. Bir kusurum olmuşsa özür dilerim ilk defa linux kullanıyorum.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 13 Nisan 2017, 15:05:13
Alıntı
[ 1578.566825] [DEBUG]Process vglrun started, PID 3626.
6258 frames in 5.0 seconds = 1251.577 FPS

Dönen çarkı görüyorsanız sorun yok demektir, yukarıdaki çıktı FPS değeri verdiğine göre öyle olmalı.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Raven - 13 Nisan 2017, 15:22:02
[member=8]Butterfly[/member] üstad dönen çarkı görüyorum.teşekkür ederim ilginize.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: BayramGrbz - 19 Haziran 2017, 09:51:29
Kod: [Seç]
optirun glxgears
kullandıgımda.

Kod: [Seç]
[  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.

cıktısını alıyorum
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 19 Haziran 2017, 10:33:53
[warning]Sorunlar Hakkında (https://forum.linuxmint.net.tr/index.php?topic=6258.0#post_sorunlar)[/warning]
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: BayramGrbz - 19 Haziran 2017, 11:50:14
Kod: [Seç]
optirun -vvv glxgears cıktısı
Kod: [Seç]
[ 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.
Kod: [Seç]
cat /etc/bumblebee/bumblebee.conf cıktısı
Kod: [Seç]
  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
Kod: [Seç]
cat /etc/bumblebee/xorg.conf.nvidia cıktısı
Kod: [Seç]
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
Kod: [Seç]
cat /etc/X11/xorg.conf cıktısı
Kod: [Seç]
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
 
Kod: [Seç]
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl' cıktısı
Kod: [Seç]
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
 

Kod: [Seç]
lspci | egrep 'VGA|3D|Display' cıktısı 
Kod: [Seç]
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)
   
Kod: [Seç]
cat /proc/cmdline cıktısı
Kod: [Seç]
BOOT_IMAGE=/boot/vmlinuz-4.4.0-79-generic root=UUID=5d5769c5-fb69-413b-8ced-19c12c30bc76 ro nogpumanager quiet splash vt.handoff=7
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 19 Haziran 2017, 12:02:16
Öncelikle forumda anlatıldığı biçimde kurulum deneyiniz, forumdaki konuda Nvidia-381 sürücüsüne göre anlatım bulunmakta ama siz Nvidia-375 sürücüsünü kurmuşsunuz. Eğer Nvidia-375 sürücüsü ile devam etmek istiyorsanız  /etc/bumblebee/bumblebee.conf dosyasında nvidia-381 yazan yerleri nvidia-375 olarak değiştirin ve aşağıdaki komutla Bumblebee servisini yeniden başlatın.

Kod: [Seç]
sudo service bumblebeed restart
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: ysfbkrcn - 02 Temmuz 2017, 14:25:11
Merhaba,

aşağıdaki komutu çalıştırdığımda hata mesajı alıyorum:

Kod: [Seç]
optirun glxgears
Kod: [Seç]
Error: couldn't get an RGB, Double-buffered visual
Kod: [Seç]
yusuf@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.


Kod: [Seç]
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


Kod: [Seç]
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


Kod: [Seç]
yusuf@y560 ~ $ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: No such file or directory

Kod: [Seç]
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


Kod: [Seç]
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)


Kod: [Seç]
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
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 02 Temmuz 2017, 15:28:50
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
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: ysfbkrcn - 02 Temmuz 2017, 23:22:06
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

sorun giderildi. teşekkürler.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: eufratboss - 14 Temmuz 2017, 19:46:30
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.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Starseemer - 15 Temmuz 2017, 16:06:53
Bumblebee kurulumunu yaptıktan sonra sistem çekmecemde active grapich card : unknown diye bir simge çıktı bende herşeyin doğru çalışıp çalışmadığına bakmak için sizin paylaşmış olduğunuz kodları çalıştırdım ve
Kod: [Seç]
cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
böyle bir şeyle karşılaştım sanırım bunnun alakalı problemim yardımcı olabilir misiniz
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 17 Temmuz 2017, 20:23:15
Bumblebee kurulumunu yaptıktan sonra sistem çekmecemde active grapich card : unknown diye bir simge çıktı

Aşağıdaki komutla nvidia-prime ve nvidia-prime-applet paketlerini kaldırmayı deneyiniz.

Kod: [Seç]
sudo apt-get purge nvidia-prime nvidia-prime-applet
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 17 Temmuz 2017, 20:28:55
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.

Cinnamon masaüstünü kullanıyorsanız Bumblebee-ui uygulamacığına ihtiyacınız yok, menüden istediğiniz uygulamaya sağ tıklayıp Nvidia GPU ile açabilirsiniz.

https://forum.linuxmint.net.tr/index.php?topic=6649.0

Sorun yaşanırsa aşağıdaki konuyu inceleyiniz.

https://forum.linuxmint.net.tr/index.php?topic=8243.0
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: jaws61 - 08 Ağustos 2017, 00:40:46
Merhabalar,

İnşa bölümüne gelen tüm komutları uyguladım ve değişiklikleri yaptım. Fakat cihazı yeniden başlattığımda ekran gelmiyor. Uzun süre bekledim ama yine de siyah ekrandan öteye geçemedim.

Tavsiyeleriniz nedir ?
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 08 Ağustos 2017, 13:25:33
Aşağıdaki şekilde masaüstüne ulaşmayı deneyiniz.

Grub önyükleyici menüsü => Gelişmiş seçenekler  altındaki kurtarma kipi (recovery mode) seçeneği ile sistemi başlatın. Bir süre sonra bir menü daha gelecek, burada "resume" seçeneğini seçerek devam edin.

Grub menüsü başlangıçta görünmüyorsa, açılış sırasında üst karakter (shift) tuşuna basmayı deneyin.

Masaüstüne ulaştığınızda konuda anlatıldığı biçimde kurulumu kaldırıp, yeniden kurulum yapmayı deneyebilirsiniz.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: jaws61 - 12 Ağustos 2017, 15:34:49
Linux mint i tekrar kurdum ve aynı komutları tekrar uyguladım. Sonrasında yine linux mint açılmadı. Recovery moda girmeyi denediğimde ise mavi bir ekran geliyor ve ekran donuyor. Anlamadığım bu iş kolaylaşacağına niye zorlaşmış acaba :))
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 12 Ağustos 2017, 15:42:05
Paketlerin tamamını kaldırıp, Bumblebee yerine Nvidia Prime kurmak denenebilir. İlla Bumblebee seçeneği isteniyorsa, Ekran kartı ile ilgili çıktılarla birlikte, kurulum sırasındaki çıktıları da foruma aktarırsanız incelme yapabiliriz.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: jaws61 - 12 Ağustos 2017, 16:09:46
Şöyle diyeyim hocam. Ben dizüstünde genelde dosya transfer, müzik film izleme dinleme, internette gezinme gibi işlemler yaparım. O yüzden ekran kartını çok zorlayacak oyun çizim gibi işlemler yapmam. Bu yüzden bumblebee veya primus farketmez yeterki basit ve sorunsuz olsun. Windows un ağırlığından ve güncellemd gibi saçmalıklarından gına geldiği için cihazımda hep Mint ve Manjaro kurulu olmuştur. Bu arada linux mint kurulumundan sonra dikkatimi çeken fare imleci durmadan titriyor , yanıp-sönüyor ve ekranda iz bırakıyor. 
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 12 Ağustos 2017, 16:34:01
O zaman konuda anlatıldığı biçimde Bumblebee ile ilgili paketleri kaldırıp, ardından bu bölüm altındaki anlatımı uygulayarak Nvidia Prime kurulumu deneyin. Kurulum sonrasında Nvidia Ayar Yöneticinden Intel GPU'yu seçmeniz gerekecek, ayrıntılar Nvidia Prime kurulumu konusunda mevcut.

Fare imleci titremesi ile ilgili yeni konu açmalısınız.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: LimoniJedi - 28 Aralık 2017, 11:55:03
Merhabalar, tüm adımları uyguladıktan sonra glxgears yazınca çarkları ekranda gördüm. Ancak optirun glxgears yazınca ekranda şu hatayı verdi
Kod: [Seç]
$ optirun glxgears
Error: couldn't get an RGB, Double-buffered visual

Kod: [Seç]
$ 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.

Kod: [Seç]
$ 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

Kod: [Seç]
$ 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

Kod: [Seç]
$ 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

Kod: [Seç]
$ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok

Kod: [Seç]
$ 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

Kod: [Seç]
$ 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)

Kod: [Seç]
$ 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
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 28 Aralık 2017, 12:15:05
Aşağıdaki komutla VirtualGL ile ilgili paketleri silip yeniden deneyiniz.

Kod: [Seç]
sudo apt-get purge virtualgl*
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: LimoniJedi - 28 Aralık 2017, 12:18:11
Bu seferde aşağıdaki hatayı verdi
Kod: [Seç]
$ 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

Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 28 Aralık 2017, 12:22:20
Alıntı
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-381

/etc/bumblebee/bumblebee.conf dosyasında düzeltilmesi gereken yerlerde hata var.

https://forum.linuxmint.net.tr/index.php?topic=6258.0#post_conf
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: okanakinci - 06 Şubat 2018, 17:50:59
Merhaba arkadaşlar.

Eskiden Nvidia Prime kullanırdım ama Meltdown ve Spectre açıkları nedeniyle Nvidia 340 sürücüsünü kullanmak istemedim. Nvidia 384 sürücüsü de yazılım yöneticisinden kurmakla hata veriyordu. (Bilgisayar açılmıyor, siyah ekranda kalıyordu) Ben de Bumblebee kurayım dedim ama Bumblebee'yi çalıştıramıyorum. [member=1429]erdem90[/member] arkadaşımızın aldığı hatanın aynısını alıyorum ama yapılandırma dosyasında bir hata yapmışım gibi görünmüyor. Ya hata başka yerde ya da hata bu dosyada ama ben göremedim. Buradaki mesajda (https://forum.linuxmint.net.tr/index.php?topic=6258.msg43120#msg43120) önerilen çözüm de olmadı. Bir yerlerde hata yapıyorum ama nerede olduğunu bulamadım. Çıktıları paylaşayım.

Önce hatanın çıktısı:
Kod: [Seç]
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.

Diğer çıktılar:

Kod: [Seç]
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.

Kod: [Seç]
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


Kod: [Seç]
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

Kod: [Seç]
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

Kod: [Seç]
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

Kod: [Seç]
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

Kod: [Seç]
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)

Kod: [Seç]
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
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 06 Şubat 2018, 21:17:40
Alıntı
Response: No - error: Could not enable discrete graphics card

TLP kurulu mu?

Kod: [Seç]
dpkg -l | grep tlp
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: okanakinci - 06 Şubat 2018, 21:49:21
TLP kurulu değil, ben onun yerine laptop-mode-tools kullanıyordum. Çıktıda da bir şey gelmiyor zaten.

Kod: [Seç]
okan[member=234]okan[/member]-Inspiron-3542 ~ $ dpkg -l | grep tlp
okan[member=234]okan[/member]-Inspiron-3542 ~ $

Mesajlar Birleştirildi.
Şimdi laptop-mode-tools paketini kaldırıp tlp paketini kurdum ve bilgisayarı yeniden başlattım. Tekrar denedim, işe yaradı. Bumblebee çalışıyor şu an. Çok teşekkür ederim.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 07 Şubat 2018, 12:21:25
Alıntı
    BusID "PCI:08:00:0"

Bumblebee güç yönetimi uygulamalarıyla çakışabiliyor. TLP'nin kurulu olup olmadığını sormadaki maksat böyle bir çakışma olup olmadığını anlamaktı. Sizin sistemde bu çakışma laptop-mode-tools nedeniyle olmuş. Eğer Bumblebee'de TLP kaynaklı bir sorun olursa, GPU'nun BUSID değerini TLP varsayılan dosyasına karaliste olarak eklemek gerekecek.

Bunun için aşağıdaki komutla tlp varsayılan dosyasını açıp,

Kod: [Seç]
sudo xed /etc/default/tlp
aşağıdaki satırı dosyanın en altına eklemeyi deneyeceksiniz. Ardından sistemi ya da TLP servisini yeniden başlatmalısınız.

Kod: [Seç]
RUNTIME_PM_BLACKLIST="08:00:0"
Aygıtın BUSID değeri /etc/bumblebee/bumblebee.conf dosyasından ya da lspci | egrep 'VGA|3D|Display' komutunun çıktısından öğrenilebilir.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: okanakinci - 19 Şubat 2018, 12:45:31
[member=8]Butterfly[/member] bu çakışmayı laptop-mode-tools paketinde de önleyebilir miyiz? Ben TLP yerine onu kullanmak istiyorum.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 19 Şubat 2018, 15:00:28
bu çakışmayı laptop-mode-tools paketinde de önleyebilir miyiz?

Nasıl yapılacağı ile ilgili bir bilgim yok.

Ama Nvidia-390 sürücüsü ve laptop-mode-tools bir arada denedim, herhangi bir sorun yaşamadım. Bumblebee için Nvidia sürücüsü güncellemesi için konumuz mevcut.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: okanakinci - 19 Şubat 2018, 18:29:40
Teşekkür ederim. Öyleyse ben Nvidia sürücüsünü güncelleyeyim.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: okanakinci - 09 Mart 2018, 08:57:35
Indicator konusunda bir şey keşfettim. Bu rehberde belirtilen indicator dışında Cinnamon'un uygulamacık mağazasında da bir tane var. Onun kurulumu daha zahmetsiz. Panele eklediğinizde Intel logosu görünüyor. Bumblebee çalıştığında ise Nvidia logosu görünüyor. Uygulamacığın ismi "Bumblebee Status with NVidia Temperature Display".
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: Butterfly - 09 Mart 2018, 16:38:26
Bu uygulamacık sadece hangi GPU'nun kullanıldığını gösteriyor. Bunun benzeri MATE için de var, depodan mate-optimus paketi kurulup panele eklenebilir.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: okanakinci - 12 Nisan 2018, 17:55:03
Merhaba.

Bugüne kadar Nvidia 390 sürücüsüyle birlikte Bumblebee'yi sorunsuz kullanıyordum. Bugün depoya Nvidia 396 sürücüsü girmiş. Ben de onu yükledim, sistem önceki sürücüyü kaldırıp bunu kurdu. Sonra bütün yapılandırma dosyalarını ona göre yeniden düzenledim ve yapılandırma komutlarını da ona göre yeniden girdim. Ardından da bilgisayarı yeniden başlattım. (Bu arada bilgisayarımda TLP de kurulu) Ve sonunda yine şu hatayla karşılaştım:

Kod: [Seç]
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.

Bütün yapılandırmaları inceledim ama sorunun nereden kaynaklandığını bulamadım. Çıktılarım aşağıdaki gibidir. Yardımcı olabilir misiniz?

Kod: [Seç]
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 ~ $
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: JihXela - 12 Nisan 2018, 21:47:32
Nvidia 396 sürücüsü yeteri kadar kararlı değil. Hala Nvidia'dan kaynaklı birçok sorunu var. Muhtemelen Bumblebee ile ilgili sorununuz bir bug. Nvidia 390 sürücüsüne geri dönmeniz işe yarar.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: okanakinci - 12 Nisan 2018, 22:03:30
[member=4702]JihXela[/member] bilgi için teşekkür ederim. Nvidia 396 sürücüleri kararlı hâle gelene kadar Nvidia 390 sürücüsüne geri döndüm. Bumblebee şu an tekrar sorunsuz çalışıyor.
Başlık: Ynt: [Nasıl] Linux Mint 18 - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu
Gönderen: okanakinci - 27 Nisan 2018, 17:25:23
Geçenlerde şunu fark ettim: Nvidia-384 ve önceki sürüm sürücülerin hepsi Linux Mint'in kendi deposunda da var. Bu sürüm ve öncesini kuracak olan arkadaşların Graphic Drivers PPA'sını kurmaları zorunlu değil. Ben depodaki Nvidia-384 sürümünü denedim ve çalıştı. Nvidia-390 ve Nvidia-396 sürümlerini kullanmak içinse bu depoyu kullanmak gerekiyor. Bumblebee deposunu ise şart. VirtualGL hariç bütün paketler her ne kadar Linux Mint depolarında bulunsa da Bumblebee'yi çalıştırmıyor.