Re: X11 on Pi 4

From: Carl Johnson <carlj_at_peak.org>
Date: Sat, 16 Oct 2021 21:24:56 UTC
Bernd Walter <ticso@cicely7.cicely.de> writes:

> On Sat, Oct 16, 2021 at 09:51:54PM +0200, Bernd Walter wrote:
>> I'm trying to get X11 runing on the Pi4.
>> So far I don't get a signal on the screen.
>> I'd tried both HDMI ports.
>> FreeBSD mentions:
>> VT(efifb): resolution 592x448
>> ...
>> fb0: <BCM2835 VT framebuffer driver> on simplebus0
>> fb0: keeping existing fb bpp of 32
>> fbd0 on fb0
>> WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 14.0.
>> VT: Replacing driver "efifb" with new "fb".
>> fb0: 592x448(592x448@0,0) 32bpp
>> fb0: fbswap: 1, pitch 2368, base 0x3eaf5000, screen_size 1060864
>
> Ok, there was hdmi_safe=1, now I see the resultion.
> However, the screen still has no signal.
>
>> Is there some kind of initialisation missing from u-boot?
>> I noticed that raspbian on the Pi4 also leave the screen disabled
>> until X starts.
>> Unfortunately starting X on FreeBSD doesn't change anything.

I don't know if this is your problem, but FreeBSD doesn't seem to
initialize HDMI unless it connects to a monitor at boot.  That means
that you have to have a monitor plugged in when it boots up, and the
monitor has to be turned on.  If you boot up without a monitor plugged
in, then I don't know any way to turn the HDMI output on, other than
rebooting.

-- 
Carl Johnson		carlj@peak.org