I have just installed FreeBSD 14, but can't get startx to run successfully. I have installed xorg, lightdm (and lightdm-gtk-greeter) and XFCE4.
I have tried various things that I discovered on the forum (and elsewhere), but I can't get startx to run.
The results are as follows:
Here is /var/log/Xorg.0.log:
And pciconf -lv | grep -B3 display:
/boot/loader.conf:
/etc/rc.d:
Can somebody help please? I don't remember battling like this with Release 13, but that was a few years ago.
Thanks!
I have tried various things that I discovered on the forum (and elsewhere), but I can't get startx to run.
The results are as follows:
Here is /var/log/Xorg.0.log:
Code:
[ 41.065]
X.Org X Server 1.21.1.9
X Protocol Version 11, Revision 0
[ 41.065] Current Operating System: FreeBSD feedback 14.0-RELEASE-p3 FreeBSD 14.0-RELEASE-p3 #0: Mon Dec 11 04:56:01 UTC 2023 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
[ 41.065]
[ 41.065] Current version of pixman: 0.42.2
[ 41.065] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 41.065] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 41.065] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 29 08:45:32 2023
[ 41.135] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 41.135] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 41.175] (==) No Layout section. Using the first Screen section.
[ 41.175] (**) |-->Screen "ScreenLayout" (0)
[ 41.175] (**) | |-->Monitor "<default monitor>"
[ 41.186] (**) | |-->Device "Intel"
[ 41.186] (==) No monitor specified for screen "ScreenLayout".
Using a default monitor configuration.
[ 41.186] (==) Automatically adding devices
[ 41.186] (==) Automatically enabling devices
[ 41.186] (==) Automatically adding GPU devices
[ 41.186] (==) Automatically binding GPU devices
[ 41.195] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 41.311] (==) 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
[ 41.311] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 41.311] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 41.311] (II) Module ABI versions:
[ 41.311] X.Org ANSI C Emulation: 0.4
[ 41.311] X.Org Video Driver: 25.2
[ 41.311] X.Org XInput driver : 24.4
[ 41.311] X.Org Server Extension : 10.0
[ 41.314] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 41.314] (II) Platform probe for /dev/dri/card0
[ 41.314] (!!) More than one possible primary device found
[ 41.314] (--) PCI: (0@0:2:0) 8086:0416:103c:1942 rev 6, Mem @ 0xb0000000/4194304, 0xa0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/65536
[ 41.314] (--) PCI: (1@0:0:0) 1002:6600:103c:1947 rev 0, Mem @ 0x90000000/268435456, 0xb0900000/262144, I/O @ 0x00004000/256, BIOS @ 0x????????/65536
[ 41.314] (II) LoadModule: "glx"
[ 41.352] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 41.457] (II) Module glx: vendor="X.Org Foundation"
[ 41.457] compiled for 1.21.1.9, module version = 1.0.0
[ 41.457] ABI class: X.Org Server Extension, version 10.0
[ 41.457] (II) LoadModule: "modesetting"
[ 41.457] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[ 41.517] (II) Module modesetting: vendor="X.Org Foundation"
[ 41.517] compiled for 1.21.1.9, module version = 1.21.1
[ 41.517] Module class: X.Org Video Driver
[ 41.517] ABI class: X.Org Video Driver, version 25.2
[ 41.517] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 41.517] (--) Using syscons driver with X support (version 2.0)
[ 41.517] (--) using VT number 9
[ 41.527] (WW) Falling back to old probe method for modesetting
[ 41.527] (II) modeset(0): using default device
[ 41.527] (II) modeset(G0): using drv /dev/dri/card0
[ 41.527] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 41.527] (EE)
Fatal server error:
[ 41.528] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 41.528] (EE)
[ 41.528] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 41.528] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 41.528] (EE)
[ 41.539] (EE) Server terminated with error (1). Closing log file.
And pciconf -lv | grep -B3 display:
Code:
vgapci1@pci0:0:2:0: class=0x030000 rev=0x06 hdr=0x00 vendor=0x8086 device=0x0416 subvendor=0x103c subdevice=0x1942
vendor = 'Intel Corporation'
device = '4th Gen Core Processor Integrated Graphics Controller'
class = display
--
vgapci0@pci0:1:0:0: class=0x030000 rev=0x00 hdr=0x00 vendor=0x1002 device=0x6600 subvendor=0x103c subdevice=0x1947
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'Mars [Radeon HD 8670A/8670M/8750M / R7 M370]'
class = display
/boot/loader.conf:
Code:
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
cpu_microcode_enable="YES"
cpu_microcode_name="/boot/firmware/intel-ucode.bin"
zfs_load="YES"
kern.vty=vt
i915kms_load="YES"
/etc/rc.d:
Code:
clear_tmp_enable="YES"
hostname="feedback"
wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"
ifconfig_wlan0_ipv6="inet6 accept_rtadv"
create_args_wlan0="country ZA"
sshd_enable="YES"
moused_nondefault_enable="NO"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
kld_list="i915kms"
kld_list="amdgpu"
dbus_enable="YES"
hald_enable="YES"
microcode_update_enable="YES"
# lightdm_enable="YES"
Can somebody help please? I don't remember battling like this with Release 13, but that was a few years ago.
Thanks!