Gönderen Konu: [Nasıl] Linux Mint 17.x - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu  (Okunma sayısı 190185 defa)

Çevrimdışı PCExpress

  • Yeni Penguen
  • *
  • İleti: 33
  • Dağıtım: Arch Linux + GNOME
Kod: [Seç]
[ 3231.182256] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 3231.182925] [INFO]Configured driver: nvidia
[ 3231.183019] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 3231.183031] [DEBUG]Socket closed.
[ 3231.183051] [ERROR]Could not connect to bumblebee daemon - is it running?

Alıyorum.

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Aşağıdaki komut ile ilgili paketleri kaldırıp,

Kod: [Seç]
sudo apt-get purge bumblebee nvidia-331 nvidia-settings bumblebee-nvidia primus primus-libs
aşağıdaki komut ile yeniden kurulum yapmayı deneyiniz.

Kod: [Seç]
sudo apt-get install bumblebee nvidia-331 nvidia-settings bumblebee-nvidia primus virtualgl linux-headers-`uname -r` linux-generic-`uname -r`
Yeniden kurulum sonrası /etc/bumblebee/bumblebee.conf dosyasını nvidia-331 sürüme göre yeniden düzenlemeniz gerekebilir.
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı PCExpress

  • Yeni Penguen
  • *
  • İleti: 33
  • Dağıtım: Arch Linux + GNOME
Yok hocam yine bir değişiklik olmuyor. Neyse hiçbir konuda şansım olmadığı gibi bu konuda da şansım yokmuş demek ki :D Her konuda sorun çıkarıyor bu bilgisayar bana zaten neyse sizi de uğraştırdık o kadar teşekkürler herşey için ,

İyi forumlar.

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Buradaki çözüm önerisini bir deneyelim bakalım. Aşağıdaki komut ile bbswitch-dkms ve bumblebee-nvidia paketlerini kaldıralım.

Kod: [Seç]
sudo apt-get purge bbswitch-dkms bumblebee-nvidia
Aşağıdaki komut ile linux-headers-generic paketini kurup sistemimizi yeniden başlatalım.

Kod: [Seç]
sudo apt-get install linux-headers-generic
Sistemi yeniden başlattıktan sonra aşağıdaki komutlar ile bbswitch-dkms ve bumblebee-nvidia paketlerini paketlerini tekrar kuralım.

Kod: [Seç]
sudo apt-get install bbswitch-dkms bumblebee-nvidia


Olmazsa buradaki 2. çözüm önerisini deneyebiliriz.

Kod: [Seç]
sudo dkms autoinstall -k `uname -r`
Bumblebee ile ilgili sorun çözülürse ayrı bir konuda çözünürlük sorununu çözmeye çalışırız.
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı sinasikoc

  • Çok Yeni Penguen
  • *
  • İleti: 8
  • Dağıtım: linux mint 17
Merhaba aldığım hatalar aşağıdaki gibidir .Yardımcı olursanız sevinirim.

Kod: [Seç]
sinan@sinan-MS-16Y1 ~ $ optirun -vvv glxgears
[ 2017.659315] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 2017.660228] [INFO]Configured driver: nvidia
[ 2017.660375] [ERROR]You've no permission to communicate with the Bumblebee daemon. Try adding yourself to the 'bumblebee' group
[ 2017.660423] [DEBUG]Socket closed.
[ 2017.660479] [ERROR]Could not connect to bumblebee daemon - is it running?


Kod: [Seç]
sinan@sinan-MS-16Y1 ~ $ 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

## 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-331
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-331:/usr/lib32/nvidia-331
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-331/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ç]
sinan@sinan-MS-16Y1 ~ $ 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ç]
sinan@sinan-MS-16Y1 ~ $ cat /etc/bumblebee/xorg.conf.d
cat: /etc/bumblebee/xorg.conf.d: Bir dizin

Kod: [Seç]
sinan@sinan-MS-16Y1 ~ $ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok

Kod: [Seç]
sinan@sinan-MS-16Y1 ~ $ dpkg -l | egrep 'nvidia|bumblebee|primus|prime'
ii  bumblebee                                   3.2.1-90~trustyppa1                                 amd64        NVIDIA Optimus support
ii  bumblebee-nvidia                            3.2.1-90~trustyppa1                                 amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  nvidia-331                                  331.89-0ubuntu1~xedgers14.04.2                      amd64        NVIDIA binary driver - version 331.89
ii  nvidia-settings                             343.13-0ubuntu1~xedgers14.04.1                      amd64        Tool for configuring the NVIDIA graphics driver
ii  primus                                      20131127-1~trustyppa1                               amd64        client-side GPU offloading for NVIDIA Optimus
ii  primus-libs:amd64                           20131127-1~trustyppa1                               amd64        Shared libraries for primus
ii  primus-libs:i386                            20131127-1~trustyppa1                               i386         Shared libraries for primus
ii  primus-libs-ia32                            20131127-1~trustyppa1                               i386         Shared libraries for primus (32-bit)


Kod: [Seç]
sinan@sinan-MS-16Y1 ~ $ 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 520M] (rev a1)


Düzenleme: Çıktılar kod etiketi içine alındı.
« Son Düzenleme: 12 Ekim 2014, 22:09:57 Gönderen: Butterfly »

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Merhaba aldığım hatalar aşağıdaki gibidir .Yardımcı olursanız sevinirim.


[ 2017.660375] [ERROR]You've no permission to communicate with the Bumblebee daemon. Try adding yourself to the 'bumblebee' group


Aşağıdaki komut ile kullanıcıyı bumblebee grubuna ekleyip sistemi yeniden başlatmay deneyiniz.


Kod: [Seç]
sudo usermod -a -G bumblebee $USER
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı PCExpress

  • Yeni Penguen
  • *
  • İleti: 33
  • Dağıtım: Arch Linux + GNOME
Hocam dediklerinizi yaptım yine bir değişiklik olmadı ne lanet bir bilgisayar varmış bende yav :D

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Hocam dediklerinizi yaptım yine bir değişiklik olmadı ne lanet bir bilgisayar varmış bende yav :D

Şu an için bumblebee size Nvidia kartı kullanabilmek için lazım. Sizin sisteminizle ilgili özel bir durum var mı bunu bir araştıralım.
Bakalım Bumblebee sonrası 3D desteği ne durumda? Aşağıdaki komutun çıktısını rica edelim.

Kod: [Seç]
inxi -Gx
Ek olarak burada paylaştığınız çıktılarda bir şey dikkatimi çekti, acaba sizin sisteminiz taşınabilir bir sistem mi, yoksa klasik masaüstü bir PC'mi?
« Son Düzenleme: 13 Ekim 2014, 00:50:30 Gönderen: Butterfly »
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı sinasikoc

  • Çok Yeni Penguen
  • *
  • İleti: 8
  • Dağıtım: linux mint 17
Merhaba gruba dahil edip optirun komutu verdiğimde aşağıdaki hataları alıyorum.

sinan-MS-16Y1 sinan # optirun firefox
[  115.961754] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[  115.961870] [ERROR]Could not connect to bumblebee daemon - is it running?

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Merhaba gruba dahil edip optirun komutu verdiğimde aşağıdaki hataları alıyorum.

sinan-MS-16Y1 sinan # optirun firefox
[  115.961754] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[  115.961870] [ERROR]Could not connect to bumblebee daemon - is it running?

Aşağıdaki komutlar ile paketleri yeniden kurmayı deneyelim.

Kod: [Seç]
sudo apt-get purge bbswitch-dkms bumblebee-nvidia
sudo apt-get install linux-headers-generic bbswitch-dkms bumblebee-nvidia
sudo dkms autoinstall -k `uname -r`
sudo start bumblebeed


Düzenleme : Hatalı komut düzeltildi.
« Son Düzenleme: 13 Ekim 2014, 17:56:28 Gönderen: Butterfly »
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı sinasikoc

  • Çok Yeni Penguen
  • *
  • İleti: 8
  • Dağıtım: linux mint 17
Hatalar devam ediyor zanedersem. ???

sinan-MS-16Y1 sinan # sudo apt-get install install linux-headers-generic bbswitch-dkms bumblebee-nvidia
Paket listeleri okunuyor... Bitti
Bağımlılık ağacı oluşturuluyor       
Durum bilgisi okunuyor... Bitti     
E: install paketi bulunamadı
sinan-MS-16Y1 sinan # sudo dkms autoinstall -k `uname -r`
sinan-MS-16Y1 sinan # sudo start bumblebeed
start: Unknown job: bumblebeed
sinan-MS-16Y1 sinan # optirun firefox
bash: /usr/bin/optirun: Böyle bir dosya ya da dizin yok

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Aşağıdaki komutlar ile tekrar deneyiniz.

Kod: [Seç]
sudo apt-get purge bbswitch-dkms bumblebee-nvidia
sudo apt-get install linux-headers-generic bbswitch-dkms bumblebee-nvidia
sudo dkms autoinstall -k `uname -r`
sudo start bumblebeed
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı sinasikoc

  • Çok Yeni Penguen
  • *
  • İleti: 8
  • Dağıtım: linux mint 17
Teşekkür ederim.Sorunum çözüldü

Çevrimdışı PCExpress

  • Yeni Penguen
  • *
  • İleti: 33
  • Dağıtım: Arch Linux + GNOME
Hocam geç oldu ama inxi komut çıktım şu şekilde ;

Kod: [Seç]
Graphics:  Card: NVIDIA GF108 [GeForce GT 420] bus-ID: 01:00.0
           X.Org: 1.15.1 drivers: FAILED: fbdev,vesa,nouveau Resolution: 1024x768@61.0hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) GLX Version: 2.1 Mesa 10.1.0 Direct Rendering: Yes

Bu arada bilgisayarım masaüstü.

Çevrimdışı Toros

  • Çaylak Penguen
  • **
  • İleti: 108
  • Dağıtım: Fedora
  • Masaüstü Ortamı: Cinnamon
  • Grafik Kartı: AMD Vega 11
  • İşlemci: AMD Ryzen 5
Hocam geç oldu ama inxi komut çıktım şu şekilde ;

Kod: [Seç]
Graphics:  Card: NVIDIA GF108 [GeForce GT 420] bus-ID: 01:00.0
           X.Org: 1.15.1 drivers: FAILED: fbdev,vesa,nouveau Resolution: 1024x768@61.0hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) GLX Version: 2.1 Mesa 10.1.0 Direct Rendering: Yes

Bu arada bilgisayarım masaüstü.
Optimus sadece dizüstü bilgisayarlarda var, Masaüstü bilgisayarlarda optimus yok diye biliyorum.
Kod: [Seç]
lspci | grep VGA