I have the same problem with the same CPU and a RTX2060. For me the Fix in: nvidia-xconfig doesnt do what i want it to, nor does nvidia-settings - #7 by generix
worked in Ubuntu 20.04 but not in 18.04 on the same machine. If it is not important for you to use 18.04 you could try Ubuntu 20.04.
I have to use 18.04 so I am still hoping for a solution someday
You are probably right, the problem is the amdgpu and not the nvidia one because with “primaryGPU” “Yes” I got the external displays running. But the internal stays off.
I did not knew that. Thank you very much for providing it. Will try out asap.
Edit: It worked! Thank you generix! I updated the firmware for iwlwifi too and got my wifi problems fixed as well. There was no single file for renoir before.
I will summarize my steps shortly for who ever is reading this.
Ubuntu18.04
Upgrade Kernel to 5.8.0
Cloned the firmware repo and copied all files for renoir- to lib/firmware/amdgpu(Do not forget to macke a backup)
Installed nvidia-driver 450.80.02
Used generix fix described in this post(Please read carefully there are 2 methods described in given post. Do not mix them.)
Point 3. is important for Ubuntu 18.04. The same way worked for Ubuntu20.04 but 3. is optional
After I update the Kernel to 5.8.0 and reboot, my ubuntu stuck at loading screen with >>> snd_soc_register_card failed (-517) <<<. Do you meet this problem too?
Then you likely didn’t/incorrectly downloaded the firmware files. Please check
ls -l /lib/firmware/amdgpu/renoir*
and compare the filesizes with the git ones.
Another reason might be that you created an xorg.conf. Please delete it in that case.
It worked! Thank you generix!
I will summarize my steps throughout the whole process.
My laptop specs:
Ryzen 7 4800h
Nvidia GTX 1650
Ubuntu 18.04
The steps:
Install Nvidia Driver 450.80.02
$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt update
$ ubuntu-drivers devices
$ sudo apt install nvidia-450
Please look online for more information how to install the Nvidia Driver and use nvidia-smi to check whether the nvidia driver is installed or not.
sudo add-apt-repository ppa:cappelikan/ppa sudo apt update sudo apt install mainline
To install the Linux 5.9.16-050916-generic or any suitable version.