Ubuntu will not work right out of the box since it won't have drivers. HiveOS will have amdgpu-pro drivers for Polaris GPUs out of the box.
Ok, but if I install HiveOS it won't have TDXminer on, will it.
Would I be able to install it manually?
Right, tdxminer is not available by default in HiveOS and you will have to download it.
If you're using a graphical interface, the distro should have a browser and archive extractor installed.
If you're using a terminal interface, you can run the following command to download and extract the archive:
wget -O - https://github.com/todxx/tdxminer/releases/download/v0.2.2.2/tdxminer-v0.2.2.2.tgz | tar -xz
In either case, you will need a terminal to run the miner.