Help with hashcat on Debian: "Unstable OpenCL driver detected!"
#1
I'm trying to get my AMD card working with hashcat on Debian. I've installed the latest version of hashcat 7.1.2. When I try a benchmark, I get the warning "Unstable OpenCL driver detected!", and a segfault when trying to --force it.

Code:
█[asrock][hashcat][255]$ sudo sudo hashcat -b -d1 --force
hashcat (v7.1.2-65-g5e615188b) starting in benchmark mode

Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.

You have enabled --force to bypass dangerous warnings and errors!
This can hide serious problems and should only be done when debugging.
Do not report hashcat issues encountered when using --force.

OpenCL API (OpenCL 1.1 Mesa 22.3.6) - Platform #1 [Mesa]
========================================================
* Device #01: PITCAIRN (, LLVM 15.0.6, DRM 2.50, 6.1.0-38-amd64), 2048/2048 MB (512 MB allocatable), 20MCU

OpenCL API (OpenCL 3.0 PoCL 3.1+debian  Linux, None+Asserts, RELOC, SPIR, LLVM 15.0.6, SLEEF, DISTRO, POCL_DEBUG) - Platform #2 [The pocl project]
==================================================================================================================================================
* Device #02: pthread-haswell-Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, skipped

Benchmark relevant options:
===========================
* --force
* --backend-devices=1
* --backend-devices-virtmulti=1
* --backend-devices-virthost=1
* --optimized-kernel-enable

---------------------
* Hash-Mode 900 (MD4)
---------------------

Segmentation fault
█[asrock][hashcat][139]$

I'm willing to install whatever proprietary driver is needed. I tried installing these nonfree packages, but nothing seems to change. 

Code:
sudo apt-get install firmware-linux firmware-linux-nonfree libdrm-amdgpu1 xserver-xorg-video-amdgpu

What change should I expect to see after installing these non-free drivers? How do I verify that the new driver is being used, or how do I tell the OS to use the newly installed driver? Do I need to reboot?

My inxi -G output appears unchanged:


Code:
█[asrock][hashcat][0]$ inxi -G
Graphics:
 Device-1: AMD Curacao PRO [Radeon R7 370 / R9 270/370 OEM] driver: radeon v: kernel
 Display: server: X.org v: 1.21.1.7 driver: X: loaded: amdgpu unloaded: fbdev,modesetting,vesa
   dri: radeonsi gpu: radeon tty: 112x25
 API: OpenGL Message: GL data unavailable in console. Try -G --display
█[asrock][hashcat][0]$


And most importantly, hashcat still complains about "unstable opengl" driver and still segfaults.

I went to the official AMD website to try to download drivers, but they only appear to support RHEL, Ubuntu. Should I try the Ubuntu drivers? Or should the debian firmware-nonfree drivers work with hashcat?

[Image: PaQ7jkafKLzO.png?o=1]
Reply


Messages In This Thread
Help with hashcat on Debian: "Unstable OpenCL driver detected!" - by erjoalgo - Yesterday, 06:17 PM