Xorg dies after package updates - unsupported device?

After updating several packages with portmaster I get errors trying to start Xorg. I don't know what packages were updated. Everything worked fine before the updates. I have reinstalled the package and get the same results. The video card is the same as before. At the rate I am going, I soon will not have any hair left.


Code:
xf86-video-nv-2.1.21_1         X.Org nv display driver

xorg-7.7_2                     X.Org complete distribution metaport
xorg-apps-7.7_2                X.org apps meta-port
xorg-docs-1.7.1,1              X.org documentation files
xorg-drivers-7.7_5             X.org drivers meta-port
xorg-fonts-7.7_1               X.org fonts meta-port
xorg-fonts-100dpi-7.7          X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-7.7           X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.7        X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.7     X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.7_1      X.Org TrueType fonts
xorg-fonts-type1-7.7           X.Org Type1 fonts
xorg-libraries-7.7_2           X.org libraries meta-port
xorg-macros-1.19.1             X.Org development aclocal macros
xorg-server-1.18.4,1           X.Org X server and related programs
The attached snip of the log file shows that my video card is not supported as shown in the file. Is this a problem with the updates?

Code:
root@Prometheus:/var/log # view Xorg.0.log
[  2097.997]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  2097.997] X Protocol Version 11, Revision 0
[  2097.997] Build Operating System: FreeBSD 10.3-RELEASE-p11 amd64
[  2097.997] Current Operating System: FreeBSD Prometheus 10.3-RELEASE-p11 FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24
UTC 2016     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
[  2097.997] Build Date: 12 February 2017  12:48:44PM
[  2097.997]
[  2097.997] Current version of pixman: 0.34.0
[  2097.997]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  2097.997] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2097.997] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Feb 12 14:44:07 2017
[  2097.998] (II) Loader magic: 0x802c20
[  2097.998] (II) Module ABI versions:
[  2097.998]    X.Org ANSI C Emulation: 0.4
[  2097.998]    X.Org Video Driver: 20.0
[  2097.998]    X.Org XInput driver : 22.1
[  2097.998]    X.Org Server Extension : 9.0
[  2097.998] (--) PCI:*(0:1:0:0) 10de:10c3:196e:0877 rev 162, Mem @ 0xfd000000/16777216, 0xc0000000/268435456, 0xd0000000/33
554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/65536
[  2097.998] (==) Using default built-in configuration (39 lines)
[  2097.998] (==) --- Start of built-in configuration ---
[  2097.998]    Section "Device"
[  2097.998]            Identifier      "Builtin Default nv Device 0"
[  2097.998]            Driver  "nv"
[  2097.998]    EndSection
[  2097.998]    Section "Screen"
[  2097.998]            Identifier      "Builtin Default nv Screen 0"
[  2097.998]            Device  "Builtin Default nv Device 0"
[  2097.998]    EndSection


GeForce 8400 SE, GeForce 8500 GT, GeForce 8400 GS, GeForce 8300 GS,
        GeForce 8400 GS, GeForce 8600M GS, GeForce 8400M GT,
        GeForce 8400M GS, GeForce 8400M G, Quadro NVS 140M, Quadro NVS 130M,

[  2098.003] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  2098.003] (II) scfb: driver for wsdisplay framebuffer: scfb
[  2098.003] (II) VESA: driver for VESA chipsets: vesa
[  2098.003] (--) Using syscons driver with X support (version 0.x)
[  2098.003] (--) using VT number 9

[  2098.021] (WW) NV: Ignoring unsupported device 0x10de10c3 (GT218 [GeForce 8400 GS Rev. 3]) at 01@00:00:0
[  2098.021] (EE) open /dev/dri/card0: No such file or directory
[  2098.021] (WW) Falling back to old probe method for modesetting
[  2098.021] (EE) open /dev/dri/card0: No such file or directory
[  2098.021] (WW) Falling back to old probe method for scfb
[  2098.021] scfb trace: probe start
[  2098.021] (II) scfb(1): using default device
[  2098.021] scfb trace: probe done
[  2098.021] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  2098.021] (EE) Screen 0 deleted because of no matching config section.
[  2098.021] (II) UnloadModule: "modesetting"
[  2098.021] (EE)
Fatal server error:
[  2098.021] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[  2098.021] (EE)
[  2098.021] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  2098.021] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2098.021] (EE)
[  2098.034] (EE) Server terminated with error (1). Closing log file.

Does anybody have any idea what is causing this?
 
Code:
NV: Ignoring unsupported device 0x10de10c3 (GT218
you card would be better supported from the nvidia-driver-340 package, instead of "nv" ... also may be "nv" is competing and conflicting with the nvidia module if installed.

Code:
(EE) open /dev/dri/card0: No such file or directory
This is a symptom of drmn.ko module not loaded, or your user is not a member of wheel or video groups.
 
Code:
kld_list="i915kms"
in /etc/rc.conf actually fixed it for me (I had more or less the same framebuffer error). Never had a use for it (that I'm aware of) until the latest X upgrade, but oh well.

You can also try
Code:
kld_list="i915kms drmn"
to see if the /dev/dri error goes away.
 
Code:
kld_list="i915kms"
in /etc/rc.conf actually fixed it for me (I had more or less the same framebuffer error). Never had a use for it (that I'm aware of) until the latest X upgrade, but oh well.

I was seeing the same issue as Crotalus after updating the same packages, only difference is that I'm using an integrated intel GPU.

Adding i915kms and installing the xf86-video-intel package resolved it for me.
 
I also have an integrated Intel GPU, but xf86-video-intel was already installed here (and was apparently enough until yesterday).
 
I seem to have been bitten by the same/similar issue:
Code:
[   987.878]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[   987.878] X Protocol Version 11, Revision 0
[   987.878] Build Operating System: FreeBSD 11.0-RELEASE-p7 amd64
[   987.878] Current Operating System: FreeBSD fbsd-bil 11.0-RELEASE-p2 FreeBSD 11.0-RELEASE-p2 #0: Mon Oct 24 06:55:27 UTC 2016     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
[   987.879] Build Date: 12 February 2017  11:42:41AM
[   987.879]
[   987.879] Current version of pixman: 0.34.0
[   987.879]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   987.879] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   987.879] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 14 14:36:10 2017
[   987.879] (II) Loader magic: 0x813b60
[   987.879] (II) Module ABI versions:
[   987.879]    X.Org ANSI C Emulation: 0.4
[   987.879]    X.Org Video Driver: 20.0
[   987.879]    X.Org XInput driver : 22.1
[   987.880]    X.Org Server Extension : 9.0
[   987.880] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/134217728, BIOS @ 0x????????/65536
[   987.880] (==) Using default built-in configuration (39 lines)
[   987.880] (==) --- Start of built-in configuration ---
[   987.880]    Section "Device"
[   987.880]            Identifier      "Builtin Default vboxvideo Device 0"
[   987.880]            Driver  "vboxvideo"
[   987.880]    EndSection
[   987.880]    Section "Screen"
[   987.880]            Identifier      "Builtin Default vboxvideo Screen 0"
[   987.880]            Device  "Builtin Default vboxvideo Device 0"
[   987.880]    EndSection
[   987.880]    Section "Device"
[   987.880]            Identifier      "Builtin Default modesetting Device 0"
[   987.880]            Driver  "modesetting"
[   987.880]    EndSection
[   987.880]    Section "Screen"
[   987.880]            Identifier      "Builtin Default modesetting Screen 0"
[   987.880]            Device  "Builtin Default modesetting Device 0"
[   987.880]    EndSection
[   987.880]    Section "Device"
[   987.880]            Identifier      "Builtin Default scfb Device 0"
[   987.880]            Driver  "scfb"
[   987.880]    EndSection
[   987.880]    Section "Screen"
[   987.880]            Identifier      "Builtin Default scfb Screen 0"
[   987.880]            Device  "Builtin Default scfb Device 0"
[   987.880]    EndSection
[   987.880]    Section "Device"
[   987.881]            Identifier      "Builtin Default vesa Device 0"
[   987.881]            Driver  "vesa"
[   987.881]    EndSection
[   987.881]    Section "Screen"
[   987.881]            Identifier      "Builtin Default vesa Screen 0"
[   987.881]            Device  "Builtin Default vesa Device 0"
[   987.881]    EndSection
[   987.881]    Section "ServerLayout"
[   987.881]            Identifier      "Builtin Default Layout"
[   987.881]            Screen  "Builtin Default vboxvideo Screen 0"
[   987.881]            Screen  "Builtin Default modesetting Screen 0"
[   987.881]            Screen  "Builtin Default scfb Screen 0"
[   987.881]            Screen  "Builtin Default vesa Screen 0"
[   987.881]    EndSection
[   987.881] (==) --- End of built-in configuration ---
[   987.881] (==) ServerLayout "Builtin Default Layout"
[   987.881] (**) |-->Screen "Builtin Default vboxvideo Screen 0" (0)
[   987.881] (**) |   |-->Monitor "<default monitor>"
[   987.881] (**) |   |-->Device "Builtin Default vboxvideo Device 0"
[   987.881] (==) No monitor specified for screen "Builtin Default vboxvideo Screen 0".
        Using a default monitor configuration.
[   987.881] (**) |-->Screen "Builtin Default modesetting Screen 0" (1)
[   987.881] (**) |   |-->Monitor "<default monitor>"
[   987.881] (**) |   |-->Device "Builtin Default modesetting Device 0"
[   987.881] (==) No monitor specified for screen "Builtin Default modesetting Screen 0".
        Using a default monitor configuration.
[   987.881] (**) |-->Screen "Builtin Default scfb Screen 0" (2)
[   987.881] (**) |   |-->Monitor "<default monitor>"
[   987.882] (**) |   |-->Device "Builtin Default scfb Device 0"
[   987.882] (==) No monitor specified for screen "Builtin Default scfb Screen 0".
        Using a default monitor configuration.
[   987.882] (**) |-->Screen "Builtin Default vesa Screen 0" (3)
[   987.882] (**) |   |-->Monitor "<default monitor>"
[   987.882] (**) |   |-->Device "Builtin Default vesa Device 0"
[   987.882] (==) No monitor specified for screen "Builtin Default vesa Screen 0".
        Using a default monitor configuration.
[   987.882] (==) Automatically adding devices
[   987.882] (==) Automatically enabling devices
[   987.882] (==) Not automatically adding GPU devices
[   987.882] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   987.882] (==) 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/
[   987.882] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[   987.882] (II) The server relies on devd to provide the list of input devices.
        If no devices become available, reconfigure devd or disable AutoAddDevices.
[   987.882] (II) LoadModule: "glx"
[   987.882] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   987.884] (II) Module glx: vendor="X.Org Foundation"
[   987.884]    compiled for 1.18.4, module version = 1.0.0
[   987.884]    ABI class: X.Org Server Extension, version 9.0
[   987.884] (==) AIGLX enabled
[   987.884] (II) LoadModule: "vboxvideo"
[   987.885] (II) Loading /usr/local/lib/xorg/modules/drivers/vboxvideo_drv.so
[   987.885] (II) Module vboxvideo: vendor="Oracle Corporation"
[   987.885]    compiled for 1.17.0, module version = 1.0.1
[   987.885]    Module class: X.Org Video Driver
[   987.885]    ABI class: X.Org Video Driver, version 19.0
[   987.885] (EE) module ABI major version (19) doesn't match the server's version (20)
[   987.885] (II) UnloadModule: "vboxvideo"
[   987.885] (II) Unloading vboxvideo
[   987.885] (EE) Failed to load module "vboxvideo" (module requirement mismatch, 0)
[   987.885] (II) LoadModule: "modesetting"
[   987.885] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[   987.885] (II) Module modesetting: vendor="X.Org Foundation"
[   987.885]    compiled for 1.18.4, module version = 1.18.4
[   987.885]    Module class: X.Org Video Driver
[   987.885]    ABI class: X.Org Video Driver, version 20.0
[   987.885] (II) LoadModule: "scfb"
[   987.886] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[   987.886] (II) Module scfb: vendor="X.Org Foundation"
[   987.886]    compiled for 1.18.4, module version = 0.0.4
[   987.886]    ABI class: X.Org Video Driver, version 20.0
[   987.886] (II) LoadModule: "vesa"
[   987.886] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[   987.886] (II) Module vesa: vendor="X.Org Foundation"
[   987.886]    compiled for 1.18.4, module version = 2.3.4
[   987.886]    Module class: X.Org Video Driver
[   987.886]    ABI class: X.Org Video Driver, version 20.0
[   987.886] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   987.886] (II) scfb: driver for wsdisplay framebuffer: scfb
[   987.886] (II) VESA: driver for VESA chipsets: vesa
[   987.887] (--) Using syscons driver with X support (version 549739036674.0)
[   987.887] (--) using VT number 9

[   987.888] (EE) open /dev/dri/card0: No such file or directory
[   987.888] (WW) Falling back to old probe method for modesetting
[   987.888] (EE) open /dev/dri/card0: No such file or directory
[   987.888] (WW) Falling back to old probe method for scfb
[   987.888] scfb trace: probe start
[   987.888] (II) scfb(1): using default device
[   987.888] scfb trace: probe done
[   987.889] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   987.889] (EE) Screen 0 deleted because of no matching config section.
[   987.889] (II) UnloadModule: "modesetting"
[   987.889] (EE)
Fatal server error:
[   987.889] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[   987.889] (EE)
[   987.889] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[   987.889] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   987.889] (EE)
[   987.890] (EE) Server terminated with error (1). Closing log file

Doing what DutchDaemon and xiljin mentioned hasn't helped. Although one difference is that I'm running in VirtualBox.
 
Code:
[   987.885] (II) Loading /usr/local/lib/xorg/modules/drivers/vboxvideo_drv.so
[   987.885] (II) Module vboxvideo: vendor="Oracle Corporation"
[   987.885]    compiled for 1.17.0, module version = 1.0.1
[   987.885]    Module class: X.Org Video Driver
[   987.885]    ABI class: X.Org Video Driver, version 19.0
[   987.885] (EE) module ABI major version (19) doesn't match the server's version (20)
Rebuild emulators/virtualbox-ose-additions.
 
I have tried all of the above with the same results. Every thing was fine prior to the updates.

My display card is a "PNY GeForce 8400 GS" with 512mb of DDR2 memory. It has two monitor capabilities.

Here is my environment;

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 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016
    root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
CPU: AMD FX(tm)-6300 Six-Core Processor              (3492.50-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x600f20  Family=0x15  Model=0x2  Stepping=0
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x3e98320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD Features2=0x1ebbfff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,XOP,SKINIT,WDT,LWP,FMA4,TCE,NodeId,TBM,Topology,PCXC,PNXC>
  Structured Extended Features=0x8<BMI1>
  SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=65536
  TSC: P-state invariant, performance statistics
real memory  = 17179869184 (16384 MB)
avail memory = 16540880896 (15774 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <ALASKA A M I>
FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs
FreeBSD/SMP: 1 package(s) x 6 core(s)

I was able to capture this at start of xorg;

Code:
root@Prometheus:/etc # startx
xauth:  file /root/.serverauth.14473 does not exist
xauth: (argv):1:  bad display name "Prometheus:0" in "list" command
xauth: (stdin):1:  bad display name "Prometheus:0" in "add" command


X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 10.3-RELEASE-p11 amd64
Current Operating System: FreeBSD Prometheus 10.3-RELEASE-p11 FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 13 February 2017  04:53:42PM
Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 14 09:59:17 2017
(==) Using default built-in configuration (39 lines)
scfb trace: probe start
scfb trace: probe done
(EE)
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
xauth: (argv):1:  bad display name "Prometheus:0" in "remove" command

From dmesg

Code:
vgapci0: <VGA-compatible display> port 0xe000-0xe07f mem 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xd0000000-0xd1ffffff i
rq 24 at device 0.0 on pci1
vgapci0: Boot video device

vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0

How do you specify the busIDs and what is it? vga0? vgapci0? I keep overlooking it at the X.Org Foundation site.
 
Thanks to everybody for the suggestions.

It now works. Thank you very much! But this what I did and I don't know what event was the fix.

I put kld_list="i915kms drmn" in the /etc/rc.conf file. Did not work by itself.

The driver x11/nvidia-driver-340 would not install. The port is marked "IGNORE: requires kernel source files in /usr/src". It did install and delete some ports. From output of portmaster;

Code:
===>>> Returning to dependency check for x11/nvidia-driver-340
===>>> Dependency check complete for x11/nvidia-driver-340

===>  Cleaning for nvidia-driver-340-340.101_1
===>  nvidia-driver-340-340.101_1 requires kernel source files in /usr/src.
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/nvidia-driver-340

===>>> make build failed for x11/nvidia-driver-340
===>>> Aborting update
From /var/log/messages shows what was updated.
Code:
Feb 14 10:42:21 Prometheus pkg-static: linux_base-c6-6.8_11 installed
Feb 14 10:44:04 Prometheus pkg: xorg-drivers-7.7_5 deinstalled
Feb 14 10:44:04 Prometheus pkg: xf86-video-scfb-0.0.4_4 deinstalled

I don't know where the xf86-video-scfb driver came from but it was deleted. Correct me if I am wrong, but if you have a driver software installed and there is no device for it, the only thing is that it takes up space on the hard drive?

Current packages;
Code:
xf86-input-keyboard-1.9.0_1    X.Org keyboard input driver
xf86-input-mouse-1.9.2_1       X.Org mouse input driver
xf86-video-ati-7.8.0,1         X.Org ati display driver
xf86-video-dummy-0.3.8         X.Org dummy display driver
xf86-video-intel-2.99.917.20170103 Driver for Intel integrated graphics chipsets
xf86-video-mach64-6.9.5_1      X.Org mach64 display driver
xf86-video-nv-2.1.21_1         X.Org nv display driver
xf86-video-openchrome-0.5.0_1  X.Org openChrome display driver
xf86-video-r128-6.10.2         X.Org r128 display driver
xf86-video-vesa-2.3.4_1        X.Org vesa display driver

I added the items to /etc/fstab as was recommended from the attempt to install the driver.
Code:
root@Prometheus:/etc # view /etc/fstab
# Device        Mountpoint      FStype  Options Dump    Pass#
/dev/ada0p2     /               ufs     rw      1       1
/dev/ada0p3     none            swap    sw      0       0
/dev/ada1s1     /storage1       ufs     rw      2       2
/dev/ada2s1     /storage2       ufs     rw      0       0
/dev/ada3s1     /storage3       ufs     rw      1       1
/dev/ada4s1     /storage4       ufs     rw      1       1
/dev/ada5s1     /storage5       ufs     rw      1       1
/dev/cd0        /cdrom          cd9660  rw,noauto 0     0
/dev/da0s1      /flash          msdosfs rw,noauto 0     0
fdesc           /dev/fd         fdescfs rw,       0     0
tmpfs       /compat/linux/dev/shm  tmpfs   rw,mode=1777    0       0
linprocfs   /compat/linux/proc  linprocfs         rw      0       0
proc            /proc           procfs  rw        0     0
//nobody@Phaedra/public /Phaedra_public smbfs rw,noauto -N  0  0

Thanks again. This something I didn't know if I could have rectified the problem without help.
Kde is messed up, that is another problem.
 
you don't need to build the driver yourself, simply install it from FreeBSD repository:
Code:
pkg install nvidia-driver-340

later add kld_list"nvidia" to your rc.conf.

(the i915kms module is not for you, is for those who have intel integrated graphics).
 
you don't need to build the driver yourself, simply install it from FreeBSD repository:
Code:
pkg install nvidia-driver-340

later add kld_list"nvidia" to your rc.conf.

(the i915kms module is not for you, is for those who have intel integrated graphics).

There is no package available for an install.
To install the port:[/B] cd /usr/ports/x11/nvidia-driver-340/ && make install clean

A package is not available for ports marked as: Forbidden / Broken / Ignore / Restricted[/B]

PKGNAME: nvidia-driver-340
 
hmmm ... it look like available to me:

Code:
$ pkg search -r FreeBSD nvidia-driver-340
nvidia-driver-340-340.101      NVidia graphics card binary drivers for hardware OpenGL rendering
$
$ pkg roptions nvidia-driver-340
nvidia-driver-340 - ACPI_PM: off
nvidia-driver-340 - DOCS: on
nvidia-driver-340 - LINUX: on
nvidia-driver-340 - WBINVD: off
nvidia-driver-340 - ACPI_PM: off
nvidia-driver-340 - DOCS: on
nvidia-driver-340 - LINUX: on
nvidia-driver-340 - WBINVD: off

http://pkg.freebsd.org/FreeBSD:10:amd64/latest/All/nvidia-driver-340-340.101_1.txz
 
hmmm ... it look like available to me:

Code:
$ pkg search -r FreeBSD nvidia-driver-340
nvidia-driver-340-340.101      NVidia graphics card binary drivers for hardware OpenGL rendering
$
$ pkg roptions nvidia-driver-340
nvidia-driver-340 - ACPI_PM: off
nvidia-driver-340 - DOCS: on
nvidia-driver-340 - LINUX: on
nvidia-driver-340 - WBINVD: off
nvidia-driver-340 - ACPI_PM: off
nvidia-driver-340 - DOCS: on
nvidia-driver-340 - LINUX: on
nvidia-driver-340 - WBINVD: off

http://pkg.freebsd.org/FreeBSD:10:amd64/latest/All/nvidia-driver-340-340.101_1.txz
I tried to retrieve it from the Fresh Ports.
 
There's nothing to retrieve from Freshports, it's just a convenient web based browser to the ports collection.
 
Hi, I think I'm running into a similar problem, but I don't understand how to further diagnose it. I hope someone can help me to understand what's going on.

I'm running FreeBSD 10.3-RELEASE-p11.
Module i915kms is loaded.
Module drmn is loaded (at least I think, I see drm2 among loaded modules).
xf86-video-intel is installed.

This is /var/log/Xorg.0.log with the error logged:

Code:
[  1188.963]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  1188.963] X Protocol Version 11, Revision 0
[  1188.963] Build Operating System: FreeBSD 10.3-RELEASE-p16 amd64
[  1188.963] Current Operating System: FreeBSD marinabsd 10.3-RELEASE-p11 FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
[  1188.964] Build Date: 12 February 2017  02:12:57AM
[  1188.964]  
[  1188.964] Current version of pixman: 0.34.0
[  1188.964]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  1188.964] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1188.964] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 15 19:43:17 2017
[  1188.965] (II) Loader magic: 0x802c00
[  1188.965] (II) Module ABI versions:
[  1188.965]    X.Org ANSI C Emulation: 0.4
[  1188.965]    X.Org Video Driver: 20.0
[  1188.965]    X.Org XInput driver : 22.1
[  1188.966]    X.Org Server Extension : 9.0
[  1188.966] (--) PCI:*(0:0:2:0) 8086:0402:103c:2b34 rev 6, Mem @ 0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/65536
[  1188.966] (==) Using default built-in configuration (39 lines)
[  1188.966] (==) --- Start of built-in configuration ---
[  1188.966]    Section "Device"
[  1188.966]            Identifier      "Builtin Default intel Device 0"
[  1188.966]            Driver  "intel"
[  1188.966]    EndSection
[  1188.966]    Section "Screen"
[  1188.966]            Identifier      "Builtin Default intel Screen 0"
[  1188.966]            Device  "Builtin Default intel Device 0"
[  1188.966]    EndSection
[  1188.966]    Section "Device"
[  1188.966]            Identifier      "Builtin Default modesetting Device 0"
[  1188.966]            Driver  "modesetting"
[  1188.966]    EndSection
[  1188.966]    Section "Screen"
[  1188.966]            Identifier      "Builtin Default modesetting Screen 0"
[  1188.966]            Device  "Builtin Default modesetting Device 0"
[  1188.966]    EndSection
[  1188.966]    Section "Device"
[  1188.966]            Identifier      "Builtin Default scfb Device 0"
[  1188.966]            Driver  "scfb"
[  1188.966]    EndSection
[  1188.966]    Section "Screen"
[  1188.966]            Identifier      "Builtin Default scfb Screen 0"
[  1188.966]            Device  "Builtin Default scfb Device 0"
[  1188.966]    EndSection
[  1188.966]    Section "Device"
[  1188.966]            Identifier      "Builtin Default vesa Device 0"
[  1188.966]            Driver  "vesa"
[  1188.966]    EndSection
[  1188.966]    Section "Screen"
[  1188.966]            Identifier      "Builtin Default vesa Screen 0"
[  1188.966]            Device  "Builtin Default vesa Device 0"
[  1188.966]    EndSection
[  1188.967]    Section "ServerLayout"
[  1188.967]            Identifier      "Builtin Default Layout"
[  1188.967]            Screen  "Builtin Default intel Screen 0"
[  1188.967]            Screen  "Builtin Default modesetting Screen 0"
[  1188.967]            Screen  "Builtin Default scfb Screen 0"
[  1188.967]            Screen  "Builtin Default vesa Screen 0"
[  1188.967]    EndSection
[  1188.967] (==) --- End of built-in configuration ---
[  1188.967] (==) ServerLayout "Builtin Default Layout"
[  1188.967] (**) |-->Screen "Builtin Default intel Screen 0" (0)
[  1188.967] (**) |   |-->Monitor "<default monitor>"
[  1188.967] (**) |   |-->Device "Builtin Default intel Device 0"
[  1188.967] (==) No monitor specified for screen "Builtin Default intel Screen 0".
        Using a default monitor configuration.
[  1188.967] (**) |-->Screen "Builtin Default modesetting Screen 0" (1)
[  1188.967] (**) |   |-->Monitor "<default monitor>"
[  1188.968] (**) |   |-->Device "Builtin Default modesetting Device 0"
[  1188.968] (==) No monitor specified for screen "Builtin Default modesetting Screen 0".
        Using a default monitor configuration.
[  1188.968] (**) |-->Screen "Builtin Default scfb Screen 0" (2)
[  1188.968] (**) |   |-->Monitor "<default monitor>"
[  1188.968] (**) |   |-->Device "Builtin Default scfb Device 0"
[  1188.968] (==) No monitor specified for screen "Builtin Default scfb Screen 0".
        Using a default monitor configuration.
[  1188.968] (**) |-->Screen "Builtin Default vesa Screen 0" (3)
[  1188.968] (**) |   |-->Monitor "<default monitor>"
[  1188.968] (**) |   |-->Device "Builtin Default vesa Device 0"
[  1188.968] (==) No monitor specified for screen "Builtin Default vesa Screen 0".
        Using a default monitor configuration.
[  1188.968] (==) Automatically adding devices
[  1188.968] (==) Automatically enabling devices
[  1188.968] (==) Not automatically adding GPU devices
[  1188.969] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1188.975] (==) 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/
[  1188.975] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[  1188.975] (II) The server relies on devd to provide the list of input devices.
        If no devices become available, reconfigure devd or disable AutoAddDevices.
[  1188.975] (II) LoadModule: "glx"
[  1188.975] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[  1188.988] (II) Module glx: vendor="X.Org Foundation"
[  1188.988]    compiled for 1.18.4, module version = 1.0.0
[  1188.988]    ABI class: X.Org Server Extension, version 9.0
[  1188.988] (==) AIGLX enabled
[  1188.988] (II) LoadModule: "intel"
[  1188.990] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[  1188.993] (II) Module intel: vendor="X.Org Foundation"
[  1188.993]    compiled for 1.18.4, module version = 2.99.917
[  1188.993]    Module class: X.Org Video Driver
[  1188.994]    ABI class: X.Org Video Driver, version 20.0
[  1188.994] (II) LoadModule: "modesetting"
[  1188.995] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[  1188.996] (II) Module modesetting: vendor="X.Org Foundation"
[  1188.996]    compiled for 1.18.4, module version = 1.18.4
[  1188.996]    Module class: X.Org Video Driver
[  1188.996]    ABI class: X.Org Video Driver, version 20.0
[  1188.996] (II) LoadModule: "scfb"
[  1188.996] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[  1188.997] (II) Module scfb: vendor="X.Org Foundation"
[  1188.997]    compiled for 1.18.4, module version = 0.0.4
[  1188.997]    ABI class: X.Org Video Driver, version 20.0
[  1188.997] (II) LoadModule: "vesa"
[  1188.997] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[  1188.998] (II) Module vesa: vendor="X.Org Foundation"
[  1188.998]    compiled for 1.18.4, module version = 2.3.4
[  1188.998]    Module class: X.Org Video Driver
[  1188.998]    ABI class: X.Org Video Driver, version 20.0
[  1188.998] (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
[  1188.999] (II) intel: Driver for Intel(R) HD Graphics
[  1188.999] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[  1188.999] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[  1188.999] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1188.999] (II) scfb: driver for wsdisplay framebuffer: scfb
[  1188.999] (II) VESA: driver for VESA chipsets: vesa
[  1188.999] (--) Using syscons driver with X support (version 0.x)
[  1188.999] (--) using VT number 9

[  1189.002] (EE) open /dev/dri/card0: No such file or directory
[  1189.002] (WW) Falling back to old probe method for modesetting
[  1189.002] (EE) open /dev/dri/card0: No such file or directory
[  1189.002] (WW) Falling back to old probe method for scfb
[  1189.002] scfb trace: probe start
[  1189.002] (II) scfb(1): using default device
[  1189.002] scfb trace: probe done
[  1189.002] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1189.002] (EE) Screen 0 deleted because of no matching config section.
[  1189.002] (II) UnloadModule: "modesetting"
[  1189.002] (EE)
Fatal server error:
[  1189.002] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[  1189.002] (EE)
[  1189.002] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  1189.002] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1189.002] (EE)
[  1189.004] (EE) Server terminated with error (1). Closing log file.

Thank you to everybody who can suggest me how to resolve this issue!
 
I couldn't include my dmesg in the previous post because of the 20.000 characters limit, so here it is.

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 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016
    root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
CPU: Intel(R) Celeron(R) CPU G1840 @ 2.80GHz (2793.59-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306c3  Family=0x6  Model=0x3c  Stepping=3
  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=0x4ddaebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,XSAVE,OSXSAVE,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x21<LAHF,ABM>
  Structured Extended Features=0x2603<FSGSBASE,TSCADJ,ERMS,INVPCID,NFPUSG>
  XSAVE Features=0x1<XSAVEOPT>
  VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 4040167424 (3853 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <HPQOEM SLIC-CPC>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  2
random: <Software, Yarrow> initialized
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <HPQOEM SLIC-CPC> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Event timer "HPET3" frequency 14318180 Hz quality 440
Event timer "HPET4" frequency 14318180 Hz quality 440
Event timer "HPET5" frequency 14318180 Hz quality 440
Event timer "HPET6" frequency 14318180 Hz quality 440
atrtc0: <AT realtime clock> port 0x70-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
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0xf7800000-0xf7bfffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0
agp0: <Haswell desktop GT1> on vgapci0
agp0: aperture size is 256M, detected 32764k stolen memory
vgapci0: Boot video device
xhci0: <Intel Lynx Point USB 3.0 controller> mem 0xf7d00000-0xf7d0ffff irq 16 at device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
xhci0: Port routing mask set to 0xffffffff
usbus0 on xhci0
pci0: <simple comms> at device 22.0 (no driver attached)
ehci0: <Intel Lynx Point USB 2.0 controller USB-B> mem 0xf7d17000-0xf7d173ff irq 16 at device 26.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
hdac0: <Intel Lynx Point HDA Controller> mem 0xf7d10000-0xf7d13fff irq 22 at device 27.0 on pci0
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci3: <ACPI PCI bus> on pcib3
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xf7c00000-0xf7c00fff,0xf0000000-0xf0003fff irq 19 at device 0.0 on pci3
re0: Using 1 MSI-X message
re0: turning off MSI enable bit.
re0: ASPM disabled
re0: Chip rev. 0x4c000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
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 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016
    root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
CPU: Intel(R) Celeron(R) CPU G1840 @ 2.80GHz (2793.59-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306c3  Family=0x6  Model=0x3c  Stepping=3
  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=0x4ddaebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,XSAVE,OSXSAVE,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x21<LAHF,ABM>
  Structured Extended Features=0x2603<FSGSBASE,TSCADJ,ERMS,INVPCID,NFPUSG>
  XSAVE Features=0x1<XSAVEOPT>
  VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 4040167424 (3853 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <HPQOEM SLIC-CPC>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  2
random: <Software, Yarrow> initialized
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <HPQOEM SLIC-CPC> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Event timer "HPET3" frequency 14318180 Hz quality 440
Event timer "HPET4" frequency 14318180 Hz quality 440
Event timer "HPET5" frequency 14318180 Hz quality 440
Event timer "HPET6" frequency 14318180 Hz quality 440
atrtc0: <AT realtime clock> port 0x70-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
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0xf7800000-0xf7bfffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0
agp0: <Haswell desktop GT1> on vgapci0
agp0: aperture size is 256M, detected 32764k stolen memory
vgapci0: Boot video device
xhci0: <Intel Lynx Point USB 3.0 controller> mem 0xf7d00000-0xf7d0ffff irq 16 at device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
xhci0: Port routing mask set to 0xffffffff
usbus0 on xhci0
pci0: <simple comms> at device 22.0 (no driver attached)
ehci0: <Intel Lynx Point USB 2.0 controller USB-B> mem 0xf7d17000-0xf7d173ff irq 16 at device 26.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
hdac0: <Intel Lynx Point HDA Controller> mem 0xf7d10000-0xf7d13fff irq 22 at device 27.0 on pci0
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci3: <ACPI PCI bus> on pcib3
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xf7c00000-0xf7c00fff,0xf0000000-0xf0003fff irq 19 at device 0.0 on pci3
re0: Using 1 MSI-X message
re0: turning off MSI enable bit.
re0: ASPM disabled
re0: Chip rev. 0x4c000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8251 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 64:51:06:38:7d:fb
ehci1: <Intel Lynx Point USB 2.0 controller USB-A> mem 0xf7d16000-0xf7d163ff irq 23 at device 29.0 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci1
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel Lynx Point AHCI SATA controller> port 0xf0b0-0xf0b7,0xf0a0-0xf0a3,0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f mem 0xf7d15000-0xf7d157ff irq 19 at device 31.2 on pci0
ahci0: AHCI v1.30 with 4 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
orm0: <ISA Option ROM> at iomem 0xd0000-0xd0fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff 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
est0: <Enhanced SpeedStep Frequency Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
random: unblocking device.
usbus0: 5.0Gbps Super Speed USB v3.0
Timecounters tick every 1.000 msec
hdacc0: <Realtek ALC221 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC221 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC221 (Analog)> at nid 23 and 24,27 on hdaa0
pcm1: <Realtek ALC221 (Analog 2.0+HP)> at nid 20,33 on hdaa0
usbus1: 480Mbps High Speed USB v2.0
usbus2: 480Mbps High Speed USB v2.0
ugen1.1: <Intel> at usbus1
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen0.1: <0x8086> at usbus0
uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ugen2.1: <Intel> at usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ses0 at ahciem0 bus 0 scbus3 target 0 lun 0
ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ses0: SEMB SES Device
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD5000AAKX-60U6AA0 18.01H18> ATA8-ACS SATA 3.x device
cd0 at ahcich4 bus 0 scbus2 target 0 lun 0
cd0: <hp DVD-RAM GHC0N RL04> Removable CD-ROM SCSI device
cd0: Serial Number 447CD002723
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
ada0: Serial Number WD-WCC2E4CFJTYJ
ada0: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 476940MB (976773168 512 byte sectors)
ada0: Previously was known as ad4
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <KINGSTON SV300S37A60G 580ABBF0> ATA8-ACS SATA 3.x device
ada1: Serial Number 50026B775203ADEC
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)
ada1: Command Queueing enabled
ada1: 57241MB (117231408 512 byte sectors)
ada1: Previously was known as ad6
SMP: AP CPU #1 Launched!
Timecounter "TSC-low" frequency 1396794226 Hz quality 1000
Root mount waiting for: usbus2 usbus1 usbus0
uhub1: 17 ports with 17 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
ugen2.2: <vendor 0x8087> at usbus2
uhub3: <vendor 0x8087 product 0x8000, class 9/0, rev 2.00/0.05, addr 2> on usbus2
ugen1.2: <vendor 0x8087> at usbus1
uhub4: <vendor 0x8087 product 0x8008, class 9/0, rev 2.00/0.05, addr 2> on usbus1
Root mount waiting for: usbus2 usbus1
uhub4: 4 ports with 4 removable, self powered
uhub3: 6 ports with 6 removable, self powered
ugen1.3: <CHICONY> at usbus1
ukbd0: <CHICONY USB Keyboard, class 0/0, rev 2.00/2.00, addr 3> on usbus1
kbd2 at ukbd0
usb_alloc_device: set address 3 failed (USB_ERR_STALLED, ignored)
Root mount waiting for: usbus2 usbus1
ugen1.4: <PixArt> at usbus1
usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_STALLED
Root mount waiting for: usbus2
usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored)
Root mount waiting for: usbus2
usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_STALLED
Root mount waiting for: usbus2
usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored)
Root mount waiting for: usbus2
usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_STALLED
usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored)
Root mount waiting for: usbus2
Root mount waiting for: usbus2
usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_STALLED
usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored)
Root mount waiting for: usbus2
Root mount waiting for: usbus2
usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_STALLED
ugen2.3: <Unknown> at usbus2 (disconnected)
uhub_reattach_port: could not allocate new device
Trying to mount root from ufs:/dev/ada1s1a [rw]...
info: [drm] Initialized drm 1.1.0 20060810
re0: link state changed to DOWN
ums0: <PixArt USB Optical Mouse, class 0/0, rev 2.00/1.00, addr 4> on usbus1
ums0: 3 buttons and [XYZ] coordinates ID=0
re0: link state changed to UP

And finally, this is the output of kldstat:

Code:
Id Refs Address            Size     Name
 1   38 0xffffffff80200000 17bc718  kernel
 2    1 0xffffffff81a11000 56c6     fdescfs.ko
 3    1 0xffffffff81a17000 7874d    i915kms.ko
 4    1 0xffffffff81a90000 5232a    drm2.ko
 5    4 0xffffffff81ae3000 2404     iicbus.ko
 6    1 0xffffffff81ae6000 1c5e     iic.ko
 7    1 0xffffffff81ae8000 1e2b     iicbb.ko
 8    1 0xffffffff81aea000 358d     ums.ko
 9    1 0xffffffff81aee000 3d128    linux.ko
10    2 0xffffffff81b2c000 683b     linux_common.ko
11    1 0xffffffff81b33000 37ae5    linux64.ko

Thanks again!
 
I added the requested driver -->
Code:
nvidia-driver-340-340.101_1    NVidia graphics card binary drivers for hardware OpenGL rendering
Drivers;
Code:
xf86-input-keyboard-1.9.0_1    X.Org keyboard input driver
xf86-input-mouse-1.9.2_1       X.Org mouse input driver
xf86-video-ati-7.8.0,1         X.Org ati display driver
xf86-video-dummy-0.3.8         X.Org dummy display driver
xf86-video-fbdev-0.4.4_7       X.Org fbdev display driver
xf86-video-intel-2.99.917.20170103 Driver for Intel integrated graphics chipsets
xf86-video-mach64-6.9.5_1      X.Org mach64 display driver
xf86-video-nv-2.1.20_7         X.Org nv display driver
xf86-video-openchrome-0.5.0_1  X.Org openChrome display driver
xf86-video-r128-6.10.2         X.Org r128 display driver
xf86-video-scfb-0.0.4_5        X.Org syscons display driver
xf86-video-vesa-2.3.4_1        X.Org vesa display driver
Loaded modules;
Code:
root@Prometheus:/boot # kldstat
Id Refs Address            Size     Name
 1   25 0xffffffff80200000 17bc718  kernel
 2    1 0xffffffff819bd000 e13260   nvidia.ko
 3    2 0xffffffff827d1000 9af10    linux.ko
 4    3 0xffffffff8286c000 c128     linux_common.ko
 5    1 0xffffffff82a11000 56c6     fdescfs.ko
 6    1 0xffffffff82a17000 a7c0     tmpfs.ko
 7    1 0xffffffff82a22000 9faf     linprocfs.ko
 8    1 0xffffffff82a2c000 2ba8     uhid.ko
root@Prometheus:/boot #
The fstab is the same as above, no changes.

Now when I try to run xorg I get the following errors;
Code:
[  1380.861] (==) 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/
[  1380.861] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[  1380.861] (II) The server relies on devd to provide the list of input devices.
        If no devices become available, reconfigure devd or disable AutoAddDevices.
[  1380.861] (II) LoadModule: "glx"
[  1380.861] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[  1380.876] (II) Module glx: vendor="NVIDIA Corporation"
[  1380.876]    compiled for 4.0.2, module version = 1.0.0
[  1380.876]    Module class: X.Org Server Extension
[  1380.876] (II) NVIDIA GLX Module  340.101  Thu Dec  1 15:15:16 PST 2016
[  1380.876] (II) LoadModule: "nv"
[  1380.876] (II) Loading /usr/local/lib/xorg/modules/drivers/nv_drv.so
[  1380.876] (II) Module nv: vendor="X.Org Foundation"
[  1380.876]    compiled for 1.17.4, module version = 2.1.20
[  1380.876]    Module class: X.Org Video Driver
[  1380.876]    ABI class: X.Org Video Driver, version 19.0
[  1380.876] (EE) module ABI major version (19) doesn't match the server's version (20)
[  1380.876] (II) UnloadModule: "nv"       
[  1380.876] (II) Unloading nv
[  1380.876] (EE) Failed to load module "nv" (module requirement mismatch, 0)
[  1380.876] (II) LoadModule: "modesetting"
[  1380.876] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[  1380.877] (II) Module modesetting: vendor="X.Org Foundation"
[  1380.877]    compiled for 1.18.4, module version = 1.18.4     
[  1380.877]    Module class: X.Org Video Driver
[  1380.877]    ABI class: X.Org Video Driver, version 20.0
[  1380.877] (II) LoadModule: "scfb"
[  1380.877] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[  1380.877] (II) Module scfb: vendor="X.Org Foundation"
[  1380.877]    compiled for 1.18.4, module version = 0.0.4
[  1380.877]    ABI class: X.Org Video Driver, version 20.0
[  1380.877] (II) LoadModule: "vesa"
[  1380.877] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[  1380.877] (II) Module vesa: vendor="X.Org Foundation"
[  1380.877]    compiled for 1.18.4, module version = 2.3.4
[  1380.877]    Module class: X.Org Video Driver
[  1380.877]    ABI class: X.Org Video Driver, version 20.0
[  1380.877] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1380.877] (II) scfb: driver for wsdisplay framebuffer: scfb
[  1380.877] (II) VESA: driver for VESA chipsets: vesa
[  1380.877] (--) Using syscons driver with X support (version 0.x)
[  1380.877] (--) using VT number 9

[  1380.891] (EE) open /dev/dri/card0: No such file or directory
[  1380.891] (WW) Falling back to old probe method for modesetting
[  1380.891] (EE) open /dev/dri/card0: No such file or directory
[  1380.891] (WW) Falling back to old probe method for scfb
[  1380.891] scfb trace: probe start
[  1380.891] (II) scfb(1): using default device
[  1380.891] scfb trace: probe done
[  1380.891] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1380.891] (EE) Screen 0 deleted because of no matching config section.
[  1380.891] (II) UnloadModule: "modesetting"
[  1380.891] (EE)
Fatal server error:
[  1380.891] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[  1380.891] (EE)
I have been trying to fix the mismatch on the server without any luck. I did find on one of the Linux forums a fix that requires a change to the configuration file. Here is the code that is suggested;
Code:
Section "Server Flags"
            Option               "IgnoreABI" 
EndSection
However the consensus is that I don't need or even want to create a configuration file. My hair is disappearing very fast.

Any ideas what I am doing wrong?
 
Create /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf:
Code:
Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
EndSection

I also noticed this:
Code:
[  1380.876] (II) Loading /usr/local/lib/xorg/modules/drivers/nv_drv.so
[  1380.876] (II) Module nv: vendor="X.Org Foundation"
[  1380.876]    compiled for 1.17.4, module version = 2.1.20
[  1380.876]    Module class: X.Org Video Driver
[  1380.876]    ABI class: X.Org Video Driver, version 19.0
[  1380.876] (EE) module ABI major version (19) doesn't match the server's version (20)

After you upgraded your machine did you rebuild/reinstall all ports/packages? It looks like at least some of your packages are still from the previous version.

Edit: Sorry, the error is related to the version of X, not the OS. But it does look like some of the drivers/libraries haven't been updated.
 
Awesome I faced the same issue ....tried setting kern.securelevel=0. It didnt work. Tried re-bulding few packages. But I sense kld_list will work. Try and get back here..

I tried the kld_list="i915kms" entry in /etc/rc.conf. It resulted in a big black screen. I had to return to my old rc.conf via single user mode.
Status is same as shown in Xorg.0.log in the thread.

I also reinstalled xorg and deleted xdm to manually start the X server. The result is still same that Xorg is unable to connect to any device. pkg update && pkg upgrade also done

Any suggestions please.
 
Create /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf:
Code:
Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
EndSection

I also noticed this:
Code:
[  1380.876] (II) Loading /usr/local/lib/xorg/modules/drivers/nv_drv.so
[  1380.876] (II) Module nv: vendor="X.Org Foundation"
[  1380.876]    compiled for 1.17.4, module version = 2.1.20
[  1380.876]    Module class: X.Org Video Driver
[  1380.876]    ABI class: X.Org Video Driver, version 19.0
[  1380.876] (EE) module ABI major version (19) doesn't match the server's version (20)

After you upgraded your machine did you rebuild/reinstall all ports/packages? It looks like at least some of your packages are still from the previous version.

Edit: Sorry, the error is related to the version of X, not the OS. But it does look like some of the drivers/libraries haven't been updated.
This worked! I did not update the OS version, just the ports. I believe that all of my ports are up to date as updating caused all of the problems. I did not find anything of significance in /usr/ports/CHANGES.

Thanks!

But I now have a serious problem with kde with mysql57 that I have to address.
 
This worked! I did not update the OS version, just the ports. I believe that all of my ports are up to date as updating caused all of the problems. I did not find anything of significance in /usr/ports/CHANGES.

Thanks!

But I now have a serious problem with kde with mysql57 that I have to address.
I dont have NVIDIA Card, simple integrated intel. I tried building xorg from ports but it is giving a perl error and then after sometime it doesnot build the port and reports conflict issues

Any Suggestions please
 
Last edited:
Running into this same issue, my card is Intel. It worked just fine until a recent re-install.

As for others, my errors begin with:
Code:
 Fatal server error:
(EE) no screens found(EE)
(EE)
 
Back
Top