Results 1 to 8 of 8

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

  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.

  2. #2
    Join Date
    2013-Mar
    Posts
    7
    What repos are you using? dh-modaliases seems to be missing on mine

  3. #3
    Join Date
    2013-May
    Posts
    21
    I'm using standard repos, but I added some extra packet, so it likely unwanted
    ps. removed it from post

  4. #4
    Join Date
    2014-Jun
    Posts
    5
    error amd catalyst 14.6 beta drivers(current): gpu not supported.

    my graphic card is AMD Radeon HD 8730M

  5. #5
    Join Date
    2014-Jun
    Posts
    2
    Kali version ???

  6. #6
    Join Date
    2014-Dec
    Location
    Poland
    Posts
    27
    hi, i have some problems with my ATI Radeon 8730M. I have installed drivers + AMD-APP-SDK-v2.9 + pyrit + cpyrit_opencl, but my GPU is no recognized. (I was trying also pyrit + cpyrit++ but there was some error when i was trying to run pyrit so i delete it). Installation went fine, there where no errors.

    root@localhost:~# uname -a
    Linux localhost 3.14-kali1-amd64 #1 SMP Debian 3.14.5-1kali1 (2014-06-07) x86_64 GNU/Linux

    root@localhost:~# pyrit list_cores
    Pyrit 0.4.1-dev (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/AES)'
    #2: 'CPU-Core (SSE2/AES)'
    #3: 'CPU-Core (SSE2/AES)'
    #4: 'CPU-Core (SSE2/AES)'

    root@localhost:~# fglrxinfo
    display: :0.0 screen: 0
    OpenGL vendor string: Advanced Micro Devices, Inc.
    OpenGL renderer string: AMD Radeon (TM) HD 8500M/8700M
    OpenGL version string: 4.4.12874 Compatibility Profile Context 14.10.1006.1001

    Could someone help me?

  7. #7
    Join Date
    2013-May
    Posts
    21
    its absolutely heartbroken but there is no way for kernel >=3.14 and hybrid AMD Radeon 8500M/8700M.
    maybe someday...

  8. #8
    Join Date
    2014-Dec
    Location
    Poland
    Posts
    27
    Thanks for reply! ... so i wasted 2 days for nothing ;-)

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
  •