Solved Xorg and NVidia: cannot start X but no logged errors

Hi all,

After a pkg upgrade earlier today, I'm unable to launch Xorg with xinit /usr/local/bin/openbox-session. I get a black screen, my monitor reports 'No Signal', and goes into power save mode. I can still ssh into the box, but I can't get a console (or I don't know how to get a console).

I've done something wrong (clearly), or missed a step somewhere in my configuration, but I'm not sure what exactly. Thanks in advance for your help!

I'm on 11.0-RELEASE-p11 and have the following settings:
nvidia-driver version
Code:
> pkg info | grep nvidia-driver                                                                                                               
nvidia-driver-375.66           NVidia graphics card binary drivers for hardware OpenGL rendering
From /boot/loader.conf
Code:
# nvidia                                                                                                                                         
nvidia_load="YES"                                                                                                                               
nvidia-modeset_load="YES"
and kldstat | grep nvidia
Code:
> kldstat | grep nvidia                                                                                                                       
35    2 0xffffffff826ac000 10567e8  nvidia.ko                                                                                                   
36    1 0xffffffff83703000 114f90   nvidia-modeset.ko

My /etc/X11/xorg.conf
Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
   Option         "AIGLX" "true"       
EndSection

Section "Files"
   ModulePath   "/usr/local/lib/xorg/modules"
   FontPath     "/usr/local/share/fonts/misc/"
   FontPath     "/usr/local/share/fonts/TTF/"
   FontPath     "/usr/local/share/fonts/OTF/"
   FontPath     "/usr/local/share/fonts/Type1/"
   FontPath     "/usr/local/share/fonts/100dpi/"
   FontPath     "/usr/local/share/fonts/75dpi/"
   FontPath   "/usr/local/share/font-ipa/"
   FontPath   "/usr/local/share/font-ipa-uigothic/"
   FontPath   "/usr/local/share/font-ipaex/"
   FontPath   "/usr/local/share/font-kochi/"
   FontPath   "/usr/local/share/font-migmix/"
   FontPath   "/usr/local/share/font-migu/"
   FontPath   "/usr/local/share/font-mona-ipa/"
   FontPath   "/usr/local/share/font-mplus-ipa/"
   FontPath   "/usr/local/share/font-sazanami/"
   FontPath   "/usr/local/share/font-shinonome/"
   FontPath   "/usr/local/share/fonts/CharisSIL/"
   FontPath   "/usr/local/share/fonts/CharisSILCompact/"
   FontPath        "/usr/local/share/fonts/DoulosSIL/"
   FontPath        "/usr/local/share/fonts/Droid/"
   FontPath   "/usr/local/share/fonts/ecofont/"
   FontPath        "/usr/local/share/fonts/anonymous-pro/"
   FontPath        "/usr/local/share/fonts/artwiz-aleczapka-en/"
   FontPath        "/usr/local/share/fonts/cyrillic/"
   FontPath        "/usr/local/share/fonts/dejavu/"
   FontPath        "/usr/local/share/fonts/encodings/"
   FontPath   "/usr/local/share/fonts/inconsolata/"
   FontPath   "/usr/local/share/fonts/isabella-ttf/"
   FontPath   "/usr/local/share/fonts/junicode/"
   FontPath        "/usr/local/share/fonts/misc/"
   FontPath   "/usr/local/share/fonts/proggy_fonts/"
   FontPath        "/usr/local/share/fonts/proggy_fonts-ttf/"
   FontPath        "/usr/local/share/fonts/stix/"
   FontPath        "/usr/local/share/fonts/terminus-font/"
   FontPath   "/usr/local/share/fonts/ubuntu-font/"
   FontPath   "/usr/local/share/fonts/urwfonts-ttf/"
   FontPath        "/usr/local/share/fonts/util/"
   FontPath        "/usr/local/share/fonts/webfonts/"
   FontPath   "/usr/local/share/fonts/cantarell/"
   FontPath   "/usr/local/share/fonts/LinLibertineG/"
   FontPath   "/usr/local/share/fonts/Liberation/"
   FontPath   "/usr/local/share/fonts/GentiumBasic/"
   FontPath   "/usr/local/share/fonts/Carlito/"
   FontPath   "/usr/local/share/fonts/Caladea/"
   FontPath   "/usr/local/share/fonts/Paratype/"
   FontPath   "/usr/local/share/fonts/tmu/"
EndSection

Section "Module"
   Load   "dbe"
   Load   "dri"
   Load   "dri2"
   Load   "extmod"
   Load   "record"   
    Load   "freetype"
    Load   "bitmap"
    Load   "type1"
    Load   "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
   Modes       "1920x1080"   
    EndSubSection
EndSection

From /var/log/Xorg.0.log
Code:
[   521.719]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[   521.719] X Protocol Version 11, Revision 0
[   521.719] Build Operating System: FreeBSD 11.0-RELEASE-p11 amd64
[   521.719] Current Operating System: FreeBSD ditrestle 11.0-RELEASE-p9 FreeBSD 11.0-RELEASE-p9 #0: Tue Apr 11 08:48:40 UTC 2017     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
[   521.719] Build Date: 13 July 2017  09:43:21AM
[   521.719]  
[   521.719] Current version of pixman: 0.34.0
[   521.719]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   521.720] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   521.720] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug  2 14:44:09 2017
[   521.722] (==) Using config file: "/etc/X11/xorg.conf"
[   521.722] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[   521.723] (==) ServerLayout "Layout0"
[   521.723] (**) |-->Screen "Screen0" (0)
[   521.723] (**) |   |-->Monitor "Monitor0"
[   521.724] (**) |   |-->Device "Device0"
[   521.724] (**) |-->Input Device "Keyboard0"
[   521.724] (**) |-->Input Device "Mouse0"
[   521.724] (**) Option "AIGLX" "true"
[   521.724] (==) Automatically adding devices
[   521.724] (==) Automatically enabling devices
[   521.724] (==) Not automatically adding GPU devices
[   521.725] (==) Max clients allowed: 256, resource mask: 0x1fffff
...snip -- fonts stuff...
[   521.749] (**) ModulePath set to "/usr/local/lib/xorg/modules"
[   521.749] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   521.749] (WW) Disabling Keyboard0
[   521.749] (WW) Disabling Mouse0
[   521.749] (II) Loader magic: 0x813b70
[   521.749] (II) Module ABI versions:
[   521.749]    X.Org ANSI C Emulation: 0.4
[   521.749]    X.Org Video Driver: 20.0
[   521.749]    X.Org XInput driver : 22.1
[   521.749]    X.Org Server Extension : 9.0
[   521.749] (--) PCI:*(0:3:0:0) 10de:0ff3:10de:1162 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/65536
[   521.749] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   521.749] (II) LoadModule: "dbe"
[   521.749] (II) Module "dbe" already built-in
[   521.749] (II) LoadModule: "dri2"
[   521.749] (II) Module "dri2" already built-in
[   521.749] (II) LoadModule: "extmod"
[   521.749] (II) Module "extmod" already built-in
[   521.749] (II) LoadModule: "record"
[   521.750] (II) Module "record" already built-in
[   521.750] (II) LoadModule: "glx"
[   521.751] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   521.826] (II) Module glx: vendor="NVIDIA Corporation"
[   521.826]    compiled for 4.0.2, module version = 1.0.0
[   521.826]    Module class: X.Org Server Extension
[   521.826] (II) NVIDIA GLX Module  375.66  Mon May  1 14:55:58 PDT 2017
[   521.827] (II) LoadModule: "nvidia"
[   521.828] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[   521.834] (II) Module nvidia: vendor="NVIDIA Corporation"
[   521.834]    compiled for 4.0.2, module version = 1.0.0
[   521.834]    Module class: X.Org Video Driver
[   521.835] (II) NVIDIA dlloader X Driver  375.66  Mon May  1 14:35:35 PDT 2017
[   521.835] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   521.836] (--) Using syscons driver with X support (version 16777218.0)
[   521.836] (--) using VT number 9

[   521.855] (II) Loading sub module "fb"
[   521.855] (II) LoadModule: "fb"
[   521.855] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[   521.857] (II) Module fb: vendor="X.Org Foundation"
[   521.857]    compiled for 1.18.4, module version = 1.0.0
[   521.857]    ABI class: X.Org ANSI C Emulation, version 0.4
[   521.857] (II) Loading sub module "wfb"
[   521.857] (II) LoadModule: "wfb"
[   521.857] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[   521.859] (II) Module wfb: vendor="X.Org Foundation"
[   521.859]    compiled for 1.18.4, module version = 1.0.0
[   521.860]    ABI class: X.Org ANSI C Emulation, version 0.4
[   521.860] (II) Loading sub module "ramdac"
[   521.860] (II) LoadModule: "ramdac"
[   521.860] (II) Module "ramdac" already built-in
[   521.862] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   521.862] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   521.862] (==) NVIDIA(0): RGB weight 888
[   521.862] (==) NVIDIA(0): Default visual is TrueColor
[   521.862] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   521.863] (**) NVIDIA(0): Enabling 2D acceleration
[   522.636] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:3:0:0
[   522.636] (--) NVIDIA(0):     CRT-0
[   522.636] (--) NVIDIA(0):     DFP-0
[   522.636] (--) NVIDIA(0):     DFP-1
[   522.636] (--) NVIDIA(0):     DFP-2 (boot)
[   522.637] (II) NVIDIA(0): NVIDIA GPU Quadro K420 (GK107GL) at PCI:3:0:0 (GPU-0)
[   522.637] (--) NVIDIA(0): Memory: 2097152 kBytes
[   522.637] (--) NVIDIA(0): VideoBIOS: 80.07.f0.00.01
[   522.637] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   522.641] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   522.641] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   522.641] (--) NVIDIA(GPU-0):
[   522.644] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   522.644] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   522.644] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   522.644] (--) NVIDIA(GPU-0):
[   522.646] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   522.646] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   522.646] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   522.646] (--) NVIDIA(GPU-0):
[   522.647] (--) NVIDIA(GPU-0): DELL P2417H (DFP-2): connected
[   522.647] (--) NVIDIA(GPU-0): DELL P2417H (DFP-2): Internal DisplayPort
[   522.647] (--) NVIDIA(GPU-0): DELL P2417H (DFP-2): 960.0 MHz maximum pixel clock
[   522.647] (--) NVIDIA(GPU-0):
[   522.653] (II) NVIDIA(0): Validated MetaModes:
[   522.653] (II) NVIDIA(0):     "DFP-2:1920x1080"
[   522.653] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[   522.663] (--) NVIDIA(0): DPI set to (92, 91); computed from "UseEdidDpi" X config
[   522.663] (--) NVIDIA(0):     option
[   522.663] (--) Depth 24 pixmap format is 32 bpp
[   522.663] (II) NVIDIA: Reserving 12288.00 MB of virtual memory for indirect memory
[   522.663] (II) NVIDIA:     access.
[   522.728] (II) NVIDIA(0): Setting mode "DFP-2:1920x1080"
[   522.827] (==) NVIDIA(0): Disabling shared memory pixmaps
[   522.827] (==) NVIDIA(0): Backing store enabled
[   522.827] (==) NVIDIA(0): Silken mouse enabled
[   522.829] (**) NVIDIA(0): DPMS enabled
[   522.829] (II) Loading sub module "dri2"
[   522.829] (II) LoadModule: "dri2"
[   522.829] (II) Module "dri2" already built-in
[   522.829] (II) NVIDIA(0): [DRI2] Setup complete
[   522.829] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   522.829] (--) RandR disabled
[   522.829] (II) Initializing extension GLX
[   522.829] (II) Indirect GLX disabled.
[   523.004] (II) config/devd: probing input devices...
[   523.004] (II) config/devd: adding input device (null) (/dev/kbdmux)
[   523.004] (II) LoadModule: "kbd"
[   523.004] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[   523.005] (II) Module kbd: vendor="X.Org Foundation"
[   523.005]    compiled for 1.18.4, module version = 1.9.0
[   523.005]    Module class: X.Org XInput Driver
[   523.005]    ABI class: X.Org XInput driver, version 22.1
[   523.005] (II) Using input driver 'kbd' for 'kbdmux'
[   523.005] (**) kbdmux: always reports core events
[   523.005] (**) kbdmux: always reports core events
[   523.005] (**) Option "Protocol" "standard"
[   523.005] (**) Option "XkbRules" "base"
[   523.005] (**) Option "XkbModel" "pc105"
[   523.005] (**) Option "XkbLayout" "us"
[   523.005] (**) Option "config_info" "devd:kbdmux"
[   523.005] (II) XINPUT: Adding extended input device "kbdmux" (type: KEYBOARD, id 6)
[   523.006] (II) config/devd: kbdmux is enabled, ignoring device ukbd0
[   523.006] (II) config/devd: kbdmux is enabled, ignoring device atkbd0
[   523.006] (II) config/devd: adding input device (null) (/dev/sysmouse)
[   523.006] (II) LoadModule: "mouse"
[   523.006] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[   523.007] (II) Module mouse: vendor="X.Org Foundation"
[   523.007]    compiled for 1.18.4, module version = 1.9.2
[   523.007]    Module class: X.Org XInput Driver
[   523.007]    ABI class: X.Org XInput driver, version 22.1
[   523.007] (II) Using input driver 'mouse' for 'sysmouse'
[   523.007] (**) sysmouse: always reports core events
[   523.007] (**) Option "Device" "/dev/sysmouse"
[   523.007] (==) sysmouse: Protocol: "Auto"
[   523.007] (**) sysmouse: always reports core events
[   523.007] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50
[   523.007] (**) sysmouse: ZAxisMapping: buttons 4 and 5
[   523.007] (**) sysmouse: Buttons: 5
[   523.007] (**) Option "config_info" "devd:sysmouse"
[   523.007] (II) XINPUT: Adding extended input device "sysmouse" (type: MOUSE, id 7)
[   523.007] (**) sysmouse: (accel) keeping acceleration scheme 1
[   523.007] (**) sysmouse: (accel) acceleration profile 0
[   523.007] (**) sysmouse: (accel) acceleration factor: 2.000
[   523.007] (**) sysmouse: (accel) acceleration threshold: 4
[   523.007] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0
[   523.007] (II) sysmouse: SetupAuto: protocol is SysMouse
[   523.008] (II) config/devd: device /dev/ums0 already opened
[   523.008] (II) config/devd: device /dev/ums1 already opened
[   523.008] (--) NVIDIA(GPU-0): DELL P2417H (DFP-2): connected
[   523.008] (--) NVIDIA(GPU-0): DELL P2417H (DFP-2): Internal DisplayPort
[   523.008] (--) NVIDIA(GPU-0): DELL P2417H (DFP-2): 960.0 MHz maximum pixel clock
[   523.008] (--) NVIDIA(GPU-0):
[   523.037] (II) config/devd: terminating backend...
[   523.037] (II) UnloadModule: "mouse"
[   523.037] (II) UnloadModule: "kbd"
[   523.398] (II) NVIDIA(GPU-0): Deleting GPU-0
[   523.419] (II) Server terminated successfully (0). Closing log file.
 
More complete specs of the box would be useful, I think. Especially the nVidia graphics card model. The black screen issue sounds a bit like the driver is trying to go into modesetting mode, but dies or hangs.
 
Atsuri -- thanks for the response and the reminder to be more informative :)

More complete specs of the box would be useful, I think. Especially the nVidia graphics card model. The black screen issue sounds a bit like the driver is trying to go into modesetting mode, but dies or hangs.

The card is an NVidia Quadro K420 (GK107). I don't remember this from my initial install, but the `subclass = VGA` seems a bit weird (probably just my bad memory).

Here is the output of dmesg -a and pciconf -lv.
Code:
Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-RELEASE-p9 #0: Tue Apr 11 08:48:40 UTC 2017
    root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
VT(vga): resolution 640x480
CPU: Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz (2095.20-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x406f1  Family=0x6  Model=0x4f  Stepping=1
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7ffefbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x121<LAHF,ABM,Prefetch>
  Structured Extended Features=0x21cbfbb<FSGSBASE,TSCADJ,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,PQM,NFPUSG,PQE,RDSEED,ADX,SMAP,PROCTRACE>
  XSAVE Features=0x1<XSAVEOPT>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr
  TSC: P-state invariant, performance statistics
real memory  = 34359738368 (32768 MB)
avail memory = 33184858112 (31647 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <DELL   CBX3   >
FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
FreeBSD/SMP: 1 package(s) x 8 core(s) x 2 hardware threads
random: unblocking device.
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
random: entropy device external interface
kbd1 at kbdmux0
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0xffffffff8101d970, 0) error 19
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  375.66  Mon May  1 15:00:06 PDT 2017
vtvga0: <VT VGA driver> on motherboard
cryptosoft0: <software crypto> on motherboard
acpi0: <DELL CBX3   > on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
cpu4: <ACPI CPU> on acpi0
cpu5: <ACPI CPU> on acpi0
cpu6: <ACPI CPU> on acpi0
cpu7: <ACPI CPU> on acpi0
cpu8: <ACPI CPU> on acpi0
cpu9: <ACPI CPU> on acpi0
cpu10: <ACPI CPU> on acpi0
cpu11: <ACPI CPU> on acpi0
cpu12: <ACPI CPU> on acpi0
cpu13: <ACPI CPU> on acpi0
cpu14: <ACPI CPU> on acpi0
cpu15: <ACPI CPU> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71,0x74-0x77 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 350
Event timer "HPET1" frequency 14318180 Hz quality 340
Event timer "HPET2" frequency 14318180 Hz quality 340
Event timer "HPET3" frequency 14318180 Hz quality 340
Event timer "HPET4" frequency 14318180 Hz quality 340
Event timer "HPET5" frequency 14318180 Hz quality 340
Event timer "HPET6" frequency 14318180 Hz quality 340
Event timer "HPET7" frequency 14318180 Hz quality 340
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pcib0: _OSC returned error 0x10
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI Host-PCI bridge> port 0xcf8-0xcff numa-domain 0 on acpi0
pcib1: _OSC returned error 0x10
pci1: <ACPI PCI bus> numa-domain 0 on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 26 at device 1.0 numa-domain 0 on pci1
pci2: <ACPI PCI bus> numa-domain 0 on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 26 at device 1.1 numa-domain 0 on pci1
pci3: <ACPI PCI bus> numa-domain 0 on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 32 at device 2.0 numa-domain 0 on pci1
pci4: <ACPI PCI bus> numa-domain 0 on pcib4
vgapci0: <VGA-compatible display> port 0xe000-0xe07f mem 0xf6000000-0xf6ffffff,0xe0000000-0xefffffff,0xf0000000-0xf1ffffff irq 32 at device 0.0 numa-domain 0 on pci4
nvidia0: <Quadro K420> numa-domain 0 on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: Boot video device
hdac0: <NVIDIA (0x0e1b) HDA Controller> mem 0xf7080000-0xf7083fff irq 36 at device 0.1 numa-domain 0 on pci4
pcib5: <ACPI PCI-PCI bridge> irq 40 at device 3.0 numa-domain 0 on pci1
pci5: <ACPI PCI bus> numa-domain 0 on pcib5
pcib6: <ACPI PCI-PCI bridge> irq 40 at device 3.1 numa-domain 0 on pci1
pci6: <ACPI PCI bus> numa-domain 0 on pcib6
pcib7: <ACPI PCI-PCI bridge> irq 40 at device 3.2 numa-domain 0 on pci1
pci7: <ACPI PCI bus> numa-domain 0 on pcib7
pcib8: <ACPI PCI-PCI bridge> irq 40 at device 3.3 numa-domain 0 on pci1
pci8: <ACPI PCI bus> numa-domain 0 on pcib8
pci1: <unknown> at device 17.0 (no driver attached)
ahci0: <Intel Wellsburg AHCI SATA controller> port 0xf130-0xf137,0xf120-0xf123,0xf110-0xf117,0xf100-0xf103,0xf040-0xf05f mem 0xf713d000-0xf713d7ff irq 16 at device 17.4 numa-domain 0 on pci1
ahci0: AHCI v1.30 with 4 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
xhci0: <Intel Wellsburg USB 3.0 controller> mem 0xf7120000-0xf712ffff irq 19 at device 20.0 numa-domain 0 on pci1
xhci0: 32 bytes context size, 64-bit DMA
usbus0 numa-domain 0 on xhci0
pci1: <simple comms> at device 22.0 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xf020-0xf03f mem 0xf7100000-0xf711ffff,0xf7139000-0xf7139fff irq 20 at device 25.0 numa-domain 0 on pci1
em0: Using an MSI interrupt
em0: Ethernet address: 48:4d:7e:d5:e1:84
em0: netmap queues/slots: TX 1/1024, RX 1/1024
ehci0: <Intel Wellsburg USB 2.0 controller> mem 0xf7138000-0xf71383ff irq 18 at device 26.0 numa-domain 0 on pci1
usbus1: EHCI version 1.0
usbus1 numa-domain 0 on ehci0
hdac1: <Intel Wellsburg HDA Controller> mem 0xf7130000-0xf7133fff irq 22 at device 27.0 numa-domain 0 on pci1
pcib9: <ACPI PCI-PCI bridge> irq 16 at device 28.0 numa-domain 0 on pci1
pcib9: [GIANT-LOCKED]
pcib10: <ACPI PCI-PCI bridge> irq 17 at device 28.1 numa-domain 0 on pci1
pci9: <ACPI PCI bus> numa-domain 0 on pcib10
pcib11: <ACPI PCI-PCI bridge> at device 0.0 numa-domain 0 on pci9
pci10: <ACPI PCI bus> numa-domain 0 on pcib11
ehci1: <Intel Wellsburg USB 2.0 controller> mem 0xf7137000-0xf71373ff irq 18 at device 29.0 numa-domain 0 on pci1
usbus2: EHCI version 1.0
usbus2 numa-domain 0 on ehci1
isab0: <PCI-ISA bridge> at device 31.0 numa-domain 0 on pci1
isa0: <ISA bus> numa-domain 0 on isab0
ahci1: <Intel Patsburg (RAID) AHCI SATA controller> port 0xf090-0xf097,0xf080-0xf083,0xf070-0xf077,0xf060-0xf063,0xf000-0xf01f mem 0xf7136000-0xf71367ff irq 16 at device 31.2 numa-domain 0 on pci1
ahci1: AHCI v1.30 with 4 6Gbps ports, Port Multiplier not supported
ahcich4: <AHCI channel> at channel 0 on ahci1
ahcich5: <AHCI channel> at channel 1 on ahci1
ahcich6: <AHCI channel> at channel 2 on ahci1
ahciem1: <AHCI enclosure management bridge> on ahci1
acpi_button0: <Power Button> on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
orm0: <ISA Option ROM> at iomem 0xc0000-0xce7ff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: cannot reserve I/O port range
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
coretemp1: <CPU On-Die Thermal Sensors> on cpu1
est1: <Enhanced SpeedStep Frequency Control> on cpu1
coretemp2: <CPU On-Die Thermal Sensors> on cpu2
est2: <Enhanced SpeedStep Frequency Control> on cpu2
coretemp3: <CPU On-Die Thermal Sensors> on cpu3
est3: <Enhanced SpeedStep Frequency Control> on cpu3
coretemp4: <CPU On-Die Thermal Sensors> on cpu4
est4: <Enhanced SpeedStep Frequency Control> on cpu4
coretemp5: <CPU On-Die Thermal Sensors> on cpu5
est5: <Enhanced SpeedStep Frequency Control> on cpu5
coretemp6: <CPU On-Die Thermal Sensors> on cpu6
est6: <Enhanced SpeedStep Frequency Control> on cpu6
coretemp7: <CPU On-Die Thermal Sensors> on cpu7
est7: <Enhanced SpeedStep Frequency Control> on cpu7
coretemp8: <CPU On-Die Thermal Sensors> on cpu8
est8: <Enhanced SpeedStep Frequency Control> on cpu8
coretemp9: <CPU On-Die Thermal Sensors> on cpu9
est9: <Enhanced SpeedStep Frequency Control> on cpu9
coretemp10: <CPU On-Die Thermal Sensors> on cpu10
est10: <Enhanced SpeedStep Frequency Control> on cpu10
coretemp11: <CPU On-Die Thermal Sensors> on cpu11
est11: <Enhanced SpeedStep Frequency Control> on cpu11
coretemp12: <CPU On-Die Thermal Sensors> on cpu12
est12: <Enhanced SpeedStep Frequency Control> on cpu12
coretemp13: <CPU On-Die Thermal Sensors> on cpu13
est13: <Enhanced SpeedStep Frequency Control> on cpu13
coretemp14: <CPU On-Die Thermal Sensors> on cpu14
est14: <Enhanced SpeedStep Frequency Control> on cpu14
coretemp15: <CPU On-Die Thermal Sensors> on cpu15
est15: <Enhanced SpeedStep Frequency Control> on cpu15
fuse-freebsd: version 0.4.4, FUSE ABI 7.8
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 480Mbps High Speed USB v2.0
usbus2: 480Mbps High Speed USB v2.0
ugen0.1: <0x8086> at usbus0
uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
nvme cam probe device init
hdacc0: <NVIDIA (0x0042) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0042) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0042) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0042) (HDMI/DP 8ch)> at nid 5 on hdaa0
hdacc1: <Realtek (0x0280) HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek (0x0280) Audio Function Group> at nid 1 on hdacc1
pcm2: <Realtek (0x0280) (Analog 2.0+HP/2.0)> at nid 20,21 and 26 on hdaa1
pcm3: <Realtek (0x0280) (Rear Analog)> at nid 27 and 24 on hdaa1
ses0 at ahciem0 bus 0 scbus1 target 0 lun 0
ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
cd0 at ahcich0 bus 0 scbus0 target 0 lun 0
cd0: <PLDS DVD+-RW DS-8ABSH LD11> Removable CD-ROM SCSI device
cd0: Serial Number 9F42JPLC0069264SXA04
cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
ses0: SEMB SES Device
ses1 at ahciem1 bus 0 scbus5 target 0 lun 0
ses1: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ses1: SEMB SES Device
ada0 at ahcich4 bus 0 scbus2 target 0 lun 0
ada0: <INTEL SSDSC2BF256A5 SATA 256GB LB1i> ACS-3 ATA SATA 3.x device
ada0: Serial Number CVTR635302XM256HGN
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 244198MB (500118192 512 byte sectors)
ada1 at ahcich5 bus 0 scbus3 target 0 lun 0
ada1: <TOSHIBA DT01ACA050 MS1OA810> ATA8-ACS SATA 3.x device
ada1: Serial Number X6R7GTEKS
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 476940MB (976773168 512 byte sectors)
ada2 at ahcich6 bus 0 scbus4 target 0 lun 0
ada2: <TOSHIBA DT01ACA050 MS1OA810> ATA8-ACS SATA 3.x device
ada2: Serial Number X6R7GWHKS
ada2: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 476940MB (976773168 512 byte sectors)
SMP: AP CPU #1 Launched!
SMP: AP CPU #9 Launched!
SMP: AP CPU #11 Launched!
SMP: AP CPU #15 Launched!
SMP: AP CPU #13 Launched!
SMP: AP CPU #12 Launched!
SMP: AP CPU #4 Launched!
SMP: AP CPU #5 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #6 Launched!
SMP: AP CPU #7 Launched!
SMP: AP CPU #10 Launched!
SMP: AP CPU #8 Launched!
SMP: AP CPU #14 Launched!
Trying to mount root from zfs:zroot/ROOT/default []...
uhub2: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub0: 21 ports with 21 removable, self powered
Root mount waiting for: usbus2 usbus1 usbus0
ugen0.2: <Microchip Tech> at usbus0
uhub3: <Microchip Tech USB2744, class 9/0, rev 2.10/2.02, addr 1> on usbus0
uhub3: MTT enabled
ugen1.2: <vendor 0x8087> at usbus1
uhub4: <vendor 0x8087 product 0x800a, class 9/0, rev 2.00/0.05, addr 2> on usbus1
ugen2.2: <vendor 0x8087> at usbus2
uhub5: <vendor 0x8087 product 0x8002, class 9/0, rev 2.00/0.05, addr 2> on usbus2
uhub4: 6 ports with 6 removable, self powered
uhub5: 8 ports with 8 removable, self powered
Root mount waiting for: usbus0
Root mount waiting for: usbus0
uhub3: 5 ports with 4 removable, self powered
Root mount waiting for: usbus0
ugen0.3: <Microchip Tech> at usbus0
ugen0.4: <PixArt> at usbus0
Root mount waiting for: usbus0
ugen0.5: <CM Storm> at usbus0
ukbd0: <CM Storm QuickFire Rapid keyboard, class 0/0, rev 1.10/0.01, addr 4> on usbus0
kbd2 at ukbd0
Root mount waiting for: usbus0
ugen0.6: <Microchip Tech> at usbus0
uhub6: <Microchip Tech USB5744, class 9/0, rev 3.00/2.02, addr 5> on usbus0
Root mount waiting for: usbus0
Root mount waiting for: usbus0
uhub6: 5 ports with 4 removable, self powered
Setting hostuuid: 4c4c4544-0056-5210-8046-b5c04f504432.
Setting hostid: 0xd89e5b7a.
Starting file system checks:
Mounting local filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/gcc5 /usr/local/lib/gegl-0.2 /usr/local/lib/graphviz /usr/local/lib/mysql /usr/local/lib/nss /usr/local/lib/opencollada /usr/local/lib/perl5/5.24/mach/CORE /usr/local/lib/qt4 /usr/local/lib/qt5 /usr/local/lib/samba4 /usr/local/llvm33/lib /usr/local/llvm36/lib /usr/local/llvm39/lib /usr/local/llvm40/lib /usr/local/share/chromium
32-bit compatibility ldconfig path: /usr/lib32
Setting hostname: ditrestle.
Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
em0: link state changed to UP
Starting Network: lo0 em0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
   options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
   inet 127.0.0.1 netmask 0xff000000
   nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
   groups: lo
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
   options=4019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN_HWTSO>
   ether 48:4d:7e:d5:e1:84
   nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
   media: Ethernet autoselect (100baseTX <full-duplex>)
   status: active
Starting devd.
ums0: <PixArt Dell MS116 USB Optical Mouse, class 0/0, rev 2.00/1.00, addr 3> on usbus0
ums0: 3 buttons and [XYZ] coordinates ID=0
ums1: <CM Storm QuickFire Rapid keyboard, class 0/0, rev 1.10/0.01, addr 4> on usbus0
Starting dhclient.
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 160.36.192.3
bound to 160.36.193.207 -- renewal in 302400 seconds.
Starting ums0 moused.
Starting ums1 moused.
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Mounting NFS filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/gcc5 /usr/local/lib/gegl-0.2 /usr/local/lib/graphviz /usr/local/lib/mysql /usr/local/lib/nss /usr/local/lib/opencollada /usr/local/lib/perl5/5.24/mach/CORE /usr/local/lib/qt4 /usr/local/lib/qt5 /usr/local/lib/samba4 /usr/local/llvm33/lib /usr/local/llvm36/lib /usr/local/llvm39/lib /usr/local/llvm40/lib /usr/local/share/chromium
32-bit compatibility ldconfig path: /usr/lib32
Creating and/or trimming log files.
Starting syslogd.
NFS access cache time=60
No core dumps found.
Additional ABI support: linux.
Clearing /tmp.
Recovering vi editor sessions:.
Updating motd:.
Mounting late filesystems:.
Starting powerd.
Starting default mousedmoused: unable to open /dev/psm0: No such file or directory
.
Starting dbus.
Starting hald.
Starting cupsd.
Configuring vt: blanktime.
Performing sanity check on sshd configuration.
Starting sshd.
Starting cron.
Starting background file system checks in 60 seconds.

Code:
...snip...
vgapci0@pci0:3:0:0:   class=0x030000 card=0x116210de chip=0x0ff310de rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'GK107GL [Quadro K420]'
    class      = display
    subclass   = VGA
hdac0@pci0:3:0:1:   class=0x040300 card=0x116210de chip=0x0e1b10de rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'GK107 HDMI Audio Controller'
    class      = multimedia
    subclass   = HDA
 
Thanks a lot for the extra information :). According to this quick search engine: http://www.nvidia.com/download/driverResults.aspx/120921/en-us your card should be supported by the mainline driver. Not sure about modesetting support for Quadro workstation graphics, though. I have an older Quadro FX 1800 myself, but since it uses the 340.xx line, it doesn't have modesetting support built-in. You could try loading only the nvidia driver module in /boot/loader.conf instead of both or only the modesetting driver.

Did it work fine in previous versions of FreeBSD like 10.3-RELEASE? Since 11.1 is out, you could also try updating whether anything changes, but I feel like it's mostly down to the driver itself.
 
Atsuri --

Thanks (again!). Once I'm back at my desk I'll try taking
Code:
nvidia_load="YES"
out of /boot/loader.conf and see where that gets me. The card/driver was working great until I did a
Code:
pkg upgrade
yesterday. I think that you're right: it would be a good idea to go ahead and upgrade to 11.1.

I appreciate the help.
 
Leave nvidia_load in there. It's nvidia-modeset_load that needs to be removed. It's required for some of the newer cards but not all cards. It's difficult to look up but it's possible the Quadro cards don't need it.
 
SirDice -- thanks. I've almost finished upgrading to 11.1 and I've taken your advice with /boot/loader.conf.
 
Thanks, Atsurie and SirDice, for your time and trouble -- after some restarts I was able to get Xorg back and running. It looks like nvidia-modeset_load="YES" needs to be included in /boot/loader.conf for this particular Quadro.
 
Back
Top