Linux Mint Türkiye
Linux Mint Destek => Ekran Kartları => Donanım => Nvidia => Konuyu başlatan: Butterfly - 28 Şubat 2015, 21:03:50
-
[error]Bu konu güncelleiğini yitirmiştir, lütfen uygulamayınız.[/error]
Buradaki (http://forum.linuxmint.net.tr/index.php?topic=78.0) konumuzda anlatıldığı biçimde Intel + Nvidia Optimus Destekli Hibrid GPU İçin Bumblebee kurulumu ve yapılandırmasını yaptınız, ama Nvidia'nın güncel sürücüsünü kurmak istiyorsunuz. Bu durumda öncelikle sisteminize Grafik Sürücüsü PPA deposunu eklemelisiniz. Bunun için aşağıdaki komutları sırasıyla uçbirimde çalıştırmanız yeterli olacaktır. (Not: Bu konudaki anlatım Linux Mint 18.x LTS sürümler için geçerlidir, önceki sürümler için uygulamayınız. Mevcut sürücü ve yapılandırma ile bir sorun yaşamıyorsanız sürücü güncellemeniz önerilmez.)
1 - Grafik Sürücüsü PPA Deposunun Eklenmesi
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
2 - Güncel Sürücü Kurulumu
Nvidia-396 Sürücüsü Kurulumu
Aşağıdaki komutla Nvidia-396 sürücüsünü kurabilirsiniz.
sudo apt-get install nvidia-396 nvidia-settings
Kurulum sonrasında aşağıdaki komut ile bumblebee.conf ayar dosyasını açınız.
(Not: KDE masaüstünde xed yerine kate ya da kwrite yazmalısınız.)
sudo xed /etc/bumblebee/bumblebee.conf
Açılan dosyada aşağıdaki satırları bulunuz (not: açılan dosyada daha önce düzenleme yapmadı iseniz, dosyada nvidia-384 yerine farklı bir sürüm veya nvidia-current yazıyor olabilir.),
# (See also the driver-specific sections below)
Driver=
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-384
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-384:/usr/lib32/nvidia-384
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-384/xorg,/usr/lib/xorg/modules
ve aşağıdaki şekilde değiştirip dosyayı kaydediniz.
# (See also the driver-specific sections below)
Driver=nvidia
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-396
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-396:/usr/lib32/nvidia-396
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-396/xorg,/usr/lib/xorg/modules
Ardından aşağıdaki komutla Nvdia-396 sürücüsünün başlangıçta etkineleşmesini engelleyiniz.
echo -e '# 396\nblacklist nvidia-396\nblacklist nvidia-396-updates\nblacklist nvidia-experimental-396' | sudo tee -a /etc/modprobe.d/bumblebee.conf
Sonrasında aşağıdaki komutlarla bbswitch-dkms ve nvidia-396 paketlerini yeniden yapılandırınız.
sudo dpkg-reconfigure bbswitch-dkms
sudo dpkg-reconfigure nvidia-396
3 - Bumblebee Servisinin Yeniden Başlatılması
Sürücü kurulumu ve yapılandırma sonrası aşağıdaki komut ile Bumblebee servisini yeniden başlatabilir ya da bunun yerine sisteminizi yeniden başlatabilirsiniz.
sudo service bumblebeed restart
4 - Sorunlar Hakkında
Hatalı bir şeylerin olduğunu düşünüyorsanız lütfen aşağıdaki komutları sırasıyla uçbirimde çalıştırıp çıktılarını paylaşınız.
optirun -vvv glxgears
cat /etc/bumblebee/bumblebee.conf
cat /etc/bumblebee/xorg.conf.nvidia
cat /etc/X11/xorg.conf
dpkg -l | egrep 'nvidia|bumblebee|primus|prime'
lspci | egrep 'VGA|3D|Display'
-
Bumblebee'yi silip yeniden kurduğumda kullanamıyorum. Düzenleme de yaptım ama olmadı
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 ff)
v3-571g@Aspire-V3-571G ~/Masaüstü $ dpkg -l | egrep 'nvidia|bumblebee|primus|prime'
ii bumblebee 3.2.1-90~trustyppa1 amd64 NVIDIA Optimus support
ii nvidia-346 346.22-0ubuntu1~xedgers14.04.1 amd64 NVIDIA binary driver - version 346.22
ii nvidia-prime 0.6.2linuxmint1 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 346.22-0ubuntu1~xedgers14.04.1 amd64 Tool for configuring the NVIDIA graphics driver
rc prime-indicator 0.1-1+git20150211~webupd8~0 all PRIME Indicator
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)
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
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
Section "Screen"
Identifier "Default Screen"
Device "DiscreteNvidia"
EndSection
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-current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-346:/usr/lib32/nvidia-346
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-346/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
v3-571g@Aspire-V3-571G ~/Masaüstü $ optirun -vvv glxgears
[ 51.360341] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 51.360748] [INFO]Configured driver: nvidia
[ 51.360810] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 51.360819] [DEBUG]Socket closed.
[ 51.360832] [ERROR]Could not connect to bumblebee daemon - is it running?
-
/etc/bumblebee/xorg.conf.nvidia dosyasındaki KernelDriver=nvidia-current satırını KernelDriver=nvidia-346 olarak değiştirmeyi deneyiniz.
-
Merhaba , sanıyorum ki herhangi bir sorun yok.Sürücü güncellemesi ile bumblebee çalışır duruma geldi.Çünkü opiturun -vvv glxgears olumlu yanıt veriyor.Bir de siz göz atarsanız sevinirim.
hwpplayer1[member=612]hwpplayer1[/member]-Aspire-V3-772G:~ > optirun -vvv glxgears
[ 5261.456127] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 5261.456274] [INFO]Configured driver: nvidia
[ 5261.456358] [DEBUG]optirun version 3.2.1 starting...
[ 5261.456365] [DEBUG]Active configuration:
[ 5261.456367] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 5261.456379] [DEBUG] X display: :8
[ 5261.456381] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-346:/usr/lib32/nvidia-346
[ 5261.456383] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 5261.456384] [DEBUG] Accel/display bridge: auto
[ 5261.456386] [DEBUG] VGL Compression: proxy
[ 5261.456387] [DEBUG] VGLrun extra options:
[ 5261.456389] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 5261.456406] [DEBUG]Using auto-detected bridge virtualgl
[ 5262.795029] [INFO]Response: Yes. X is active.
[ 5262.795051] [INFO]Running application using virtualgl.
[ 5262.795195] [DEBUG]Process vglrun started, PID 12676.
11944 frames in 5.0 seconds = 2388.772 FPS
12394 frames in 5.0 seconds = 2478.689 FPS
12594 frames in 5.0 seconds = 2518.771 FPS
12356 frames in 5.0 seconds = 2471.134 FPS
12555 frames in 5.0 seconds = 2510.965 FPS
12572 frames in 5.0 seconds = 2514.202 FPS
^C[ 5293.696635] [WARN]Received Interrupt signal.
[ 5293.696692] [DEBUG]Socket closed.
[ 5293.711293] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 5293.711343] [DEBUG]Socket closed.
[ 5293.711352] [DEBUG]Killing all remaining processes.
hwpplayer1[member=612]hwpplayer1[/member]-Aspire-V3-772G:~ > 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-346
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-346:/usr/lib32/nvidia-346
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-346/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
hwpplayer1[member=612]hwpplayer1[/member]-Aspire-V3-772G:~ > 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
hwpplayer1[member=612]hwpplayer1[/member]-Aspire-V3-772G:~ > cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
hwpplayer1[member=612]hwpplayer1[/member]-Aspire-V3-772G:~ > 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
rc nvidia-331 331.113-0ubuntu0.0.4 amd64 NVIDIA binary driver - version 331.113
ii nvidia-346 346.47-0ubuntu4~xedgers14.04.1 amd64 NVIDIA binary driver - version 346.47
ii nvidia-common 1:0.2.91.4linuxmint1 amd64 transitional package for ubuntu-drivers-common
ii nvidia-settings 346.47-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
hwpplayer1[member=612]hwpplayer1[/member]-Aspire-V3-772G:~ > lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev ff)
-
Bir de siz göz atarsanız sevinirim.
Dönen çarkları görüyorsanız sorun yok demektir.
Aşağıdaki komutla nvidia-331 paketini kaldırabilirsiniz.
sudo apt-get remove nvidia-331
-
Dönen çarkları görüyorsanız sorun yok demektir.
Aşağıdaki komutla nvidia-331 paketini kaldırabilirsiniz.
sudo apt-get remove nvidia-331
Evet dönen çarkları görebiliyorum.Teşekkürler.
hwpplayer1[member=612]hwpplayer1[/member]-Aspire-V3-772G:~ > sudo apt-get remove nvidia-331
[sudo] password for hwpplayer1:
Paket listeleri okunuyor... Bitti
Bağımlılık ağacı oluşturuluyor
Durum bilgisi okunuyor... Bitti
Package 'nvidia-331' is not installed, so not removed
0 paket yükseltilecek, 0 yeni paket kurulacak, 0 paket kaldırılacak ve 41 paket yükseltilmeyecek.
-
Dediğinizi yaptım ama uygulamaları çalıştıramıyorum
v3-571g@Aspire-V3-571G ~ $ optirun -vvv glxgears[ 140.657938] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 140.658342] [INFO]Configured driver: nvidia
[ 140.658656] [DEBUG]optirun version 3.2.1 starting...
[ 140.658681] [DEBUG]Active configuration:
[ 140.658687] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 140.658692] [DEBUG] X display: :8
[ 140.658696] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-346:/usr/lib32/nvidia-346
[ 140.658701] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 140.658705] [DEBUG] Accel/display bridge: auto
[ 140.658710] [DEBUG] VGL Compression: proxy
[ 140.658714] [DEBUG] VGLrun extra options:
[ 140.658718] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 140.658759] [DEBUG]Using auto-detected bridge virtualgl
[ 142.923405] [INFO]Response: No - error: [XORG] (EE) No devices detected.
[ 142.923449] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
[ 142.923454] [DEBUG]Socket closed.
[ 142.923485] [ERROR]Aborting because fallback start is disabled.
[ 142.923496] [DEBUG]Killing all remaining processes.
v3-571g@Aspire-V3-571G ~ $ 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-346
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-346:/usr/lib32/nvidia-346
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-346/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
v3-571g@Aspire-V3-571G ~ $ 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
Section "Screen"
Identifier "Default Screen"
Device "DiscreteNvidia"
EndSection
v3-571g@Aspire-V3-571G ~ $ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
v3-571g@Aspire-V3-571G ~ $ dpkg -l | egrep 'nvidia|bumblebee|primus|prime'
ii bumblebee 3.2.1-90~trustyppa1 amd64 NVIDIA Optimus support
ii nvidia-346 346.22-0ubuntu1~xedgers14.04.1 amd64 NVIDIA binary driver - version 346.22
ii nvidia-prime 0.6.2linuxmint1 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 346.22-0ubuntu1~xedgers14.04.1 amd64 Tool for configuring the NVIDIA graphics driver
rc prime-indicator 0.1-1+git20150211~webupd8~0 all PRIME Indicator
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)
v3-571g@Aspire-V3-571G ~ $ 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)
Örneğin;
v3-571g@Aspire-V3-571G ~/Masaüstü $ optirun firefox
[ 574.877985] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
[ 574.878074] [ERROR]Aborting because fallback start is disabled.
-
/etc/bumblebee/xorg.conf.nvidia dosyasında aşağıdaki satırın başındaki # işaretini silip,
# BusID "PCI:01:00:0"
dosyayı kaydetmeyi deneyiniz.
BusID "PCI:01:00:0"
Sonra Bumblebeeservisiniyeniden başlatmalısınız.
sudo service bumblebeed restart
-
Teşekkür ederim sorunum düzeldi, acaba bumblebee ile nvidia optimus prime arasında ki fark nedir hocam? Aslında bumblebee'nin kurulumu ile bu kadar uğraşacağımıza nvidia optimus prime'ı kursak daha sorunsuz olmaz mı? Yada ikisinide kullanabilir miyiz?
-
İkisini bir arada kullanamazsınız. Bumblebee daha uzun süredir geliştirildiği için bence Prime'dan daha sorunsuz. Bumblebee'de sistemi kapatmadan geçiş yapıldığı halde, Prime'da yapılamıyor. Prime'da GPU değişikliği sonrası sistemi yeniden başlatmak gerekiyor. Bumblebee'de masaüstü ortamı Intel GPU ile çalışırken, Prime'da Nvidia kart etkinken masaüstü ortamı Nvidia ile çalışıyor. Bu da güç tasarrufunu etkileyen bir unsur olarak düşünülebilir. Ayrıca GPU değişikliği sorası sistemi yeniden başlatmak pek pratik olmayabilir.
-
Bumblebee'de belli başlı yazılımları GPU'da çalıştırmak için Bumblebee İndicator'den seçiuorum ama seçmeme rağman yazılımlar gpu'da çalışmıyor ve ben elle çalıştırmak (İndicator'e sağ tıklayıp preffered apps bölümünden yazılıma tıklamak) zorunda kalıyorum. Daha pratik bir yolu yok mu?
Ayrıca bilgisayar başlangıcında çalışmasını istiyorum ama nerede olduğunu bilmiyorum?
-
Bu konu sürücü güncelleme ile ilgili, farklı sorular için sorun hakkında yarıntılı bilgi vererek yeni konu açınız.
-
hwpplayer1[member=612]hwpplayer1[/member]-Aspire-V3-772G:~ > sudo apt-get install nvidia-352 nvidia-settings
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-352 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'nvidia-352' has no installation candidate
gibi bir durumla karşılaştım.Nvidia 346 ve 4.1.6 uyumlu çalışıyorlar.Geri bildirim yapmak ve bilgi almak istedim.Acaba yeni sistem kurduğum için mi yoksa sonradan güncelleme ile gelecek mi nvidia son sürüm sürücüleri.
Teşekkürler.
-
Yeni grafik sürücüsü PPA deposunu eklediniz mi?
sudo apt-cache policy nvidia-352
nvidia-352:
Kurulu: (hiçbiri)
Aday: 352.30-0ubuntu0~xedgers14.04.1
Sürüm çizelgesi:
352.30-0ubuntu0~xedgers14.04.1 0
500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ trusty/main amd64 Packages
Bu PPA deposunda Nvidia-355 sürücüsü de mevcut ama henüz beta seviyesinde sayılır.
-
Yeni grafik sürücüsü PPA deposunu eklediniz mi?
sudo apt-cache policy nvidia-352
nvidia-352:
Kurulu: (hiçbiri)
Aday: 352.30-0ubuntu0~xedgers14.04.1
Sürüm çizelgesi:
352.30-0ubuntu0~xedgers14.04.1 0
500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ trusty/main amd64 Packages
Bu PPA deposunda Nvidia-355 sürücüsü de mevcut ama henüz beta seviyesinde sayılır.
nasıl ekleniyor bir araştıracağım.Siz de yön gösterirseniz sevinirim.Teşekkürler.
http://ubuntuhandbook.org/index.php/2015/06/install-nvidia-352-21-ubuntu-1404/ (http://ubuntuhandbook.org/index.php/2015/06/install-nvidia-352-21-ubuntu-1404/) adresinden yararlandım.Teşekkürler.Bu işlem aklıma hiç gelmemişti.
-
Nvidia Grafik Sürücü PPA deposunun nasıl ekleneceği konu anlatımında mevcut. Paylaştığınız bağlantıdaki PPA deposu (https://launchpad.net/~mamarley/+archive/ubuntu/nvidia) artık önerilmediği için kurulum yapılamamış olabilir. Önce Yazılım Kaynakları aracını kullanarak önerilmeyen bu depoyu kaldırmanız en doğrusu olacaktır.
-
Nvidia Grafik Sürücü PPA deposunun nasıl ekleneceği konu anlatımında mevcut. Paylaştığınız bağlantıdaki PPA deposu (https://launchpad.net/~mamarley/+archive/ubuntu/nvidia) artık önerilmediği için kurulum yapılamamış olabilir. Önce Yazılım Kaynakları aracını kullanarak önerilmeyen bu depoyu kaldırmanız en doğrusu olacaktır.
Kaldırdım o PPA'yı.Ancak anlatımı göremedim.Kusura bakmayın.Teşekkürler.
Not : Yani konuyu anlayamadım.
-
Konunun ilk mesajındaki 1. adımda (1 - Grafik Sürücüsü PPA Deposunun Eklenmesi) PPA deposunun nasıl ekleneceği anlatılıyor. İlk mesajı inceleyiniz, büyük ihtimalle gözünüzden kaçmıştır.
-
Konunun ilk mesajındaki 1. adımda (1 - Grafik Sürücüsü PPA Deposunun Eklenmesi) PPA deposunun nasıl ekleneceği anlatılıyor. İlk mesajı inceleyiniz, büyük ihtimalle gözünüzden kaçmıştır.
Haklısınız.Elinize sağlık.İyi akşamlar.
-
Selam, yüklemeleri yaptım fakat çalışmıyor. Yardımcı olabilirmisiniz ?
optirun -vvv glxgears
[19271.477322] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[19271.477862] [INFO]Configured driver: nvidia
[19271.478125] [DEBUG]optirun version 3.2.1 starting...
[19271.478158] [DEBUG]Active configuration:
[19271.478177] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[19271.478197] [DEBUG] X display: :8
[19271.478217] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-346:/usr/lib32/nvidia-346
[19271.478238] [DEBUG] Socket path: /var/run/bumblebee.socket
[19271.478257] [DEBUG] Accel/display bridge: auto
[19271.478278] [DEBUG] VGL Compression: proxy
[19271.478297] [DEBUG] VGLrun extra options:
[19271.478317] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[19271.478378] [DEBUG]Using auto-detected bridge virtualgl
[19271.496345] [INFO]Response: No - error: Could not enable discrete graphics card
[19271.496399] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[19271.496419] [DEBUG]Socket closed.
[19271.496458] [ERROR]Aborting because fallback start is disabled.
[19271.496475] [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
## 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-346
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-346:/usr/lib32/nvidia-346
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-346/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: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
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
dpkg -l | egrep 'nvidia|bumblebee|primus|prime'
ii bumblebee 3.2.1-93~trustyppa1 amd64 NVIDIA Optimus support
ii bumblebee-nvidia 3.2.1-93~trustyppa1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-346 346.72-0ubuntu1 amd64 NVIDIA binary driver - version 346.72
ii nvidia-settings 346.72-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
ii primus 20150328-1~trustyppa1 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 20150328-1~trustyppa1 amd64 Shared libraries for primus
ii primus-libs:i386 20150328-1~trustyppa1 i386 Shared libraries for primus
ii primus-libs-ia32 20150328-1~trustyppa1 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)
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev ff)
optirun glxgears
[19614.360283] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[19614.360351] [ERROR]Aborting because fallback start is disabled.
-
Aşağıdaki komut ile /etc/bumblebee/xorg.conf.nvidia dosyasını açınız.
sudo pluma /etc/bumblebee/xorg.conf.nvidia
Açılan dosya aşağıdaki satırı bulup,
# BusID "PCI:01:00:0"
önündeki # işaretini siliniz ve aşağıdaki şekilde değiştiriniz.
BusID "PCI:03:00:0"
Dosyayı kaydedip aşağıdaki komutla Bumblebee servisini yeniden başlatınız.
sudo service bumblebeed restart
-
Aşağıdaki komut ile /etc/bumblebee/xorg.conf.nvidia dosyasını açınız.
sudo pluma /etc/bumblebee/xorg.conf.nvidia
Açılan dosya aşağıdaki satırı bulup,
# BusID "PCI:01:00:0"
önündeki # işaretini siliniz ve aşağıdaki şekilde değiştiriniz.
BusID "PCI:03:00:0"
Dosyayı kaydedip aşağıdaki komutla Bumblebee servisini yeniden başlatınız.
sudo service bumblebeed restart
Düzeldi teşekkürler.
-
Merhaba , kernel yükselttiğimde 4.2.0 ve 4.2.1 ile bumblebee çalışmadı.Ben de
hwpplayer1[member=612]hwpplayer1[/member]-Aspire-V3-772G:~ > uname -r
3.16.0-38-generic
serisine döndüm.Belirttiğim kernel sürümü 4.2.1 ile uyumlu bir Nvidia sürücüsü var mıdır ?Teşekkürler.
-
hocam bir inceler misiniz
sudo add-apt-repository ppa:graphics-drivers/ppa
Aşağıdaki PPA deposunu eklemek üzeresiniz:
Fresh drivers from upstream, currently shipping Nvidia.
## Current Status
Current official release: `nvidia-370` (370.28)
Current long-lived branch release: `nvidia-367` (367.57)
For GeForce 8 and 9 series GPUs use `nvidia-340` (340.98)
For GeForce 6 and 7 series GPUs use `nvidia-304` (304.132)
## What we're working on right now:
- Normal driver updates
- Investigating how to bring this goodness to distro on a cadence.
## WARNINGS:
This PPA is currently in testing, you should be experienced with packaging before you dive in here. Give us a few days to sort out the kinks.
Volunteers welcome! See also: https://github.com/mamarley/nvidia-graphics-drivers/
### How you can help:
## Install PTS and benchmark your gear:
sudo apt-get install phoronix-test-suite
Run the benchmark:
phoronix-test-suite default-benchmark openarena xonotic tesseract gputest unigine-valley
and then say yes when it asks you to submit your results to openbechmarking.org. Then grab a cup of coffee, it takes a bit for the benchmarks to run. Depending on the version of Ubuntu you're using it might preferable for you to grabs PTS from upstream directly: http://www.phoronix-test-suite.com/?k=downloads
## Share your results with the community:
Post a link to your results (or any other feedback to): https://launchpad.net/~graphics-drivers-testers
Remember to rerun and resubmit the benchmarks after driver upgrades, this will allow us to gather a bunch of data on performance that we can share with everybody.
If you run into old documentation referring to other PPAs, you can help us by consolidating references to this PPA.
If someone wants to go ahead and start prototyping on `software-properties-gtk` on what the GUI should look like, please start hacking!
## Help us Help You!
We use the donation funds to get the developers hardware to test and upload these drivers, please consider donating to the "community" slider on the donation page if you're loving this PPA:
http://www.ubuntu.com/download/desktop/contribute
Daha fazla bilgi: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
Devam etmek için Giriş tuşuna ya da iptal etmek için CTRL+C tuşlarına basınız
^CTraceback (most recent call last):
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1532, in <module>
add_repository_via_cli(ppa_line, codename, options.forceYes, use_ppas)
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 119, in add_repository_via_cli
sys.stdin.readline()
KeyboardInterrupt
Mesajlar Birleştirildi.
bir de bu var bakarsanız yardımcı olursanız sevinirim şimdiden teşekkürler $ optirun -vvv glxgears
[ 6466.745119] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 6466.745476] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 6466.745482] [DEBUG]Socket closed.
[ 6466.745488] [ERROR]Could not connect to bumblebee daemon - is it running?
-
Linux Mint 18 için farklı bir konumuz var, lütfen o konuda anlatıldığı biçimde kurulum yapıp, dönüşlerinizi de ilgili konuya yapınız.
-
Merhaba bu anlatım da ki gibi sürücü güncelleme Linux Mint 18 için de geçerli mi ?