I have a new Lenovo laptop with an AMD Radeon RX 500 graphical card. There is also an integrated Intel graphical card. I just installed the latest Ubuntu 18.04.2 LTS one week ago. I would like to install OpenCL sdk. I downloaded the official drivers https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-550, installed them as instructed, but after rebooting could not login into Ubuntu. I read all across the internet and this issues is common, but nothing seemed to work for me.
When I tried amdgpu-pro-install --px I got Unable to locate package xserver-xorg-video-modesetting-amdgpu-pro. I later read that this option was deprecated. I also tryed the -headless installation and got the same result.
When I run amdgpu-pro-install I get WARNING: amdgpu dkms failed for running kernel. My kernel is 4.18.0-15-generic.
Hope someone can help.