Nvidia Geforce 1030 config

I am really thankful for every useful info the advanced demons published on the official FreeBSD forum here. In this very post, I am giving a report on what I used of these bits (pun not intended, but bad enough to not leave it out :}) of knowledge on my own FreeBSD box. So, there is nothing new, I am just communicating what I exactly did and how it worked.

For those of you who have never been confronted with the problem: it is quite common that certain native graphic drivers cannot endure wide screens - with other words, you get ellipses instead of circles, and Arial Narrow looks like Verdana. If your GUI looks like this, you can be pretty sure that your graphic card needs some extra configuration files, or an extra driver.

If you are a spoilt Linux-user like me, then you are used to your system being nice enough to warn you at the boot screen about some missing modules. If you are a spoilt Debian-user like me, then you know the only thing you need to do is finding the appropriate driver - for your graphic card - amongst teh Debian packages, and so apt-get install is yer friend. That's it (if you are lucky. I was).

If you decide to do extreme sports and use FreeBSD, then you should be prepared for some extra stresshormone boosts.
(I am not the only one who discovered that following the official handbook is not always the right thing to do, this can be read on the linked forum too. I highly recommend everyone to NOT use those info's, unless you are ready to face a kernel panic and/or making your system literally unbootable.)

First of all, you should enable loading of Linux kernel module at the boot process. (This is because the Linux compatibility option is enabled "by default" in the port you are about to use.) This can be achieved by adding this single line

to the file
(If you don't do this in the beginning, then pkg will return with complaints about lack of Linux kernel modul making it impossible to install the mentioned driver.)


Find out if your Nvidia card can handle the newer, or the older driver version - consult the official Nvidia site, but for hell's sake do NOT download ANYTHING you find there! That site is only for reference and for finding out which driver you need.

Now you might say

# pkg install nvidia-driver
(at least this is what I had to say, having this very card. Older cards might need nvidia-driver-340 or nvidia-driver-304.)

As the driver is not only just some decorative element, and it will not begin to work magically, we must convince the kernel modules to be loaded when booting. This is done via editing the

file. You might edit it manually, adding
but extremists might use the sysrc command. Like this:
# sysrc kld_list+="nvidia-modeset"
Now you can choose between rebooting or loading the required modules by
# kdload nvidia
Wait, we are still not ready! Check if the /usr/local/etc/X11/xorg.conf.d directory exists; if not, then create it.

In this directory - and not anywhere else -, create the Nvidia driver config file, quite logically, with the name driver-nvidia.conf

This file should include exactly the following content:

Section "Device"
Identifier "NVIDIA Card"
VendorName "NVIDIA Corporation"
Driver "nvidia"
Save it.

Login, and now you can adjust your widescreen resolutions.