You are not logged in.

#1 2017-01-15 15:00:16

csonyi
Member
Registered: 2017-01-15
Posts: 3

Installing NVidia driver after failing miserably sever times...

Hi there!

Almost absolute noob here. I have a Lenovo Y50 laptop.
Not the first probllem I had regarding linux, but the biggest one yet. Whenever I tried to install the video card drivers, It either failed before it even started (official installer), or when I rebooted the machine, there was a black screen, no desktop env, login screen, anything, only the booting messages (was using Cinnamon, then after some messing around, wich I have no idea what it was exactly, switched to GNOME, and its mostly working now).

The video card is a GeForce GTX 860M.

I was considering a complete reinstall, and then installing the drivers from yaourt/pacman.

What do you recommend?

Offline

#2 2017-01-15 15:15:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Installing NVidia driver after failing miserably sever times...

You only ever install the driver, and in fact any package, using pacman or makepkg.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-01-15 15:20:38

csonyi
Member
Registered: 2017-01-15
Posts: 3

Re: Installing NVidia driver after failing miserably sever times...

OK, whats wrong with yaourt? Just so i know smile

Offline

#4 2017-01-15 15:21:39

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: Installing NVidia driver after failing miserably sever times...

Hi csonyi, welcome to the forums.

Whenever I tried to install the video card drivers, It either failed before it even started (official installer) ... I was considering a complete reinstall, and then installing the drivers from yaourt/pacman.

If I'm reading this right, you used the driver installer which you downloaded from Nvidia's website? If that is the case, just rerun the installer with the --uninstall flag. I suspect that your laptop also has integrated intel graphics, so you will need to read this: https://wiki.archlinux.org/index.php/NVIDIA_Optimus

You say that you don't get a login screen, just boot messages. Can you press Alt+F2 at the boot messages to switch to a login prompt? If not, see https://wiki.archlinux.org/index.php/Sy … _boot_into and boot into rescue.target, which should get you a prompt. Failing that, use a liveCD and chroot into your broken system.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2017-01-15 15:30:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Installing NVidia driver after failing miserably sever times...

csonyi wrote:

OK, whats wrong with yaourt? Just so i know smile

While it does get a bad name around here, there is nothing really wrong with yaourt itself.  But this question just doesn't even make any sense here.  If you are installing something from the main repos, you are using pacman.  Even if you type "yaourt -Syu <pkgname>" yaourt just hands that off to pacman behind the scenes.

Not understanding what yaourt is doing behind the scenes is one of the main problems in how it is used.  And this comes from a willful effort on the part of those who create and distribute yaourt to allow users to remain dangerously ignorant of how their package management and the AUR actually works.  If you understand the basics of arch package management and how to use the AUR, there is absolutely nothing wrong with using yaourt.  If you don't understand these things, do not use any helper, especially not yaourt.

It also turns out that most (certainly not all) people, upon understanding these basics, have no interest in using yaourt.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2017-01-15 15:44:40

csonyi
Member
Registered: 2017-01-15
Posts: 3

Re: Installing NVidia driver after failing miserably sever times...

WorMzy wrote:

Hi csonyi, welcome to the forums.

Whenever I tried to install the video card drivers, It either failed before it even started (official installer) ... I was considering a complete reinstall, and then installing the drivers from yaourt/pacman.

If I'm reading this right, you used the driver installer which you downloaded from Nvidia's website? If that is the case, just rerun the installer with the --uninstall flag. I suspect that your laptop also has integrated intel graphics, so you will need to read this: https://wiki.archlinux.org/index.php/NVIDIA_Optimus

You say that you don't get a login screen, just boot messages. Can you press Alt+F2 at the boot messages to switch to a login prompt? If not, see https://wiki.archlinux.org/index.php/Sy … _boot_into and boot into rescue.target, which should get you a prompt. Failing that, use a liveCD and chroot into your broken system.

I have already solved the blank screen problem, my question here really is this: How should I install the NVidia drivers?
I have read a few threads, and seen many people who said that I should explicitly use pacman, and not the installer.
I will read the wiki entries, thank you very much for your help!

Offline

#7 2017-01-15 15:52:35

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: Installing NVidia driver after failing miserably sever times...

How should I install the NVidia drivers?

Using pacman. There is absolutely no reason to use nvidia's installer on an Arch PC, and only makes it harder for yourself.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2017-01-15 23:50:41

TheEzekielProject
Member
Registered: 2017-01-15
Posts: 5

Re: Installing NVidia driver after failing miserably sever times...

Hi csonyi,
I have the same gpu in my laptop. Have you checked to see if you have an Optimus enabled laptop?

EDIT: Ah, I see WorMzy has mentioned this as well

Last edited by TheEzekielProject (2017-01-15 23:54:05)

Offline

Board footer

Powered by FluxBB