Linux Mint Türkiye
Linux Mint Destek => Ekran Kartları => Donanım => Nvidia => Konuyu başlatan: ahme_t - 22 Ekim 2016, 15:08:06
-
Merhabalar linuxde çok yeniyim.
kurulum yaparken [XORG] (EE) Failed to load module "mouse" (module does not exist, 0) hatsı alıyorum çözümünü bulamadım yardımcı olursanız sevinirim.
optirun -vvv glxgears
[ 1958.537502] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1958.537968] [INFO]Configured driver: nvidia
[ 1958.538237] [DEBUG]optirun version 3.2.1 starting...
[ 1958.538266] [DEBUG]Active configuration:
[ 1958.538287] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1958.538306] [DEBUG] X display: :8
[ 1958.538320] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-370:/usr/lib32/nvidia-370
[ 1958.538331] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1958.538339] [DEBUG] Accel/display bridge: auto
[ 1958.538353] [DEBUG] VGL Compression: proxy
[ 1958.538363] [DEBUG] VGLrun extra options:
[ 1958.538378] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 1958.538460] [DEBUG]Using auto-detected bridge virtualgl
[ 1958.850852] [INFO]Response: No - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 1958.850869] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 1958.850874] [DEBUG]Socket closed.
[ 1958.850888] [ERROR]Aborting because fallback start is disabled.
[ 1958.850891] [DEBUG]Killing all remaining processes.
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
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:0a: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
cat /etc/X11/xorg.conf
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-modprobe 361.28-1 amd64 utility to load NVIDIA kernel modules and create device nodes
ii nvidia-opencl-icd-370 370.28-0ubuntu0~gpu16.04.2 amd64 NVIDIA OpenCL ICD
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
lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
0a:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
-
[XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
Bir kaç önceki mesajda çözümü mevcut, lütfen aldığınız hataya göre forum içi arama yapmayı ihmal etmeyiniz.
https://forum.linuxmint.net.tr/index.php?topic=6258.msg43120#msg43120
-
maalesef o yolu daha önce denemiştim ama çözüme ulaşamadım.
ilginiz için teşekkürler
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:0a: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
-
Aynı sorun benim sistemimde de mevcuttu, öneri ile çözülüyor. Hatta ilgili satırları dosyadan silince aynı hatayı alıyorum. Aşağıdaki komutla Bumblebeee servisini yeniden başlatmayı deneyebilirsiniz.
sudo service bumblebeed restart
Sorun çözülmezse satırlar ekli olduğu halde aşağıdaki komutun çıktısını yeniden paylaşınız.
optirun -vvv glxgears
-
malesef ilgili satırlar olmasına rağmen hala aynı hatayı almaya devam ediyorum.
nvidia-370 sürücüsünü kullanıyorum 367 364 361 sürücülerinide ilgili yerleri değiştirerek denedim nedense sonuç aynı
biyerde hata yapıyorum ama bulamadım bi türlü :)
İLginiz için teşekkürler
optirun -vvv glxgears
[20870.691068] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[20870.691311] [INFO]Configured driver: nvidia
[20870.691502] [DEBUG]optirun version 3.2.1 starting...
[20870.691511] [DEBUG]Active configuration:
[20870.691519] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[20870.691525] [DEBUG] X display: :8
[20870.691535] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-370:/usr/lib32/nvidia-370
[20870.691543] [DEBUG] Socket path: /var/run/bumblebee.socket
[20870.691548] [DEBUG] Accel/display bridge: auto
[20870.691555] [DEBUG] VGL Compression: proxy
[20870.691561] [DEBUG] VGLrun extra options:
[20870.691568] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[20870.691640] [DEBUG]Using auto-detected bridge virtualgl
[20889.595163] [INFO]Response: No - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[20889.595182] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[20889.595186] [DEBUG]Socket closed.
[20889.595203] [ERROR]Aborting because fallback start is disabled.
[20889.595206] [DEBUG]Killing all remaining processes.
-
Aşağıdaki komutun çıktısına bakalım.
dpkg -l | grep xserver-xorg-legacy
-
Bu çıktıyı alıyorum
dpkg -l | grep xserver-xorg-legacy
ii xserver-xorg-legacy 2:1.18.4-0ubuntu0.1 amd64 setuid root Xorg server wrapper
-
Aşağıdaki komutla xserver-xorg-legacy paketini kaldırıp sistemi yeniden başlatmayı deneyiniz.
sudo apt-get purge xserver-xorg-legacy
-
malesef yine olmadı
linuxminti yeniden kurdum 361 370 arası tüm srücüleri tek tek denedim sonuç aynı malesef :(
-
/etc/bumblebee/xorg.conf.nvidia dosyasını açıp, aşağıdaki satırı silip
Option "UseDisplayDevice" "none"
yerine girintilere dikkat ederek aşağıdaki satırı eklemeyi dener misiniz?
Option "ConnectedMonitor" "DFP"
Aşağıdaki gibi olacak.
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "ConnectedMonitor" "DFP"
EndSection
-
Emekleriniz için çok teşekkür ederim ama malesef sonuç aynı
sudo nano /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:0a: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 "ConnectedMonitor" "DFP"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "DiscreteNvidia"
EndSection
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
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
rc nvidia-361 361.45.18-0ubuntu0~gpu16.04.1 amd64 NVIDIA binary driver - version 361.45.18
ii nvidia-370 370.28-0ubuntu0~gpu16.04.2 amd64 NVIDIA binary driver - version 370.28
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
lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
0a:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
optirun -vvv glxgears
[ 197.280963] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 197.281608] [INFO]Configured driver: nvidia
[ 197.281928] [DEBUG]optirun version 3.2.1 starting...
[ 197.281953] [DEBUG]Active configuration:
[ 197.281968] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 197.281984] [DEBUG] X display: :8
[ 197.281996] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-370:/usr/lib32/nvidia-370
[ 197.282011] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 197.282025] [DEBUG] Accel/display bridge: auto
[ 197.282039] [DEBUG] VGL Compression: proxy
[ 197.282054] [DEBUG] VGLrun extra options:
[ 197.282068] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 197.282157] [DEBUG]Using auto-detected bridge virtualgl
[ 197.578840] [INFO]Response: No - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 197.578857] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 197.578862] [DEBUG]Socket closed.
[ 197.578878] [ERROR]Aborting because fallback start is disabled.
[ 197.578882] [DEBUG]Killing all remaining processes.
-
Aşağıdaki satırları /etc/bumblebee/xorg.conf.nvidia dosyasından silmeyi dener misiniz?
Section "Screen"
Identifier "Default Screen"
Device "DiscreteNvidia"
EndSection
-
ilginiz için çok teşekkürler ama malesef hala sonuç aynı
optirun -vvv glxgears
[ 102.305782] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 102.306007] [INFO]Configured driver: nvidia
[ 102.306090] [DEBUG]optirun version 3.2.1 starting...
[ 102.306102] [DEBUG]Active configuration:
[ 102.306107] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 102.306113] [DEBUG] X display: :8
[ 102.306119] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-370:/usr/lib32/nvidia-370
[ 102.306126] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 102.306131] [DEBUG] Accel/display bridge: auto
[ 102.306138] [DEBUG] VGL Compression: proxy
[ 102.306142] [DEBUG] VGLrun extra options:
[ 102.306147] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 102.306176] [DEBUG]Using auto-detected bridge virtualgl
[ 102.607099] [INFO]Response: No - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 102.607114] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 102.607119] [DEBUG]Socket closed.
[ 102.607133] [ERROR]Aborting because fallback start is disabled.
[ 102.607137] [DEBUG]Killing all remaining processes.
-
Intel GPU ile ilgili yapılandırma dosyası oluşturdunuz mu hiç, aşağıdaki komutların çıktısına bakalım.
ls /usr/share/X11/xorg.conf.d/
-
malesef yapıp yapmadığımı bilmiyorum. işlem basamaklarını harfiyyen uyguladım sadece
ls /usr/share/X11/xorg.conf.d/
10-amdgpu.conf 11-evdev-trackpoint.conf 50-wacom.conf
10-evdev.conf 50-nvidia-drm-outputclass.conf 51-synaptics-quirks.conf
10-quirks.conf 50-synaptics.conf glamoregl.conf
11-evdev-quirks.conf 50-vmmouse.conf
-
Aşağıdaki komutun çıktısına bakalım.
apt-cache policy bumblebee
Ayrıca sistemi aşağıdaki şekilde güncellemeyi dneyebilirsiniz.
Güncelleme Yöneticisi => Düzenle menüsü => Tercihler => Seviyeler kısmından 4. seviye güncellemeleri işaretleyiniz ve Yenile düğmesine tıklayıp Güncellemeleri Kur düğmesine tıklayarak sisteminizi güncelleyiniz. Sonrasında isterseniz 4. seviye güncellemeleri pasifleştirebilirsiniz.
Ardından, Güncelleme Yöneticisi => Görünüm menüsü => "Linux çekirdekleri" aracı yardımıyla 4.4.x serisi çekirdeğin son sürümünü kurunuz.
Güncellemeler sonrasında sistemi yeniden başlatınız.
-
apt-cache policy bumblebee
bumblebee:
Kurulu: 3.2.1-96~xenialppa1
Aday: 3.2.1-96~xenialppa1
Sürüm çizelgesi:
*** 3.2.1-96~xenialppa1 100
100 /var/lib/dpkg/status
3.2.1-10 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
-
Aşağıdaki komutla Bumblebee ile ilgili PPA deposundan gelen paketleri kaldırıp,
sudo apt-get install bumblebee* primus* virtualgl* bbswitch*
ardından aşağıdaki komutlarla ilgili paketleri resmi depodan kurmayı deneyebilrisiniz.
sudo rm -f /etc/apt/sources.list.d/bumblebee*
sudo apt-get autoclean
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia primus
Ardından aşağıdaki aşama ile kuruluma devam edebilirsiniz.
Kurulum Sonrası Yapılandırma (https://forum.linuxmint.net.tr/index.php?topic=6258.0#post_yapilandirma)
-
Dediklerinizi harfiyyen uyguladım, malesef henüz çalışmıyor ama verdiği hata değişti sanki bu sefer olacak gibi :)
ilginiz için çok teşekkür ederim
optirun -vvv glxgears
[ 584.402602] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 584.403012] [INFO]Configured driver: nvidia
[ 585.523773] [DEBUG]optirun version 3.2.1 starting...
[ 585.523801] [DEBUG]Active configuration:
[ 585.523806] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 585.523811] [DEBUG] X display: :8
[ 585.523816] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-370:/usr/lib32/nvidia-370
[ 585.523822] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 585.523827] [DEBUG] Accel/display bridge: auto
[ 585.523833] [DEBUG] VGL Compression: proxy
[ 585.523837] [DEBUG] VGLrun extra options:
[ 585.523842] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 585.523902] [DEBUG]Using auto-detected bridge virtualgl
[ 585.826862] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 585.826879] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 585.826884] [DEBUG]Socket closed.
[ 585.826896] [ERROR]Aborting because fallback start is disabled.
[ 585.826900] [DEBUG]Killing all remaining processes.
-
Virtualgl paketini neden kurdunuz, ilgili paketi özellikle kurdurmamıştım. Aşağıdaki komutla virtualgl ile ilgili paketleri kaldırmayı deneyiniz.
sudo apt-get purge virtualgl*
-
Çok özür dilerim kaldırp reboot attıktan sonraki aldığım hata bu şeklide
optirun -vvv glxgears
[ 73.465726] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 73.465962] [INFO]Configured driver: nvidia
[ 73.466130] [DEBUG]optirun version 3.2.1 starting...
[ 73.466140] [DEBUG]Active configuration:
[ 73.466143] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 73.466145] [DEBUG] X display: :8
[ 73.466148] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-370:/usr/lib32/nvidia-370
[ 73.466153] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 73.466159] [DEBUG] Accel/display bridge: auto
[ 73.466165] [DEBUG] VGL Compression: proxy
[ 73.466171] [DEBUG] VGLrun extra options:
[ 73.466178] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 73.523247] [DEBUG]Using auto-detected bridge primus
[ 78.809800] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 78.809817] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 78.809821] [DEBUG]Socket closed.
[ 78.809835] [ERROR]Aborting because fallback start is disabled.
[ 78.809838] [DEBUG]Killing all remaining processes.
-
Önemli değil, ortada özür dilenecek bir durum da yok. Sadece sorunun Virtualgl kaynaklı olduğundan şüpheleniyordum, bunu anlamak için özellikle kurdurmamıştım. Ama sorunun VirtualGL ile alakalı olmadığı ortaya çıkmış oldu. Bumblebee, Nvidia GPU kullanmak için virtualgl ve primus olmak üzere 2 farklı köprü kullanabiliyor, virtualgl varsayılan köprü ve kurulu olduğunda bu etkinleştirilyor, kurulu değilse primus kullanılıyor.
[XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
Burada (https://wiki.archlinux.org/index.php/bumblebee#.2Fdev.2Fdri.2Fcard0:_failed_to_set_DRM_interface_version_1.4:_Permission_denied) /etc/bumblebee/xorg.conf.nvidia dosyasına aşağıdaki satırları eklemek önerilmiş.
Section "Screen"
Identifier "Default Screen"
Device "DiscreteNvidia"
EndSection
-
şimdi tüm paketleri kaldırıp tekrar kurdum ilgili satırlarıda ekledim ama malesef aynı hatayı almaya devam ediyorum.
Dilerseniz imkanınız zamanınız varsa eğer diğer aynı sorunu yaşayan arkadaşlarada referans olması açısından ,tam vakıf değilim linuxe ama teamwiever türü bi bağlantı ile sistemime bağlanabilirsiniz.
kaç gündür uğraştırdım sizide ilginize çok teşekkür ederim
-
Uzaktan bağlantı yapma imkanım maalesef yok, zaten bundan fazlasını yapma mkanı görünmüyor maalesef. Aşağıdaki komutların çıktılarına bir daha bakalım, gözden kaçan bir husus mu var acaba?
cat /etc/bumblebee/bumblebee.conf
cat /etc/bumblebee/xorg.conf.nvidia
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
lspci | egrep 'VGA|3D|Display'
Düzenlemeler sonrasında Bumblebee servisini yeniden başlatıyorsunuz değil mi?
sudo service bumblebeed restart
-
Evet bumblebeed restart ediyorum hatta aynı hatayı verince sistemide restart ediyorum.
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-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
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:0a: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
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
ii bumblebee 3.2.1-10 amd64 NVIDIA Optimus support for Linux
ii bumblebee-nvidia 3.2.1-10 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
rc nvidia-361 361.45.18-0ubuntu0~gpu16.04.1 amd64 NVIDIA binary driver - version 361.45.18
ii nvidia-370 370.28-0ubuntu0~gpu16.04.2 amd64 NVIDIA binary driver - version 370.28
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 0~20150328-1 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 0~20150328-1 amd64 Shared libraries for primus
ii primus-libs:i386 0~20150328-1 i386 Shared libraries for primus
ii primus-libs-ia32:i386 0~20150328-1 i386 Shared libraries for primus (32-bit)
lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
0a:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
-
Çıktılarda gözüme çarpan bir sorun yok, herşey olması gerektiği gibi görünüyor. Nvidia-361 sürücüsünü sistemden silmişsiniz ama yapılandırma dosyaları duruyor, alakası olacağını sanmam ama yine de aşağıdaki komutla yapılandırma dosyalarını temizlemeyi deneyebilirsiniz.
sudo apt-get purge nvidia-361