Anyone managed to run RX6700 XT in ubuntu? Which ubuntu version, kernel, and amd driver? Do you enable legacy or rocr or both when installing amd driver? So far I have ubuntu 20.4.03 with its latest kernel, I think 5.11 and latest amd driver with both legacy and rocr enabled, but they don't work.
regards
In ubuntu 20.04 I installed AMD driver 21.30 using following command:
sudo ./amdgpu-pro-install -y --opencl=rocr,legacy
I noted the AMD driver install guide no longer contains this advice as they have modified the name of "AMD-GPU-PRO" to some workstation criterea but the above command still works for the 21.30 version i downloaded some months ago. Also running PM as root is required to have full control.
Check in bios under NB if you have igfx set that as main and check/play with pci-e settings ("bifurcation") ensure above 4g decoding is on along with resize bar enabled but means cm support must be off (on my mobo's)
Right now i have a RX6700 XT running ok with full control of fans, volts n speeds on a test rig under PM 5.8c, Ubuntu 20.04.3 LTS 5.11.0-37-generic with AMDGPUPRO 21.30 which is OpenCL driver version: 21.30-1290604-rocr. Only clkernel 0 works tho and it isnt ideal due to high stale shares and multiGPU may not work due to limitations imposed by AMD in ROCR ( Happy to be wrong, theory is nvidiea nobbled mining rigs with LHR and AMD did single GPU restriction in Rocr instead)
Main rig currently has 7 x RX6800XT under Manjero but with older driver made using PKGBUILD workaround (for multi gpu support) all singing sweet with clkernel 1 under PM 5.8c
Info on Manjero setup can be found on link below.
(take note i dont get a lot of time to play with this at present so this solution might have been improved since and havent yet tested my RX6700 XT under Manjaro but main rig is where its going to end up as soon as i finished testing it on test rig to see if newer driver/kernels play or not in ubuntu)
https://community.amd.com/t5/drivers-software/6900xt-and-opencl-on-linux/td-p/439474/page/2