Unknown display error ubuntu 18.04 (ryzen 5 4600h processor huawei matebook)

I installed ubuntu version 18.04 on my computer but I get an unknown display error, I can’t change the screen resolution, I can’t change the screen brightness, I tried all the solutions available on the internet, please help.