How do I switch to proprietary nvidia drivers?


(Jerome) #1

Hi Neofytos,

Thanks for your link.
Im a newbie. Can you explain me how to install proprietary drivers ?

Jerome.


Kmail crash second after open it
Kmail crash second after open it
(Neofytos Kolokotronis) #2

It’s a shame cause our wiki is currently down so I can’t directly link you to our guide.

Can you please share the output of

inxi -F

Edit: The related guide has since been added by @robgriff444 into our #tutorials section:


(Jerome) #3

Hi Neofytos,

I can’t give you that output.
I opened Octopi and install NVIDIA packages and then reboot.
Since that, I can’t boot. I have some text in white and after it stops and the screen flashes quickly and undefinately. I have to do a long-push on the power-on button to force shutdown.
I can have the recovery mode, but I don’t know to use it.
How can I have my system back ?

Jerome.


(Robert Griffiths) #4

Can you switch to another tty? (press Ctrl-alt-F1, graphics screen is Ctrl-alt-F7).

If you can, then you can run pacman to do the following (this is from the wiki - I got it from google’s cached version):

Steps to switch from Nouveau to NVIDIA

Update your system and remove entries related to nouveau:

sudo pacman -Syu
sudo pacman -Rdd mesa-libgl
sudo pacman -R xf86-video-nouveau
Most NVIDIA graphics cards need these packages:

sudo pacman -S nvidia
sudo pacman -S nvidia-utils
7xxx and below graphics cards:

sudo pacman -S nvidia-304xx
sudo pacman -S nvidia-304xx-utils
This step only needed for 304xx: To create the correct entries in /etc/x11/xorg.conf:

sudo nvidia-xconfig

No hardware accelaration after switching to proprietary nvidia drivers
(Jerome) #5

Hi Robert,

Thank you for your reply.
Can I do this in recovery mode ?


(Jerome) #6

Hi Neofytos,

What I have in recovery mode

Jerome.


(Neofytos Kolokotronis) #7

Hello,

Yes sure you can do this procedure in recovery mode.

I was asking for that output to see what kind of drivers I would suggest installing. In your case inxi -F says GT218, GeForce 210, so according to nvidia’s drivers website, you should go for nvidia 340xx.

So to sum up, these are the steps to follow:

  1. Boot into recovery mode.
  2. Make sure your system is updated by running
    sudo pacman -Syu
  3. Remove related entries to nouveau
    sudo pacman -Rdd mesa-libgl
    sudo pacman -R xf86-video-nouveau
  4. Install nvidia drivers for your card
    sudo pacman -S nvidia-340xx
    sudo pacman -S nvidia-340xx-utils
  5. Keep fingers crossed and reboot.

Good luck! :slight_smile:


(Jerome) #8

I can’t do it (see below)

I’ll do a proper install.
Do what u tell to do to switch Nouveau to Nvidia. See if Kmail crashes and tell u.
If it is the same, I’ll use thunderbird.

Jerome.


(Neofytos Kolokotronis) #9

You can’t do it because you don’t have an internet connection. I guess you used to connect by wireless. Try instead plugging the computer on the modem via an ethernet cable if possible.

If you are going to reinstall, you can also try installing with non-free drivers when asked on booting the ISO, this will attempt to detect and install the proper nvidia drivers for your card.


(Jerome) #10

I connected an ethernet cable.
So I decided to reinstall with “non free drivers” option as you propose.


(Neofytos Kolokotronis) #11

If you have internet now, it should be easier to just do the process above.

I went ahead and split this into a new thread as the discussion was getting off topic.


(Jerome) #12

Hi everyone,

I did below after reinstalling of Chakra and updating.

  1. Remove related entries to nouveau
    sudo pacman -Rdd mesa-libgl
    sudo pacman -R xf86-video-nouveau
  2. Install nvidia drivers for your card
    sudo pacman -S nvidia-340xx
    sudo pacman -S nvidia-340xx-utils
  3. Keep fingers crossed and reboot.

And it works. I see animation I didn’t see at the booting screen.

Thanks Neofytos and Robert for your help.

Jerome.


(Robert Griffiths) #13

Glad it’s sorted Jerome, if something like this happens again, it’s good to know how to use chroot, here’s the arch page: https://wiki.archlinux.org/index.php/change_root - you can use this to switch a root environment to another device which means that you can boot from your install media and use chroot to change to your installed hard drive and make the system think that’s what you booted from so you can then run pacman commands etc. This may prevent you from needing to do a fresh install to fix something like this in the future.


(Hans Tovetjärn) #14