hashcat beta and ubuntu 16.04 summary - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Developer (https://hashcat.net/forum/forum-39.html) +--- Forum: hashcat (https://hashcat.net/forum/forum-40.html) +--- Thread: hashcat beta and ubuntu 16.04 summary (/thread-5423.html) |
hashcat beta and ubuntu 16.04 summary - atom - 04-30-2016 There have been many issues reported when installing Ubuntu 16.04 and the latest beta (which is also the future release). I've installed it myself to see what's going on. Here we go:
For NVidia's GPU:
If you install those packages, you really want to do it like this: Code: $ apt-get install --no-install-recommends nvidia-361 nvidia-opencl-icd-361 Tripple check you did not install any other packages that begin with nvidia-* For AMD's GPU: You typically do _not_ want to install Ubuntu 16.04 because AMD stopped updating catalyst driver, also for the future. The latest Ubuntu that supports Catalyst is 15.10. AMD user have to decide to either switch Windows or use the OSS drivers. However, they are multiple times slower than Catalyst. If you absolutely want to stick to linux you need to switch to nvidia or wait and pray for better drivers. You have been warned.
Support is part of catalyst, which you can't install anymore. Therefore your last escape is to use pocl, which also does not exist as a Ubuntu package. You need to clone it from GitHub and compile it yourself. For Intel's GPU:
There's no ubuntu package, you need to install Intel's OpenCL SDK yourself (which is great!) RE: hashcat beta and ubuntu 16.04 summary - Mangix - 05-25-2016 AMD's driver is available for Ubuntu 16.04 now. http://phoronix.com/scan.php?page=news_item&px=AMD-GPU-PRO-Hybrid-16.20.3 RE: hashcat beta and ubuntu 16.04 summary - atom - 05-30-2016 Thanks. Anyone tried ? RE: hashcat beta and ubuntu 16.04 summary - devilsadvocate - 07-04-2016 (05-30-2016, 09:54 AM)atom Wrote: Thanks. Anyone tried ? I have completed a variation of an Ubuntu 16 install. I chose Desktop instead of server though. I had to work through a number of issues in order to get it to work. I am running a Asus Nvidia GTX 1080 Founders Edition with Ubuntu 16 Desktop. First, after installing to a hard drive from a USB drive, upon reboot, I got an "Out Of Range" error message on my monitor. After that, I had a black screen and couldn't even toggle to a non-graphical terminal (Ctrl-Alt-F1, Ctrl-Alt-F2, etc...). I couldn't even see the grub menu for recovery mode (or upstart). To solve this, I had to boot off the live USB in order to edit /boot/grub/grub.cfg. I added the word "nomodeset" to the top menu entry, on the linux line, after the word splash. This allowed me to boot into a working GUI. Next, was the actual Nvidia driver install. I used a similar method that has been outlined here: http://www.sandalssoftwareconsulting.com/2016/06/04/upgrading-to-nvidia-gtx-1080-on-ubuntu-16-04/ I added these lines to my /etc/apt/sources.lst #Nvidia proprietary drivers deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial main deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial main sudo apt-get remove nvidia* #switched to root su - apt-get update && apt-get upgrade apt-get install --no-install-recommends nvidia-367 nvidia-opencl-icd-367 reboot After the reboot, I seemed to have everything working, minus the GUI fan control available in nvidia-settings. That was easily fixed by running "nvidia-settings" and then going to the bottom option in the GUI, "nvidia-settings Configuration", then clicking on "Save Current Configuration" on the bottom right. After that I closed nvidia-settings and ran: "nvidia-xconfig --cool-bits=12" (4(thermal monitor page will allow configuration of GPU fan speed) + 8(allows setting per-clock domain and per-performance level offsets to apply to clock values) Finally, after a restart and I had the options in the nvidia-settings to control the fan speed manually. The only issue that remains at the end of this process is not seeing any grub menu during bootup. But everything else is functional so I can live with that. The remaining issues were reported by hashcat 3.00 on startup. I didn't have libx11-dev installed so I corrected that with, "sudo apt-get install libx11-dev". I also made the change to /etc/X11/xorg.conf, under Device to avoid the 702 error. https://hashcat.net/wiki/doku.php?id=timeout_patch Conclusion: I might try the headless server option in the near future, as opposed to the GUI desktop version of Ubuntu 16. I will report here if I do. One issue I predict is controlling clocks and fan speeds in a headless environment. How to do that has been posted here in these forums, but working that out will be interesting. Also, I went to all of this effort as a measure of troubleshooting. I was trying to run hashcat-3.00 in a Windows 10/Cygwin environment, but it was making the entire system crash (a full powerdown). It was doing this predictably. In other words, in the Windows 10/Cygwin environment, it would run for almost the same amount of time on every attempt before it would crash. It is also doing this in Ubuntu 16. I am still trying to rule out issues with the hardware as I am running hashcat 3.00 on a new build with fresh hardware. It is entirely possible that I may have lost the silicon lottery somewhere along the way. I will probably go buy another PSU to rule that out as well. I'm already thinking about changing out the motherboard, but that's another story altogether. Good night and good luck. RE: hashcat beta and ubuntu 16.04 summary - hashcrash - 08-12-2016 This is my first post after reading a lot in this forum. I just finished setting up the hardware of first my rig, which I will document in a different post later. I quickly installed ubuntu 16.04 and got hashcat running for my GTX 980 and 1070. By the way: I solved the "out of range" problem (HDMI related?) by "disabling" the cards first (my motherboard got switches for that), booting with the onboard GPU and installing the NVIDIA Driver. But I get the same warning about the initial fan speed like in this post. I guess that it messed up something with one of commands that found in the forum trying to set up the nvidia or X11 settings. I'll start over with a fresh install in the next days. I'd suggest to create a new bulletproof and tested HOW-TO like this one, but based on hashcat 3.0, ubuntu 16.04 LTS and nvidia drivers. I would test it with my GTX1070 and GTX980 and write the first version. The mentioned wiki article and atoms comments here are a nice baseline but I guess for newbies like me there are some things missing. We could add tuning tips for different nvidia cards which are flying around in the forum, but which aren't documented well (at least for hashcat 3.0). Do I have to install a minimal X11-Environment (NVIDIA cards!)? You, atom, say no in the first post of this thread, but talk about the xorg.conf in the other one. I am mixing something up, huh? Furthermore nvidia-settings complains without X11. Okay, lets start: 1. Install Ubuntu Server without anything except openssh. 2. Install some packages and disable multiarch (64-bit!): Code: sudo apt install ocl-icd-libopencl1 3. Add some repos and install the latest nvidia drivers (that means currently 367, correct?): Code: sudo add-apt-repository ppa:graphics-drivers/ppa Code: wget http://de.download.nvidia.com/XFree86/Linux-x86_64/367.35/NVIDIA-Linux-x86_64-367.35.run 4. Install Intel-GPU-Stuff: Code: sudo apt install beignet-opencl-icd 5. Install Intel-CPU-Stuff (do I really need the full sdk or just the runtime?): Code: wget something 6. X11 Stuff? I am referring to this post. What do I exactly have to set up? 7. Configure nvidia-settings and nvidia-xconfig. Special things for the different gpu models (980 vs 1070)? Here i ran into errors. 8. Install hashcat... 9. benchmark... .... I stopped here to see if I'll run into errors again. What do you think about the idea of a new HOWTO? And please answer my questions (bold). RE: hashcat beta and ubuntu 16.04 summary - hashcrash - 08-13-2016 For the moment I switched to 14.04 and did the configuration as described. I configured using: Code: sudo nvidia-xconfig -s -a --force-generate --allow-empty-initial-configuration --cool-bits=12 --registry-dwords="PerfLevelSrc=0x2222" --no-sli --connected-monitor="DFP-0" Code: sudo nvidia-settings -a GPUPowerMizerMode=1 -a GPUFanControlState=1 -a GPUCurrentFanSpeed=90 -a GPUGraphicsClockOffset[3]=100 So the "initial fan speed" issues persists, but I set the fan speed manually to 100% and used the --gpu-temp-disable option. Is there (beside reduced fan lifetime and higher power consumption) a problem with that? For me that's okay for the moment, but if I can help to spot this bug (or malconfiguration) just tell me which input you need. I'm using hashcat v3.00-69-g804ee28 with Code: OpenCL Platform #1: NVIDIA Corporation RE: hashcat beta and ubuntu 16.04 summary - yashar26 - 08-22-2016 (08-13-2016, 09:06 PM)hashcrash Wrote: For the moment I switched to 14.04 and did the configuration as described. Hey hascrash, how did you set your fans manually to 100 percent, I ve tried different options but that didn't work for me, I set the gpu-temp to 90 , but after a 10 mins it cuts saying i ve reached my max temp RE: hashcat beta and ubuntu 16.04 summary - hashcrash - 08-22-2016 Like this: Code: nvidia-settings -a [gpu:0]/GPUFanControlState=1 -a [fan-0]/GPUTargetFanSpeed=100 EDIT: but it's not necessary anymore: https://hashcat.net/forum/thread-5681-post-30787.html#pid30787 |