Commit Graph

208 Commits

Author SHA1 Message Date
Moritz Kick 69122fb554 Make linux-build POSIX compatible
Also allow it to actually compile on musl-libc systems.

From glibc's termio.h:
/* Compatible <termio.h> for old `struct termio' ioctl interface.
   This is obsolete; use the POSIX.1 `struct termios' interface
   defined in <termios.h> instead.  */
2016-06-29 18:23:08 +02:00
jsteube 8702d0e3e1 Workaround memory allocation limit from OpenCL by using multiple buffers for scrypt 2016-06-28 11:03:04 +02:00
jsteube 4ed8977e48 Dynamic tmp_t length for scrypt 2016-06-27 21:28:48 +02:00
Jens Steube 3370820109 Merge pull request #392 from unix-ninja/master
Various refactor changes
2016-06-27 18:51:00 +02:00
Unix-Ninja d8bb00cf77 Make POSIX limits.h explicit declaration 2016-06-27 08:18:50 -04:00
Unix-Ninja 2188a01ae9 Refactor OSX preprocessor constants to read 'DARWIN' 2016-06-27 08:13:50 -04:00
jsteube 115c95eb02 Use dedicated variables to control shutdown of parallel threads like keypress and monitoring 2016-06-27 12:13:46 +02:00
jsteube 0e68b2af25 Don't use device_processor_cores for scrypt 2016-06-26 22:59:52 +02:00
jsteube 6191e8bf79 Fix reset to automatic for NvAPI 2016-06-26 20:41:11 +02:00
jsteube 49811cfee1 Set fanspeed to automatic on shutdown
Increase retain temperature from 65c to 75c; Because GTX1080 hits its reference boost clocks of 1733mhz at 80c
2016-06-26 20:18:46 +02:00
Jens Steube e7df9b112a windows path update 2016-06-25 10:37:24 +02:00
Unix-Ninja fce2363fec Clean end-of-line output usage (not actually POSIX) 2016-06-24 18:08:02 -04:00
Jens Steube 1550b9de07 OSX didn't know about MAX_PATH, had to include limits.h; Use heap not stack memory 2016-06-24 21:40:11 +02:00
Jens Steube 6d2aa559a6 Windows doesn't accept escape characters, falling back to old method for windows 2016-06-24 21:29:23 +02:00
Jens Steube 268b1e3ad0 Remove workaround with multiple include folders; Instead use a naive escape function 2016-06-24 16:57:20 +02:00
Jens Steube 8298cd4926 Drop -m 190, no reason to keep it 2016-06-23 18:20:55 +02:00
jsteube 4444c17ec6 Speed up startup time for --stdout by using an empty kernel 2016-06-19 14:33:50 +02:00
jsteube 07acd52ed4 Some optical change on startup 2016-06-19 12:55:03 +02:00
jsteube d57ac912cc Fix https://github.com/hashcat/oclHashcat/issues/374
Fix https://github.com/hashcat/oclHashcat/issues/375
2016-06-19 10:08:55 +02:00
jsteube 2bd49e6720 Added --gpu-temp-retain support for windows through nvapi 2016-06-18 18:21:40 +02:00
jsteube 9a970c0955 Added support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU 2016-06-18 10:59:58 +02:00
jsteube 28505c350b Add commandline support to override cpu spinning damper for nvidia runtime 2016-06-16 07:46:24 +02:00
jsteube 5542e46022 Added option --stdout to print candidates instead of trying to crack a hash 2016-06-14 21:49:33 +02:00
Jens Steube 4f0709b3c9 Another slow-hash improvement 2016-06-14 10:18:42 +02:00
jsteube d275772b9f Fix for 100% CPU burning loop workaround for slow hashes 2016-06-14 09:17:03 +02:00
jsteube 8abc42e346 Simple, but effective workaround to solve the 100% CPU burning loop bug in Nvidias OpenCL runtime, works Linux and Windows, 0% cpu (alsmost), 100% performance in comparison to CPU burning loop variant. Replaces old previous try with overwritten clock_gettime() function 2016-06-13 23:50:49 +02:00
Jens Steube 3022abf956 some axcrypt fixes 2016-06-11 23:08:33 +02:00
jsteube b9eefd9b20 Added new hash-mode 13800 = Windows 8+ phone PIN/Password 2016-06-10 09:46:41 +02:00
jsteube 106e781a2f Fix some workload balancing issue 2016-06-06 21:39:11 +02:00
jsteube 829289b109 Fix calling conventions for external libraries (mingw doesn't handle it alone); Fix first print of PROMPT after autotune; 2016-06-04 00:54:28 +02:00
jsteube 2e706edc18 Do not show *throttle* in status display if the reason is unknown 2016-06-03 16:26:05 +02:00
jsteube 3e30b62bf6 Remove some ugly code from nvapi.h 2016-06-03 16:20:59 +02:00
jsteube 08934db58c Add NvAPI_GPU_GetPerfPoliciesInfo() and NvAPI_GPU_GetPerfPoliciesStatus() for later use 2016-06-03 16:08:32 +02:00
jsteube a3e6690a9c Remove union in hm_attrs_t; Remove code related to threshold_slowdown which will be replaced with NvGetPerfPoliciesInfo() 2016-06-03 15:37:53 +02:00
jsteube 040bbd416a More nvapi preparations and display skip reason in benchmark 2016-06-03 11:33:59 +02:00
jsteube 34bcbb3091 Prepare for reintegration of nvapi for checking thermal limit 2016-06-02 14:20:51 +02:00
jsteube 3c6296801a Prepare for reintegration of nvapi for checking thermal limit 2016-06-02 14:20:15 +02:00
Jens Steube 7ba1322d7f Redesign some of the kernel_power features like too small wordlist detection etc, now based on autotuning results 2016-06-02 12:32:24 +02:00
jsteube d329451cc1 Here it is: --powertune-enable for nvidia -- Works on both linux and windows 2016-06-01 19:01:44 +02:00
jsteube a23c0c4716 Added a ton of new NVML stuff 2016-06-01 00:57:57 +02:00
jsteube d89a8a68d6 Finally got rid of NvAPI on Windows, replace with NVML 2016-05-31 22:48:58 +02:00
jsteube 19e36694da Added support for --gpu-temp-retain for nvidia devices on windows
Disabled retain support by default, you can reactive it using --gpu-temp-retain
Completely get rid of HAVE_ADL, HAVE_NVML and HAVE_NVAPI in sources
2016-05-30 00:05:46 +02:00
jsteube 8ffbeac954 Add NvAPI_GPU_GetPerfDecreaseInfo() -- but i doesn't work, so deactive it 2016-05-29 20:51:52 +02:00
jsteube 63de7cdca8 Add NvAPI support for PCIE Lanes 2016-05-29 17:43:25 +02:00
jsteube 72384c1fc3 Add NVML support for PCIE Lanes 2016-05-29 16:54:07 +02:00
Jens Steube 53a4e0cbb7 Add PCI-E Lanes to status display, if available 2016-05-29 15:54:51 +02:00
Jens Steube 3e6ae89297 Add ADL_Overdrive6_TargetTemperatureData_Get() which for some reason does not work 2016-05-29 15:34:28 +02:00
jsteube 3e4badd9b4 Send a notice to user in case the drivers temperature threshold for slowdown is reached and a performance drop is expected due to throttling 2016-05-29 00:59:24 +02:00
jsteube 3227ef167e Added NvAPI support for querying current engine clock and current memory clock 2016-05-28 17:44:09 +02:00
jsteube 36def60bfa Added NVML support for querying current engine clock and current memory clock 2016-05-28 16:49:23 +02:00