Thankfully I am able to login to Ubuntu fine however sometimes Ubuntu starts to show black flickering. The weird thing is, this can be temporarily fixed whenever I reboot the laptop or by simply closing the lid and opening it again.
However, once I reboot my laptop, the flickering still persists after logging into Ubuntu. I would like to know if there is a possible fix to this problem?
That rather sounds like a defective (internal) display cable. Does the flicker go away if you just move the panel back and forth? If not, the amd gpu is responsible for driving the internal display. You could upgrade the kernel to 5.3 and check if that mitigates it
sudo apt-get install --install-recommends linux-generic-hwe-18.04-edge
If that doesn’t help, please check if there’s somthing wrong with amdgpu power management
sudo -s
echo “high” > /sys/class/drm/card0/device/power_dpm_force_performance_level
did not help. Instead it caused another problem where I was stuck on the Ubuntu loading screen and eventually received an error (I have attached a picture).
However, to save some time I reinstalled Ubuntu 18.04 since it was a fresh install previously. This time I tried installing NVIDIA driver 435 but I am still receiving the same flickering issue once I reboot the laptop.
My laptop is dual boot and this flickering does not occur when I am on Windows 10. It appears to only occur when I am using one of the NVIDIA proprietary drivers.
I have included the following attachments (respectively):
A picture showing the result of upgrading to kernel 5.3 and rebooting
A video showing the flickering issue that I am experiencing on my laptop and how it is temporarily fixed by simply closing the lid and opening it.Moving the panel back and forth has no effect on the flickering.
A picturing showing the result of entering the commands:
sudo -s
echo “high” > /sys/class/drm/card0/device/power_dpm_force_performance_level
into the terminal. There seems to be no output but I may not be doing it correctly?
Another nvidia-bug-report.log
Once again, thank you for your time and assistance.
To add further to this, I’m not sure if this is linked to the issue however whenever I enter nvidia-settings from the terminal I get the following output:
janmart@janmart:~$ nvidia-settings
** Message: 14:24:45.250: PRIME: No offloading required. Abort
** Message: 14:24:45.250: PRIME: is it supported? no
And the PRIME profiles option does not appear on the nvidia settings GUI. I have tried uninstalling and reinstalling nvidia prime and nvidia settings but the same output is still shown.
I found that the flickering is specifically caused by adding
Option "PrimaryGPU" "Yes"
to the OutputClass of /usr/share/X11/xorg.conf.d/10-nvidia.conf
However, if I do not have this included, the settings show that the Graphics being used is AMD Raven. It also prevents me from running programs such as the Carla simulator, which uses Unreal Engine 4.