I'm using Ubuntu 18.10 with Linux 4.18.0 Kernel on Ryzen 1700 with NVidia GTX 1050 graphics card.
The system works normally when Nouveau drivers are used. However when I try to use the NVidia open-source drivers, the system shows the splash screen during boot, then goes into terminal, which shows something like
Starting disk manager or
Starting network manager, and the system completely freezes up. Even the Caps Lock light doesn't respond anymore, after which I have to restart the system again.
The problem goes away when I use
WaylandEnable=false in `/etc/gdm3/custom.conf'. But the boot and login takes more time.
The problem also goes away when I continuously mash
CTRL+ALT+F4/F3 during boot and log in from terminal and then switch to GUI.
I have used NVidia driver version 390, 410 and 415.
Is there any way to alleviate the problem?