oclHashcat-plus + Ubuntu Desktop 12.04 + AMD Radeon 7600M
#1
Hi guys,

First off, and as this is my first post, thanks for Hashcat - what a tool! I work in infosec and use it pretty much, on every pentest.

Now, up until 8am this morning, I had a different laptop running a Nvidia GT 650 card and used optirun to run hashcat, worked fine. Then that laptop dissapeared.......long story!

Anyway, I now have a different laptop, a dell vostro with an AMD Radeon 7600 series - can i get hashcat working,,,,no!

The furthest ive got is this error:

mac [ ~/Tools/oclHashcat-plus-0.14 ]$ ./oclHashcat-plus64.bin -m 2500 /tmp/WPACAPTURE-01.CAP.HCCAP ~/Tools/Wordlists/rockyou.txt
ERROR: clGetDeviceIDs() -1

Now, I had a similar error to that before and it was due to a kernel not being found in the hashcat path, so i downloaded a new 7zip, from http://hashcat.net/files/oclHashcat-plus-0.14.7z and extracted with 7zip x oclHashcat-plus-0.14.7z, to make sure all kernels were there and in the correct path.....No dice!

So some output:

mac [ ~/Tools/oclHashcat-plus-0.14 ]$ clinfo

Number of platforms: 1
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 1.2 AMD-APP (1084.2)
Platform Name: AMD Accelerated Parallel Processing
Platform Vendor: Advanced Micro Devices, Inc.
Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices


Platform Name: AMD Accelerated Parallel Processing
Number of devices: 1
Device Type: CL_DEVICE_TYPE_CPU
Device ID: 4098
Board name:
Max compute units: 4
Max work items dimensions: 3
Max work items[0]: 1024
Max work items[1]: 1024
Max work items[2]: 1024
Max work group size: 1024
Preferred vector width char: 16
Preferred vector width short: 8
Preferred vector width int: 4
Preferred vector width long: 2
Preferred vector width float: 8
Preferred vector width double: 4
Native vector width char: 16
Native vector width short: 8
Native vector width int: 4
Native vector width long: 2
Native vector width float: 8
Native vector width double: 4
Max clock frequency: 2501Mhz
Address bits: 64
Max memory allocation: 2147483648
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 8
Max image 2D width: 8192
Max image 2D height: 8192
Max image 3D width: 2048
Max image 3D height: 2048
Max image 3D depth: 2048
Max samplers within kernel: 16
Max size of kernel argument: 4096
Alignment (bits) of base address: 1024
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: Yes
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to +ve and infinity: Yes
IEEE754-2008 fused multiply-add: Yes
Cache type: Read/Write
Cache line size: 64
Cache size: 32768
Global memory size: 8243982336
Constant buffer size: 65536
Max number of constant args: 8
Local memory type: Global
Local memory size: 32768
Kernel Preferred work group size multiple: 1
Error correction support: 0
Unified memory for Host and Device: 1
Profiling timer resolution: 1
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: Yes
Queue properties:
Out-of-Order: No
Profiling : Yes
Platform ID: 0x00007f0f3a411e00
Name: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Vendor: GenuineIntel
Device OpenCL C version: OpenCL C 1.2
Driver version: 1084.2 (sse2,avx)
Profile: FULL_PROFILE
Version: OpenCL 1.2 AMD-APP (1084.2)
Extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_popcnt

mac [ ~/Tools/oclHashcat-plus-0.14 ]$ dpkg-query --list | grep fglrx*

ii fglrx-amdcccle-experimental-9 2:9.010-0ubuntu0.3 Catalyst Control Center for the AMD graphics accelerators
ii fglrx-experimental-9 2:9.010-0ubuntu0.3 Experimental AMD binary Xorg driver and kernel module

mac [ ~/Tools/oclHashcat-plus-0.14 ]$ lspci | grep "VGA"

00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Thames XT/GL [Radeon HD 7600M Series]

mac [ ~/Tools/oclHashcat-plus-0.14 ]$ fglrxinfo

X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 12
Current serial number in output stream: 12


Now, this is the second attempt at getting this working. The first time, I went to amd and downloaded the catalyst driver and unpacked, chmod'd and executed. The gui popped up and i clicked on through. I then restarted ubuntu, as prompted, and ended up with a low graphics environment and basically borked the system. I managed to revert back to my previous xorg.conf, following the gui instructions; but it totally screwed up unity and I could barely get a shell to fix things. It left the whole laptop a bit unstable, so I reinstalled and with the output above, this is where I am now.

This time, ive installed the restricted driver from Ubuntu System Settings > Additional Drivers - i suspect this is what the problem is, but don't have the time to rebuild this laptop again, if the catalys install borks everything again. Big Grin

I know this isnt really a hashcat problem, its to do with X and the catalyst driver; however ubuntu forums tend to lean towards the gaming side of things, which isnt what i want. No disrespect meant!

So, has anyone else attempted to do what im doing?

I want to use my onboard VGA adapter to power X (normal ubuntu stuff) and the Radeon for hashcat only, like I did with bumblebee/optirun and my old nvidia card.

Any help would be greatly appreciated, its been about 16 hours since my old laptop ....dissapeared and im now really tired and need a little guidance.

P.S - Keep up the good work with hashcat, it's so much better than john ;-)

Good night!

T
#2
clGetDeviceIDs() -1 means no OpenCL devices were found. your output of clinfo only shows your CPU, not your GPU. this means the problem is with your driver or xorg configuration.

do not install fglrx from APT, this will not work. you must have Catalyst 13.1 for the current release of hashcat.

start by cleaning up all of the crap your distro installed:

Code:
aptitude purge "~i ?name(fglrx)"

then reboot.

then follow the catalyst installation steps detailed here: http://hashcat.net/wiki/doku.php?id=linu...d_catalyst
#3
cheers for the quick reply dioxide, I had a feeling you may have been online; googling earlier showed me you are helpful!

Will the catalyst driver break my ubuntu desktop again?

or does the below cmd make the driver install in the background, as it were:

amdconfig --adapter=all --initial -f

What im trying to achieve, is to have the driver installed but not used for X or running the ubuntu gui, just to be used for hashcat; is that possible?

missed that clinfo was picking up my CPU ;-S ---- tired now!

T
#4
Sorry dude, that didnt work. I followed the instuctions in this order:

aptitude install build-essential dkms unzip
aptitude build-dep fglrx

wget http://www2.ati.com/drivers/linux/amd-dr...x86_64.zip
unzip amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip

sh amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run

amdconfig --adapter=all --initial -f
reboot

It did the same as before. Dropped me to a low graphics version and then failed. I had to cp /etc/X11/xorg.conf.orignal-0 to /etc/X11/xorg.conf to get my displays back to how they should be.

Here's what is in the xorg.conf* files

mac [ ~ ]$ cat /etc/X11/xorg.conf

Section "Screen"
Identifier "Default Screen"
DefaultDepth 24
EndSection

Section "Module"
Load "glx"
EndSection

mac [ ~ ]$ cat /etc/X11/xorg.conf.failsafe

Section "Device"
Identifier "Configured Video Device"
Driver "fbdev"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

mac [ ~ ]$ cat /etc/X11/xorg.conf.fglrx-0

Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

mac [ ~ ]$ cat /etc/X11/xorg.conf.original-0

Section "Screen"
Identifier "Default Screen"
DefaultDepth 24
EndSection

Section "Module"
Load "glx"
EndSection

Section "Module"
Load "glx"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Default Screen"
DefaultDepth 24
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection


Hope someone can help.

Cheers,

T
#5
me again!

Ok still not working. Here's what ive done.

I started to think that when I used amdconfig, last night, to generate the xorg.conf file, that my second monitor was borking the setup file. So i unplugged it and and did the amdconfig again:

mac [ ~ ]$ sudo amdconfig --adapter=all --initial
[sudo] password for mac:

Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.original-2

mac [ ~ ]$ cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "fbdev"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Here's the original:

mac [ ~ ]$ cat /etc/X11/xorg.conf.original-2
Section "Device"
Identifier "Configured Video Device"
Driver "fbdev"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

I know Ive got the right driver and OpenCL version, as ive read this thread, http://hashcat.net/forum/thread-2030-page-3.html where @Wolf_Blitzer had a driver problem, so here's my clinfo:

mac [ ~ ]$ clinfo
Number of platforms: 1
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 1.2 AMD-APP (1084.4)
Platform Name: AMD Accelerated Parallel Processing
Platform Vendor: Advanced Micro Devices, Inc.
Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices


Platform Name: AMD Accelerated Parallel Processing
Number of devices: 1
Device Type: CL_DEVICE_TYPE_CPU
Device ID: 4098
Board name:
Max compute units: 4
Max work items dimensions: 3
Max work items[0]: 1024
Max work items[1]: 1024
Max work items[2]: 1024
Max work group size: 1024
Preferred vector width char: 16
Preferred vector width short: 8
Preferred vector width int: 4
Preferred vector width long: 2
Preferred vector width float: 8
Preferred vector width double: 4
Native vector width char: 16
Native vector width short: 8
Native vector width int: 4
Native vector width long: 2
Native vector width float: 8
Native vector width double: 4
Max clock frequency: 1200Mhz
Address bits: 64
Max memory allocation: 2147483648
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 8
Max image 2D width: 8192
Max image 2D height: 8192
Max image 3D width: 2048
Max image 3D height: 2048
Max image 3D depth: 2048
Max samplers within kernel: 16
Max size of kernel argument: 4096
Alignment (bits) of base address: 1024
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: Yes
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to +ve and infinity: Yes
IEEE754-2008 fused multiply-add: Yes
Cache type: Read/Write
Cache line size: 64
Cache size: 32768
Global memory size: 8243982336
Constant buffer size: 65536
Max number of constant args: 8
Local memory type: Global
Local memory size: 32768
Kernel Preferred work group size multiple: 1
Error correction support: 0
Unified memory for Host and Device: 1
Profiling timer resolution: 1
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: Yes
Queue properties:
Out-of-Order: No
Profiling : Yes
Platform ID: 0x00007fd9bb09fee0
Name: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Vendor: GenuineIntel
Device OpenCL C version: OpenCL C 1.2
Driver version: 1084.4 (sse2,avx)
Profile: FULL_PROFILE
Version: OpenCL 1.2 AMD-APP (1084.4)
Extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt

the driver was downloaded from amd and is the 13.1, installed correctly following all defaults in the gui.

When i try and use hashcat to do a dictionary attack on a wpa psk:

~/Tools/oclHashcat-plus-0.14 ]$ ./oclHashcat-plus64.bin -m 2500 /tmp/WPA-01.CAP.HCCAP.HCCAP ~/Tools/Wordlists/rockyou.txt
ERROR: clGetDeviceIDs() -1

However, whenever I reboot. It passes the purple splash screen and then I get the "you are now running in low graphics etc etc " and I get options to reconfigure. To fix, i drop down to a tty using CTRL+ALT+F1 and sudo cp /etx/X11/xorg.conf.failsafe /etc/X11/xorg.conf, reboot and I get my desktop back.

Any help will be greatly appreciated. I'm not that experianced with X11 stuff but know my way around a linux box, enough to know that i dont *think* im doing anything stupid!

Cheers,

T
#6
More info from /var/log/Xorg.0.log.old <---- renamed due to me replacing xorg.conf with xorg.conf-failsafe

Looks like im getting a segfault!

tail -n 1000 /var/log/Xorg.0.log.old
[ 67.950]
X.Org X Server 1.11.3
Release Date: 2011-12-16
[ 67.950] X Protocol Version 11, Revision 0
[ 67.950] Build Operating System: Linux 2.6.42-37-generic x86_64 Ubuntu
[ 67.950] Current Operating System: Linux pentest 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64
[ 67.950] Kernel command line: BOOT_IMAGE=/vmlinuz-3.2.0-23-generic root=/dev/mapper/pentest-root ro quiet splash vt.handoff=7
[ 67.950] Build Date: 11 April 2013 01:05:39PM
[ 67.950] xorg-server 2:1.11.4-0ubuntu10.13 (For technical support please see http://www.ubuntu.com/support)
[ 67.950] Current version of pixman: 0.24.4
[ 67.950] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 67.950] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 67.950] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 21 12:38:40 2013
[ 67.950] (==) Using config file: "/etc/X11/xorg.conf"
[ 67.950] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 67.950] (==) ServerLayout "aticonfig Layout"
[ 67.950] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[ 67.950] (**) | |-->Monitor "aticonfig-Monitor[0]-0"
[ 67.950] (**) | |-->Device "aticonfig-Device[0]-0"
[ 67.950] (==) Automatically adding devices
[ 67.950] (==) Automatically enabling devices
[ 67.950] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 67.950] Entry deleted from font path.
[ 67.950] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 67.950] Entry deleted from font path.
[ 67.950] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 67.950] Entry deleted from font path.
[ 67.950] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 67.950] Entry deleted from font path.
[ 67.950] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 67.950] Entry deleted from font path.
[ 67.950] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[ 67.950] Entry deleted from font path.
[ 67.950] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 67.950] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 67.950] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 67.950] (II) Loader magic: 0x7f841158bb00
[ 67.950] (II) Module ABI versions:
[ 67.950] X.Org ANSI C Emulation: 0.4
[ 67.950] X.Org Video Driver: 11.0
[ 67.950] X.Org XInput driver : 16.0
[ 67.950] X.Org Server Extension : 6.0
[ 67.951] (--) PCI:*(0:0:2:0) 8086:0166:1028:056e rev 9, Mem @ 0xc3000000/4194304, 0xb0000000/268435456, I/O @ 0x00005000/64
[ 67.951] (--) PCI: (0:1:0:0) 1002:6840:1028:056e rev 0, Mem @ 0xa0000000/268435456, 0xc2000000/131072, I/O @ 0x00004000/256, BIOS @ 0x????????/131072
[ 67.951] (II) Open ACPI successful (/var/run/acpid.socket)
[ 67.951] (II) "extmod" will be loaded by default.
[ 67.951] (II) "dbe" will be loaded by default.
[ 67.951] (II) "glx" will be loaded by default.
[ 67.951] (II) "record" will be loaded by default.
[ 67.951] (II) "dri" will be loaded by default.
[ 67.951] (II) "dri2" will be loaded by default.
[ 67.951] (II) LoadModule: "extmod"
[ 68.006] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 68.006] (II) Module extmod: vendor="X.Org Foundation"
[ 68.006] compiled for 1.11.3, module version = 1.0.0
[ 68.006] Module class: X.Org Server Extension
[ 68.006] ABI class: X.Org Server Extension, version 6.0
[ 68.006] (II) Loading extension MIT-SCREEN-SAVER
[ 68.006] (II) Loading extension XFree86-VidModeExtension
[ 68.006] (II) Loading extension XFree86-DGA
[ 68.006] (II) Loading extension DPMS
[ 68.006] (II) Loading extension XVideo
[ 68.006] (II) Loading extension XVideo-MotionCompensation
[ 68.006] (II) Loading extension X-Resource
[ 68.006] (II) LoadModule: "dbe"
[ 68.006] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 68.006] (II) Module dbe: vendor="X.Org Foundation"
[ 68.006] compiled for 1.11.3, module version = 1.0.0
[ 68.006] Module class: X.Org Server Extension
[ 68.006] ABI class: X.Org Server Extension, version 6.0
[ 68.006] (II) Loading extension DOUBLE-BUFFER
[ 68.006] (II) LoadModule: "glx"
[ 68.006] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 68.006] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[ 68.006] compiled for 6.9.0, module version = 1.0.0
[ 68.006] (II) Loading extension GLX
[ 68.006] (II) LoadModule: "record"
[ 68.006] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 68.006] (II) Module record: vendor="X.Org Foundation"
[ 68.006] compiled for 1.11.3, module version = 1.13.0
[ 68.006] Module class: X.Org Server Extension
[ 68.006] ABI class: X.Org Server Extension, version 6.0
[ 68.006] (II) Loading extension RECORD
[ 68.006] (II) LoadModule: "dri"
[ 68.006] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 68.006] (II) Module dri: vendor="X.Org Foundation"
[ 68.006] compiled for 1.11.3, module version = 1.0.0
[ 68.007] ABI class: X.Org Server Extension, version 6.0
[ 68.007] (II) Loading extension XFree86-DRI
[ 68.007] (II) LoadModule: "dri2"
[ 68.007] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 68.007] (II) Module dri2: vendor="X.Org Foundation"
[ 68.007] compiled for 1.11.3, module version = 1.2.0
[ 68.007] ABI class: X.Org Server Extension, version 6.0
[ 68.007] (II) Loading extension DRI2
[ 68.007] (II) LoadModule: "fglrx"
[ 68.007] (II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
[ 68.246] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[ 68.246] compiled for 1.4.99.906, module version = 9.1.11
[ 68.246] Module class: X.Org Video Driver
[ 68.247] (II) Loading sub module "fglrxdrm"
[ 68.247] (II) LoadModule: "fglrxdrm"
[ 68.247] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
[ 68.266] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[ 68.266] compiled for 1.4.99.906, module version = 9.1.11
[ 68.266] (II) AMD Proprietary Linux Driver Version Identifier:9.01.11
[ 68.266] (II) AMD Proprietary Linux Driver Release Identifier: 9.012
[ 68.266] (II) AMD Proprietary Linux Driver Build Date: Dec 19 2012 14:41:10
[ 68.266] (++) using VT number 7

[ 68.266] (WW) Falling back to old probe method for fglrx
[ 68.293] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[ 68.296] ukiDynamicMajor: found major device number 249
[ 68.296] ukiDynamicMajor: found major device number 249
[ 68.296] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[ 68.296] ukiOpenDevice: node name is /dev/ati/card0
[ 68.296] ukiOpenDevice: open result is 8, (OK)
[ 69.113] ukiOpenByBusid: ukiOpenMinor returns 8
[ 69.113] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[ 69.266] (--) Chipset Supported AMD Graphics Processor (0x6840) found
[ 69.308] (II) fglrx: intel VGA device detected, load intel driver.
[ 69.308] (II) LoadModule: "intel"
[ 69.308] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 69.604] (II) Module intel: vendor="X.Org Foundation"
[ 69.604] compiled for 1.11.3, module version = 2.17.0
[ 69.604] Module class: X.Org Video Driver
[ 69.604] ABI class: X.Org Video Driver, version 11.0
[ 69.604] (II) AMD Video driver is running on a device belonging to a group targeted for this release
[ 69.605] (II) AMD Video driver is signed
[ 69.605] (II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
[ 69.605] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
[ 69.605] (II) fglrx(0): pEnt->device->identifier=0x7f8413599260
[ 69.606] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 69.606] (II) intel(1): pEnt->device->identifier=(nil)
[ 69.606] (EE) Screen 1 deleted because of no matching config section.
[ 69.606] (II) UnloadModule: "intel"
[ 69.606] (II) Unloading intel
[ 69.606] (II) fglrx(0): === [xdl_xs111_atiddxPreInit] === begin
[ 69.607] (II) fglrx(0): PowerXpress: Discrete GPU is selected.
[ 69.716] (II) fglrx(0): PowerXpress: Diagnostic output from /usr/lib/fglrx/switchlibGL:
ln: failed to create symbolic link `/usr/lib/i386-linux-gnu/libGL.so': No such file or directory
ln: failed to create symbolic link `/usr/lib/i386-linux-gnu/libGL.so.1': No such file or directory
ln: failed to create symbolic link `/usr/lib/i386-linux-gnu/libGL.so.1.2': No such file or directory

[ 69.723] (EE) fglrx(0): PowerXpress: Invalid output from /usr/lib/fglrx/switchlibGL: unknow

[ 69.723] (EE) fglrx(0): PowerXpress: Switching libGL did not take effect.
[ 69.723] (EE) fglrx(0): PowerXpress: Fail to switch libGL link files.
[ 69.723] (WW) fglrx(0): PreInit PowerXpress failed!
Backtrace:
[ 69.766] 0: /usr/bin/X (xorg_backtrace+0x26) [0x7f84113209e6]
[ 69.766] 1: /usr/bin/X (0x7f8411198000+0x18c88a) [0x7f841132488a]
[ 69.766] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f84104be000+0xfcb0) [0x7f84104cdcb0]
[ 69.767] 3: /usr/lib/xorg/modules/drivers/fglrx_drv.so (xdl_xs111_atiddxFreeScreen+0xed) [0x7f840ce2f48d]
[ 69.767] 4: /usr/bin/X (xf86DeleteScreen+0x7c) [0x7f841123324c]
[ 69.767] 5: /usr/bin/X (InitOutput+0xad2) [0x7f8411227212]
[ 69.767] 6: /usr/bin/X (0x7f8411198000+0x3d5ed) [0x7f84111d55ed]
[ 69.767] 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7f840f34f76d]
[ 69.767] 8: /usr/bin/X (0x7f8411198000+0x3daad) [0x7f84111d5aad]
[ 69.767] Segmentation fault at address 0x38
[ 69.767]
Caught signal 11 (Segmentation fault). Server aborting
[ 69.767]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 69.767] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 69.767]
[ 69.822] ddxSigGiveUp: Closing log
[ 69.822] Server terminated with error (1). Closing log file.


Ive just about exhausted all my X knowledge now, any help appreciated here!

Cheers,

T
#7
Ok, really want to get this working, so started again.

Reinstalled ubuntu 12.04.1LTS

did:
Code:
sudo apt-get update ; apt-get upgrade -y
The following the install guide, here, did

Code:
sudo aptitude install build-essential dkms unzip
sudo aptitude build-dep fglrx

Then downloaded:

Code:
wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip
unpacked:

Code:
unzip amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip
installed:

Code:
sh amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run

Install log:

Code:
Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.

Creating symlink /var/lib/dkms/fglrx/9.012/source ->
                 /usr/src/fglrx-9.012

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
cd /var/lib/dkms/fglrx/9.012/build; sh make.sh --nohints --uname_r=3.2.0-23-generic --norootcheck.....
cleaning build area....

DKMS: build completed.

fglrx:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/3.2.0-23-generic/updates/dkms/

depmod.........

DKMS: install completed.
[Reboot] Kernel Module : update-initramfs

Rebooted

Same issue, "low graphics mode" gui, dropped to tty:

mac [ ~ ]$ cat /var/log/Xorg.0.log.old

Code:
[    22.511]
X.Org X Server 1.11.3
Release Date: 2011-12-16
[    22.511] X Protocol Version 11, Revision 0
[    22.511] Build Operating System: Linux 2.6.42-37-generic x86_64 Ubuntu
[    22.511] Current Operating System: Linux pentest 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64
[    22.511] Kernel command line: BOOT_IMAGE=/vmlinuz-3.2.0-23-generic root=/dev/mapper/pentest-root ro quiet splash vt.handoff=7
[    22.511] Build Date: 11 April 2013  01:05:39PM
[    22.511] xorg-server 2:1.11.4-0ubuntu10.13 (For technical support please see http://www.ubuntu.com/support)
[    22.511] Current version of pixman: 0.24.4
[    22.511]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    22.511] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    22.511] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 21 13:10:04 2013
[    22.511] (==) Using config file: "/etc/X11/xorg.conf"
[    22.511] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    22.512] (==) ServerLayout "aticonfig Layout"
[    22.512] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[    22.512] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[    22.512] (**) |   |-->Device "aticonfig-Device[0]-0"
[    22.512] (==) Automatically adding devices
[    22.512] (==) Automatically enabling devices
[    22.512] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    22.512]     Entry deleted from font path.
[    22.512] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    22.512]     Entry deleted from font path.
[    22.512] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    22.512]     Entry deleted from font path.
[    22.512] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    22.512]     Entry deleted from font path.
[    22.512] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    22.512]     Entry deleted from font path.
[    22.512] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[    22.512]     Entry deleted from font path.
[    22.512] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/Type1,
    built-ins
[    22.512] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    22.512] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[    22.512] (II) Loader magic: 0x7f3d53ad2b00
[    22.512] (II) Module ABI versions:
[    22.512]     X.Org ANSI C Emulation: 0.4
[    22.512]     X.Org Video Driver: 11.0
[    22.512]     X.Org XInput driver : 16.0
[    22.512]     X.Org Server Extension : 6.0
[    22.512] (--) PCI:*(0:0:2:0) 8086:0166:1028:056e rev 9, Mem @ 0xc3000000/4194304, 0xb0000000/268435456, I/O @ 0x00005000/64
[    22.512] (--) PCI: (0:1:0:0) 1002:6840:1028:056e rev 0, Mem @ 0xa0000000/268435456, 0xc2000000/131072, I/O @ 0x00004000/256, BIOS @ 0x????????/131072
[    22.512] (II) Open ACPI successful (/var/run/acpid.socket)
[    22.512] (II) "extmod" will be loaded by default.
[    22.512] (II) "dbe" will be loaded by default.
[    22.512] (II) "glx" will be loaded by default.
[    22.512] (II) "record" will be loaded by default.
[    22.512] (II) "dri" will be loaded by default.
[    22.512] (II) "dri2" will be loaded by default.
[    22.512] (II) LoadModule: "extmod"
[    22.549] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[    22.549] (II) Module extmod: vendor="X.Org Foundation"
[    22.549]     compiled for 1.11.3, module version = 1.0.0
[    22.549]     Module class: X.Org Server Extension
[    22.549]     ABI class: X.Org Server Extension, version 6.0
[    22.549] (II) Loading extension MIT-SCREEN-SAVER
[    22.549] (II) Loading extension XFree86-VidModeExtension
[    22.549] (II) Loading extension XFree86-DGA
[    22.549] (II) Loading extension DPMS
[    22.549] (II) Loading extension XVideo
[    22.549] (II) Loading extension XVideo-MotionCompensation
[    22.549] (II) Loading extension X-Resource
[    22.549] (II) LoadModule: "dbe"
[    22.549] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[    22.549] (II) Module dbe: vendor="X.Org Foundation"
[    22.549]     compiled for 1.11.3, module version = 1.0.0
[    22.549]     Module class: X.Org Server Extension
[    22.549]     ABI class: X.Org Server Extension, version 6.0
[    22.549] (II) Loading extension DOUBLE-BUFFER
[    22.549] (II) LoadModule: "glx"
[    22.549] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    22.549] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[    22.549]     compiled for 6.9.0, module version = 1.0.0
[    22.549] (II) Loading extension GLX
[    22.549] (II) LoadModule: "record"
[    22.549] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[    22.549] (II) Module record: vendor="X.Org Foundation"
[    22.549]     compiled for 1.11.3, module version = 1.13.0
[    22.549]     Module class: X.Org Server Extension
[    22.549]     ABI class: X.Org Server Extension, version 6.0
[    22.549] (II) Loading extension RECORD
[    22.549] (II) LoadModule: "dri"
[    22.549] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[    22.550] (II) Module dri: vendor="X.Org Foundation"
[    22.550]     compiled for 1.11.3, module version = 1.0.0
[    22.550]     ABI class: X.Org Server Extension, version 6.0
[    22.550] (II) Loading extension XFree86-DRI
[    22.550] (II) LoadModule: "dri2"
[    22.550] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    22.550] (II) Module dri2: vendor="X.Org Foundation"
[    22.550]     compiled for 1.11.3, module version = 1.2.0
[    22.550]     ABI class: X.Org Server Extension, version 6.0
[    22.550] (II) Loading extension DRI2
[    22.550] (II) LoadModule: "fglrx"
[    22.550] (II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
[    22.765] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[    22.765]     compiled for 1.4.99.906, module version = 9.1.11
[    22.765]     Module class: X.Org Video Driver
[    22.765] (II) Loading sub module "fglrxdrm"
[    22.765] (II) LoadModule: "fglrxdrm"
[    22.765] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
[    22.809] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[    22.809]     compiled for 1.4.99.906, module version = 9.1.11
[    22.809] (II) AMD Proprietary Linux Driver Version Identifier:9.01.11
[    22.809] (II) AMD Proprietary Linux Driver Release Identifier: 9.012                                
[    22.809] (II) AMD Proprietary Linux Driver Build Date: Dec 19 2012 14:41:10
[    22.809] (++) using VT number 7

[    22.809] (WW) Falling back to old probe method for fglrx
[    22.847] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[    22.850] ukiDynamicMajor: found major device number 249
[    22.850] ukiDynamicMajor: found major device number 249
[    22.850] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[    22.850] ukiOpenDevice: node name is /dev/ati/card0
[    22.850] ukiOpenDevice: open result is 8, (OK)
[    23.881] ukiOpenByBusid: ukiOpenMinor returns 8
[    23.881] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[    24.049] (--) Chipset Supported AMD Graphics Processor (0x6840) found
[    24.061] (II) fglrx: intel VGA device detected, load intel driver.
[    24.061] (II) LoadModule: "intel"
[    24.061] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    24.108] (II) Module intel: vendor="X.Org Foundation"
[    24.108]     compiled for 1.11.3, module version = 2.17.0
[    24.108]     Module class: X.Org Video Driver
[    24.108]     ABI class: X.Org Video Driver, version 11.0
[    24.108] (II) AMD Video driver is running on a device belonging to a group targeted for this release
[    24.109] (II) AMD Video driver is signed
[    24.109] (II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
[    24.109] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
[    24.109] (II) fglrx(0): pEnt->device->identifier=0x7f3d5440ce60
[    24.111] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    24.111] (II) intel(1): pEnt->device->identifier=(nil)
[    24.111] (EE) Screen 1 deleted because of no matching config section.
[    24.111] (II) UnloadModule: "intel"
[    24.111] (II) Unloading intel
[    24.111] (II) fglrx(0): === [xdl_xs111_atiddxPreInit] === begin
[    24.111] (II) fglrx(0): PowerXpress: Discrete GPU is selected.
[    24.243] (II) fglrx(0): PowerXpress: Diagnostic output from /usr/lib/fglrx/switchlibGL:
ln: failed to create symbolic link `/usr/lib/i386-linux-gnu/libGL.so': No such file or directory
ln: failed to create symbolic link `/usr/lib/i386-linux-gnu/libGL.so.1': No such file or directory
ln: failed to create symbolic link `/usr/lib/i386-linux-gnu/libGL.so.1.2': No such file or directory

[    24.264] (EE) fglrx(0): PowerXpress: Invalid output from /usr/lib/fglrx/switchlibGL: unknow

[    24.264] (EE) fglrx(0): PowerXpress: Switching libGL did not take effect.
[    24.264] (EE) fglrx(0): PowerXpress: Fail to switch libGL link files.
[    24.264] (WW) fglrx(0): PreInit PowerXpress failed!
Backtrace:
[    24.644] 0: /usr/bin/X (xorg_backtrace+0x26) [0x7f3d538679e6]
[    24.644] 1: /usr/bin/X (0x7f3d536df000+0x18c88a) [0x7f3d5386b88a]
[    24.644] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f3d52a05000+0xfcb0) [0x7f3d52a14cb0]
[    24.644] 3: /usr/lib/xorg/modules/drivers/fglrx_drv.so (xdl_xs111_atiddxFreeScreen+0xed) [0x7f3d4f37648d]
[    24.644] 4: /usr/bin/X (xf86DeleteScreen+0x7c) [0x7f3d5377a24c]
[    24.644] 5: /usr/bin/X (InitOutput+0xad2) [0x7f3d5376e212]
[    24.644] 6: /usr/bin/X (0x7f3d536df000+0x3d5ed) [0x7f3d5371c5ed]
[    24.644] 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7f3d5189676d]
[    24.644] 8: /usr/bin/X (0x7f3d536df000+0x3daad) [0x7f3d5371caad]
[    24.644] Segmentation fault at address 0x38
[    24.644]
Caught signal 11 (Segmentation fault). Server aborting
[    24.644]
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
[    24.644] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    24.644]
[    24.701]  ddxSigGiveUp: Closing log
[    24.701] Server terminated with error (1). Closing log file.

Seg fault again! Could it be my version of X?

I dont know anything about X and am really struggling...

Surely, someone must have achieve/tried to achieve what im doing - I dont want to use the RADEON to display my gui, only for hashcat.

T
#8
Okay - I got it working!!!!

It's a bit of a fudge and I dont know what the performance will be like but I have the following working.

Dell Vostro 3650 with AMD Radeon HD 7600M Series in Hybrid mode (Intel VGA driver running ubuntu and AMD Catalyst for Hashcat)

Here's how i did it.

Fresh 12.04.1 LTS x86_64 install

update

Code:
sudo apt-get update ; sudo apt-get upgrade -y

install some other bits and bobs for building the package and some 32 bit libs:

Code:
sudo apt-get install ia32-libs lib32gcc1 libc6-i386 build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases linux-headers-generic xserver-xorg-core libgcc1

link 32 bit libs to 64 bit libs

Code:
cd /usr ; sudo ln -svT lib /usr/lib64
Get the ati catalyst driver

Code:
wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip

Build a dpkg rather than running the install script:

Code:
sudo sh ./amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run --buildpkg Ubuntu/precise

install your debs:

Code:
sudo dpkg -i fglrx*.deb

Build a new xorg.conf file

Code:
sudo aticonfig --initial -f

OPTIONAL - enable dual monitors

Code:
sudo aticonfig --set-pcs-str="DDX,EnableRandR12,FALSE"

discrete GPU mode (important for me as i wanted intel to run ubuntu)

Code:
sudo aticonfig --px-dgpu

reboot

Code:
sudo reboot

Fingers crossed you dont get the dreaded "running in low graphics mode"

Test your setup:

Code:
fglrxinfo

display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7600M Series
OpenGL version string: 4.2.12002 Compatibility Profile Context 9.012

Code:
clinfo
Number of platforms:                 1
  Platform Profile:                 FULL_PROFILE
  Platform Version:                 OpenCL 1.2 AMD-APP (1084.4)
  Platform Name:                 AMD Accelerated Parallel Processing
  Platform Vendor:                 Advanced Micro Devices, Inc.
  Platform Extensions:                 cl_khr_icd cl_amd_event_callback cl_amd_offline_devices


  Platform Name:                 AMD Accelerated Parallel Processing
Number of devices:                 2
  Device Type:                     CL_DEVICE_TYPE_GPU
  Device ID:                     4098
  Board name:                     AMD Radeon HD 7600M Series
  Device Topology:                 PCI[ B#1, D#0, F#0 ]
  Max compute units:                 6
  Max work items dimensions:             3
    Max work items[0]:                 256
    Max work items[1]:                 256
    Max work items[2]:                 256
  Max work group size:                 256
  Preferred vector width char:             16
  Preferred vector width short:             8
  Preferred vector width int:             4
  Preferred vector width long:             2
  Preferred vector width float:             4
  Preferred vector width double:         0
  Native vector width char:             16
  Native vector width short:             8
  Native vector width int:             4
  Native vector width long:             2
  Native vector width float:             4
  Native vector width double:             0
  Max clock frequency:                 600Mhz
  Address bits:                     32
  Max memory allocation:             134217728
  Image support:                 Yes
  Max number of images read arguments:         128
  Max number of images write arguments:         8
  Max image 2D width:                 16384
  Max image 2D height:                 16384
  Max image 3D width:                 2048
  Max image 3D height:                 2048
  Max image 3D depth:                 2048
  Max samplers within kernel:             16
  Max size of kernel argument:             1024
  Alignment (bits) of base address:         2048
  Minimum alignment (bytes) for any datatype:     128
  Single precision floating point capability
    Denorms:                     No
    Quiet NaNs:                     Yes
    Round to nearest even:             Yes
    Round to zero:                 Yes
    Round to +ve and infinity:             Yes
    IEEE754-2008 fused multiply-add:         Yes
  Cache type:                     None
  Cache line size:                 0
  Cache size:                     0
  Global memory size:                 536870912
  Constant buffer size:                 65536
  Max number of constant args:             8
  Local memory type:                 Scratchpad
  Local memory size:                 32768
  Kernel Preferred work group size multiple:     64
  Error correction support:             0
  Unified memory for Host and Device:         0
  Profiling timer resolution:             1
  Device endianess:                 Little
  Available:                     Yes
  Compiler available:                 Yes
  Execution capabilities:                
    Execute OpenCL kernels:             Yes
    Execute native function:             No
  Queue properties:                
    Out-of-Order:                 No
    Profiling :                     Yes
  Platform ID:                     0x00007f9ce1fadee0
  Name:                         Turks
  Vendor:                     Advanced Micro Devices, Inc.
  Device OpenCL C version:             OpenCL C 1.2
  Driver version:                 1084.4
  Profile:                     FULL_PROFILE
  Version:                     OpenCL 1.2 AMD-APP (1084.4)
  Extensions:                     cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt


  Device Type:                     CL_DEVICE_TYPE_CPU
  Device ID:                     4098
  Board name:                    
  Max compute units:                 4
  Max work items dimensions:             3
    Max work items[0]:                 1024
    Max work items[1]:                 1024
    Max work items[2]:                 1024
  Max work group size:                 1024
  Preferred vector width char:             16
  Preferred vector width short:             8
  Preferred vector width int:             4
  Preferred vector width long:             2
  Preferred vector width float:             8
  Preferred vector width double:         4
  Native vector width char:             16
  Native vector width short:             8
  Native vector width int:             4
  Native vector width long:             2
  Native vector width float:             8
  Native vector width double:             4
  Max clock frequency:                 1200Mhz
  Address bits:                     64
  Max memory allocation:             2147483648
  Image support:                 Yes
  Max number of images read arguments:         128
  Max number of images write arguments:         8
  Max image 2D width:                 8192
  Max image 2D height:                 8192
  Max image 3D width:                 2048
  Max image 3D height:                 2048
  Max image 3D depth:                 2048
  Max samplers within kernel:             16
  Max size of kernel argument:             4096
  Alignment (bits) of base address:         1024
  Minimum alignment (bytes) for any datatype:     128
  Single precision floating point capability
    Denorms:                     Yes
    Quiet NaNs:                     Yes
    Round to nearest even:             Yes
    Round to zero:                 Yes
    Round to +ve and infinity:             Yes
    IEEE754-2008 fused multiply-add:         Yes
  Cache type:                     Read/Write
  Cache line size:                 64
  Cache size:                     32768
  Global memory size:                 8243982336
  Constant buffer size:                 65536
  Max number of constant args:             8
  Local memory type:                 Global
  Local memory size:                 32768
  Kernel Preferred work group size multiple:     1
  Error correction support:             0
  Unified memory for Host and Device:         1
  Profiling timer resolution:             1
  Device endianess:                 Little
  Available:                     Yes
  Compiler available:                 Yes
  Execution capabilities:                
    Execute OpenCL kernels:             Yes
    Execute native function:             Yes
  Queue properties:                
    Out-of-Order:                 No
    Profiling :                     Yes
  Platform ID:                     0x00007f9ce1fadee0
  Name:                         Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
  Vendor:                     GenuineIntel
  Device OpenCL C version:             OpenCL C 1.2
  Driver version:                 1084.4 (sse2,avx)
  Profile:                     FULL_PROFILE
  Version:                     OpenCL 1.2 AMD-APP (1084.4)
  Extensions:                     cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt

crack a cheap wpa psk, just cause you can ;-)

Code:
./oclHashcat-plus64.bin -m 2500 /tmp/[i]REDACTED[/i]-01.CAP.HCCAP.HCCAP ~/Tools/Wordlists/rockyou.txt
oclHashcat-plus v0.14 by atom starting...

Hashes: 1 total, 1 unique salts, 1 unique digests
Bitmaps: 8 bits, 256 entries, 0x000000ff mask, 1024 bytes
Rules: 1
Workload: 16 loops, 8 accel
Watchdog: Temperature abort trigger set to 90c
Watchdog: Temperature retain trigger set to 80c
Device #1: Turks, 512MB, 600Mhz, 6MCU
Device #1: Kernel ./kernels/4098/m2500.Turks_1084.4_1084.4.kernel (1787592 bytes)

Generated dictionary stats for /home/mac/Tools/Wordlists/rockyou.txt: 139986396 bytes, 14350512 words, 14106170 keyspace                    

[i]REDACTED-REDACTED-2[/i]:wireless                    
                                            
Session.Name...: oclHashcat-plus
Status.........: Cracked
Input.Mode.....: File (/home/mac/Tools/Wordlists/rockyou.txt)
Hash.Target....: REDACTED-REDACTED-2 (??:??:??:??:??:?? <-> ??:??:??:??:??:??)
Hash.Type......: WPA/WPA2
Time.Started...: 0 secs
Speed.GPU.#1...:    14490/s
Recovered......: 1/1 (100.00%) Digests, 1/1 (100.00%) Salts
Progress.......: 50440/14106170 (0.36%)
Rejected.......: 44296/50440 (87.82%)
HWMon.GPU.#1...:  0% Util, 45c Temp, 30% Fan

Started: Fri Jun 21 15:19:59 2013
Stopped: Fri Jun 21 15:20:01 2013

Thanks to dioxide for putting me in the right path to begin with, it seems it was an xorg.conf issue and looking back at the xorg logs, a libs issue too!

Thanks to HashCat also, long live the good work of @atom and co.

Hope this helps someone else with a Radeon card, its so much simpler with nvidia.

PS - can an admin mark this as solved, if they are happy with the fix/fudge?

T
#9
What a mess! Well done fixing Smile