Difference between revisions of "How to install Nvidia drivers"

From GhostBSD Wiki
Jump to: navigation, search
(Additional Information)
(Frostygoth)
 
(4 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
===Frostygoth===
 
===Frostygoth===
  
on Telegram on 24.01.2010 at 21:18
+
on Telegram on 24.01.2020 at 21:18
  
<code>sudo pkg install nvidia-driver-440.31</code> will install the latest nvidia driver from pkg
+
<code>sudo pkg install nvidia-driver-440.31</code> <br/>
 +
 
 +
will install the latest nvidia driver from pkg
  
 
'''But how to apply it'''
 
'''But how to apply it'''
  
on Telegram on 24.01.2010 at 21:24 -51
+
on Telegram on 24.01.2020 at 21:24 -51
  
<code>kldload_nvidia="nvidia-modeset nvidia</code>  
+
<code>kldload_nvidia="nvidia-modeset nvidia</code> <br/>
set in
+
<code> /etc/rc.conf</code> file;
+
  
Also set the line  
+
set in <br/>
<code>Driver "nvidia</code> in <code> /etc/X11/xorg.conf</code>
+
 
 +
<code> /etc/rc.conf</code> <br/>file;
 +
 
 +
Also set the line <br/>
 +
 
 +
<code>Driver "nvidia</code> <br/> in<br/> <code> /etc/X11/xorg.conf</code>
 +
 
 +
You need to install the driver with <br/>
 +
 
 +
<code>pkg install nvidia-driverXXXXX</code>. <br/>
 +
 
 +
Then once it's installed you want to make sure that you load the driver at boot by making sure that the
 +
 
 +
line <br/>
 +
 
 +
<code>kldload_nvidia="nvidia-modeset nvidia</code><br/>
 +
 
 +
is present in your<br/>
  
You need to install the driver with
 
<code>pkg install nvidia-driverXXXXX</code>.
 
Then once it's installed you want to make sure that you load the driver at boot by making sure that the line
 
<code>kldload_nvidia="nvidia-modeset nvidia</code>
 
is present in your
 
 
<code>/etc/rc.conf</code> file.  
 
<code>/etc/rc.conf</code> file.  
  
You may need to add this line to  
+
You may need to add this line to <br/>
<code>/etc/rc.conf</code>.
+
 
You also need to make sure that your  
+
<code>/etc/rc.conf</code>.<br/>
<code>/etc/X11/xorg.conf</code> 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
+
You also need to make sure that your <br/>
 +
 
 +
<code>/etc/X11/xorg.conf</code> <br/>
 +
 
 +
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
 
Driver "nvidia" —> /etc/X11/xorg.conf
  
<code>kldload | grep nvidia </code>  
+
<code>kldload | grep nvidia </code> <br/>
That'll tell you if the drivers are loaded at least</br>
+
 
 +
That'll tell you if the drivers are loaded at least<br/>
 +
 
 +
But as long as you've got the
 +
 
 +
<code>kldload_nvidia="nvidia-modeset nvidia</code>  
  
But as long as you've got the <code>kldload_nvidia="nvidia-modeset nvidia</code> line in your /etc/rc.conf then they'll load automatically after a reboot.
+
line in your ''/etc/rc.conf'' then they'll load automatically after a reboot.
  
 
'''Attantion'''
 
'''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 [[How to install Nvidia drivers#Additional Information|Additional Information]].
+
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 [[How to install Nvidia drivers#Additional Information|Additional Information]].
  
 
===Lilly Elijah Victoria Evans===  
 
===Lilly Elijah Victoria Evans===  
  
on Telegram on 24.01.2010 at 21:48 and confirmation from Neville Goddard 25.01.2020 00:11
+
on Telegram on 24.01.2020 at 21:48 and confirmation from Neville Goddard 25.01.2020 00:11
  
 
'''But how to apply it'''
 
'''But how to apply it'''
Line 57: Line 80:
  
 
===Neville Goddard===
 
===Neville Goddard===
on Telegram on 16.02.2010 at 04:10
+
on Telegram on 16.02.2020 at 04:10
  
 
Run nvidia-xconfig then reboot
 
Run nvidia-xconfig then reboot
  
 
===John R===
 
===John R===
on Telegram on 16.02.2010 at 04:16
+
on Telegram on 16.02.2020 at 04:16
  
 
First install required packages:
 
First install required packages:
Line 96: Line 119:
 
For example, to install the latest driver:
 
For example, to install the latest driver:
  
<code><nowiki>#</nowiki> cd /usr/ports/x11/nvidia-driver</code>
+
<code><nowiki>#</nowiki> cd /usr/ports/x11/nvidia-driver</code><br/>
 
<code><nowiki>#</nowiki> make install clean</code>
 
<code><nowiki>#</nowiki> make install clean</code>
  
 +
===Discussions on the GhostBSD Forum===
 +
 +
* [https://forums.ghostbsd.org/viewtopic.php?f=65&t=946 NVIDIA Madness on 11.1]  [SOLVED]
 +
 +
* [https://forums.ghostbsd.org/viewtopic.php?f=65&t=385 Nvidia problem]  [SOLVED]
 +
 +
* [https://forums.ghostbsd.org/viewtopic.php?f=65&t=465 nVidia drivers on 10.3]  [SOLVED]
 +
 +
* [https://forums.ghostbsd.org/viewtopic.php?f=65&t=452 installing nvidia driver]
  
 +
* [https://forums.ghostbsd.org/viewtopic.php?f=65&t=392 Nvidia driver install best version.]
  
  
Line 111: Line 144:
  
  
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px"  
+
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:center;padding: 10px"  
 
|-
 
|-
 
|'''Back to ''' [[image:Icon Disti GhostBSD.png|50px|link=How To]] '''How To'''
 
|'''Back to ''' [[image:Icon Disti GhostBSD.png|50px|link=How To]] '''How To'''

Latest revision as of 13:48, 23 October 2020

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