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

Ç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 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ü.

Daha önce aşağıdaki paylaşılan çıktısında 2 adet GPU görününce ve bundan dolayı mobil bir sistem olacağını varsayarak sizi Bumblebee'ye yönelendirmiştim.

lspci | egrep 'VGA|3D|Display' komutunun ciktisi ;
Kod: [Seç]
00:02.0 Display controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 420] (rev a1)

Sonra çıktıları yeniden incelediğimde Gigabyte anakartı farkederek bu çıkarımımdan şüphelendim. Sisteminizin masaüstü olduğunu teyit ettiğinize göre şimdi aşağıdaki komutlar ile Bumblebee için kurduğunuz paketleri kaldırınız.

Kod: [Seç]
sudo apt-get purge bumblebee bumblebee-nvidia primus virtualgl bbswitch-dkms nvidia-331 nvidia-settings
sudo rm -rf /etc/apt/sources.list.d/*edgers*
sudo apt-get update

Şimdi sisteminizi yeniden başlatıp aşağıdaki komutlar ile sadece nvidia-331 ve nvidia-settings paketini kurunuz.

Kod: [Seç]
sudo apt-get install nvidia-331 nvidia-settings
Kurulum sonrası sistemi yeniden başlatıp burada anlatılan biçimde xorg.conf dosyasını oluşturunuz.
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 yemin ediyorum çok kral adamsınız :D :D Size ne kadar teşekkür etsem az uzun süredir bu sorunun çözümünü arıyorum sizin sayenizde çözümünü buldum Allah razı olsun cidden çok önemliydi bu benim için :)

Bide bu nomodeset olayını halledemez miyiz ? O komutun sürekli öyle kalmasını falan sağlayamaz mıyız ? :/
« Son Düzenleme: 15 Ekim 2014, 20:36:23 Gönderen: PCExpress »

Ç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
[member=853]PCExpress[/member], rica ederiz. Aslında çözüm kolay ama biz biraz dolanmışız etrafında.


Bide bu nomodeset olayını halledemez miyiz ? O komutun sürekli öyle kalmasını falan sağlayamaz mıyız ? :/


Sisteminizi nomodeset çekirdek değişkeni ile açtığınızda ekran kartı sürücüleri pasifleşir. Bu değişkeni neden kullanıyorsunuz?
Elimizden geldiğince dilimizin döndüğünce...

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

Çevrimdışı acemilinux

  • Çok Yeni Penguen
  • *
  • İleti: 9
  • Dağıtım: Linux mint 17
arkadaşlar optirun firefox dediğim de böyle hata alıyorum .Nerde yanlış yaptım acaba ?


Kod: [Seç]
[ 2119.787905] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[ 2119.787970] [ERROR]Aborting because fallback start is disabled.

Çevrimdışı acemilinux

  • Çok Yeni Penguen
  • *
  • İleti: 9
  • Dağıtım: Linux mint 17
arkadaşlar optirun firefox dediğim de böyle hata alıyorum .Nerde yanlış yaptım acaba ?


Kod: [Seç]
[ 2119.787905] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[ 2119.787970] [ERROR]Aborting because fallback start is disabled.
arkadaşlar güncelleme yapıncaoldu .Driver'ı yükledim saolun

Ç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
Şu an durum nedir? Sorun düzeldi mi?
Elimizden geldiğince dilimizin döndüğünce...

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

Çevrimdışı acemilinux

  • Çok Yeni Penguen
  • *
  • İleti: 9
  • Dağıtım: Linux mint 17
Şu an durum nedir? Sorun düzeldi mi?

sorun düzeldi.Ben direk linux minti kurdum hemen ekran kartını kurdum olmadı .Sonra güncellemeleri yükledim sonra yeniden başlatınca oldu.Saolun teşekkürler

Çevrimdışı meda

  • Penguen
  • ***
  • İleti: 408
  • Dağıtım: Manjaro-Lysia 20.0 X64 KDE
  • Masaüstü Ortamı: KDE
  • Grafik Kartı: GT 940MX
  • İşlemci: İ7 7500U
[member=8]Butterfly[/member] sağlam bir anlatım olmuş.
Kod: [Seç]
sudo apt-get install bumblebee nvidia-331 nvidia-settings bumblebee-nvidia primus linux-headers-generic

Yerine aşağıdaki komut 17 ve 17.1 sistemler için yeterli. Hatta primus bile kendiliğinden kuruluyor.
Kod: [Seç]
sudo apt-get install bumblebee nvidia-331
"BEDAVA Bedava yaşıyoruz, bedava;Hava bedava, bulut bedava;Dere tepe bedava;Yağmur çamur bedava;Otomobillerin dışı,Sinemaların kapısı,Camekanlar bedava;Peynir ekmek değil amaAcı su bedava;Kelle fiyatına hürriyet,Esirlik bedava;Bedava yaşıyoruz, bedava.
                   Orhan VELİ"

Çevrimdışı rutku

  • Çok Yeni Penguen
  • *
  • İleti: 15
  • Dağıtım: Linux Mint
Merhaba konunun ilk başında ki işlemleri uygulayarak başarılı bir şekilde nvidia ekran kartımı çalıştırmıştım. Fakat bugün gelen xorg güncelleştirmesinden sonra nvidia ekran kartım çalışmıyor.

lspci | egrep 'VGA|3D|Display' Çıktısı
Kod: [Seç]
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/820M / GT 620M/625M/630M/720M] (rev a1)

Kod: [Seç]
optirun -vvv glxgear
[ 1584.673730] Reading file: /etc/bumblebee/bumblebee.conf
[ 1584.674153] Configured driver: nvidia
[ 1584.674334] optirun version 3.2.1 starting...
[ 1584.674361] Active configuration:
[ 1584.674380]  bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1584.674398]  X display: :8
[ 1584.674417]  LD_LIBRARY_PATH: /usr/lib/nvidia-331:/usr/lib32/nvidia-331
[ 1584.674436]  Socket path: /var/run/bumblebee.socket
[ 1584.674454]  Accel/display bridge: auto
[ 1584.674471]  VGL Compression: proxy
[ 1584.674490]  VGLrun extra options:
[ 1584.674508]  Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 1584.674587] Using auto-detected bridge primus
[ 1584.696114] Response: No - error: Could not load GPU driver

[ 1584.696133] Cannot access secondary GPU - error: Could not load GPU driver

[ 1584.696138] Socket closed.
[ 1584.696159] Aborting because fallback start is disabled.
[ 1584.696166] 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.

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

# 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  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ç]
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ç]
dpkg -l | egrep 'nvidia|bumblebee|primus|prime'
ii  bumblebee                                                   3.2.1-5                                             amd64        NVIDIA Optimus support for Linux
ii  bumblebee-nvidia                                            3.2.1-5                                             amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  nvidia-331                                                  331.38-0ubuntu7.1                                   amd64        NVIDIA binary driver - version 331.38
ii  nvidia-settings                                             331.20-0ubuntu8                                     amd64        Tool for configuring the NVIDIA graphics driver
ii  primus                                                      0~20131127-2                                        amd64        client-side GPU offloading for NVIDIA Optimus
ii  primus-libs:amd64                                           0~20131127-2                                        amd64        Shared libraries for primus
ii  primus-libs:i386                                            0~20131127-2                                        i386         Shared libraries for primus
ii  primus-libs-ia32                                            0~20131127-2                                        i386         Shared libraries for primus (32-bit)

Başlık içerisinde  msg7288 daki hatayı alan arkadaşla aynı hatayı alıyorum.  Bahsettiğiniz çözümleri bende de denedim olmadı.

İyi günler ...



Düzenleme : Çıktılar kod etiketi içine alındı.
« Son Düzenleme: 10 Aralık 2014, 21:25:42 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
Aşağıdaki komut ile nvidia-331 sürücüsünü yeniden yapılandırmayı deneyiniz.

Kod: [Seç]
sudo dpkg-reconfigure nvidia-331
Sonrasında sistemi yeniden başlatmak gerekebilir.
Elimizden geldiğince dilimizin döndüğünce...

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

Çevrimdışı rutku

  • Çok Yeni Penguen
  • *
  • İleti: 15
  • Dağıtım: Linux Mint
Yanıt için teşekkürler :) . Ancak yine olmadı.

Kod: [Seç]
sudo dpkg-reconfigure nvidia-331
Removing all DKMS Modules
Done.
INFO:Enable nvidia-331
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Loading new nvidia-331-331.38 DKMS files...
Building only for 3.13.0-37-generic
Building for architecture x86_64
Building initial module for 3.13.0-37-generic
Done.

nvidia_331:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.13.0-37-generic/kernel/drivers/char/drm/

depmod....

DKMS: install completed.

optirun -vvv glxgear
[  130.249349] Reading file: /etc/bumblebee/bumblebee.conf
[  130.250012] Configured driver: nvidia
[  130.250276] optirun version 3.2.1 starting...
[  130.250303] Active configuration:
[  130.250310]  bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  130.250317]  X display: :8
[  130.250324]  LD_LIBRARY_PATH: /usr/lib/nvidia-331:/usr/lib32/nvidia-331
[  130.250331]  Socket path: /var/run/bumblebee.socket
[  130.250338]  Accel/display bridge: auto
[  130.250345]  VGL Compression: proxy
[  130.250351]  VGLrun extra options:
[  130.250357]  Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[  130.250453] Using auto-detected bridge primus
[  130.268071] Response: No - error: Could not load GPU driver

[  130.268091] Cannot access secondary GPU - error: Could not load GPU driver

[  130.268098] Socket closed.
[  130.268122] Aborting because fallback start is disabled.
[  130.268129] Killing all remaining processes.

En son ki Xorg güncellemesinden dolayı oldu bu sanırım. Bu güncelleştirmeyi nasıl geri alabilirim ? . Bu xorg güncelleştirmesi 3. dereceymiş yani test edilmeden konulmuş bir güncelleştirme. Sanırım ben bu 3. derece kaynakları kapatmalıyım. Yeni bir maceraya yelken açmak istemiyorum :)


Düzenleme : Çıktılar kod etiketi içine alındı.
« Son Düzenleme: 10 Aralık 2014, 21:24:13 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
Aşağıdaki komutları sırasıyla uçbirimde çalıştırıp sistemi yeniden başlatmayı deneyiniz.

Kod: [Seç]
sudo apt-get install --reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg
sudo apt-get install --reinstall nvidia-331
sudo dpkg-reconfigure bbswitch-dkms
sudo ldconfig -n
sudo update-initramfs -u
Elimizden geldiğince dilimizin döndüğünce...

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

Çevrimdışı rutku

  • Çok Yeni Penguen
  • *
  • İleti: 15
  • Dağıtım: Linux Mint
Maalesef olmadı :( . İşlemleri yaptıktan sonra bumblebee.conf dosyasını tekrar düzenledim fakat olmadı. Hatta yeni güncelleme gelmiş onu deneyip bir daha denedim yine olmadı. Ayrıca proje sayfasında bug olarak 17 ağustosta başlık açılmış https://github.com/Bumblebee-Project/Bumblebee/issues/604. Ubuntu için yapılan diğer çözümleri deneyeyim birde.

Düzeltme : Hiç bir türlü çözümü yok maalesef. Oyunsuz kaldık :(
Düzeltme 2: İntelin intel graphics drivers dosyasını kurmuştum. Sanırım ondan dolayı bu sorunla karşılaşmışım. Malesef terkrar format atarak bu sorundan kurtulabildim.
« Son Düzenleme: 11 Aralık 2014, 01:56:24 Gönderen: rutku »

Çevrimdışı Çağrı07

  • Penguen
  • ***
  • İleti: 391
    • Kayıt Formu
  • Dağıtım: Linux Mint 19.1
  • Masaüstü Ortamı: XFCE
  • Grafik Kartı: Nvidia GeForce GT 730m (4 GB VRAM)
  • İşlemci: İntel Core i7 3630QM
XFCE Masaüstünde sorunum var gibi görünüyor hocam

Kod: [Seç]
v3-571g@Aspire-V3-571G ~/Masaüstü $ optirun -vvv glxgears
[  613.744348] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  613.744747] [INFO]Configured driver: nvidia
[  613.745053] [DEBUG]optirun version 3.2.1 starting...
[  613.745077] [DEBUG]Active configuration:
[  613.745083] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  613.745088] [DEBUG] X display: :8
[  613.745093] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-331:/usr/lib32/nvidia-331
[  613.745098] [DEBUG] Socket path: /var/run/bumblebee.socket
[  613.745102] [DEBUG] Accel/display bridge: auto
[  613.745107] [DEBUG] VGL Compression: proxy
[  613.745111] [DEBUG] VGLrun extra options:
[  613.745116] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[  613.745179] [DEBUG]Using auto-detected bridge primus
[  616.025574] [INFO]Response: No - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].

[  616.025609] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].

[  616.025616] [DEBUG]Socket closed.
[  616.025645] [ERROR]Aborting because fallback start is disabled.
[  616.025651] [DEBUG]Killing all remaining processes.


Kod: [Seç]
v3-571g@Aspire-V3-571G ~/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

## 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ç]
v3-571g@Aspire-V3-571G ~/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


Kod: [Seç]
v3-571g@Aspire-V3-571G ~/Masaüstü $ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok

Kod: [Seç]
v3-571g@Aspire-V3-571G ~/Masaüstü $ dpkg -l | egrep 'nvidia|bumblebee|primus|prime'
ii  bumblebee                                   3.2.1-5                                             amd64        NVIDIA Optimus support for Linux
ii  bumblebee-nvidia                            3.2.1-5                                             amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  nvidia-331                                  331.113-0ubuntu0.0.4                                amd64        NVIDIA binary driver - version 331.113
ii  nvidia-settings                             331.20-0ubuntu8                                     amd64        Tool for configuring the NVIDIA graphics driver
ii  primus                                      0~20131127-2                                        amd64        client-side GPU offloading for NVIDIA Optimus
ii  primus-libs:amd64                           0~20131127-2                                        amd64        Shared libraries for primus


Kod: [Seç]
v3-571g@Aspire-V3-571G ~/Masaüstü $ lspci | egrep 'VGA|3D|Display'
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 730M] (rev a1)


Bunlara ek olarak

Kod: [Seç]
v3-571g@Aspire-V3-571G ~/Masaüstü $ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
304 frames in 5.0 seconds = 60.602 FPS
302 frames in 5.0 seconds = 60.206 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 1990 requests (1990 known processed) with 0 events remaining.


Yaşlanı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
Elimizden geldiğince dilimizin döndüğünce...

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