Just registered to say this.. I've got a Dell Inspiron 15 gaming laptop GTX 1050 i5-7300HQ. I did all the steps got to step 5 and nothing worked. The PCI wouldn't show. sat on it for 30 mins... ran back through the suggestions. I figured well wipe it and start again. Upon purge nvidia** i booted back into the login screen logged in had a hunch.. and bam it worked.. lol i literally really dont know what i did besides just wipe the apt-get install nvidia-driver nvidia-xconfig install and reboot into the login. I hope that helps anyone. If you've got questions I can try to help trace my steps and hope they help you. Thanks for the info OP'er.