12-14-2016, 12:14 AM
thanks Johnya
So I rebuilt my box completely from scratch with your pointers and my GPU is still not found.
Given my AMD based GPU the install is not straightforward so this is a list of updated steps I follow...
[Gone to: https://hashcat.net/wiki/doku.php?id=linux_server_howto
Given the note from Atom earlier in this thread I downloaded v16: ubuntu-16.04.1-server-amd64.iso
Installed it with solely the OpenSSH ticked (removed system utilities which is now ticked by default)
All other settings were left as their default]
[After first boot and login:]
sudo apt-get install aptitude
sudo apt-get update && sudo apt-get upgrade
sync && sudo reboot
[Then on next login:]
sudo dpkg --remove-architecture i386
sudo aptitude update && sudo aptitude -y full-upgrade
sync && sudo reboot
[I follow the link provided by johnya, and I issue] amdconfig --uninstall=force
[I get -bash: amdconfig: command not found so this suggests the drivers did not install]
sudo dpkg -S libOpenCL [gives me ... dpkg-query: no path found matching pattern *libOpenCL* ... so this should be good not to find any trace of the lib]
[Anyway I still issue] sudo find / -name libOpenCL\* -print0 | xargs -0 rm -rf
[I reboot the box]
[then I issue]
apt-get install ocl-icd-libopencl1 opencl-headers clinfo
[then I do a ] xz -d amdgpu-pro-16.40-348864.tar.xz
followed by a tar xvf amdgpu-pro-16.40-348864.tar
[which creates a amdgpu-pro-16.40-348864 folder
[At that point I updated the amd-pro install file to remove the 32 bit libraries]
[Also I update the following code too which is missing forward slash]
echo ${dir}${etc}${sourceparts}/amdgpu-pro.list
[to be replaced with ...]
echo ${dir}${etc}/${sourceparts}/amdgpu-pro.list
[then I run] ./amdgpu-pro-install [No output errors shown. Note that I run this as Atom suggested this version 16.40 should work with AMD based GPU earlier in the thread]
sudo reboot
[Next I run] whereis clinfo
clinfo: /usr/bin/clinfo /opt/amdgpu-pro/bin/clinfo /usr/share/man/man1/clinfo.1.gz
[both ] clinfo -I [give me: The output shows my CPU but nothing with regards my GPU ]
[Anyway I keep following the original howto so I then do the following:]
rm -rf ~/.hashcat/kernels
[then]
git clone https://github.com/hashcat/hashcat.git
cd hashcat
git submodule init
git submodule update
make
sudo make install
[I run] hashcat -I
[and same I still get the 1 device which is the following:
Device ID #1
Type : CPU
Can anybody help?
thanks
]
So I rebuilt my box completely from scratch with your pointers and my GPU is still not found.
Given my AMD based GPU the install is not straightforward so this is a list of updated steps I follow...
[Gone to: https://hashcat.net/wiki/doku.php?id=linux_server_howto
Given the note from Atom earlier in this thread I downloaded v16: ubuntu-16.04.1-server-amd64.iso
Installed it with solely the OpenSSH ticked (removed system utilities which is now ticked by default)
All other settings were left as their default]
[After first boot and login:]
sudo apt-get install aptitude
sudo apt-get update && sudo apt-get upgrade
sync && sudo reboot
[Then on next login:]
sudo dpkg --remove-architecture i386
sudo aptitude update && sudo aptitude -y full-upgrade
sync && sudo reboot
[I follow the link provided by johnya, and I issue] amdconfig --uninstall=force
[I get -bash: amdconfig: command not found so this suggests the drivers did not install]
sudo dpkg -S libOpenCL [gives me ... dpkg-query: no path found matching pattern *libOpenCL* ... so this should be good not to find any trace of the lib]
[Anyway I still issue] sudo find / -name libOpenCL\* -print0 | xargs -0 rm -rf
[I reboot the box]
[then I issue]
apt-get install ocl-icd-libopencl1 opencl-headers clinfo
[then I do a ] xz -d amdgpu-pro-16.40-348864.tar.xz
followed by a tar xvf amdgpu-pro-16.40-348864.tar
[which creates a amdgpu-pro-16.40-348864 folder
[At that point I updated the amd-pro install file to remove the 32 bit libraries]
[Also I update the following code too which is missing forward slash]
echo ${dir}${etc}${sourceparts}/amdgpu-pro.list
[to be replaced with ...]
echo ${dir}${etc}/${sourceparts}/amdgpu-pro.list
[then I run] ./amdgpu-pro-install [No output errors shown. Note that I run this as Atom suggested this version 16.40 should work with AMD based GPU earlier in the thread]
sudo reboot
[Next I run] whereis clinfo
clinfo: /usr/bin/clinfo /opt/amdgpu-pro/bin/clinfo /usr/share/man/man1/clinfo.1.gz
[both ] clinfo -I [give me: The output shows my CPU but nothing with regards my GPU ]
[Anyway I keep following the original howto so I then do the following:]
rm -rf ~/.hashcat/kernels
[then]
git clone https://github.com/hashcat/hashcat.git
cd hashcat
git submodule init
git submodule update
make
sudo make install
[I run] hashcat -I
[and same I still get the 1 device which is the following:
Device ID #1
Type : CPU
Can anybody help?
thanks
]