I used driver AMDGPU Pro 19.30 during long time in Kubuntu 18.04 LTS. I work with Unity 3D engine 2019.3.0f6. I recently updated driver up to 20.10. But now, I can't launch my Unity projects (runtime), I get the error "munmap_chunk(): invalid pointer". Previous version of AMDGPU Pro driver (19.30) worked fine with Unity 3D runtimes. How can I fix this problem?
Yes, I noticed this too.
Just try to start Albion Online (linux version, The Fantasy Sandbox MMORPG | Albion Online ),
and you will see the error message mentioned above.
qnerd
It seems to me that it's necessary to solve this problem both on the Unity 3D develop side and on the driver realization side. A similar problem also exists on the official forum Unity 3D.
For what it's worth, it does work with the amdgpu driver 20.10 non-pro installation, as well as with the all-open variant that is shipped with Ubuntu.
qnerd
I found a workaround -- it's for AMDGPU Pro 20.20 on Ubuntu 20.04 but it can also work for other versions of drivers and OSes with some small fixes or without any. Make sure uninstall the one previously installed and run these commands at your own risk.
$ sudo apt install dkms libva2
$ sudo dpkg -i amdgpu-core_*_all.deb amdgpu-dkms-firmware_*_all.deb amdgpu-dkms_*_all.deb amdgpu-pro-core_*_all.deb amf-amdgpu-pro_*_amd64.deb clinfo-amdgpu-pro_*_amd64.deb libdrm-amdgpu-amdgpu1_*_amd64.deb libdrm-amdgpu-common_*_all.deb libdrm-amdgpu-radeon1_*_amd64.deb libdrm-amdgpu-amdgpu1_*_amd64.deb libdrm2-amdgpu_*_amd64.deb libgl1-amdgpu-mesa-dri_*_amd64.deb libgl1-amdgpu-mesa-glx_*_amd64.deb libglapi-amdgpu-mesa_*_amd64.deb libllvm10.0-amdgpu_*_amd64.deb libopencl1-amdgpu-pro_*_amd64.deb mesa-amdgpu-va-drivers_*_amd64.deb opencl-amdgpu-pro-comgr_*_amd64.deb opencl-amdgpu-pro-icd_*_amd64.deb opencl-amdgpu-pro_*_amd64.deb opencl-orca-amdgpu-pro-icd_*_amd64.deb vulkan-amdgpu-pro_*_amd64.deb xserver-xorg-amdgpu-video-amdgpu_*_amd64.deb
Note:
This problem has been fixed for me with the 20.40 driver on Ubuntu 20.04.1