I have Ubuntu 20.04 and Windows 10 in dual boot on ASUS - r541u laptop. I am never able to directly boot into ubuntu, the screen always freezes into either purple splash or plain black (not even dim light) after I log in. Previously, I was using Ubuntu 18.04 which had the same issue, but it used to crash right after the purple screen that says "ubuntu" with four dots and did not even reach the login part.
What works for me is booting into Windows and restarting the machine from the login screen. After that when I choose Ubuntu from grub menu, it successfully boots, lets me log in and works perfectly normal. This makes for a booting time of around 4-5 minutes in total. This is a really weird problem because I have no idea what changes on rebooting from Windows login screen. I have fast boot and secure boot turned off. I have tried by turning on those options too, but the problem remains the same. Please if anybody knows what is causing this issue, help me out.
Edit:
I also had this problem where my syslog and kernlog files in /var/log
directory would often get extremely huge in size till they would take up all the space on the device. So I used to manaully remove those files regularly as a work around. Upon checking the logs I found that the error pcie bus error severity=corrected type=physical layer (receiver id)
was filling them up. So I found a solution which I have posted as the answer.