Results 1 to 5 of 5

Thread: 2x GTX780 and Pyrit doesnt work, helpme please!

  1. #1
    Join Date
    2014-Jul
    Posts
    3

    Lightbulb 2x GTX780 and Pyrit doesnt work, helpme please!

    Hello friends,
    since 1.5 weeks now I'm trying in vain to install already pyrite Supports with Cuda. To my Configuration:

    Kali Linux 1.0.8
    CPU Intel 4770k
    2x EVGA GTX 780 Hydro Copper
    Board Gigabyte GA-Z97X-SOC Force
    16 GB Ram

    Ursrpünglich it was the Kali version 1.0.7, but I have updated it with apt-get distr-upgrade.
    Then I have the nvidia driver installed (I think it also has to function properly, as it appears in the applications as "NVIDIA X Server Settings".

    When I enter the following commands in the terminal, the following issues appear


    Code:
     lspci | grep -i vga
    01:00.0 VGA compatible controller: NVIDIA Corporation Device 1004 (rev a1)

    Code:
    root@kai:~/pyrit-0.4.0# pyrit list_cores
    ERROR: could not insert 'nvidia_uvm': Invalid argument
    Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3+
    
    The following cores seem available...
    #1:  'CPU-Core (SSE2)'
    #2:  'CPU-Core (SSE2)'
    #3:  'CPU-Core (SSE2)'
    #4:  'CPU-Core (SSE2)'
    #5:  'CPU-Core (SSE2)'
    #6:  'CPU-Core (SSE2)'
    #7:  'CPU-Core (SSE2)'
    #8:  'CPU-Core (SSE2)'
    Code:
    root@kai:~/pyrit-0.4.0# nvcc --version
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2012 NVIDIA Corporation
    Built on Fri_Sep_21_17:28:58_PDT_2012
    Cuda compilation tools, release 5.0, V0.2.1221


    Could you please help me in this matter because I'm very puzzled what I could do yet? If you think it makes the most sense again to reinstall the operating system, then that's no problem for me!

    I should mention that currently only 1x GTX 780 is installed and the second card the next week which will only be installed ....

  2. #2
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    You have installed a very old version of CUDA. Having not seen the NVIDIA version you are using, i'm going to hazard a guess its around the 331.XX version. That does not work out of the box with CUDA. This error gives it away:

    ERROR: could not insert 'nvidia_uvm': Invalid argument

    When you see the above error appear, run the command:
    Code:
    dmesg
    Do you see errors about symbols?

    Or you could download some newer drivers and get CUDA 6.0.

    Failing that, search for blackmoreops has he has written a guide on installing NVIDA which is very good.
    Last edited by staticn0de; 2014-07-29 at 07:47.

  3. #3
    Join Date
    2014-Jul
    Posts
    3
    Thank you for answer!

    I have formated my old system and installed the new Kali Version, with the new Nvidia Driver and Cuda.
    After the Install i write the full Package in my Repositories /etc/apt/sources.list from this site http://kaligr3y.blogspot.ie/2013/04/...ali-linux.html

    Now i would like to install the GPU and stopped with etc/init.d/gdm3 stop and i startet the chmod +x NVIDIA-Linux-x86_64-340.24 and ./NVIDIA-Linux-x86_64-340.24
    I accepted the EULA, and now come an Error Message, my Kernel is not okay and i can look in the logfile

    Code:
      GNU nano 2.2.6          Datei: nvidia-installer.log                           
    
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Sat Aug  2 01:35:33 2014
    installer version: 340.24
    
    PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    
    nvidia-installer command line:
        ./nvidia-installer
    
    Using: nvidia-installer ncurses user interface
    -> The file '/tmp/.X0-lock' exists and appears to contain the process ID '3977'$
    ERROR: You appear to be running an X server; please exit X before installing.  $
    ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer$

    Then i go step by step with this tutorial http://www.blackmoreops.com/2014/06/...le-cuda-pyrit/

    By Line Step 4: Install CPyrit-cuda


    Code:
    root@kali:~/cpyrit-cuda-0.4.0# python setup.py build
    The CUDA compiler and headers required to build kernel were not found. Trying to continue anyway...
    svn: ».« ist keine Arbeitskopie
    running build
    running build_ext
    /bin/sh: 1: nvcc: not found
    None
    Failed to execute command 'nvcc -V'
    Traceback (most recent call last):
      File "setup.py", line 175, in <module>
        setup(**setup_args)
      File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
        self.run_command(cmd_name)
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "setup.py", line 82, in run
        raise SystemError("Nvidia's CUDA-compiler 'nvcc' can't be " \
    SystemError: Nvidia's CUDA-compiler 'nvcc' can't be found.
    root@kali:~/cpyrit-cuda-0.4.0#

  4. #4
    Join Date
    2014-Jul
    Posts
    3
    dmesg is to big so i can’t post here

    Code:
    root@kali:~# dmesg
    [    0.000000] CPU0 microcode updated early to revision 0x1a, date = 2014-05-23
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 3.14-kali1-amd64 (debian-kernel@lists.debian.org) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Debian 3.14.5-1kali1 (2014-06-07)
    [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.14-kali1-amd64 root=/dev/mapper/kali-root ro initrd=/install/initrd.gz quiet
    [    0.000000] e820: BIOS-provided physical RAM
    [    0.699464] ohci-pci 0000:03:04.0: new USB bus registered, assigned bus number 5
    [    0.699465] xhci_hcd 0000:00:14.0: xHCI Host Controller
    [    0.699467] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 6
    [    0.699490] ohci-pci 0000:03:04.0: irq 18, io mem 0xf7202000
    [    0.699623] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003
    [    0.699625] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.699626] usb usb6: Product: xHCI Host Controller
    [    0.699626] usb usb6: Manufacturer: Linux 3.14-kali1-amd64 xhci_hcd
    [    0.699627] usb usb6: SerialNumber: 0000:00:14.0
    [    0.699743] hub 6-0:1.0: USB hub found
    Code:
    root@kali:~# lspci
    00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
    00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
    00:01.2 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x4 Controller (rev 06)
    00:14.0 USB controller: Intel Corporation Device 8cb1
    00:16.0 Communication controller: Intel Corporation Device 8cba
    00:1a.0 USB controller: Intel Corporation Device 8cad
    00:1b.0 Audio device: Intel Corporation Device 8ca0
    00:1c.0 PCI bridge: Intel Corporation Device 8c90 (rev d0)
    00:1c.2 PCI bridge: Intel Corporation Device 8c94 (rev d0)
    00:1c.3 PCI bridge: Intel Corporation Device 8c96 (rev d0)
    00:1d.0 USB controller: Intel Corporation Device 8ca6
    00:1f.0 ISA bridge: Intel Corporation Device 8cc4
    00:1f.2 SATA controller: Intel Corporation Device 8c82
    00:1f.3 SMBus: Intel Corporation Device 8ca2
    01:00.0 VGA compatible controller: NVIDIA Corporation GK110 [GeForce GTX 780] (rev a1)
    01:00.1 Audio device: NVIDIA Corporation GK110 HDMI Audio (rev a1)
    02:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200A PCI Express-to-PCI Bridge (rev 03)
    03:04.0 USB controller: NEC Corporation OHCI USB Controller (rev 43)
    03:04.1 USB controller: NEC Corporation OHCI USB Controller (rev 43)
    03:04.2 USB controller: NEC Corporation uPD72010x USB 2.0 Controller (rev 04)
    05:00.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 41)
    07:00.0 Ethernet controller: Qualcomm Atheros Killer E2200 Gigabit Ethernet Controller (rev 10)
    root@kali:~#

  5. #5
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Hey there,

    The nvcc not found is likely that cuda has not been added to $path.

    Run 'find / - name nvcc' and note where nvcc is. Add this path to your bashrc file. Make sure the libraries are also added. The steps you need are included in a how to I wrote on these forums. You don't need the bumblebee stuff but can follow the cuda components.

    As for dmesg, just the tail end is fine

Similar Threads

  1. Sound doesnt work
    By zakin0 in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2017-11-02, 07:34
  2. Replies: 1
    Last Post: 2017-09-23, 08:46

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •