New rig
#21
We have to distinguish between several kinds of AMD drivers:
https://wiki.archlinux.org/index.php/AMDGPU_PRO
https://wiki.archlinux.org/index.php/AMDGPU
and at least rocm to provide OpenCL features (or pocl or opencl-mesa - both are not recommended to be used in combination with hashcat - if they are installed by default, remove them)
All mandatory OpenCL headers must be installed.

You have to figure out, what K A L I exactly is doing there.
Reply
#22
(03-15-2021, 10:43 AM)ZerBea Wrote: We have to distinguish between several kinds of AMD drivers:
https://wiki.archlinux.org/index.php/AMDGPU_PRO
https://wiki.archlinux.org/index.php/AMDGPU
and at least rocm to provide OpenCL features (or pocl or opencl-mesa - both are not recommended to be used in combination with hashcat - if they are installed by default, remove them)
All mandatory OpenCL headers must be installed.

You have to figure out, what K A L I exactly is doing there.

I had a read of those links I am sorta 50% there in my understand I guess. So I follow the instructions of installing the drivers for AMDGPU with the dependancies one by one until i find the right one and set it in the xorg config file as it is shown? I am a bit confused on how I do this and still boot as it says nomodeset is not gonna work with the KMS I believe? As I said I am willing to learn and try to do this...Just need a little bit of guidance from the more experienced so I can learn.

Thanks again for your continued help
Reply
#23
Installing the driver is not enough, because you have to remove/replace K A L I default drivers and K A L I default configuration, too.
To figure out, how this can be done, I recommend to install a fresh UBUNTU with all dependencies and drivers you need to run hashcat successfully.
If that is working as expected, take a look at UBUNTUs configs and copy them to USB drive.
Now install K A L I and compare K A L I configs and installed drivers/tools with UBUNTU configs and drivers/tools.
Than remove unwanted drivers/tools from K A L I, install missing drivers/tools and reconfigure K A L I.
Since both of them are Debian based, I'm sure you'll find some similarities.

Folders/files that are worth to take a closer look inside:
/boot/grub/grub.cfg -> kernel boot parameters
/etc/X11/ -> x11 configuration
/etc/udev/rules.d/ -> additional udev rules
/etc/systemd/system/display-manager.service.d/ -> display manager settings
if you use lightdm as login manager (mandatory to configure by hand if you got a black login screen):
/etc/lightdm/lightdm.conf

/var/log/Xorg.0.log -> x11 "error" log
dmesg ring log
Reply
#24
(03-16-2021, 04:20 PM)ZerBea Wrote: Installing the driver is not enough, because you have to remove/replace K A L I default drivers and K A L I default configuration, too.
To figure out, how this can be done, I recommend to install a fresh UBUNTU with all dependencies and drivers you need to run hashcat successfully.
If that is working as expected, take a look at UBUNTUs configs and copy them to USB drive.
Now install K A L I and compare K A L I configs and installed drivers/tools with UBUNTU configs and drivers/tools.
Than remove unwanted drivers/tools from K A L I, install missing drivers/tools and reconfigure K A L I.
Since both of them are Debian based, I'm sure you'll find some similarities.

Folders/files that are worth to take a closer look inside:
/boot/grub/grub.cfg -> kernel boot parameters
/etc/X11/ -> x11 configuration
/etc/udev/rules.d/ -> additional udev rules
/etc/systemd/system/display-manager.service.d/ -> display manager settings
if you use lightdm as login manager (mandatory to configure by hand if you got a black login screen):
/etc/lightdm/lightdm.conf

/var/log/Xorg.0.log -> x11 "error" log
dmesg ring log
Ok so I installed Ubuntu fresh install like you suggested and went through a few things. First of all Ubuntu picked up the onboard AMD gpu on the mobo and the drivers are working with that and i can adjust the resolution and everything now. It did this automatically. I checked xorg and the 6900xt doesnt even show up. I tried to manually install the drivers and followed the but it just keeps returning that the location doesn't exist so I am doing something wrong. bit confused on which drivers I need to actually install. I think first good trouble shooting thing should be to get hashcat running with this card with ubuntu fully first before I even touch anything with The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali). A bit lost atm because I am following guides but can't even get the card to show up. I also tried linut mint off of live iso, the drivers manager wouldn't pick up the card and in sysinfo it shows the onboard graphics only.

I am wondering if this is purely a RADEON thing? And if NVIDIA would have been a easier option...regrets.jpeg

Any clues on where to start because I have all the resources you suggested but I feel a bit overwhelmed by them all tbh and don't know which ones to follow or install first.

Any ideas? Thanks again!
Reply
#25
Ok, now it looks like you're running into the next issue. Kernel >= 5.10 is mandatory for the driver!
https://community.amd.com/t5/graphics/rx...d-p/446872
Which UBUNTU version have you tried?
$ uname -r

I'm running Arch Linux and kernel 5.11.6
In may case, uname will show this:
Code:
$ uname -r
5.11.6-arch1-1

"I am wondering if this is purely a RADEON thing?"
I don't use AMD, because, according to this:
https://rocmdocs.amd.com/en/latest/Insta...Guide.html
only 3 distributions (and only limited versions/kernels of this distributions) are official supported by rocm:
Code:
Ubuntu 20.04.1 (5.4 and 5.6-oem) and 18.04.5 (Kernel 5.4)
CentOS 7.9 (3.10.0-1127) & RHEL 7.9 (3.10.0-1160.6.1.el7) (Using devtoolset-7 runtime support)
CentOS 8.3 (4.18.0-193.el8) and RHEL 8.3 (4.18.0-193.1.1.el8) (devtoolset is not required)
SLES 15 SP2
I believe, Linux is more than this...

Prefering Arch Linux as distribution, that made my decision easier:
Code:
$ lscpu
Modellname: AMD Ryzen 7 1700 Eight-Core Processor

$ lspci
26:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)

Absolutely no problems here, running this combination.
Reply
#26
(03-17-2021, 10:08 AM)ZerBea Wrote: Ok, now it looks like you're running into the next issue. Kernel >= 5.10 is mandatory for the driver!
https://community.amd.com/t5/graphics/rx...d-p/446872
Which UBUNTU version have you tried?
$ uname -r

I'm running Arch Linux and kernel 5.11.6
In may case, uname will show this:
Code:
$ uname -r
5.11.6-arch1-1

"I am wondering if this is purely a RADEON thing?"
I don't use AMD, because, according to this:
https://rocmdocs.amd.com/en/latest/Insta...Guide.html
only 3 distributions (and only limited versions/kernels of this distributions) are official supported by rocm:
Code:
Ubuntu 20.04.1 (5.4 and 5.6-oem) and 18.04.5 (Kernel 5.4)
CentOS 7.9 (3.10.0-1127) & RHEL 7.9 (3.10.0-1160.6.1.el7) (Using devtoolset-7 runtime support)
CentOS 8.3 (4.18.0-193.el8) and RHEL 8.3 (4.18.0-193.1.1.el8) (devtoolset is not required)
SLES 15 SP2
I believe, Linux is more than this...

Prefering Arch Linux as distribution, that made my decision easier:
Code:
$ lscpu
Modellname: AMD Ryzen 7 1700 Eight-Core Processor

$ lspci
26:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)

Absolutely no problems here, running this combination.
Hey man,
SO I got the Linux kernel 5.11 to install on ubuntu. Has a hangup error at boot: initranfs unpacking failed: decoding failed.

I have to go into recovery mode and then reboot as normal to get it to load. I then tried to install ROCM but got the following errors when i checked to see if it installed right:

/opt/rocm/bin/rocminfo
ROCk module is NOT loaded, possibly no GPU devices
Unable to open /dev/kfd read-write: No such file or directory
kracken is not member of "video" group, the default DRM access group. Users must be a member of the "video" group or another DRM access group in order for ROCm applications to run successfully.
hsa api call failure at: /src/rocminfo/rocminfo.cc:1142
Call returned HSA_STATUS_ERROR_OUT_OF_RESOURCES: The runtime failed to allocate the necessary resources. This error may also occur when the core runtime library needs to spawn threads or create internal OS-specific events.

It won't detect my GPU and keeps detecting the onboard graphics one on the mobo. Not sure what to do or where to go here. Will the 6900xt even work at all with hashcat in linux? Like it seams like it really isn't supported or something.

WHat are your thoughts?
Reply
#27
"boot: initramfs unpacking failed: decoding failed"
mkinitcpio is switching to zstd compressed images.
Check mkinitcpio.conf COMPRESSION to make sure you're running one of the supported compressors.

The next issue is rocm, itself, because it doesn't support kernel 5.11. Only 5.4 and 5.6 are supported at the moment:
Ubuntu 20.04.1 (5.4 and 5.6-oem) and 18.04.5 (Kernel 5.4)
https://rocmdocs.amd.com/en/latest/Insta...Guide.html

And even if rocm will support kernel 5.11, the 6800 is remaing still unsupported.
There is an issue report here, as of 19 Dec 2020(!):
https://github.com/RadeonOpenCompute/ROCm/issues/1344
and here, as of 14 Mar 2021:
https://github.com/RadeonOpenCompute/ROCm/issues/1406

Conclusion:
- your card require latest kernel / driver
- rocm doesn't support latest kernel
- rocm doesn't support RDNA/RDNA2

I recommend that you report/confirm the issue on their git repository, too.
The more issue reports, the sooner you'll get a fix.
And keep your head up, I'm sure, AMD will support the 6800, soon.
Reply
#28
Looks like there is work in progress on RDNA2:
https://www.phoronix.com/scan.php?page=n...RX-6700-XT
Now 6700 is supported by the driver, too and rocm for RDNA/RDNA2 should follow, soon.
Reply
#29
Some bad news:
https://www.phoronix.com/scan.php?page=n...1-Released
Reply
#30
(03-24-2021, 10:11 AM)ZerBea Wrote: Some bad news:
https://www.phoronix.com/scan.php?page=n...1-Released

Hey man thanks for the follow up posts. I have pretty much given up on getting this to work with linux for now so I am going to try and get it to work in Windows but its really really frustrating because I can not get it to even install. Every time I try to I click install windows and it comes up with the error : ''a media drive your computer needs is missing'' ANd then keeps asking me for the driver. I have tried everything i can think of,  multiple usbs, multiple ISOs and different writing programs, tried all the trouble shoot stuff and STILL can not get it to work. This rig has been nothing but one frustration after another and I am seriously considering just selling the card or something and waiting for a nvidia 3090. I managed to get my hands on the Gigabyte 3090 gaming box but it requires thrunderbolt port which my pc doesnt have and I just assumed it would be easy enough to use a USB A to USB C cable to get it to work but now it says it needs windows too. I would gladly just run windows to get the 6900 xt working in hashcat and then maybe there is a work around to get the nvidia box working too in windows and then i would have two pretty good cards. I don't really know what to do. I can't believe things would turn out this difficult tbh. Hardware + software isn't as straight forward as it used to be.
Reply