Latest NVIDIA drivers

Questions about the installation of FreeBSD
Post Reply
[email protected]
Posts: 2
Joined: Tue Aug 22, 2023 11:33 am

Latest NVIDIA drivers

Post by [email protected] »

My Thinkpad needs the very latest graphics drivers, either from nvidia’s site or the FBSD ports tree from the last couple of weeks for the RTX 2000 card. Both the official and community editions fail to install completely because they can’t start X. What’s my best shot at installation process-wise?
User avatar
neville
Developer
Posts: 144
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: Latest NVIDIA drivers

Post by neville »

Hi. Welcome to GhostBSD. Are you using the latest ISO for GhostBSD? If not please try that. Your RTX 2000 should be recognised.
Otherwise you could try using the scfb legacy drivers to get GhostBSD installed and then get your NVIDIA drivers working from there.
What error messages do you get?
zazlox
Posts: 6
Joined: Mon May 22, 2023 5:42 pm

Re: Latest NVIDIA drivers

Post by zazlox »

Check here too. some useful info. it might help . https://forums.freebsd.org/threads/free ... ard.84724/
[email protected]
Posts: 2
Joined: Tue Aug 22, 2023 11:33 am

Re: Latest NVIDIA drivers

Post by [email protected] »

I tried the latest official and community releases-the drivers aren’t new enough. running desktop-installer fails on 13.2-RELEASE, and loading the latest NVIDIA-drm just gives a black screen, so I was hoping Ghost would work, but I didn’t put the bus-I’d in my conf, so I’ll give that a shot. I just need enough desktop to run VNC and bhyve
User avatar
ericbsd
Developer
Posts: 2116
Joined: Mon Nov 19, 2012 7:54 pm

Re: Latest NVIDIA drivers

Post by ericbsd »

I am guessing that you are running on a hybrid GPU system, which GhostBSD currently lacks the automation for hybrid GPU setup. @[email protected] you might want to look at https://forums.freebsd.org/threads/howt ... ost-519962.

from https://www.freshports.org/x11/nvidia-hybrid-graphics/
pkg-message:
Running Xorg-nvidia-headless at startup is recommended especially on mobile
systems since leaving Nvidia GPU powered on with no Xorg may consume
significantly more power.

# sysrc nvidia_xorg_enable=YES
# service nvidia_xorg start

The Xorg instance uses separate configuration files from the defaults for Xorg:

/usr/local/etc/X11/xorg-nvidia-headless.conf.d/

/usr/local/etc/X11/xorg-nvidia-headless-template.conf
Only used if xorg-nvidia-headless.conf does not exist.
This file is passed through nvidia-xconfig, which does not preserve
all options.

/usr/local/etc/X11/xorg-nvidia-headless.conf
Created by manually invoking /usr/local/bin/nvidia-headless-xconfig.
Once created, this configuration is not passed through nvidia-xconfig.

Configuration is not normally needed for typical OpenGL acceleration usage.

A properly configured xorg-nvidia-headless.conf will allow Xorg-nvidia-headless
to be started by non-superuser if Xorg has been installed setuid.WWW: https://github.com/therontarigo/freebsd-gpu-headless
Post Reply