Results 1 to 8 of 8

Thread: ATI AMD 8xxxHD Series: installing ATI OpenCL with Pyrit

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2013-May
    Posts
    21

    ATI AMD 8xxxHD Series: installing ATI OpenCL with Pyrit

    Finally I got to work my discrete AMD Radeon HD 8730M with Pyrit through OpenCL.

    1. Remove previus fglrx driver (if have one)
    Code:
    apt-get remove fglrx*
    2. Install dependencies
    Code:
    apt-get install kernel-package ncurses-dev bzip2 dpkg-dev lib32gcc1 libc6-i386 dkms python-dev python-scapy linux-source
    apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 libqtgui4 execstack libelfg0 ia32-libs libcap-dev
    3. Install ATI beta driver (13.11 at the moment)
    Code:
    wget -c www2.ati.com/drivers/beta/amd-catalyst-13.11-beta6-linux-x86.x86_64.zip
    unzip amd-catalyst-13.11-beta6-linux-x86.x86_64.zip
    chmod +x amd-catalyst-13.11-beta6-linux-x86.x86_64.run
    ./amd-catalyst-13.11-beta6-linux-x86.x86_64.run
    5. Add radeon.modeset=0 to grub.cfg
    Code:
    vim /boot/grub/grub.cfg
    replace:
    linux /boot/vmlinuz-3.7-trunk-amd64 root=UUID=a035fc49-0b80-430b-bb37-913c9cc04124 ro initrd=/install/gtk/initrd.gz quiet
    with (UID and version may by different!):
    linux /boot/vmlinuz-3.7-trunk-amd64 root=UUID=a035fc49-0b80-430b-bb37-913c9cc04124 ro initrd=/install/gtk/initrd.gz quiet radeon.modeset=0

    6. reboot

    7. Remove old Pyrit
    Code:
    apt-get remove pyrit
    rm -rf /root/.pyrit /usr/local/bin/pyrit /usr/local/lib/python2.7/dist-packages/cpyrit* /usr/local/lib/python2.7/dist-packages/pyrit*
    8. Download and install AMD APP SDK
    get the last version at: developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/
    Code:
    tar xvfz AMD-APP-SDK-v2.9-lnx64.tgz 
    ./Install-AMD-APP.sh
    9. Add variables for AMD APP SDK
    Code:
    vim ~/.bashrc
    # add this lines: 
    export AMDAPPSDKROOT=/opt/AMDAPP
    export AMDAPPSDKSAMPLESROOT=/opt/AMDAPP/samples
    export LD_LIBRARY_PATH=${AMDAPPSDKROOT}lib/x86_64:${LD_LIBRARY_PATH}
    export ATISTREAMSDKROOT=$AMDAPPSDKROOT[/I]
    10. reboot

    11. Install Pyrit and Cpyrit-OpenCL
    Code:
    svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn
    cd pyrit_svn/pyrit
    ./setup.py build
    ./setup.py install
    
    cd ../cpyrit_opencl/
    ./setup.py build
    ./setup.py install
    12. Test GPU
    Code:
    pyrit list_cores
    pyrit benchmark
    TROUBLESHOOTING:
    If black screen after reboot or some other crush:
    boot into console mode and uninstall AMD driver
    Code:
    ./amd-catalyst-13.11-beta6-linux-x86.x86_64.run --uninstall
    rm /etc/X11/xorg.conf
    reboot
    ps.
    You can switch your Xserver between cards (restart required):
    Code:
    aticonfig --pxl # List current activated GPU
    aticonfig --px-dgpu # Activate discrete GPU (High-Performance mode)
    aticonfig --px-igpu # Activate integrated GPU (Power-Saving mode)
    However, Pyrit will work in both modes
    Last edited by 3t3st3r; 2013-11-26 at 20:23.

Similar Threads

  1. Pyrit OpenCL on AMD GPU python 2.7 error
    By BattlestarSC in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2017-04-29, 21:38
  2. Replies: 7
    Last Post: 2014-09-20, 03:28
  3. [Help] Install Pyrit with OpenCL
    By Kraako in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2013-03-27, 21:46

Posting Permissions

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