Basically title. I have a 7600(x)(t) 8G. I want drivers with opencl for hashcat. I know the proprietary ones work, but they are a ludicrously massive PITA. I am willing to use almost any distro to make this work (not Ubuntu, and not one of those random newer ones). I really hope I don’t have to use the proprietary drivers.

Edit: found a good enough solution. I listed the card on ebay and will replace it with an intel arc soon.

  • HumanPerson@sh.itjust.worksOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    6 months ago

    I tried both suggestions, as well as running it without the variables changed. On all three of them, hashcat said “Device #3: Unstable OpenCL driver detected!” when I ran hashcat -I (device info if your not familiar with hashcat). I tried running the benchmark, and it crashed saying “Device #1: Kernel /usr/lib64/hashcat/OpenCL/shared.cl build failed.”

    Edit: I looked, and I don’t see a package called rocm-ocl, nor can I install one. Edit2: Wait nvm, I see rocm-opencl, and I assume that’s it.

    • Vik@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      6 months ago

      Ah man, are you able to verify OCL working with other applications such as OpenShot or Blender?

      As for your edit, sorry you’re correct, the package name is rocm-opencl, otherwise referred to as rocm-opencl-runtime

      • HumanPerson@sh.itjust.worksOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        6 months ago

        Well I tried an opencl benchmark I found, and my computer has fuckied a major wucky… Edit: reboot fixed it but it seems opencl is super unstable on here. I ran hashcat again, this time with --force, and found that it did nothing, then there were weird colors, then plasmashell crashed. Luckily plasmashell has good crash handling and it was able to go back up so I could see that hashcat reported something about gpu hang being the reason for the crash.

        • Vik@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 months ago

          Oh damn, can you send me a link to that? I’ll also try Hashcat + its benchmark when I get the chance.

          Reaching out to a friend who has some familiarity with HC in the mean time.

            • Vik@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              6 months ago

              The OpenCL benchmark for me worked without any issues.

              The Hashcat benchmark threw the same errors as you’d seen until I manually specified my device (my friend was able to point me in the right direction here).

              You can enumerate your OpenCL device (i.e. your GPU) with something like clinfo, rocm-clinfo.

              I had to run Hashcat’s benchmark like so: hashcat -b -d 2 where 2 is my RX 6800XT

              Hope this helps

              • HumanPerson@sh.itjust.worksOP
                link
                fedilink
                English
                arrow-up
                1
                ·
                6 months ago

                I did notice it was the wrong device, however when I specify it crashes the whole os with some artifacting. I may look into other values for that environment variable tomorrow. I also might try rusticl.