Hi,
I have installed FreeBSD 13.2 on my Lenovo Thinkpad W520 following the Youtube videos "Getting Started With FreeBSD, Part 1" and "Getting Started With FreeBSD, Part 2" from Robonuggie.
When I do startx, it doesn't work and i get a fatal server error 'no screens found' and 'unable to connect to X server' and 'server error':
I hope someone can help me configuring it so Xorg (startx) and KDE Plasma will work.
/etc/rc.conf
/etc/fstab
My /var/log/Xorg.0.log file:
Output of kldstat
I have installed FreeBSD 13.2 on my Lenovo Thinkpad W520 following the Youtube videos "Getting Started With FreeBSD, Part 1" and "Getting Started With FreeBSD, Part 2" from Robonuggie.
When I do startx, it doesn't work and i get a fatal server error 'no screens found' and 'unable to connect to X server' and 'server error':
Code:
xauth: file /root/.serverauth.1680 does not exist
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
Current Operating System: FreeBSD w520.local 13.2-RELEASE-p1 FreeBSD 13.2-RELEASE-p1 GENERIC amd64
Current version of pixman: 0.42.2
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: Sun Jul 2 20:35:46 2023
(==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(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
I hope someone can help me configuring it so Xorg (startx) and KDE Plasma will work.
/etc/rc.conf
Code:
# SILENCE # ------------------------------------------------------------------
rc_startmsgs=NO
# NETWORK # -----------------------------------------------------------------
hostname="w520.local"
ifconfig_em0="DHCP"
# DAEMONS | yes # -----------------------------------------------------------
zfs_enable="YES"
sshd_enable="YES"
moused_enable="YES"
ntpdate_enable="YES"
dbus_enable="YES"
hald_enable="YES"
kdm5_enable="YES"
# slim_enable="YES"
# DAEMONS | no # ------------------------------------------------------------
sendmail_enable="NONE"
# FS # ----------------------------------------------------------------------
clear_tmp_enable="YES"
# OTHER # -------------------------------------------------------------------
syslogd_flags="-ss"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
kld_list="i915kms"
Code:
# Device Mountpoint FStype Options Dump Pass#
/dev/ada0p2 none swap sw 0 0
proc /proc procfs rw 0 0
My /var/log/Xorg.0.log file:
Code:
[ 16115.199]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[ 16115.199] Current Operating System: FreeBSD w520.local 13.2-RELEASE-p1 FreeBSD 13.2-RELEASE-p1 GENERIC amd64
[ 16115.199]
[ 16115.199] Current version of pixman: 0.42.2
[ 16115.199] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 16115.199] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 16115.199] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 2 15:31:04 2023
[ 16115.199] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 16115.199] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 16115.200] (==) No Layout section. Using the first Screen section.
[ 16115.200] (==) No screen section available. Using defaults.
[ 16115.200] (**) |-->Screen "Default Screen Section" (0)
[ 16115.200] (**) | |-->Monitor "<default monitor>"
[ 16115.200] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 16115.200] (**) | |-->Device "Card0"
[ 16115.200] (**) | |-->GPUDevice "Card0"
[ 16115.200] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 16115.200] (==) Automatically adding devices
[ 16115.200] (==) Automatically enabling devices
[ 16115.200] (==) Not automatically adding GPU devices
[ 16115.200] (==) Automatically binding GPU devices
[ 16115.200] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 16115.200] (==) 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/,
catalogue:/usr/local/etc/X11/fontpath.d
[ 16115.200] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 16115.200] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 16115.200] (II) Module ABI versions:
[ 16115.200] X.Org ANSI C Emulation: 0.4
[ 16115.200] X.Org Video Driver: 25.2
[ 16115.200] X.Org XInput driver : 24.4
[ 16115.200] X.Org Server Extension : 10.0
[ 16115.201] (!!) More than one possible primary device found
[ 16115.201] (--) PCI: (0@0:2:0) 8086:0116:17aa:21d1 rev 9, Mem @ 0xf1400000/4194304, 0xe0000000/268435456, I/O @ 0x00006000/64, BIOS @ 0x????????/65536
[ 16115.201] (--) PCI: (1@0:0:0) 10de:0dfa:17aa:21d1 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/65536
[ 16115.201] (II) LoadModule: "glx"
[ 16115.201] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 16115.206] (II) Module glx: vendor="NVIDIA Corporation"
[ 16115.206] compiled for 4.0.2, module version = 1.0.0
[ 16115.206] Module class: X.Org Server Extension
[ 16115.206] (II) NVIDIA GLX Module 390.154 Wed Jun 22 04:44:23 UTC 2022
[ 16115.206] (II) LoadModule: "intel"
[ 16115.207] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[ 16115.207] (II) Module intel: vendor="X.Org Foundation"
[ 16115.207] compiled for 1.21.1.7, module version = 2.99.917
[ 16115.207] Module class: X.Org Video Driver
[ 16115.207] ABI class: X.Org Video Driver, version 25.2
[ 16115.207] (II) LoadModule: "nvidia"
[ 16115.207] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 16115.207] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 16115.207] compiled for 4.0.2, module version = 1.0.0
[ 16115.208] Module class: X.Org Video Driver
[ 16115.208] (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
[ 16115.208] (II) intel: Driver for Intel(R) HD Graphics
[ 16115.208] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 16115.208] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 16115.208] (II) NVIDIA dlloader X Driver 390.154 Wed Jun 22 04:46:19 UTC 2022
[ 16115.208] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 16115.208] (--) Using syscons driver with X support (version 2.0)
[ 16115.208] (--) using VT number 9
[ 16115.218] (EE) No devices detected.
[ 16115.218] (EE)
Fatal server error:
[ 16115.218] (EE) no screens found(EE)
[ 16115.218] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 16115.218] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 16115.218] (EE)
[ 16115.234] (EE) Server terminated with error (1). Closing log file.
Output of kldstat
Code:
Id Refs Address Size Name
1 56 0xffffffff80200000 1f3e2d0 kernel
2 1 0xffffffff8213f000 a4a0 cryptodev.ko
3 1 0xffffffff8214a000 59dfa8 zfs.ko
4 1 0xffffffff82b20000 1858b8 i915kms.ko
5 1 0xffffffff82ca6000 739e0 drm.ko
6 2 0xffffffff82d1a000 5220 linuxkpi_gplv2.ko
7 3 0xffffffff82d20000 62d8 dmabuf.ko
8 1 0xffffffff82d27000 3378 acpi_wmi.ko
9 1 0xffffffff82d2b000 3250 ichsmb.ko
10 1 0xffffffff82d2f000 2180 smbus.ko
11 1 0xffffffff82d32000 4d00 ng_ubt.ko
12 6 0xffffffff82d37000 aac8 netgraph.ko
13 2 0xffffffff82d42000 a238 ng_hci.ko
14 4 0xffffffff82d4d000 25a8 ng_bluetooth.ko
15 1 0xffffffff82d50000 e250 ng_l2cap.ko
16 1 0xffffffff82d5f000 1bee8 ng_btsocket.ko
17 1 0xffffffff82d7b000 39c0 ng_socket.ko