Nvidia sürücüsünün elle kurulumunda problem

Başlatan gocen, 17 Ekim 2011 - 02:46:20

« önceki - sonraki »

0 Üyeler ve 2 Ziyaretçi konuyu incelemekte.

if

gedit ~/.bashrc içine export PATH=/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib:/usr/local/cuda/cudaprof/bin:$LD_LIBRARY_PATH
ekleyip source .bashrc komutunu verip tekara dener misin?

Matlab komutları için: http://developer.nvidia.com/cuda-toolkit-40 bağlantısında Linux seklemsi altında "documentation" var.
http://www.mathworks.com/help/toolbox/distcomp/bsic3by.html var.
http://forums.nvidia.com/index.php?showtopic=70731 var.

Sonuncusu eski ama matlab komutları için ipuçları içeriyor.

gocen

bu defaki aldığım hata
Error using gpuArray (line 28)
No device supporting CUDA was found.
Ayinesi iştir kişinin lafa bakılmaz,
Şahsın görünür, rütbe-i aklı eserinde.
Ziya Paşa

if

Alıntı yapılan: gocen - 25 Ekim 2011 - 09:44:37
bu defaki aldığım hata
Error using gpuArray (line 28)
No device supporting CUDA was found.


@gocen, nvidia yazıp TAB tuşuna iki kere bastığında bir seçenek getiriyor mu?

if

./deviceQueryDrv
./deviceQuery
komutları ne döndürüyor?

gocen

nvidia diyince
nvidia-bug-report.sh  nvidia-settings       nvidia-xconfig
nvidia-detector       nvidia-smi

bunlar geliyo
./deviceQueryDrv
./deviceQuery

bunları SDK'nın altında mı çalıştırcam
Ayinesi iştir kişinin lafa bakılmaz,
Şahsın görünür, rütbe-i aklı eserinde.
Ziya Paşa

if

@gocen, evet diğer komutları SDK altında vereceksiniz: NVIDIA_GPU_Computing_SDK/C/bin/linux/release

sudo service lightdm stop sonrası CTRL+ALT+F1 ile tty ekranına düşüp sudo nvidia-xconfig komutunu uygulayın. Sonra da sudo service lightdm start komutunu verin ve tekrar deneyin matlab işini:)

gocen

sudo nvidia-xconfig şu hatayı verdi
Device Section "Default Device" must have a driver line
bundan sonra tekrar başlamadı ama xorg.conf'un backup'ını geri yükleyince şimdi yine açıldı.
NVIDIA_GPU_Computing_SDK/C/bin/linux/release içeriği şöyle
dxtc      eigenvalues         quasirandomGenerator
dxtc.txt  MonteCarloMultiGPU  simpleAtomicIntrinsics

Ayinesi iştir kişinin lafa bakılmaz,
Şahsın görünür, rütbe-i aklı eserinde.
Ziya Paşa

if

@gocen, o dizin içinde ./deviceQueryDrv
./deviceQuery
komutlarını çalıştırdınız mı?


gocen

evet çalıştırdım
bash: ./deviceQuery: No such file or directory
zaten make yaparken hatalar vermişti, tam derleyemedi heralde
Ayinesi iştir kişinin lafa bakılmaz,
Şahsın görünür, rütbe-i aklı eserinde.
Ziya Paşa

if


gocen

Controller (rev 09)
Subsystem: ASUSTeK Computer Inc. Device 1277
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>
Kernel driver in use: agpgart-intel

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: dc000000-dd0fffff
Prefetchable memory behind bridge: 00000000c0000000-00000000d1ffffff
Capabilities: [88] Subsystem: ASUSTeK Computer Inc. Device 1277
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [a0] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [140] Root Complex Link
Kernel driver in use: pcieport
Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 15f2
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at dd400000 (64-bit, non-prefetchable) [size=4M]
Memory at b0000000 (64-bit, prefetchable) [size=256M]
I/O ports at e000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915
Kernel modules: i915

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 1277
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at df60a000 (64-bit, non-prefetchable) [size=16]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+
Kernel driver in use: mei
Kernel modules: mei

00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Device 1277
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at df608000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
Subsystem: ASUSTeK Computer Inc. Device 1ac3
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at df600000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: dec00000-df5fffff
Prefetchable memory behind bridge: 00000000d3700000-00000000d40fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 1277
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: de200000-debfffff
Prefetchable memory behind bridge: 00000000d2c00000-00000000d35fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 1277
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: dd800000-de1fffff
Prefetchable memory behind bridge: 00000000d2100000-00000000d2afffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 1277
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Device 1277
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at df607000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci_hcd

00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
Subsystem: ASUSTeK Computer Inc. Device 1277
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>
Kernel modules: iTCO_wdt

00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])
Subsystem: ASUSTeK Computer Inc. Device 1277
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 42
I/O ports at e0b0 [size=8]
I/O ports at e0a0 [size=4]
I/O ports at e090 [size=8]
I/O ports at e080 [size=4]
I/O ports at e060 [size=32]
Memory at df606000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ahci
Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
Subsystem: ASUSTeK Computer Inc. Device 1277
Flags: medium devsel, IRQ 3
Memory at df605000 (64-bit, non-prefetchable) [size=256]
I/O ports at e040 [size=32]
Kernel modules: i2c-i801

01:00.0 VGA compatible controller: nVidia Corporation GF106 [GeForce GT 555M] (rev ff) (prog-if ff)
!!! Unknown header type 7f

03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: AzureWave Device 2c37
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at de200000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
Capabilities: [170] Power Budgeting <?>
Kernel driver in use: ath9k
Kernel modules: ath9k

04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 1277
Flags: bus master, fast devsel, latency 0, IRQ 41
I/O ports at a000 [size=256]
Memory at d2104000 (64-bit, prefetchable) [size=4K]
Memory at d2100000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
Kernel driver in use: r8169
Kernel modules: r8169
Ayinesi iştir kişinin lafa bakılmaz,
Şahsın görünür, rütbe-i aklı eserinde.
Ziya Paşa

if

./deviceQuery komutunu görmemesi normal değil.

if

@gocen, şöyle deneyelim bir de: sudo ironhide-enablecard sonra matlab komutlarını da sudo kullanarak açlıştır.

gocen

malesef  :(
>> cpu_x = rand(1,75*1e6)*10*pi;
>> sudo gpu_x = gpuArray(cpu_x);
Undefined function 'sudo' for input arguments of type 'char'.

>> gpu_x = gpuArray(cpu_x);
Error using gpuArray (line 28)
No device supporting CUDA was found.
Ayinesi iştir kişinin lafa bakılmaz,
Şahsın görünür, rütbe-i aklı eserinde.
Ziya Paşa

if

@gocen, tıkandım:) Tek önerim kaldı, nvidia ya da genel foruma gerekli çıktılarla beraber detaylı bilgiler içeren bir başlık açmak.

gocen

:) teşekkürler @if eğer oradan bi sonuç çıkarsa buraya aktarırım
Ayinesi iştir kişinin lafa bakılmaz,
Şahsın görünür, rütbe-i aklı eserinde.
Ziya Paşa

if

Alıntı yapılan: gocen - 26 Ekim 2011 - 12:01:57
:) teşekkürler @if eğer oradan bi sonuç çıkarsa buraya aktarırım
Rica ederim.

gocen

gedit ~/.bashrc
@if bu yukarıdaki komutla ne demek istemiştin, cuda kurulumunu anlatan
http://karytech.blogspot.com/2011/09/how-to-install-cuda-40-on-ubuntu-1010.html
burdaki yazıda da ~./bashrc içine bişey yazmamı söylüyo da
bu ~./bashrc dosyası tam olarak nerde oluyo
Ayinesi iştir kişinin lafa bakılmaz,
Şahsın görünür, rütbe-i aklı eserinde.
Ziya Paşa

if

Ev dizini altında gizli bir dosyadır. "~/" ev dizinini işaret eder.

gocen

#94
NVIDIA_GPU_Computing_SDK dizinine make komutu verildiğinde aldığım çıktı şöyle
make[1]: Entering directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/shared'
make[1]: Leaving directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/shared'
make[1]: Entering directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C'
make[2]: Entering directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/common'
make[2]: Leaving directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/common'
make[2]: Entering directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/common'
make[2]: Leaving directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/common'
make[2]: Entering directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/common'
make[2]: Leaving directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/common'
make[2]: Entering directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/shared'
make[2]: Leaving directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/shared'
make -C src/MonteCarloMultiGPU/
make[2]: Entering directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/src/MonteCarloMultiGPU'
make[2]: Leaving directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/src/MonteCarloMultiGPU'
make -C src/eigenvalues/
make[2]: Entering directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/src/eigenvalues'
make[2]: Leaving directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/src/eigenvalues'
make -C src/dxtc/
make[2]: Entering directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/src/dxtc'
make[2]: Leaving directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/src/dxtc'
make -C src/quasirandomGenerator/
make[2]: Entering directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/src/quasirandomGenerator'
make[2]: Leaving directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/src/quasirandomGenerator'
make -C src/simpleAtomicIntrinsics/
make[2]: Entering directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/src/simpleAtomicIntrinsics'
make[2]: Leaving directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/src/simpleAtomicIntrinsics'
make -C src/postProcessGL/
make[2]: Entering directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/src/postProcessGL'
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ [enabled by default]
In file included from ../../common/inc/cutil_inline.h:20:0,
                 from main.cpp:65:
../../common/inc/cutil_inline_runtime.h:472:13: warning: unused parameter 'argc' [-Wunused-parameter]
../../common/inc/cutil_inline_runtime.h:472:13: warning: unused parameter 'argv' [-Wunused-parameter]
main.cpp:157:58: note: #pragma message: Note: Using Texture fmt GL_RGBA16F_ARB
main.cpp:177:11: warning: unused parameter 'appName' [-Wunused-parameter]
main.cpp:528:6: warning: unused parameter 'value' [-Wunused-parameter]
/usr/bin/ld: cannot find -lGL
/usr/bin/ld: cannot find -lGLU
/usr/bin/ld: cannot find -lXi
/usr/bin/ld: cannot find -lXmu
/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
make[2]: *** [../../bin/linux/release/postProcessGL] Error 1
make[2]: Leaving directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C/src/postProcessGL'
make[1]: *** [src/postProcessGL/Makefile.ph_build] Error 2
make[1]: Leaving directory `/home/mustafa/NVIDIA_GPU_Computing_SDK/C'
make: *** [all] Error 2

belki burdan bi yorum yapabilirsin
Ayinesi iştir kişinin lafa bakılmaz,
Şahsın görünür, rütbe-i aklı eserinde.
Ziya Paşa

if

gcc --version
dpkg -l | grep gcc
ne döndürüyor?

gocen

gcc --version
gcc (Ubuntu/Linaro 4.4.6-11ubuntu2) 4.4.6
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

dpkg -l | grep gcc
ii  gcc                                    4:4.6.1-2ubuntu5                        GNU C compiler
ii  gcc-4.4                                4.4.6-11ubuntu2                         GNU C compiler
ii  gcc-4.4-base                           4.4.6-11ubuntu2                         GCC, the GNU Compiler Collection (base package)
ii  gcc-4.4-multilib                       4.4.6-11ubuntu2                         GNU C compiler (multilib files)
ii  gcc-4.6                                4.6.1-9ubuntu3                          GNU C compiler
ii  gcc-4.6-base                           4.6.1-9ubuntu3                          GCC, the GNU Compiler Collection (base package)
ii  gcc-4.6-base:i386                      4.6.1-9ubuntu3                          GCC, the GNU Compiler Collection (base package)
ii  gcc-4.6-multilib                       4.6.1-9ubuntu3                          GNU C compiler (multilib files)
ii  gcc-multilib                           4:4.6.1-2ubuntu5                        GNU C compiler (multilib files)
ii  lib32gcc1                              1:4.6.1-9ubuntu3                        GCC support library (32 bit Version)
ii  libgcc1                                1:4.6.1-9ubuntu3                        GCC support library
ii  libgcc1:i386                           1:4.6.1-9ubuntu3                        GCC support library
Ayinesi iştir kişinin lafa bakılmaz,
Şahsın görünür, rütbe-i aklı eserinde.
Ziya Paşa

if

@gocen, bu[1] bağlantıya göre bir deneme yapalım. Önce gcc-4.3'ü kurmalısınız. Sonra common.mk dosyasının içindeki gcc'leri gcc-4.3'e çevirmelisiniz. NVCCFLAGS olarak --compiler-bindir=/usr/bin/g++-4.3 kullanmalısınız. Bundan sonra derlemeye geçebilirsiniz.

gocen

@if söylediklerinden çok bişey anlamadım ama
11.10'da gcc-4.3 depolarda yok heralde onu nasıl kurabiliriz
Ayinesi iştir kişinin lafa bakılmaz,
Şahsın görünür, rütbe-i aklı eserinde.
Ziya Paşa

if

@gocen, ya derleme yapacaksınız ya da chroot. Yalnız derleme yapmak bağımlılık sorunlarına yol açabilir. Şu surumda 10.04 ya da 10.10 kurup devam edebilirsiniz ya da chroot yapabilirsiniz.

chroot: https://help.ubuntu.com/community/BasicChroot