How to install Nvidia drivers

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

Introduction[edit]

On this page we collect some tips from the community.

Suggestions[edit]

Frostygoth[edit]

on Telegram on 24.01.2020 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.2020 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'.

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

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 on GhostBSD is empty. It might be, that this suggestion is not help. Or it has to get installed from the ports. See Additional Information.

Lilly Elijah Victoria Evans[edit]

on Telegram on 24.01.2020 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[edit]

on Telegram on 16.02.2020 at 04:10

Run nvidia-xconfig then reboot

John R[edit]

on Telegram on 16.02.2020 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.


Additional Information[edit]

NVIDIA FreeBSD Graphics Driver Archive: https://www.nvidia.com/en-us/drivers/unix/freebsd-archive/

FreeBSD Display Driver – x64 https://www.nvidia.de/Download/driverResults.aspx/142666/de

Setting up the FreeBSD nVidia driver: docs:

  • The latest versions of nVidia cards are supported by the x11/nvidia-driver port.
  • nVidia cards like the GeForce 2MX/3/4 series are supported by the 96XX series of drivers, available in the x11/nvidia-driver-96xx port.
  • Even older cards, like GeForce and RIVA TNT are supported by the 71XX series of drivers, available in the x11/nvidia-driver-71xx port.

Installing the nVidia driver For example, to install the latest driver:

# cd /usr/ports/x11/nvidia-driver
# make install clean

Discussions on the GhostBSD Forum[edit]






Back to Icon Disti GhostBSD.png How To