Hello.
I'm having the same issue on GTX 1080.
I'm running latest hashcat (v3.00-97-g57ce1fd) freshly compiled from git with DEBUG=1 on Debian Jessie 8 (x64) with all latest updates with NVIDIA 367.35 drivers from nvidia.com website.
I'm running xdm in headless mode just fine, because I can control the fan manually via:
/etc/X11/xorg.conf:
/etc/X11/xdm/Xsetup:
but If I install libxnvctrl0 hashcat stops working, gives me this error:
I've tried different versions of libxnvctrl0 (also tried specifically 367.35 which matches the driver) but still no luck.
I know it's recommended to use Ubuntu 14.04 LTS on the wiki, but I don't like Ubuntu much because it's not stable enough for me for server usage, so I stick with Debian.
The only workaround I've found so far is to force manually fan to 100% (otherwise fan stays at 30-50% max and card is throttled once reaches 82, with fan 100% - card is at 80 degrees under max load) and use nvidia-smi as well to raise power to 217W as was suggested in forums to get maximum of the card. Simply removing libxnvctrl0 from the system makes hashcat work again and you can see in the status temperature and that fan is running at 100%. I don't want to run hashcat with --gpu-temp-disable because I'd like to see the actual temp/fan in the hashcat's status.
Any ideas why it might be not working and how to debug the actual cause?
I'm having the same issue on GTX 1080.
I'm running latest hashcat (v3.00-97-g57ce1fd) freshly compiled from git with DEBUG=1 on Debian Jessie 8 (x64) with all latest updates with NVIDIA 367.35 drivers from nvidia.com website.
I'm running xdm in headless mode just fine, because I can control the fan manually via:
Code:
sudo nvidia-settings -a "[gpu:0]/GPUPowerMizerMode=1" \
-a "[gpu:0]/GPULogoBrightness=0" \
-a "[gpu:0]/GPUFanControlState=1" \
-a "[fan:0]/GPUTargetFanSpeed=100"
Code:
$ nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 367.35 Driver Version: 367.35 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1080 Off | 0000:01:00.0 Off | N/A |
|100% 80C P2 188W / 217W | 973MiB / 8113MiB | 100% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 13768 G /usr/bin/X 8MiB |
| 0 31344 C hashcat 963MiB |
+-----------------------------------------------------------------------------+
/etc/X11/xorg.conf:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 367.35 (buildmeister@swio-display-x64-rhel04-01) Mon Jul 11 23:51:45 PDT 2016
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Interactive" "False"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
Option "Interactive" "False"
EndSection
Section "Monitor"
Identifier "Monitor0"
# VendorName "Unknown"
# ModelName "Unknown"
# HorizSync 28.0 - 33.0
# VertRefresh 43.0 - 72.0
# Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
Option "Interactive" "False"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1080"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "Coolbits" "12"
# Option "ConnectedMonitor" "Monitor0"
# Option "RegistryDwords" "PerfLevelSrc=0x2222"
SubSection "Display"
Depth 24
EndSubSection
EndSection
/etc/X11/xdm/Xsetup:
Code:
#!/bin/sh
export PATH=/bin:/usr/bin:/sbin
export HOME=/root
export DISPLAY=:0
xset -dpms
xset s off
xhost +
but If I install libxnvctrl0 hashcat stops working, gives me this error:
Code:
OpenCL Platform #2: NVIDIA Corporation
======================================
- Device #2: GeForce GTX 1080, 2028/8113 MB allocatable, 20MCU
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 157 (NV-CONTROL)
Minor opcode of failed request: 2 ()
Value in failed request: 0x17
Serial number of failed request: 11
Current serial number in output stream: 11
I've tried different versions of libxnvctrl0 (also tried specifically 367.35 which matches the driver) but still no luck.
I know it's recommended to use Ubuntu 14.04 LTS on the wiki, but I don't like Ubuntu much because it's not stable enough for me for server usage, so I stick with Debian.
The only workaround I've found so far is to force manually fan to 100% (otherwise fan stays at 30-50% max and card is throttled once reaches 82, with fan 100% - card is at 80 degrees under max load) and use nvidia-smi as well to raise power to 217W as was suggested in forums to get maximum of the card. Simply removing libxnvctrl0 from the system makes hashcat work again and you can see in the status temperature and that fan is running at 100%. I don't want to run hashcat with --gpu-temp-disable because I'd like to see the actual temp/fan in the hashcat's status.
Any ideas why it might be not working and how to debug the actual cause?