ERROR: clGetDeviceIDs() -1 on Ubuntu server 12.04
#3
Just realized you said you're running Ubuntu Server. This is fine, but I suspect your issue is that you did not manually install X11. Unfortunately X11 is required for fglrx to actually communicate with your GPUs (this has actually changed in Catalyst 12.10+, X-less setups are now possible but X is still required to use ADL commands to get/set fanspeed, etc.)

Install a minimal X11 environment:

Code:
aptitude install xserver-xorg xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-video-ati lightdm unity-greeter openbox

Then, edit /etc/lightdm/lightdm.conf and add the following (replacing YOUR_USER_NAME with the user you will be running hashcat as):

Code:
[SeatDefaults]
greeter-session=unity-greeter
user-session=openbox
autologin-user=YOUR_USER_NAME
autologin-user-timeout=0

Then add your username to the nopasswdlogin group:

Code:
usermod -a -G nopasswdlogin $USERNAME

Get build dependencies for Catalyst:

Code:
aptitude build-dep fglrx

Download and install Catalyst 12.8:

Code:
wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-8-x86.x86_64.zip
unzip amd-driver-installer-12-8-x86.x86_64.zip
sh amd-driver-installer-8.982-x86.x86_64.run --uninstall=force
sh amd-driver-installer-8.982-x86.x86_64.run

Generate a new xorg.conf:

Code:
rm -f /etc/X11/xorg.conf*
amdconfig --adapter=all --initial

Make sure the DISPLAY env var is set:

Code:
echo 'export DISPLAY=:0' >>~/.bashrc

Reboot, and you should be all set.


Messages In This Thread
RE: ERROR: clGetDeviceIDs() -1 on Ubuntu server 12.04 - by epixoip - 11-19-2012, 10:26 PM