Linux Mint Türkiye
Linux Mint Destek => Ekran Kartları => Donanım => Nvidia => Konuyu başlatan: yunusemre - 08 Haziran 2015, 13:26:53
-
Arkadaşlar sorunum tam olarak şu: Nvidia nın sitesinden driveri indirdim. Açmaya çalıştığım zaman karakter kodlamasıyla ilgili bir hata aldım. Genel olarakta
tar.gz-rpm gibi dosyalarıda yükleyemiyorum. Yardımlarınızı bekliyroum
-
Ekran Kartı ile İlgili Sorularda Verilmesi Gereken Çıktılar (http://forum.linuxmint.net.tr/index.php?topic=2738.0)
-
uname -rm
3.19.0-18-generic x86_64
nxi -Gx
Graphics: Card: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
X.Org: 1.15.1 drivers: (unloaded: fbdev,vesa) FAILED: nouveau,intel Resolution: 1366x768@60.0hz
GLX Renderer: Mesa DRI Intel Ivybridge Mobile GLX Version: 3.0 Mesa 10.1.3 Direct Rendering: Yes
lspci | egrep 'VGA|3D|Display'
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)
xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 32767 x 32767
LVDS1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1366x768 60.0*+
1360x768 59.8 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
-
Sizde Nvidia+Intel ekran kartı var. Şu konudaki kurulumu yapmalısınız. http://forum.linuxmint.net.tr/index.php?topic=78.0
-
Hocam, teşekkür ederim kurulumu yapıyorumda. Biz böyle uğraşmak yerine direk sitesinden indirip Windowstaki gibi tıklayıp kurulumu başlayamaz mıyız?
Hocam alttaki komut ile test ettim ama hata aldım.
optirun glxgears
[14179.706808] [ERROR]You've no permission to communicate with the Bumblebee daemon. Try adding yourself to the 'bumblebee' group
[14179.706890] [ERROR]Could not connect to bumblebee daemon - is it running?
optirun -vvv glxgears
[14311.409309] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[14311.409694] [INFO]Configured driver: nvidia
[14311.409771] [ERROR]You've no permission to communicate with the Bumblebee daemon. Try adding yourself to the 'bumblebee' group
[14311.409792] [DEBUG]Socket closed.
[14311.409816] [ERROR]Could not connect to bumblebee daemon - is it running?
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
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|virtualgl'
ii bumblebee 3.2.1-90~trustyppa1 amd64 NVIDIA Optimus support
ii bumblebee-nvidia 3.2.1-90~trustyppa1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-331 331.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 20131127-1~trustyppa1 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 20131127-1~trustyppa1 amd64 Shared libraries for primus
ii primus-libs:i386 20131127-1~trustyppa1 i386 Shared libraries for primus
ii primus-libs-ia32 20131127-1~trustyppa1 i386 Shared libraries for primus (32-bit)
ii virtualgl 2.3.3-1~trustyppa1 amd64 Toolkit for displaying OpenGL applications to thin clients
ii virtualgl-libs:amd64 2.3.3-1~trustyppa1 amd64 Library files for virtualgl
lspci | egrep 'VGA|3D|Display'
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)
inxi -Gx
Graphics: Card: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
X.Org: 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1366x768@60.0hz
GLX Renderer: Mesa DRI Intel Ivybridge Mobile GLX Version: 3.0 Mesa 10.1.3 Direct Rendering: Yes
Düzenleme : Mesajlar birleştirildi
-
Aşağıdaki komut ile kullanıcıyı bumblebee grubuna ekleyip sistemi yeniden başlatmayı deneyiniz.
sudo usermod -a -G bumblebee $USERhttp://forum.linuxmint.net.tr/index.php?topic=78.msg11255#msg11255
Düzenleme:
Biz böyle uğraşmak yerine direk sitesinden indirip Windowstaki gibi tıklayıp kurulumu başlayamaz mıyız?
Konudaki açıklama:
Yeni nesil taşınabilir sistemlerde Nvidia ekran kartıyla birlikte entegre Intel ekran kartı da bulunabiliyor. Nvidia'nın Optimus ismini verdiği teknoloji ile yüksek GPU gücüne ihtiyaç duymayan uygulamalarda Nvidia ekran kartı devreye girmeyerek Intel GPU kullanılıyor. Böylece daha az güç harcayan GPU sayesinde daha uzun süre pil kullanamı ve daha az ısınma olması hedeflenmiş.
Linux tarafında henüz bu teknoloji için Nvidia tarafından resmi destek gelmedi. Ama Bumblebee isimli açık kaynak projesi olan uygulama Intel ve Nvidia kartlar arasında geçiş yapılması sağlanabiliyor ve açık bir nebze de olsa giderilmiş durumda.
Eğer hem Intel hem de Nvidia kartının kullanılmasını istiyorsanız doğrudan Nvidia'nın sitesinden indirip kuramazsınız.
-
Hoca dediklerinizi yaptım ama bu sefer farklı bir hata alıyorum
[ 128.136576] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 128.136640] [ERROR]Aborting because fallback start is disabled.
-
Sistemi yeniden başlatıp tekrar deneyebilir misiniz?
-
denedim hocam olmuyor. kaldırıp yeniden yaptım yine değişen yok.
-
Aşağıdaki komutların çıktılarına bir daha paylaşınız.
cat /etc/bumblebee/bumblebee.conf
cat /etc/bumblebee/xorg.conf.nvidia
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
-
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
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
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
ii bumblebee 3.2.1-90~trustyppa1 amd64 NVIDIA Optimus support
ii bumblebee-nvidia 3.2.1-90~trustyppa1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-331 331.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 20131127-1~trustyppa1 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 20131127-1~trustyppa1 amd64 Shared libraries for primus
ii primus-libs:i386 20131127-1~trustyppa1 i386 Shared libraries for primus
ii primus-libs-ia32 20131127-1~trustyppa1 i386 Shared libraries for primus (32-bit)
ii virtualgl 2.3.3-1~trustyppa1 amd64 Toolkit for displaying OpenGL applications to thin clients
ii virtualgl-libs:amd64 2.3.3-1~trustyppa1 amd64 Library files for virtualgl
-
sudo apt-get install bumblebee bumblebee-nvidia nvidia* hocam bu komutu çıktının bir kısmını paylaştım
bumblebee zaten en yeni sürümde.
bumblebee-nvidia zaten en yeni sürümde.
nvidia-settings zaten en yeni sürümde.
nvidia-331 zaten en yeni sürümde.
Bazı paketler kurulamadı. Bu durum, olanaksız bir durum istemiş
olduğunuzu ya da kararsız (unstable) dağıtımı kullandığınızı ve
bazı paketlerin henüz oluşturulamamış ya da oluşturulmakta
olduğunu gösterir.
Aşağıdaki bilgiler durumu çözmenize yardımcı olabilir:
Aşağıdaki paketler karşılanmamış bağımlılıklara sahip:
nvidia-173 : Çakışmalar: xorg-driver-binary
nvidia-304 : Çakışmalar: xorg-driver-binary
nvidia-304-updates : Çakışmalar: xorg-driver-binary
nvidia-331 : Çakışmalar: nvidia-persistenced
Çakışmalar: xorg-driver-binary
nvidia-331-updates : Çakışmalar: nvidia-persistenced
Çakışmalar: xorg-driver-binary
nvidia-libopencl1-304 : Çakışmalar: libopencl1
nvidia-libopencl1-304-updates : Çakışmalar: libopencl1
nvidia-libopencl1-331 : Çakışmalar: libopencl1
nvidia-libopencl1-331-updates : Çakışmalar: libopencl1
nvidia-opencl-icd-304 : Çakışmalar: opencl-icd
nvidia-opencl-icd-304-updates : Çakışmalar: opencl-icd
E: Sorunlar giderilemedi, tutulan bozuk paketleriniz var.
-
Sisteminizde Wine uygulaması kurulu mu?
-
Evet hocam. bende onu şimdi fark ettim onunla çakışıyor.
Sürücü yöneticisinde önerilen yazıyor ve nvidia 331 işaretli.
"http://askubuntu.com/questions/449507/nvidia-libopencl1-331-has-to-be-removed-before-installing-wine" burda çözümü varmış ama ben anlamadım.
-
Aşağıdaki komutun çıktısına bakalım.
dpkg -l | grep wine
-
dpkg -l | grep wine
ii wine 1:1.6.2-0ubuntu4 amd64 Microsoft Windows Compatibility Layer (meta-package)
ii wine1.6 1:1.6.2-0ubuntu4 amd64 Microsoft Windows Compatibility Layer (Binary Emulator and Library)
ii wine1.6-amd64 1:1.6.2-0ubuntu4 amd64 Microsoft Windows Compatibility Layer (64-bit support)
ii wine1.6-i386 1:1.6.2-0ubuntu4 i386 Microsoft Windows Compatibility Layer (32-bit support)
-
Önce aşağıdaki komutlar ile Wine paketlerini kaldırınız.
sudo apt-get purge wine wine1.6
Sonra aşağıdaki komut ile ocl-icd-opencl-dev paketini kurunuz.
sudo apt-get install ocl-icd-opencl-dev
Şimdi aşağıdaki komutlar ile Bumblebee ile ilgili paketleri tekrar kuralım.
sudo apt-get install --reinstall bumblebee nvidia-331 nvidia-settings bumblebee-nvidia primus virtualgl linux-headers-generic
Kurulum sonrası Bumblebeeile ilgili yapılandırmayı tekrar yapmanız gerkebilir.
Aşağıdaki komut ile Wine uygulamasını kurabilirsiniz.
sudo apt-get install wine wine1.6
-
"2 - Kurulum Sonrası Düzenleme" bu başlık altındakilerimi tekrar yapayım
-
Evet, paketleri yeniden yükleyince yapılandırma dosyaları değişmiş olabilir.
-
hocam bomboş bir dosya çıktı
sed: /etc/bumblebee/xorg.conf.nvidia okunamıyor: Böyle bir dosya ya da dizin yok
dpkg: error processing package bumblebee-nvidia (--configure):
installed post-installation script alt işlemi çıkış durumunda hata döndürdü : 2
İşlem sırasında hatalar bulundu:
bumblebee-nvidia
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
Şuradakileri (http://forum.linuxmint.net.tr/index.php?topic=3178.msg20233#msg20233) yaptıktan sonra tekrar yapılandırmayı deneyiniz.
-
hocam sorun çözüldü tamamdır. Teşekkür ederim. Sorun büyük ihtimal
sudo apt-get install primus-libs-ia32 "Primus için 32 bit uyumluluk paketin" bunu kurmadım bu sefer oldu. Çok Teşekkür ederim.