After starting the OpenCL program, there will be a blurry screen, and then drive Crash
Maybe the driver has set an upper limit on the OpenCL process, more than 8 processes will inevitably crash
console prompt:
Memory access fault by GPU node-1 (Agent handle: 0x404b0d0) on address 0x7f828d0ac000. Reason: Page not present or supervisor privilege.
The same program and data, 5700XT is normal in Ubuntu18.04 and an old version driver, and it can also work normally with Nvidia graphics card
mushroom@SUPER:~$ neofetch
.-/+oossssoo+/-. mushroom@SUPER
`:+ssssssssssssssssss+:` --------------
-+ssssssssssssssssssyyssss+- OS: Ubuntu 20.04.5 LTS x86_64
.ossssssssssssssssssdMMMNysssso. Kernel: 5.13.0-30-generic
/ssssssssssshdmmNNmmyNMMMMhssssss/ Uptime: 3 mins
+ssssssssshmydMMMMMMMNddddyssssssss+ Packages: 2751 (dpkg)
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Shell: bash 5.0.17
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Resolution: 1920x1200
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Terminal: /dev/pts/0
ossyNMMMNyMMhsssssssssssssshmmmhssssssso CPU: AMD Ryzen Threadripper 3990X (128) @ 2.900GHz
ossyNMMMNyMMhsssssssssssssshmmmhssssssso GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Memory: 2778MiB / 257586MiB
.ssssssssdMMMNhsssssssssshNMMMdssssssss.
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/
+sssssssssdmydMMMMMMMMddddyssssssss+
/ssssssssssshdmNNNNmyNMMMMhssssss/
.ossssssssssssssssssdMMMNysssso.
-+sssssssssssssssssyyyssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.
mushroom@SUPER:/mnt/disk/tools/amdgpu$ sudo dpkg -l |grep amdgpu
ii amdgpu-dkms 1:5.16.9.22.20.50200-1438747~22.04 all amdgpu driver in DKMS format.
ii amdgpu-dkms-firmware 1:5.16.9.22.20.50200-1438747~22.04 all firmware blobs used by amdgpu driver in DKMS format
ii amdgpu-install 22.20.50200-1438747~22.04 all AMDGPU driver repository and installer
ii libdrm-amdgpu1:amd64 2.4.107-8ubuntu1~20.04.2 amd64 Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii libdrm-amdgpu1:i386 2.4.107-8ubuntu1~20.04.2 i386 Userspace interface to amdgpu-specific kernel DRM services -- runtime
mushroom@SUPER:/mnt/disk/tools/amdgpu$ sudo dpkg -l |grep rocm
ii rocm-core 5.2.0.50200-65 amd64 Radeon Open Compute (ROCm) Runtime software stack
ii rocm-language-runtime 5.2.0.50200-65 amd64 Radeon Open Compute (ROCm) Runtime software stack
ii rocm-ocl-icd 2.0.0.50200-65 amd64 opencl built using CMake
ii rocm-opencl 2.0.0.50200-65 amd64 opencl built using CMake
ii rocm-opencl-runtime 5.2.0.50200-65 amd64 Radeon Open Compute (ROCm) Runtime software stack