Re: First row missing when using a monitor

From: <tuexen_at_freebsd.org>
Date: Wed, 17 Apr 2024 15:14:23 UTC
> On 17. Apr 2024, at 16:34, Justin Hibbits <jhibbits@freebsd.org> wrote:
> 
> On Wed, 17 Apr 2024 16:24:13 +0200
> tuexen@freebsd.org wrote:
> 
>>> On 17. Apr 2024, at 15:11, Hugh Blemings <hugh@blemings.org> wrote:
>>> 
>>> Hi Michael, All,
>>> 
>>> On 17/4/2024 12:09, tuexen@freebsd.org wrote:  
>>>> Dear all,
>>>> 
>>>> when using a monitor in combination with a Power9 system (raptor
>>>> black bird), the top line is not displayed. I verified this when
>>>> using top or vi. However, there is enough space on the monitor
>>>> display let at the bottom to show one additional line below the
>>>> lowest displayed one.
>>>> 
>>>> So it seems that the number of rows is correct, but when
>>>> displaying them, they are off by one resulting in the first one
>>>> not being visible.
>>>> 
>>>> This happens with the main branch.
>>>> 
>>>> Any idea what could be wrong?  
>>> 
>>> I'm curious - is this using the framebuffer in the BMC or a
>>> separate video card ?  
>> I have no video card installed.
>>> 
>>> I seem to recall the text console when using the BMC framebuffer
>>> the display parameters are such that the top few lines to get
>>> truncated.  It might be that some tweaks to the framebuffer scan
>>> line settings could resolve this. Alas I no longer remember how
>>> this is done.
>>> 
>>> Maybe this gives a next potential step though ?  
>> Any idea which code to look at?
>> 
>> Best regards
>> Michael
>>> 
>>> Cheers,
>>> Hugh
>>> 
>>> 
>> 
>> 
> 
> You're probably using ofwfb, so the framebuffer configuration is likely
> managed by the BMC, not by FreeBSD.  I recommend getting a cheap AMD
> card, fewer headaches in general (still no acceleration, but at least
> the AMD cards are well tested with FreeBSD); otherwise you can ask the
> Raptor folks, who might have a clue.
OK. Thanks for the hint. I use the PCI slot for network cards, so I
prefer to not use a graphic card. It is not a big deal, I can SSH
into the box from a different system. Just observed that I'm missing
the first line when using vi on the console...

Best regards
Michael
> 
> - Justin