I installed FreeBSD 11.0-RELEASE on my new laptop last night and I've been unsuccessful in getting twm started up with startx. Everything is installed via pkg.
loader.conf:
rc.conf:
I switched from nvidia to nvidia-modeset as stated in the package as Xorg.0.log contains
I've not been able to get any further than a black screen with a solid white cursor in the top left:
I have now started xorg.conf again after much fiddling by generating one with nvidia-xconfig. To get the generated config to that point I had to add the BusID to the Device section fix with a "no screens found" fatal error:
Xorg.0.log:
Any advice on how to proceed from here to get this working would greatly appreciated.
loader.conf:
Code:
geom_eli_load="YES"
vfs.root.mountfrom="ufs:ada0p3.eli"
if_iwm_load="YES"
iwm8000Cfw_load="YES"
rc.conf:
Code:
clear_tmp_enable="YES"
syslogd_flags="-ss"
hostname="meanas"
keymap="uk"
ifconfig_em0="DHCP"
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
linux_enable="YES"
kld_list="nvidia-modeset "
sshd_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
I switched from nvidia to nvidia-modeset as stated in the package as Xorg.0.log contains
Code:
[ 349.057] (II) NVIDIA(0): Validated MetaModes:
[ 349.057] (II) NVIDIA(0): "NULL"
I've not been able to get any further than a black screen with a solid white cursor in the top left:
I have now started xorg.conf again after much fiddling by generating one with nvidia-xconfig. To get the generated config to that point I had to add the BusID to the Device section fix with a "no screens found" fatal error:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 367.35 (root@110amd64-quarterly-job-06) Thu Oct 6 16:54:58 UTC 2016
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
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"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Xorg.0.log:
Code:
[ 2550.966]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[ 2550.966] X Protocol Version 11, Revision 0
[ 2550.966] Build Operating System: FreeBSD 11.0-RELEASE-p1 amd64
[ 2550.966] Current Operating System: FreeBSD meanas 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
[ 2550.966] Build Date: 16 October 2016 04:53:46PM
[ 2550.966]
[ 2550.966] Current version of pixman: 0.34.0
[ 2550.966] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2550.966] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2550.966] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 21 14:52:30 2016
[ 2550.967] (==) Using config file: "/etc/X11/xorg.conf"
[ 2550.967] (==) ServerLayout "Layout0"
[ 2550.967] (**) |-->Screen "Screen0" (0)
[ 2550.967] (**) | |-->Monitor "Monitor0"
[ 2550.967] (**) | |-->Device "Device0"
[ 2550.967] (**) |-->Input Device "Keyboard0"
[ 2550.967] (**) |-->Input Device "Mouse0"
[ 2550.967] (==) Automatically adding devices
[ 2550.967] (==) Automatically enabling devices
[ 2550.967] (==) Not automatically adding GPU devices
[ 2550.967] (==) 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/
[ 2550.967] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 2550.967] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 2550.967] (WW) Disabling Keyboard0
[ 2550.967] (WW) Disabling Mouse0
[ 2550.967] (II) Loader magic: 0x8112f0
[ 2550.967] (II) Module ABI versions:
[ 2550.967] X.Org ANSI C Emulation: 0.4
[ 2550.967] X.Org Video Driver: 19.0
[ 2550.967] X.Org XInput driver : 21.0
[ 2550.967] X.Org Server Extension : 9.0
[ 2550.967] (--) PCI:*(0:0:2:0) 8086:191b:17aa:5050 rev 6, Mem @ 0xf0000000/16777216, 0xe0000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/65536
[ 2550.967] (--) PCI: (0:2:0:0) 10de:134d:17aa:5050 rev 162, Mem @ 0xf1000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000d000/128
[ 2550.967] (II) LoadModule: "glx"
[ 2550.968] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 2550.972] (II) Module glx: vendor="NVIDIA Corporation"
[ 2550.972] compiled for 4.0.2, module version = 1.0.0
[ 2550.972] Module class: X.Org Server Extension
[ 2550.972] (II) NVIDIA GLX Module 367.44 Wed Aug 17 22:01:17 PDT 2016
[ 2550.972] (II) LoadModule: "nvidia"
[ 2550.973] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 2550.973] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 2550.973] compiled for 4.0.2, module version = 1.0.0
[ 2550.973] Module class: X.Org Video Driver
[ 2550.973] (II) NVIDIA dlloader X Driver 367.44 Wed Aug 17 21:41:06 PDT 2016
[ 2550.973] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 2550.973] (--) Using syscons driver with X support (version 16777218.0)
[ 2550.973] (--) using VT number 9
[ 2550.974] (II) Loading sub module "fb"
[ 2550.974] (II) LoadModule: "fb"
[ 2550.974] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[ 2550.974] (II) Module fb: vendor="X.Org Foundation"
[ 2550.974] compiled for 1.17.4, module version = 1.0.0
[ 2550.974] ABI class: X.Org ANSI C Emulation, version 0.4
[ 2550.974] (II) Loading sub module "wfb"
[ 2550.974] (II) LoadModule: "wfb"
[ 2550.974] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[ 2550.975] (II) Module wfb: vendor="X.Org Foundation"
[ 2550.975] compiled for 1.17.4, module version = 1.0.0
[ 2550.975] ABI class: X.Org ANSI C Emulation, version 0.4
[ 2550.975] (II) Loading sub module "ramdac"
[ 2550.975] (II) LoadModule: "ramdac"
[ 2550.975] (II) Module "ramdac" already built-in
[ 2550.975] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 2550.975] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 2550.975] (==) NVIDIA(0): RGB weight 888
[ 2550.975] (==) NVIDIA(0): Default visual is TrueColor
[ 2550.975] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 2550.975] (**) NVIDIA(0): Enabling 2D acceleration
[ 2551.127] (II) NVIDIA(0): NVIDIA GPU GeForce 940MX (GM108-A) at PCI:2:0:0 (GPU-0)
[ 2551.128] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 2551.128] (--) NVIDIA(0): VideoBIOS: 82.08.57.00.22
[ 2551.128] (II) NVIDIA(0): Detected PCI Express Link width: 4X
[ 2551.128] (II) NVIDIA(0): Validated MetaModes:
[ 2551.128] (II) NVIDIA(0): "NULL"
[ 2551.128] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 2551.128] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 2551.128] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 2551.128] (--) Depth 24 pixmap format is 32 bpp
[ 2551.128] (II) NVIDIA: Reserving 12288.00 MB of virtual memory for indirect memory
[ 2551.128] (II) NVIDIA: access.
[ 2551.162] (II) NVIDIA(0): Built-in logo is bigger than the screen.
[ 2551.162] (II) NVIDIA(0): Setting mode "NULL"
[ 2551.167] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 2551.167] (==) NVIDIA(0): Backing store enabled
[ 2551.167] (==) NVIDIA(0): Silken mouse enabled
[ 2551.167] (**) NVIDIA(0): DPMS enabled
[ 2551.167] (II) Loading sub module "dri2"
[ 2551.167] (II) LoadModule: "dri2"
[ 2551.167] (II) Module "dri2" already built-in
[ 2551.167] (II) NVIDIA(0): [DRI2] Setup complete
[ 2551.167] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 2551.167] (--) RandR disabled
[ 2551.167] (II) Initializing extension GLX
[ 2551.167] (II) Indirect GLX disabled.
[ 2551.267] (II) config/devd: probing input devices...
[ 2551.267] (II) config/devd: adding input device (null) (/dev/kbdmux)
[ 2551.267] (II) LoadModule: "kbd"
[ 2551.267] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[ 2551.267] (II) Module kbd: vendor="X.Org Foundation"
[ 2551.267] compiled for 1.17.4, module version = 1.8.1
[ 2551.267] Module class: X.Org XInput Driver
[ 2551.267] ABI class: X.Org XInput driver, version 21.0
[ 2551.267] (II) Using input driver 'kbd' for 'kbdmux'
[ 2551.268] (**) kbdmux: always reports core events
[ 2551.268] (**) kbdmux: always reports core events
[ 2551.268] (**) Option "Protocol" "standard"
[ 2551.268] (**) Option "XkbRules" "base"
[ 2551.268] (**) Option "XkbModel" "pc105"
[ 2551.268] (**) Option "XkbLayout" "us"
[ 2551.268] (**) Option "config_info" "devd:kbdmux"
[ 2551.268] (II) XINPUT: Adding extended input device "kbdmux" (type: KEYBOARD, id 6)
[ 2551.269] (II) config/devd: kbdmux is enabled, ignoring device atkbd0
[ 2551.269] (II) config/devd: adding input device (null) (/dev/sysmouse)
[ 2551.269] (II) LoadModule: "mouse"
[ 2551.269] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[ 2551.269] (II) Module mouse: vendor="X.Org Foundation"
[ 2551.269] compiled for 1.17.4, module version = 1.9.1
[ 2551.269] Module class: X.Org XInput Driver
[ 2551.269] ABI class: X.Org XInput driver, version 21.0
[ 2551.269] (II) Using input driver 'mouse' for 'sysmouse'
[ 2551.269] (**) sysmouse: always reports core events
[ 2551.269] (**) Option "Device" "/dev/sysmouse"
[ 2551.269] (==) sysmouse: Protocol: "Auto"
[ 2551.269] (**) sysmouse: always reports core events
[ 2551.269] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50
[ 2551.269] (**) sysmouse: ZAxisMapping: buttons 4 and 5
[ 2551.269] (**) sysmouse: Buttons: 5
[ 2551.269] (**) Option "config_info" "devd:sysmouse"
[ 2551.269] (II) XINPUT: Adding extended input device "sysmouse" (type: MOUSE, id 7)
[ 2551.269] (**) sysmouse: (accel) keeping acceleration scheme 1
[ 2551.269] (**) sysmouse: (accel) acceleration profile 0
[ 2551.269] (**) sysmouse: (accel) acceleration factor: 2.000
[ 2551.269] (**) sysmouse: (accel) acceleration threshold: 4
[ 2551.270] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0
[ 2551.270] (II) sysmouse: SetupAuto: protocol is SysMouse
[ 2551.319] (II) config/devd: adding input device Mouse (/dev/psm0)
[ 2551.319] (II) Using input driver 'mouse' for 'Mouse'
[ 2551.319] (**) Mouse: always reports core events
[ 2551.319] (**) Option "Device" "/dev/psm0"
[ 2551.319] (==) Mouse: Protocol: "Auto"
[ 2551.319] (**) Mouse: always reports core events
[ 2551.369] (==) Mouse: Emulate3Buttons, Emulate3Timeout: 50
[ 2551.369] (**) Mouse: ZAxisMapping: buttons 4 and 5
[ 2551.369] (**) Mouse: Buttons: 5
[ 2551.369] (**) Option "config_info" "devd:psm0"
[ 2551.369] (II) XINPUT: Adding extended input device "Mouse" (type: MOUSE, id 8)
[ 2551.369] (**) Mouse: (accel) keeping acceleration scheme 1
[ 2551.369] (**) Mouse: (accel) acceleration profile 0
[ 2551.369] (**) Mouse: (accel) acceleration factor: 2.000
[ 2551.369] (**) Mouse: (accel) acceleration threshold: 4
[ 2551.384] (II) Mouse: SetupAuto: hw.iftype is 3, hw.model is 0
[ 2551.384] (II) Mouse: SetupAuto: protocol is PS/2
[ 2551.848] (II) Mouse: ps2EnableDataReporting: succeeded
Any advice on how to proceed from here to get this working would greatly appreciated.