How to install Nvidia drivers

From GhostBSD Wiki
Revision as of 12:40, 16 February 2020 by Slughorn (Talk | contribs) (John R)

Jump to: navigation, search
Welcome to Icon Disti GhostBSD.png How to install Nvidia drivers.

Introduction

On this page we collect some tips from the community.

Suggestions

Frostygoth

on Telegram on 24.01.2010 at 21:18

sudo pkg install nvidia-driver-440.31 will install the latest nvidia driver from pkg

But how to apply it

on Telegram on 24.01.2010 at 21:24 -51

kldload_nvidia="nvidia-modeset nvidia set in /etc/rc.conf file;

Also set the line Driver "nvidia in /etc/X11/xorg.conf

You need to install the driver with pkg install nvidia-driverXXXXX. Then once it's installed you want to make sure that you load the driver at boot by making sure that the line kldload_nvidia="nvidia-modeset nvidia is present in your /etc/rc.conf file.

You may need to add this line to /etc/rc.conf. You also need to make sure that your /etc/X11/xorg.conf file has the Driver identified as "nvidia", which may require you to replace 'nv' with 'nvidia'. </br> kldload_nvidia="nvidia-modeset nvidia" —> /etc/rc.conf

Driver "nvidia" —> /etc/X11/xorg.conf

kldload | grep nvidia That'll tell you if the drivers are loaded at least</br>

But as long as you've got the kldload_nvidia="nvidia-modeset nvidia line in your /etc/rc.conf then they'll load automatically after a reboot.

Attantion

The entire folder of /etc/X11 is empty. It might be, that this suggestion is not help.

Lilly Elijah Victoria Evans

on Telegram on 24.01.2010 at 21:48 and confirmation from Neville Goddard 25.01.2020 00:11

But how to apply it

sudo nvidia-xconfig

And then reboot.

Neville Goddard

on Telegram on 16.02.2010 at 04:10

Run nvidia-xconfig then reboot

John R

on Telegram on 16.02.2010 at 04:16

First install required packages:

pkg install nvidia-xconfig

pkg install nvidia-settings

Then run as root

nvidia-xconfig

Then reboot.

This will create the needed file.

You shouldn't need to edit this.








Back to Icon Disti GhostBSD.png How To