option VESA
, and without option VT
, and any of the option VT_
entries which follow the option VT
entry, because the latter pull in vesa.ko by loading that module it at boot time.On the second thought, though, HOW could you install and boot your system in UEFI mode give that you're usingI had similar problem on PC with nvidia - when I switched from graphical to console via Ctrl-Alt-F2-3-4 I got some big colored tetris-like figures, with no readable fonts.
Installation was: FreeBSD 11.1 +nVidia +BIOS (not UEFI) +UFS +entire disk ;
After hours of unsuccessfully trying many options, somewhere on this forum I read that in UEFI mode there is no such problem, and since that was fresh installation, I had nothing to lose, so I reinstalled system on UEFI mode. (as entire disk, ZFS), now nVidia-switch-to-console-and-back works fine.
[edit] typo
UEFI specification requires that you have (1) GPT partition scheme and (2) first partition to be EFI type...entire disk, ZFS
... when I switched from graphical to console via Ctrl-Alt-F2-3-4 I got some big colored tetris-like figures, with no readable fonts...
I now took a look.... would show like a laser pointer what needs to be fixed in the code, presumably in the vesa.ko module.
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 630"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 630"
BusID "PCI:1:0:0"
Screen 1
EndSection
WHy should you need 2 Device sections? If you have 2 monitors, Xorg will handle that automatically -- or you can use NVIDIA driver options to handle that. You either remove the second Device section or you add other sections to show how you use your "Screen 0" and "Screen 1".Hello, I am new to FreeBSD, and I have a problem, the Xorg image is extremely small, and I have no idea how to solve it, I have read the base of questions and answers, and I have not found any solution , I think my problem comes from my nvidia card, here is my xorg.conf.d / nvidia.conf
Code:Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GT 630" BusID "PCI:1:0:0" Screen 0 EndSection Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GT 630" BusID "PCI:1:0:0" Screen 1 EndSection
Well, nvidia-xsettings will do no harm by itself. It's only a configuration utility and doesn't interfere in Xorg functionality. But what really works for your hardware can be found in /var/log/Xorg.0.log. That is how I figured out what I needed for my dual monitor configuration.hello, then, if I remove the second device section, xorg should recognize it without nvidia-xsettings
I'm going to do it, but first uninstall nvidia-xsettings?
if they are less programs it is better.
Thanks for your help,
So you said you read the manual? Where does it say you need that?...
hald_enable = "YES"
...
kld_list="linux linux64 nvidia nvidia-modeset"
coretemp aesni fuse
This really needs to be known more widely.Remove every trace of xorg.conf. You really don't need it and you don't need to create it. Then create /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf
Code:Section "Device" Identifier "Card0" Driver "nvidia" #BusID "PCI:2:0:0" EndSection
And in /boot/loader.conf:
Code:nvidia-modeset_load="YES"
The Linux module is NOT required for the driver to work. It's only needed if you need to have accelerated graphics on Linux applications.
I think this has more to do with Xorg configuration than with nvidia in particular. And actually this can be found in xorg.conf(5) man page. It mentions there the possibility of using xorg.conf OR separate files in xorg.conf.d directory. The latter approach is more minimalistic because it only requires explicit declaration of what is "different" -- like driver name or specific monitor configuration. The rest of it Xorg does by default, a good deal of it. And that seems logical, too.This really needs to be known more widely.
The BusID is only needed if you have more than one graphics card. If you only have one card there's no need or requirement to add the BusID in the config.It creates an xorg.conf file for the nvidia card, sometimes putting in things that I wouldn't have noticed, such as a bus ID.
sudo mkdir /usr src
sudo svnlite co https://svn.freebsd.org/base/releng/12.0 /usr/src
I still need to install the ssys kernel thing.Hrrm, you need that for pkg install? I didn't know that. I keep thinking of putting up a little page, but they keep fixing various small things, so that it seems by the time I get a page up, it will be wasted.
To install the source, they are talking about the source code for the system.
If there isn't a /usr/src directory, create it. (You'll need root privilege). Then you check out the source code with svnlite.
Code:sudo mkdir /usr src sudo svnlite co https://svn.freebsd.org/base/releng/12.0 /usr/src
If you have a /usr/src directory you don't need the mkdir command. Depending where you live, you might want to specify an svn server. For example, I'm in NY, so I use svn0.us-east.freebsd.org. I use 12.0 here, if you're using 11.2 then you would change the 12.0 to 11.2
The Nvidia instruction assumes you are downloading the source file, building and installing the driver independent of the supported software installation methods on FreeBSD, which are ports and packages. Stay with the supported methods. Package installing the nvidia driver requires only the Linux kernel module to be loaded. The kernel sources are needed if you are using the port. It is strongly recommended not to mix ports and packages.I am trying to work through the instruction for installing the Nvidia driver. I did a pkg install last night, but evidently there is much more to be done. the Nvidia instructions
http://us.download.nvidia.com/XFree86/FreeBSD-x86_64/410.78/README/installationandconfiguration.html
say that "... the kernel source tree must be installed (ssys installed)
pw groupmod wheel -m oldsubsailor
, reboot the system. Log in as user, execute startx
. If all went well the twm window manager comes up. To exit left click and choose exit from the menu.The Nvidia instruction assumes you are downloading the source file, building and installing the driver independent of the supported software installation methods on FreeBSD, which are ports and packages. Stay with the supported methods. Package installing the nvidia driver requires only the Linux kernel module to be loaded. The kernel sources are needed if you are using the port. It is strongly recommended not to mix ports and packages.
You apparently have installed the nvidia driver already, skip to the configuration, set in in /etc/rc.conf the line kld_list=“nvidia-modeset” and, if haven't done it previously, add the users to the wheel group e.g.pw groupmod wheel -m oldsubsailor
, reboot the system. Log in as user, executestartx
. If all went well the twm window manager comes up. To exit left click and choose exit from the menu.
You might find the x11/nvidia-settings tool useful to manipulate brightness, temperature, gamma, OpenGL settings.