Always a black screen at boot.

ALWAYS A BLACK SCREEN AT REBOOT

I followed Scribner's "Instructions for Installing KDE on FreeBSD (Rough Draft #5)": up to step (10) at this link to the post on this same thread

ISSUE: FreeBSD 13.0 reboots in 'multi-user mode' to a black screen after having installed drm-kmod + xorg packages via pkg
SYSTEM IN USE: Notebook HP Elitebook 840 G8 with CPU: TigerLake 11th Intel i5-1135G7 2.4 GhZ
GOAL: trying to install LXDE desktop environment
PROCEDURE:
(–)
installed 'Freebsd 13.0 STABLE' from USB
(–) when creating a user, it was added to both 'wheel' and 'video' groups
(–) rebooted as multi-user with the created user
(–) turned to su mode
(–) installed drm-kmod and Xorg via the pkg
(–) using the sysrc configuration tool I added the lines kld_list="i915kms.ko" and sysrc dbus_enable="YES" to the rc.conf file
(–) added the following line to the /etc/sysctl.conf (as suggested from the message after Xorg installation)
$ kern.evdev.rcpt_mask=3
(–) I didn't create any xorg.conf file, because that seems to be not necessary, as suggested elsewhere here in the forums
(–) rebooted the system - from su mode to multi-user mode with:
$ shutdown -r now
(–) inevitably, the system reboots to a full black screen
(–)
tried a bunch of times to reinstall the whole OS shebang from the USB and tried slight variants of the step-by-step procedure, but to no avail.

SOLUTION?
(-)
I read in some posts here on the FreeBSD forums that by re-installing the
drm-kmod via the ports system instead of the pkg might solve the issue.
Nevertheless:
(-) on the FreeBSD manual - on the chapter relating to Xorg installation - it is
explicitly suggested not to mix pkg and ports installations on the same system. Read the warning on the '4.5 Using the Ports Collection' at the following:
[LINK] https://docs.freebsd.org/en/books/handbook/ports/#ports-using

Any useful hints?

(thank you in advance)
 
Last edited:
SirDice is correct.

Even the pkg-descr says the following?

FreeBSD bug 260074 – graphics/drm-devel-kmod package description does not express compatibility with stable/13

kld_list="i915kms.ko"

.ko is superfluous.

Note what was recommended in the package message.

reboots to a full black screen

What things are visible between the time of power on, and blackness?

Full as in, without a cursor (blinking or non-blinking) at top left, and without a pointer that moves in response to the trackpad?

Is there a response to Control-Alt-F2? Hint: in this situation, use the integral keyboard, not a peripheral.

… suggested not to mix pkg and ports …

Generally: you should be OK if packages are from latest (not quarterly).

pkg -vv | grep url

More specifically, for STABLE, it is appropriate to:
  1. have a system that's built and installed from updated source code; and
  2. build and install DRM-related kernel modules from updated source code.
Appropriate … but not always required; if your timing is lucky, there'll be pre-packaged kernel modules that suit the running system.

freebsd-version -kru ; uname -KU

<https://www.freshports.org/graphics/drm-fbsd13-kmod/#history>

<https://www.freshports.org/graphics/drm-devel-kmod/#history>

<https://www.freshports.org/graphics/gpu-firmware-kmod/#history>

– et cetera.

… Elitebook 840GB …

I assume a typo; should be 840 G8.

HP EliteBook 840 G8 Notebook PC | HP® Customer Support

Did you install xf86-video-intel package? …

If it's a G8: I don't imagine that a legacy driver will be appropriate. x11-drivers/xf86-video-intel/
 
I think OP should really follow the Handbook and keep things simple. I said the same things in the thread that OP references.
 
Back
Top