FreeBSD-13.0-RELEASE-amd64-KDE-Plasma (2021-06-23)

… without EFI. …

SDDM runs but nothing appears …

Tail of /var/log/sddm.log:

Code:
[02:06:14.578] (II) DAEMON: Initializing...
[02:06:14.595] (II) DAEMON: Starting...
[02:06:14.596] (II) DAEMON: No session manager found
[02:06:14.596] (II) DAEMON: Adding new display on vt 9 ...
[02:06:14.600] (II) DAEMON: Loading theme configuration from ""
[02:06:14.600] (II) DAEMON: Display server starting...
[02:06:14.600] (II) DAEMON: Adding cookie to "/var/run/sddm/{48cef4fc-fcfa-413a-bf2a-3c9b7085248f}"
[02:06:14.622] (II) DAEMON: Running: /usr/local/bin/X -nolisten tcp -auth /var/run/sddm/{48cef4fc-fcfa-413a-bf2a-3c9b7085248f} -background none -noreset -displayfd 17 -seat seat0 vt9
[02:06:14.771] (EE) DAEMON: Failed to read display number from pipe
[02:06:14.771] (EE) DAEMON: Could not start Display server on vt 9
[02:06:25.106] (WW) DAEMON: Signal received: SIGTERM

X -config /root/xorg.conf.new results in:
  • black screen
  • cursor at top left, non-blinking
  • no response to input
  • unable to switch from one tty to another
  • ACPI shutdown required.
/var/log/Xorg.0.log:

Code:
[    66.574]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[    66.575] Build Operating System: FreeBSD 13.0-RELEASE-p2 amd64
[    66.575] Current Operating System: FreeBSD freebsd 13.0-RELEASE-p3 FreeBSD 13.0-RELEASE-p3 #0: Tue Jun 29 19:46:20 UTC 2021     root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
[    66.576] Build Date: 29 June 2021  01:13:15AM
[    66.577] 
[    66.577] Current version of pixman: 0.40.0
[    66.578]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    66.578] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    66.581] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul  2 02:14:05 2021
[    66.586] (++) Using config file: "/root/xorg.conf.new"
[    66.587] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[    66.587] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[    66.590] (==) ServerLayout "X.org Configured"
[    66.590] (**) |-->Screen "Screen0" (0)
[    66.591] (**) |   |-->Monitor "Monitor0"
[    66.592] (**) |   |-->Device "Card0"
[    66.592] (**) |   |-->GPUDevice "Card0"
[    66.593] (**) |-->Input Device "Mouse0"
[    66.593] (**) |-->Input Device "Keyboard0"
[    66.594] (==) Automatically adding devices
[    66.594] (==) Automatically enabling devices
[    66.595] (==) Not automatically adding GPU devices
[    66.596] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    66.622] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/misc/".
[    66.622]     Entry deleted from font path.
[    66.623]     (Run 'mkfontdir' on "/usr/local/share/fonts/misc/").
[    66.624] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/TTF/".
[    66.625]     Entry deleted from font path.
[    66.626]     (Run 'mkfontdir' on "/usr/local/share/fonts/TTF/").
[    66.627] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/OTF/".
[    66.627]     Entry deleted from font path.
[    66.628]     (Run 'mkfontdir' on "/usr/local/share/fonts/OTF/").
[    66.630] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/Type1/".
[    66.631]     Entry deleted from font path.
[    66.631]     (Run 'mkfontdir' on "/usr/local/share/fonts/Type1/").
[    66.648] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/100dpi/".
[    66.649]     Entry deleted from font path.
[    66.649]     (Run 'mkfontdir' on "/usr/local/share/fonts/100dpi/").
[    66.651] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/75dpi/".
[    66.651]     Entry deleted from font path.
[    66.652]     (Run 'mkfontdir' on "/usr/local/share/fonts/75dpi/").
[    66.652] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/misc/".
[    66.653]     Entry deleted from font path.
[    66.654]     (Run 'mkfontdir' on "/usr/local/share/fonts/misc/").
[    66.654] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/TTF/".
[    66.655]     Entry deleted from font path.
[    66.656]     (Run 'mkfontdir' on "/usr/local/share/fonts/TTF/").
[    66.656] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/OTF/".
[    66.657]     Entry deleted from font path.
[    66.657]     (Run 'mkfontdir' on "/usr/local/share/fonts/OTF/").
[    66.658] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/Type1/".
[    66.658]     Entry deleted from font path.
[    66.659]     (Run 'mkfontdir' on "/usr/local/share/fonts/Type1/").
[    66.659] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/100dpi/".
[    66.660]     Entry deleted from font path.
[    66.660]     (Run 'mkfontdir' on "/usr/local/share/fonts/100dpi/").
[    66.661] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/75dpi/".
[    66.661]     Entry deleted from font path.
[    66.661]     (Run 'mkfontdir' on "/usr/local/share/fonts/75dpi/").
[    66.662] (**) FontPath set to:
    catalogue:/usr/local/etc/X11/fontpath.d,
    catalogue:/usr/local/etc/X11/fontpath.d
[    66.674] (**) ModulePath set to "/usr/local/lib/xorg/modules"
[    66.675] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    66.675] (WW) Disabling Mouse0
[    66.676] (WW) Disabling Keyboard0
[    66.677] (II) Loader magic: 0x435a00
[    66.677] (II) Module ABI versions:
[    66.678]     X.Org ANSI C Emulation: 0.4
[    66.678]     X.Org Video Driver: 24.1
[    66.679]     X.Org XInput driver : 24.1
[    66.679]     X.Org Server Extension : 10.0
[    66.680] (--) PCI:*(0@0:2:0) 80ee:beef:15ad:0405 rev 0, Mem @ 0xe0000000/33554432, 0xf0000000/2097152, I/O @ 0x0000d010/16, BIOS @ 0x????????/65536
[    66.683] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    66.684] (II) LoadModule: "glx"
[    66.686] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    66.710] (II) Module glx: vendor="X.Org Foundation"
[    66.710]     compiled for 1.20.11, module version = 1.0.0
[    66.711]     ABI class: X.Org Server Extension, version 10.0
[    66.712] (II) LoadModule: "scfb"
[    66.713] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[    66.713] (II) Module scfb: vendor="X.Org Foundation"
[    66.714]     compiled for 1.20.11, module version = 0.0.5
[    66.715]     ABI class: X.Org Video Driver, version 24.1
[    66.715] (II) LoadModule: "vboxvideo"
[    66.716] (II) Loading /usr/local/lib/xorg/modules/drivers/vboxvideo_drv.so
[    66.717] (II) Module vboxvideo: vendor="Oracle Corporation"
[    66.718]     compiled for 1.20.11, module version = 1.0.1
[    66.719]     Module class: X.Org Video Driver
[    66.720]     ABI class: X.Org Video Driver, version 24.1
[    66.720] (**) Load address of symbol "VBOXVIDEO" is 0x800ffb4b0
[    66.721] (II) scfb: driver for wsdisplay framebuffer: scfb
[    66.722] (II) VBoxVideo: guest driver for VirtualBox: vbox
[    66.724] (--) Using syscons driver with X support (version 2.0)
[    66.724] (--) using VT number 9

[    66.725] (WW) Falling back to old probe method for scfb
[    66.727] scfb trace: probe start
[    66.728] scfb trace: probe done
[    66.729] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    66.729] (EE) Screen 0 deleted because of no matching config section.
 
Thanks. Things are normally problem-free, I'm trying to figure out what's different with the disk image that's linked from the opening post.
 
Samuel Venable success!

… early feedback (FreeBSD 14.0-CURRENT host, virtualbox-ose-6.1.22, virtualbox-ose-kmod-6.1.22_1):
  • out of the box, black screen, SDDM does not appear …

I found the show-stopper. Working from the original image, essentially I removed:

/usr/local/etc/X11/xorg.conf.d/driver-scfb.conf



Then, condensed:
  1. edited /etc/rc.conf to enable networking
  2. installed emulators/virtualbox-ose-additions
  3. edited /etc/rc.conf according to <https://www.freshports.org/emulators/virtualbox-ose-additions/#message>
  4. restarted
  5. sddm-greeter crashed
  6. pkg upgrade
  7. restarted, SDDM ran, I logged in as the freebsd user, the desktop appeared ☑
  8. logged out, setenv PAGER cat && freebsd-update fetch install, restarted, SDDM ran, I logged in, the desktop appeared ☑
(A non-condensed version would be more like what's in post 10 on page one.)



I should have looked at the X.Org configuration a month ago. Avoided it at the time, because I have limited patience with X.Org-related issues :-|

Since driver-scfb.conf is identifiably troublesome (in a VirtualBox context), most of the to-ing and fro-ing on pages one and two becomes redundant :cool:

Last but not least, I might have mentioned this a few weeks ago, it's now reported:
 

For completeness, I verified that SDDM and Plasma remained usable following a switch from quarterly to latest for packages. Success.



Note to self, don't do this whilst logged in to a desktop environment:
2021-07-25 17:31:51.png

– it succeeded (with sudo pkg upgrade -y --quiet), however it was necessary to force off the computer.

No surprise; it's bad practice to upgrade packages whilst the desktop environment runs! Better to log out, switch to ttyv1, service sddm stop, switch to ttyv1 then perform the upgrade.
 
… quite a bit of reading up to do on how to manage this with a working zfs …

… alernative, start again from scatch and use zfs this time around? …

If ever the mood takes you, this (if merged) might be of interest:

 
Back
Top