Linux Mint Türkiye

Linux Mint Destek => Ekran Kartları => Donanım => Nvidia => Konuyu başlatan: Akıncı - 19 Mayıs 2017, 09:42:33

Başlık: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Akıncı - 19 Mayıs 2017, 09:42:33
optirun glxgears

komutunu çalıştırdığımda şöyle bir çıktı alıyorum:
Kod: [Seç]
[ 3112.726520] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 3112.726556] [ERROR]Aborting because fallback start is disabled.


optirun -vvv glxgears komutu çıktısı:

Kod: [Seç]
[ 3290.719587] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 3290.719881] [DEBUG]optirun version 3.2.1 starting...
[ 3290.719889] [DEBUG]Active configuration:
[ 3290.719891] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 3290.719893] [DEBUG] X display: :8
[ 3290.719895] [DEBUG] LD_LIBRARY_PATH:
[ 3290.719897] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 3290.719899] [DEBUG] Accel/display bridge: auto
[ 3290.719900] [DEBUG] VGL Compression: proxy
[ 3290.719902] [DEBUG] VGLrun extra options:
[ 3290.719905] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 3290.719939] [DEBUG]Using auto-detected bridge virtualgl
[ 3290.720104] [INFO]Response: No - error: Could not load GPU driver

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

[ 3290.720116] [DEBUG]Socket closed.
[ 3290.720127] [ERROR]Aborting because fallback start is disabled.
[ 3290.720134] [DEBUG]Killing all remaining processes.

cat /etc/bumblebee/bumblebee.conf komutu çı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=
# 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

# (See also the driver-specific sections below)
Driver=nvidia


# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-375


# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-375:/usr/lib32/nvidia-375


# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-375/xorg,/usr/lib/xorg/modules

## 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 çı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: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 çıktısı:
Kod: [Seç]
cat: /etc/X11/xorg.conf: No such file or directory
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl' çı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~gpu16.04.1                 amd64        NVIDIA binary driver - version 375.66
ii  nvidia-prime-applet                      1.0.6                                      all          An applet for NVIDIA Prime
ii  nvidia-settings                          381.22-0ubuntu0~gpu16.04.1                 amd64        Tool for configuring the NVIDIA graphics driver
ii  primus                                   20150328-3~xenialppa2                      amd64        client-side GPU offloading for NVIDIA Optimus
ii  primus-libs:amd64                        20150328-3~xenialppa2                      amd64        Shared libraries for primus
ii  primus-libs:i386                         20150328-3~xenialppa2                      i386         Shared libraries for primus
ii  primus-libs-ia32:i386                    20150328-3~xenialppa2                      i386         Shared libraries for primus (32-bit)
ii  virtualgl                                2.4.1-1~xenialppa1                         amd64        Toolkit for displaying OpenGL applications to thin clients
ii  virtualgl-libs:amd64                     2.4.1-1~xenialppa1                         amd64        Library files for virtualgl

lspci | egrep 'VGA|3D|Display' çıktısı:

Kod: [Seç]
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GK208M [GeForce 920M] (rev a1)
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Butterfly - 19 Mayıs 2017, 17:20:54
Şu mesajdaki öneriyi deneyebilirsiniz. https://forum.linuxmint.net.tr/index.php?topic=6258.msg43120#msg43120
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Akıncı - 19 Mayıs 2017, 20:37:22
Dediğinizi yaptım bir işe yaramadı.
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Butterfly - 19 Mayıs 2017, 21:11:31
Burada (https://forum.linuxmint.net.tr/index.php?topic=6258.msg39407#post_kaldirma) anlatıldığı biçimde Bumblebee kurulumunu kaldırıp yeniden kurulum deneyiniz. Konuyu Nvidia-381 sürücüsüne göre güncelledim.
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Akıncı - 20 Mayıs 2017, 07:23:43
Tekrardan şu hatayı aldım:
Kod: [Seç]
[  104.055679] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

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

Mesajlar Birleştirildi.
Kod: [Seç]
sudo add-apt-repository ppa:bumblebee/testing -y
komutunun çıktısı artık böyle oluyor:

Kod: [Seç]
PPA eklenemiyor: '"Error reading https://launchpad.net/api/1.0/~bumblebee/+archive/testing: (6, 'Could not resolve host: launchpad.net')"'.
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Butterfly - 20 Mayıs 2017, 10:49:17
Aşağıdaki komutların çıktılarına bakalım.

Kod: [Seç]
sudo dkms status
sudo modprobe nvidia
inxi -Sx

PPA ekleme sorunu DNS ile ilgili, DNS adresinizi değiştirmeyi deneyiniz.
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Akıncı - 20 Mayıs 2017, 12:47:37
sudo dkms status:

Kod: [Seç]
bbswitch, 0.8, 4.4.0-78-generic, x86_64: installed
ndiswrapper, 1.60, 4.4.0-53-generic, x86_64: installed
ndiswrapper, 1.60, 4.4.0-78-generic, x86_64: installed
nvidia-375, 375.39, 4.4.0-78-generic, x86_64: installed
virtualbox-guest, 5.0.40, 4.4.0-53-generic, x86_64: installed (original_module exists)
virtualbox-guest, 5.0.40, 4.4.0-78-generic, x86_64: installed (original_module exists)

inxi -Sx:

Kod: [Seç]
System:    Host: root Kernel: 4.4.0-78-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.1 Serena

sudo modprobe nvidia komutunda herhangi bir çıktı almadım.

Ayrıca PPA sorununu  nasıl çözebilirim?


Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Butterfly - 20 Mayıs 2017, 14:13:14
PPA sorununun nedenini önceki mesajda belirtmiştim.



Konuyu Nvidia-381 sürüme göre güncellediğimi yazmıştım, Bumblebee'yi kaldırıp güncellenen konuda anlatıldığı biçimde kurmamışsınız.
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Akıncı - 20 Mayıs 2017, 14:53:26
1 kez kaldırıp yükledim gene aynı hata ile karşılaştım fakat 2.kez yapınca PPA hatası aldım.DNS için yapmam gereken işlemler neler?

Kod: [Seç]
[Errno socket error] [Errno -3] Temporary failure in name resolution
PPA eklenemiyor: '"Bu PPA'nin xenial destegi yok"'.
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Butterfly - 20 Mayıs 2017, 15:04:18
Yazılım Kaynakları => PPA depoları => Yeni PPA ekle... düğmesine tıklayıp aşağıdaki satırları açılan alan girerek de ekleyebilrisiniz.

Kod: [Seç]
ppa:bumblebee/testing
Kod: [Seç]
ppa:graphics-drivers/ppa
DNS adresinizi değiştirmek için => https://forum.linuxmint.net.tr/index.php?topic=616.msg3568#msg3568



Sisteminizde güç yönetimi için TLP uygulaması kurulu mu? Aşağıdaki komutun çıktısı ile analayabiliriz.

Kod: [Seç]
dpkg -l | grep tlp

Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Akıncı - 21 Mayıs 2017, 09:31:47
sudo add-apt-repository ppa:bumblebee/testing -y komutunun çıktısında şöyle bir hata alıyorum:

Kod: [Seç]
[Errno socket error] [Errno -3] Temporary failure in name resolution
PPA eklenemiyor: '"Bu PPA'nin xenial destegi yok"'.

Not:DNS değiştirdim.
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Butterfly - 21 Mayıs 2017, 14:10:04
DNS değiştirdikten sonra bağlantıyı kapatıp yeniden bağlantı kurmanız gerekiyor.



Aşağıdaki komutlarla PPA depolarını elle eklemeyi deneyiniz.

Kod: [Seç]
echo "deb http://ppa.launchpad.net/bumblebee/testing/ubuntu xenial main" | sudo tee  /etc/apt/sources.list.d/bumblebee-testing.list
Kod: [Seç]
sudo  apt-key adv --keyserver pool.sks-keyservers.net --recv-keys 8110A93A
Kod: [Seç]
echo "deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial main " | sudo tee  /etc/apt/sources.list.d/graphics-drivers.list
Kod: [Seç]
sudo  apt-key adv --keyserver pool.sks-keyservers.net --recv-keys 1118213C
Kod: [Seç]
sudo apt-get update
Lütfen iletelerdeki diğer hususlara da dönüş yapınız.
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Akıncı - 22 Mayıs 2017, 14:39:12
Kod: [Seç]
[  200.771083] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

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

Hatasıyla karşılaştım gene.

bumblebee.conf dosyasından kaynakladığını düşünüyorum.Burada düzeltmem gereken ne var?

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=
# 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-381:/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
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Butterfly - 22 Mayıs 2017, 16:06:42
Aşağıdaki satırı,

Alıntı
# (See also the driver-specific sections below)
Driver=

aşağıdaki şekilde değiştirmelisiniz.

Alıntı
# (See also the driver-specific sections below)
Driver=nvidia



Sorun çözülmezse aşağıdaki bilgiyi paylaşın.



Sisteminizde güç yönetimi için TLP uygulaması kurulu mu? Aşağıdaki komutun çıktısı ile anlayabiliriz.

Kod: [Seç]
dpkg -l | grep tlp


Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Akıncı - 22 Mayıs 2017, 19:23:03
TLP uygulaması yüklü değil. 18.1 için kurulumu nasıl ?

Benim sürücü yöneticim şu şekilde bir de:

(https://i.hizliresim.com/37y7Yp.png)
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Butterfly - 22 Mayıs 2017, 20:17:26
Bumblebee kurduğunuzda sürücü yöneticisinden bir işlem yapmayın, herhangi bir seçeneği seçmeyin. Size bumblebee.conf  dosyasında nasıl değişiklik yapmanız gerektiğini yazdım. Lütfen yaptığınız dönüşlerde, sunulan öneriler ile ilgili ne yaptığınızı paylaşın, şu an yapmanız gereken düzenleme ile ilgili durum muamma.
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Akıncı - 22 Mayıs 2017, 20:23:40
Gene aynı hatayı alıyorum.Çözülseydi söylerdim zaten.
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Butterfly - 22 Mayıs 2017, 20:31:56
Aşağıdaki komutun çıktısına bakalım.

Kod: [Seç]
inxi -Fxz
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Akıncı - 22 Mayıs 2017, 21:00:16
Kod: [Seç]
System:    Host: root Kernel: 4.4.0-78-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.1 Serena
CPU:       Quad core Intel Core i7-4712MQ (-HT-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 18358
           clock speeds: max: 3300 MHz 1: 2300 MHz 2: 2285 MHz 3: 2300 MHz
           4: 2300 MHz 5: 2303 MHz 6: 2300 MHz 7: 2300 MHz 8: 2300 MHz
Graphics:  Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller
           bus-ID: 00:02.0
           Card-2: NVIDIA GK208M [GeForce 920M] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel Haswell Mobile
           GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Butterfly - 22 Mayıs 2017, 21:05:01
Yani çıktıyı neden kırptığınızı anlamıyorum, aygıtın model bilgisini ve olası bir çekirdek güncellemesi ile sorun çıkacak bir aygıt olup olmadığını öğrenmek istedim.

Aygıtın model bilgisine göre Bumblebee github sayfasındaki geri bildirimleri araştırabilirsiniz.

https://github.com/Bumblebee-Project/Bumblebee/issues
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Akıncı - 22 Mayıs 2017, 22:05:29
tamam neyse teşekkürler.Sorunu da çözdüm bu arada konuyu kapatabilirsiniz.
Başlık: Ynt: Bumblebee Nvidia Geçiş Sorunu - Could not load GPU driver
Gönderen: Butterfly - 22 Mayıs 2017, 23:55:34
Nasıl çözdüğünüzü aktarırsanız konuyu kilitleyebiliriz.

Ayrıca çözülen konuların nasıl etiketleneceği ile ilgili aşağıdaki bağlantıyı inceleyebilirsiniz.

[warning]Çözülen başlıkların etiketlenmesi hakkında. (https://forum.linuxmint.net.tr/index.php?topic=2058.0)[/warning]