Author

Topic: OpenCL Doesn't Recognize RX6700 XT in Ubuntu 20 (Read 109 times)

member
Activity: 106
Merit: 31
November 15, 2021, 08:52:17 AM
#6
Hi all,
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:

Code:
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
member
Activity: 206
Merit: 20
Installing rocm 4.5 directly with 5.11 kernel will result the system recognizing the gpu, however I cannot set the fan speed.

Do you see any guide for it, care to share link ?
legendary
Activity: 3318
Merit: 1247
Bitcoin Casino Est. 2013
Installing rocm 4.5 directly with 5.11 kernel will result the system recognizing the gpu, however I cannot set the fan speed.

You can try to add the fan speed directly from the miner and not from the Radeon software,for example Phoenixminer supports it with -tt option,you can set the minimum fan there.I would try this but the problem is I don't have a RX 6700 XT to try out.

I had the same problem with RX 570 with AMD drivers and I downloaded a script to set the fan speeds,it worked back then,the link is below but keep in mind that I used it in 2019 and I don't know if it works anymore for the newer generation of cards,however I would try it as a last resort.

https://github.com/DominiLux/amdgpu-pro-fans/blob/master/amdgpu-pro-fans.sh
jr. member
Activity: 32
Merit: 6
Installing rocm 4.5 directly with 5.11 kernel will result the system recognizing the gpu, however I cannot set the fan speed.
legendary
Activity: 3318
Merit: 1247
Bitcoin Casino Est. 2013
Maybe me suggestion is a bit radical but I have seen a lot of persons installing the pro drivers from AMD website out of the box in Linux Mint version 20.2 and above.You can give it a try as long as your system doesn't have critical data to you and you will see you will have no problems with that version.Plenty of videos and guides that shows it works while plenty others showing a lot of problems for Ubuntu for this specific card.

As for Ubuntu you can try the 5.8 kernels and ROCm driver,some people were successful with it.
jr. member
Activity: 32
Merit: 6
Hi all,
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
Jump to: