Help with hashcat on Debian: "Unstable OpenCL driver detected!"
#5
I tried following the ROCm installation instructions from AMD for Debian:

https://rocm.docs.amd.com/projects/insta...start.html

This failed at the step:

Code:
sudo apt install -y rocm

There appear to be some package dependency/version issues.

Code:
-*- mode: compilation; default-directory: "~/git/dotfiles/installs/rocm/" -*-
Compilation started at Mon Sep  1 21:03:52

./adm-rocm.sh
+ set -euo pipefail
+ wget https://repo.radeon.com/amdgpu-install/6.4.3/ubuntu/jammy/amdgpu-install_6.4.60403-1_all.deb
--2025-09-01 21:03:52--  https://repo.radeon.com/amdgpu-install/6.4.3/ubuntu/jammy/amdgpu-install_6.4.60403-1_all.deb
Resolving repo.radeon.com (repo.radeon.com)... 92.123.236.96, 92.123.236.57, 2a02:26f0:9500:27::17d7:2de, ...
Connecting to repo.radeon.com (repo.radeon.com)|92.123.236.96|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17060 (17K) [application/octet-stream]
Saving to: ‘amdgpu-install_6.4.60403-1_all.deb.3’

amdgpu-install_6.4.60403-1_all.d 100%[========================================================>]  16.66K  --.-KB/s    in 0.007s  

2025-09-01 21:03:56 (2.18 MB/s) - ‘amdgpu-install_6.4.60403-1_all.deb.3’ saved [17060/17060]

+ sudo apt install -y ./amdgpu-install_6.4.60403-1_all.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'amdgpu-install' instead of './amdgpu-install_6.4.60403-1_all.deb'
amdgpu-install is already the newest version (6.4.60403-2194681.22.04).
The following packages were automatically installed and are no longer required:
  libpulsedsp pulseaudio-utils
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
+ sudo apt update
Hit:1 https://deb.debian.org/debian bookworm InRelease
Hit:2 https://repo.radeon.com/amdgpu/6.4.3/ubuntu jammy InRelease
Hit:3 https://download.docker.com/linux/debian bookworm InRelease
Hit:4 https://deb.debian.org/debian-security bookworm-security InRelease
Hit:5 https://deb.debian.org/debian bookworm-updates InRelease
Hit:6 https://repo.radeon.com/rocm/apt/6.4.3 jammy InRelease
Hit:7 https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64  InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
19 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ sudo apt install -y python3-setuptools python3-wheel
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-setuptools is already the newest version (66.1.1-1+deb12u1).
python3-wheel is already the newest version (0.38.4-2).
The following packages were automatically installed and are no longer required:
  libpulsedsp pulseaudio-utils
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
+ sudo usermod -a -G render,video ealfonso
+ sudo apt install -y rocm
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
rocm-hip-runtime : Depends: rocminfo (= 1.0.0.60403-128~22.04) but 5.2.3-2 is to be installed
rocm-hip-runtime-dev : Depends: rocm-device-libs (= 1.0.0.60403-128~22.04) but 5.2.3-2 is to be installed
                        Depends: hipcc (= 1.1.1.60403-128~22.04) but 5.2.3-8 is to be installed
rocm-openmp-sdk : Depends: rocm-device-libs (= 1.0.0.60403-128~22.04) but 5.2.3-2 is to be installed
rocm-utils : Depends: rocminfo (= 1.0.0.60403-128~22.04) but 5.2.3-2 is to be installed
E: Unable to correct problems, you have held broken packages.

Compilation exited abnormally with code 100 at Mon Sep  1 21:04:07

I'm not sure if it's worth fighting what seems like an uphill battle. Do I try to manually install the expected versions for each of those dependencies? Or just give up on Debian and install Ubuntu, which AMD appears to support better?

These are the 3 packages that appear to have the wrong versions:

Code:
Depends: rocminfo (= 1.0.0.60403-128~22.04) but 5.2.3-2 is to be installed
Depends: rocm-device-libs (= 1.0.0.60403-128~22.04) but 5.2.3-2 is to be installed
Depends: hipcc (= 1.1.1.60403-128~22.04) but 5.2.3-8 is to be installed

How should I go about fixing the dependency issues, where should I get the latest versions of these pacakges?
Has anyone on debian gotten hashcat to work with AMD hardware? Help.
Reply


Messages In This Thread
RE: Help with hashcat on Debian: "Unstable OpenCL driver detected!" - by erjoalgo - Today, 03:11 AM