Solved Any idea why my minimal xorg do not work?

pkg install xorg-minimal xf86-video-intel openbox

Code:
% cat .xinitrc
exec openbox-session

Code:
% cat /etc/X11/xorg.conf
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
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/"
EndSection

Section "Module"
   Load  "glx"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option       "XkbLayout" "fi"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/sysmouse"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                 # [<bool>]
        #Option     "AccelMethod"           # <str>
        #Option     "Backlight"             # <str>
        #Option     "CustomEDID"             # <str>
        #Option     "DRI"                   # <str>
        #Option     "Present"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "VideoKey"               # <i>
        #Option     "Tiling"                 # [<bool>]
        #Option     "LinearFramebuffer"      # [<bool>]
        #Option     "HWRotation"             # [<bool>]
        #Option     "VSync"                 # [<bool>]
        #Option     "PageFlip"               # [<bool>]
        #Option     "SwapbuffersWait"       # [<bool>]
        #Option     "TripleBuffer"           # [<bool>]
        #Option     "XvPreferOverlay"       # [<bool>]
        #Option     "HotPlug"               # [<bool>]
        #Option     "ReprobeOutputs"         # [<bool>]
        #Option     "XvMC"                   # [<bool>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "VirtualHeads"           # <i>
        #Option     "TearFree"               # [<bool>]
        #Option     "PerCrtcPixmaps"         # [<bool>]
        #Option     "FallbackDebug"         # [<bool>]
        #Option     "DebugFlushBatches"      # [<bool>]
        #Option     "DebugFlushCaches"       # [<bool>]
        #Option     "DebugWait"             # [<bool>]
        #Option     "BufferCache"           # [<bool>]
   Identifier  "Card0"
   Driver      "intel"
   BusID       "PCI:0:2:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
       Viewport   0 0
       Depth     24
       Modes "3200x1800"
   EndSubSection
EndSection

Code:
% cat /var/log/Xorg.0.log
[   523.947]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[   523.947] X Protocol Version 11, Revision 0
[   523.947] Build Operating System: FreeBSD 11.1-RELEASE-p6 amd64
[   523.947] Current Operating System: FreeBSD env 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
[   523.948] Build Date: 02 January 2018  09:31:19AM
[   523.948]  
[   523.948] Current version of pixman: 0.34.0
[   523.948]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   523.948] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   523.948] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan 10 18:16:26 2018
[   523.950] (==) Using config file: "/etc/X11/xorg.conf"
[   523.951] (==) ServerLayout "X.org Configured"
[   523.951] (**) |-->Screen "Screen0" (0)
[   523.951] (**) |   |-->Monitor "Monitor0"
[   523.952] (**) |   |-->Device "Card0"
[   523.952] (**) |-->Input Device "Mouse0"
[   523.952] (**) |-->Input Device "Keyboard0"
[   523.952] (==) Automatically adding devices
[   523.952] (==) Automatically enabling devices
[   523.952] (==) Not automatically adding GPU devices
[   523.953] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   523.955] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/misc/".
[   523.955]    Entry deleted from font path.
[   523.955]    (Run 'mkfontdir' on "/usr/local/share/fonts/misc/").
[   523.956] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/TTF/".
[   523.956]    Entry deleted from font path.
[   523.956]    (Run 'mkfontdir' on "/usr/local/share/fonts/TTF/").
[   523.956] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/OTF/".
[   523.956]    Entry deleted from font path.
[   523.956]    (Run 'mkfontdir' on "/usr/local/share/fonts/OTF/").
[   523.957] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/Type1/".
[   523.957]    Entry deleted from font path.
[   523.957]    (Run 'mkfontdir' on "/usr/local/share/fonts/Type1/").
[   523.960] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/100dpi/".
[   523.960]    Entry deleted from font path.
[   523.960]    (Run 'mkfontdir' on "/usr/local/share/fonts/100dpi/").
[   523.963] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/75dpi/".
[   523.963]    Entry deleted from font path.
[   523.964]    (Run 'mkfontdir' on "/usr/local/share/fonts/75dpi/").
[   523.964] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/misc/".
[   523.964]    Entry deleted from font path.
[   523.964]    (Run 'mkfontdir' on "/usr/local/share/fonts/misc/").
[   523.964] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/TTF/".
[   523.964]    Entry deleted from font path.
[   523.964]    (Run 'mkfontdir' on "/usr/local/share/fonts/TTF/").
[   523.964] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/OTF/".
[   523.964]    Entry deleted from font path.
[   523.964]    (Run 'mkfontdir' on "/usr/local/share/fonts/OTF/").
[   523.964] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/Type1/".
[   523.964]    Entry deleted from font path.
[   523.964]    (Run 'mkfontdir' on "/usr/local/share/fonts/Type1/").
[   523.964] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/100dpi/".
[   523.964]    Entry deleted from font path.
[   523.964]    (Run 'mkfontdir' on "/usr/local/share/fonts/100dpi/").
[   523.964] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/75dpi/".
[   523.964]    Entry deleted from font path.
[   523.964]    (Run 'mkfontdir' on "/usr/local/share/fonts/75dpi/").
[   523.964] (**) FontPath set to:
   
[   523.964] (**) ModulePath set to "/usr/local/lib/xorg/modules"
[   523.964] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   523.965] (WW) Disabling Mouse0
[   523.965] (WW) Disabling Keyboard0
[   523.965] (II) Loader magic: 0x80cc10
[   523.965] (II) Module ABI versions:
[   523.965]    X.Org ANSI C Emulation: 0.4
[   523.965]    X.Org Video Driver: 20.0
[   523.965]    X.Org XInput driver : 22.1
[   523.965]    X.Org Server Extension : 9.0
[   523.965] (--) PCI:*(0:0:2:0) 8086:1916:103c:80df rev 7, Mem @ 0xa1000000/16777216, 0x90000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/65536
[   523.965] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   523.965] (II) LoadModule: "glx"
[   523.967] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   523.989] (II) Module glx: vendor="X.Org Foundation"
[   523.989]    compiled for 1.18.4, module version = 1.0.0
[   523.989]    ABI class: X.Org Server Extension, version 9.0
[   523.989] (==) AIGLX enabled
[   523.989] (II) LoadModule: "intel"
[   523.990] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[   523.997] (II) Module intel: vendor="X.Org Foundation"
[   523.997]    compiled for 1.18.4, module version = 2.99.917
[   523.997]    Module class: X.Org Video Driver
[   523.997]    ABI class: X.Org Video Driver, version 20.0
[   523.997] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
   i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
   915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
   Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
   GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   523.999] (II) intel: Driver for Intel(R) HD Graphics
[   523.999] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   523.999] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   523.999] (--) Using syscons driver with X support (version 2.0)
[   523.999] (--) using VT number 9

[   524.255] (EE) No devices detected.
[   524.255] (EE)
Fatal server error:
[   524.255] (EE) no screens found(EE)
[   524.255] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[   524.255] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   524.255] (EE)
[   524.261] (EE) Server terminated with error (1). Closing log file.

Code:
% pciconf -lv
hostb0@pci0:0:0:0:   class=0x060000 card=0x80df103c chip=0x19048086 rev=0x08 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:   class=0x030000 card=0x80df103c chip=0x19168086 rev=0x07 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Skylake GT2 [HD Graphics 520]'
    class      = display
    subclass   = VGA
none0@pci0:0:4:0:   class=0x118000 card=0x80df103c chip=0x19038086 rev=0x08 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem'
    class      = dasp
xhci0@pci0:0:20:0:   class=0x0c0330 card=0x80df103c chip=0x9d2f8086 rev=0x21 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Sunrise Point-LP USB 3.0 xHCI Controller'
    class      = serial bus
    subclass   = USB
none1@pci0:0:20:2:   class=0x118000 card=0x80df103c chip=0x9d318086 rev=0x21 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Sunrise Point-LP Thermal subsystem'
    class      = dasp
none2@pci0:0:21:0:   class=0x118000 card=0x80df103c chip=0x9d608086 rev=0x21 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Sunrise Point-LP Serial IO I2C Controller'
    class      = dasp
none3@pci0:0:21:1:   class=0x118000 card=0x80df103c chip=0x9d618086 rev=0x21 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Sunrise Point-LP Serial IO I2C Controller'
    class      = dasp
none4@pci0:0:22:0:   class=0x078000 card=0x80df103c chip=0x9d3a8086 rev=0x21 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Sunrise Point-LP CSME HECI'
    class      = simple comms
ahci0@pci0:0:23:0:   class=0x010601 card=0x80df103c chip=0x9d038086 rev=0x21 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Sunrise Point-LP SATA Controller [AHCI mode]'
    class      = mass storage
    subclass   = SATA
pcib1@pci0:0:28:0:   class=0x060400 card=0x80df103c chip=0x9d158086 rev=0xf1 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Sunrise Point-LP PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:29:0:   class=0x060400 card=0x80df103c chip=0x9d188086 rev=0xf1 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Sunrise Point-LP PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:   class=0x060100 card=0x80df103c chip=0x9d488086 rev=0x21 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Sunrise Point-LP LPC Controller'
    class      = bridge
    subclass   = PCI-ISA
none5@pci0:0:31:2:   class=0x058000 card=0x80df103c chip=0x9d218086 rev=0x21 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Sunrise Point-LP PMC'
    class      = memory
hdac0@pci0:0:31:3:   class=0x040300 card=0x80df103c chip=0x9d708086 rev=0x21 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Sunrise Point-LP HD Audio'
    class      = multimedia
    subclass   = HDA
none6@pci0:0:31:4:   class=0x0c0500 card=0x80df103c chip=0x9d238086 rev=0x21 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Sunrise Point-LP SMBus'
    class      = serial bus
    subclass   = SMBus
iwm0@pci0:1:0:0:   class=0x028000 card=0x50108086 chip=0x095a8086 rev=0x61 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Wireless 7265'
    class      = network
none7@pci0:2:0:0:   class=0xff0000 card=0x80df103c chip=0x522a10ec rev=0x01 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTS522A PCI Express Card Reader'
 
okay, thanks. This is fresh install so probably better to reinstall and use FreeBSD 12.
 
Just keep in mind that CURRENT can break things. Unfortunately, for most laptops less than 3-4 years old, it is sometimes the only way to get good graphics
 
Back
Top