I'm trying to get X configured on a Thinkpad 25. This laptop has a GeForce 940GX graphics device and I'm running 12.0--CURRENT r3270038.
I tried the guide here, but the install of x11/nvidia-driver package failed due to "no linux compatibility in kernel". Next I referred to this page in the handbook, which led me to install the nvidia driver from the ports collection. That succeeded, but I'm still not sure if there the required Linux support is in place.
Next, I created /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf with:
Trying to start X with
Not sure what the no devices and screens errors mean. I tried a couple of other things that I ran across, but they did not help:
1.) Adding linux_load="YES" to /boot/loader.conf
2.) Adding kern.vty=vt, also to /boot/loader.conf
The first one seemed to make sense in the context of needing Linux compatibility. The second one is voodoo I do not understand (but it was mentioned in one of the Handbook pages). According to NVidia's website, this graphics device is supported. What else can I try to make it work?
Thanks,
Chuck
I tried the guide here, but the install of x11/nvidia-driver package failed due to "no linux compatibility in kernel". Next I referred to this page in the handbook, which led me to install the nvidia driver from the ports collection. That succeeded, but I'm still not sure if there the required Linux support is in place.
Next, I created /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf with:
Code:
Section "Device"
Identifier "NVIDIA Card"
VendorName "NVIDIA Corporation"
Driver "nvidia"
EndSection
Trying to start X with
startx
resulted in the following X.org log:
Code:
[ 25.827]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 25.827] X Protocol Version 11, Revision 0
[ 25.827] Build Operating System: FreeBSD 12.0-CURRENT amd64
[ 25.827] Current Operating System: FreeBSD wraith 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r327038: Wed Dec 20 21:00:23 UTC 2017 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
[ 25.828] Build Date: 21 December 2017 04:02:09AM
[ 25.828]
[ 25.828] Current version of pixman: 0.34.0
[ 25.828] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 25.828] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 25.828] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 26 10:24:05 2017
[ 25.830] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 25.830] (==) No Layout section. Using the first Screen section.
[ 25.830] (==) No screen section available. Using defaults.
[ 25.831] (**) |-->Screen "Default Screen Section" (0)
[ 25.831] (**) | |-->Monitor "<default monitor>"
[ 25.831] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 25.831] (**) | |-->Device "NVIDIA Card"
[ 25.831] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 25.831] (==) Automatically adding devices
[ 25.831] (==) Automatically enabling devices
[ 25.831] (==) Not automatically adding GPU devices
[ 25.832] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 25.838] (==) 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/
[ 25.838] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 25.838] (II) The server relies on devd to provide the list of input devices.
If no devices become available, reconfigure devd or disable AutoAddDevices.
[ 25.838] (II) Loader magic: 0x811d40
[ 25.838] (II) Module ABI versions:
[ 25.838] X.Org ANSI C Emulation: 0.4
[ 25.838] X.Org Video Driver: 20.0
[ 25.838] X.Org XInput driver : 22.1
[ 25.838] X.Org Server Extension : 9.0
[ 25.838] (--) PCI:*(0:0:2:0) 8086:5916:17aa:2246 rev 2, Mem @ 0xeb000000/16777216, 0x80000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/65536
[ 25.838] (--) PCI: (0:2:0:0) 10de:134d:17aa:2246 rev 162, Mem @ 0xec000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x0000d000/128
[ 25.838] (II) LoadModule: "glx"
[ 25.840] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 25.923] (II) Module glx: vendor="NVIDIA Corporation"
[ 25.923] compiled for 4.0.2, module version = 1.0.0
[ 25.923] Module class: X.Org Server Extension
[ 25.923] (II) NVIDIA GLX Module 384.90 Tue Sep 19 17:25:09 PDT 2017
[ 25.924] (II) LoadModule: "nvidia"
[ 25.925] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 25.931] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 25.931] compiled for 4.0.2, module version = 1.0.0
[ 25.931] Module class: X.Org Video Driver
[ 25.932] (II) NVIDIA dlloader X Driver 384.90 Tue Sep 19 17:02:53 PDT 2017
[ 25.933] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 25.933] (--) Using syscons driver with X support (version 2.0)
[ 25.933] (--) using VT number 9
[ 25.933] (EE) No devices detected.
[ 25.934] (EE)
Fatal server error:
[ 25.934] (EE) no screens found(EE)
[ 25.934] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 25.934] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 25.934] (EE)
[ 25.935] (EE) Server terminated with error (1). Closing log file.
Not sure what the no devices and screens errors mean. I tried a couple of other things that I ran across, but they did not help:
1.) Adding linux_load="YES" to /boot/loader.conf
2.) Adding kern.vty=vt, also to /boot/loader.conf
The first one seemed to make sense in the context of needing Linux compatibility. The second one is voodoo I do not understand (but it was mentioned in one of the Handbook pages). According to NVidia's website, this graphics device is supported. What else can I try to make it work?
Thanks,
Chuck