Solved Problem with login

Hi guys, I've one new problem with my PC. I've installed FreeBSD, created my user, installed Gnome, Xorg, NVidia's driver, GDM. After I've edited /etc/rc.conf. But after reboot I've this screen hosting immagini

I can not get into TTY with the key combination
 
Last edited by a moderator:
Some more info, would be helpful:
FreeBSD version
nvidia-driver version ?
nvidia HW model ?
uefi boot or not ?
have you run nvidia-xconfig ?
which nvidia module(s) have you loaded ?
 
Of course, I've installed FreeBSD 11, nvidia-driver 367 (I've Nvidia GeForce GT 730), UEFI boot (with rEFInd). I've launched nvidia-config.
 
Last edited by a moderator:
Use nvidia-modeset_load="YES" instead of nvidia_load="YES" in /boot/loader.conf.
 
Ok, I've "resolved" my problem, but gdm doesn't go and if I tried startx I had error nvidia kernel support. I tried with nvidia-driver and nvidia-driver-340
 
Look in /var/log/messages, did the kernel module load correctly?

Try it by hand: kldload nvidia-modeset
 
The latest drivers from NVidia have split up a few things. Older cards can still use nvidia, newer cards may require nvidia-modeset instead. If you get an image like the picture in the first post you'll need nvidia-modeset.

More importantly, you shouldn't get an error message when loading the kernel module, it doesn't matter which one, both should load without errors.
 
i didn't load nvidia-modeset because not found. This is my log.
Code:
root on hptoo mer nov 30 17:26:24
[dir.= /mnt/freebsd/var/log]  > cat Xorg.5.log
[    14.905] 
X.Org X Server 1.17.4
Release Date: 2015-10-28
[    14.905] X Protocol Version 11, Revision 0
[    14.905] Build Operating System: FreeBSD 11.0-RELEASE-p3 amd64 
[    14.905] Current Operating System: FreeBSD freebsd 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
[    14.905] Build Date: 03 November 2016  07:10:10AM
[    14.905]  
[    14.905] Current version of pixman: 0.34.0
[    14.905]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    14.905] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    14.905] (==) Log file: "/var/log/Xorg.5.log", Time: Wed Nov 30 14:41:41 2016
[    14.905] (==) Using config file: "/etc/X11/xorg.conf"
[    14.906] (==) ServerLayout "Layout0"
[    14.906] (**) |-->Screen "Screen0" (0)
[    14.906] (**) |   |-->Monitor "Monitor0"
[    14.906] (**) |   |-->Device "Device0"
[    14.906] (**) |-->Input Device "Keyboard0"
[    14.906] (**) |-->Input Device "Mouse0"
[    14.906] (==) Automatically adding devices
[    14.906] (==) Automatically enabling devices
[    14.906] (==) Not automatically adding GPU devices
[    14.906] (==) FontPath set to:
    /usr/local/share/fonts/misc/,
    /usr/local/share/fonts/TTF/,
    /usr/local/share/fonts/OTF/,
    /usr/local/share/fonts/Type1/,
    /usr/local/share/fonts/100dpi/,
    /usr/local/share/fonts/75dpi/
[    14.906] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    14.906] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    14.906] (WW) Disabling Keyboard0
[    14.906] (WW) Disabling Mouse0
[    14.906] (II) Loader magic: 0x8112f0
[    14.906] (II) Module ABI versions:
[    14.906]     X.Org ANSI C Emulation: 0.4
[    14.906]     X.Org Video Driver: 19.0
[    14.906]     X.Org XInput driver : 21.0
[    14.906]     X.Org Server Extension : 9.0
[    14.906] (--) PCI:*(0:1:0:0) 10de:1287:1462:292a rev 161, Mem @ 0xde000000/16777216, 0xd0000000/134217728, 0xd8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/65536
[    14.906] (II) LoadModule: "glx"
[    14.906] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    14.909] (II) Module glx: vendor="NVIDIA Corporation"
[    14.909]     compiled for 4.0.2, module version = 1.0.0
[    14.909]     Module class: X.Org Server Extension
[    14.909] (II) NVIDIA GLX Module  367.44  Wed Aug 17 22:01:17 PDT 2016
[    14.909] (II) LoadModule: "nvidia"
[    14.909] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[    14.909] (II) Module nvidia: vendor="NVIDIA Corporation"
[    14.909]     compiled for 4.0.2, module version = 1.0.0
[    14.909]     Module class: X.Org Video Driver
[    14.909] (II) NVIDIA dlloader X Driver  367.44  Wed Aug 17 21:41:06 PDT 2016
[    14.909] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    14.909] (--) Using syscons driver with X support (version 549739036674.0)
[    14.909] (++) using VT number 9

[    14.909] (II) Loading sub module "fb"
[    14.909] (II) LoadModule: "fb"
[    14.909] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[    14.909] (II) Module fb: vendor="X.Org Foundation"
[    14.909]     compiled for 1.17.4, module version = 1.0.0
[    14.909]     ABI class: X.Org ANSI C Emulation, version 0.4
[    14.909] (II) Loading sub module "wfb"
[    14.909] (II) LoadModule: "wfb"
[    14.910] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[    14.910] (II) Module wfb: vendor="X.Org Foundation"
[    14.910]     compiled for 1.17.4, module version = 1.0.0
[    14.910]     ABI class: X.Org ANSI C Emulation, version 0.4
[    14.910] (II) Loading sub module "ramdac"
[    14.910] (II) LoadModule: "ramdac"
[    14.910] (II) Module "ramdac" already built-in
[    14.910] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[    14.910] (EE) NVIDIA:     system's kernel log for additional error messages and
[    14.910] (EE) NVIDIA:     consult the NVIDIA README for details.
[    14.910] (EE) No devices detected.
[    14.910] (EE) 
Fatal server error:
[    14.910] (EE) no screens found(EE) 
[    14.910] (EE) 
Please consult the The X.Org Foundation support 
    at http://wiki.x.org
 for help. 
[    14.910] (EE) Please also check the log file at "/var/log/Xorg.5.log" for additional information.
[    14.910] (EE) 
[    14.910] (EE) Server terminated with error (1). Closing log file.
root on hptoo mer nov 30 17:27:11
I can login if I connected as root with startx
 
No, the Nouveau driver doesn't exist, it was removed quite some time ago. It was really bad and had zero support for FreeBSD.

nvidia-modeset should work though:
Code:
dice@williscorto:~> kldstat | grep nvidia
 4    1 0xffffffff81cc0000 10c210   nvidia-modeset.ko
 7    2 0xffffffff81e70000 f57558   nvidia.ko
Old log entry but it should look something like this:
Code:
Nov 25 12:05:29 williscorto kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  367.44  Wed Aug 17 22:05:09 PDT 2016
 
It might take a bit of fiddling but I'm sure we can get you up and running.
 
How can I move one file downloaded with linux on my freebsd? I mounted freebsd partition but it is only read
 
Don't know about Linux's UFS support, the other way around might be easier to do (mount the Linux partition from FreeBSD to copy the file).
 
Back
Top