Add this on terminal and should be fine : export HSA_ENABLE_SDMA=0
Tried it. It didn't work. From what I have seen, this helps to initialize more than 4 gpus.
Can you use it like this? HSA_ENABLE_SDMA=0 ./tdxminer -a lyra2z -0 bla bla bla.... You get it, before the script to run the miner.