Results 1 to 50 of 376

Thread: (Guide) Installing Nvidia + Bumblebee + CUDA for Optimus enabled Laptops

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580

    Links for OFF-Line installation

    Great guide staticn0de!



    - This post edited with download links for an OFF-Line installation on Kali 1.1.0 -


    Download CUDA, VirtualGL, Nvidia, CudaHashcat, from previous posts above.
    This does not include Kali Linux updates or Headers. Just the extra packs required for this guide.
    All links point to Debian wheezy(stable) packages whenever possible or equivalent/default.
    • Scroll down the page at Debian and choose your architecture under "Download".
    • Choose a server to download from.

    All packs go in Home, the /root directory. Remove them when installation is done.
    Install from root with
    Code:
    dpkg -i name.deb


    (6.) Download and Install dependencies for CUDA and Pyrit.

    freeglut3-dev
    https://packages.debian.org/wheezy/freeglut3-dev

    libxmu-headers
    https://packages.debian.org/wheezy/libxmu-headers

    libxmu-dev
    https://packages.debian.org/wheezy/libxmu-dev

    libpcap-dev
    https://packages.debian.org/wheezy/libpcap-dev



    (9.) Download and Install bumblebee and primus.

    linux-headers (another "linux headers")(mine was linux-headers-amd64_3.18+63+kali2.1_amd64.deb)
    http://ftp.tku.edu.tw/kali/pool/main/l/linux-latest/

    dkms
    https://packages.debian.org/wheezy/dkms

    bbswitch-dkms
    https://packages.debian.org/wheezy-b.../bbswitch-dkms

    bumblebee
    https://packages.debian.org/wheezy-backports/bumblebee

    primus-libs
    https://packages.debian.org/wheezy-b...ts/primus-libs

    primus
    https://packages.debian.org/wheezy-backports/primus



    Optional. Download and Install Pyrit and add-on for Nvidia CUDA.

    pyrit_svn 0.4.1-dev svn r308

    From Linux, enter in a console;
    Code:
    svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn
    That will download a folder in /root (Home) named, pyrit_svn
    That folder is pyrit 0.4.1 svn r308. You can then save that folder for later off-line installations.

    Built and install Pyrit and add CUDA support.

    Code:
    cd pyrit_svn/pyrit/
    Code:
    python setup.py build
    Code:
    python setup.py install
    Code:
    cd ../cpyrit_cuda/
    Code:
    python setup.py build
    Code:
    python setup.py install


    Total: 11 packs. 2,05 Mb
    Last edited by Quest; 2015-03-13 at 03:57.
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  2. #2
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Quest View Post
    Great guide staticn0de!

    Everyting worked well, until...




    my output was


    Any advice?

    Many thanks staticn0de I'm getting closer!
    I'm not sure what's causing that, but let's see if we can get you sorted out.

    To start, run:
    diff /usr/src/nvidia-current-331.67/Module.symvers /usr/src/nvidia-current-331.67/uvm/Module.symvers

    Any feedback from the above command means you need to delete the Module.symvers from the folder on the right and copy from the directory on the left into the directory on the right again. Once copied, run make in the uvm/ folder and copy it to /lib/modules/3.14-kali1-amd64/updates/dkms/

    Post the feedback from below:
    echo $PATH

    Post the feedback from:
    cat /etc/modprobe.d/nvidia.conf

    Post the feedback from:
    ls /lib/modules/3.14-kali1-amd64/updates/dkms

    Run modprobe nvidia-uvm and then run dmesg right after. Post the output in code brackets.

    Run lsmod and post output in code brackets

    You could also try modprobe nvidia and then modprobe nvidia-current and then modprobe nvidia-uvm

    Edit: Some other cool stuff you could try is a:
    depmod -a
    modprobe nvidia-uvm

    and then post the output of:
    cat /lib/modules/3.14-kali1-amd64/modules.dep | grep -i nvidia
    Last edited by staticn0de; 2014-07-08 at 07:09.

Similar Threads

  1. Replies: 6
    Last Post: 2017-01-04, 19:39
  2. NVIDIA and CUDA with OPTIMUS
    By jolubedju in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2014-06-03, 10:52
  3. Kali Linux 1.05 nvidia optimus cuda and pyrit
    By gfbaggio in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2014-04-28, 20:15

Posting Permissions

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