Hi all,
After a
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
From /boot/loader.conf
and
My /etc/X11/xorg.conf
From /var/log/Xorg.0.log
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
Code:
# nvidia
nvidia_load="YES"
nvidia-modeset_load="YES"
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.