From nobody Wed Apr 17 14:34:30 2024 X-Original-To: freebsd-ppc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VKNhr3Qz6z5H1Xk for ; Wed, 17 Apr 2024 14:34:36 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VKNhr2vy0z4xx7; Wed, 17 Apr 2024 14:34:36 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713364476; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VKIIwwlkLXhi+xQIRShCLaFFngqfgjzfxrhkNPLDA2M=; b=V2xZBUjrOurAsOWISrfczHhLADM195uEq/tkdWDC8iMoZ29kcfU1+ZAeP4lzd0wAyIVXHf 3iaUQay4cjg/lRws3VRxKBQIAGOckhkr/w+JZ1BIQ7mXfyQiD8sqtNB9AuURmVNtVzd6lS GC4CmnATWB8Srwef7yLql68pCi+BI2gm9eRhVvZ/nNyqOMeTL/ZkofcKsdwzYgH1yJy+gw u8EScf2F6QFKyn/KJgGUj/oimBhVTFYxdVueF41UpbrevovySFMuiYC9RykaZVJof2JrnJ pQW8VY/41GdA7QM2WKpY+P0WjshzWaQITYpG1Vd1rGu72o3EUGdD3MMH5SEdpg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713364476; a=rsa-sha256; cv=none; b=lKLofgNbRXgaz8Ho0HNI1opcJMNXs8wcXSDnG5wwblgEWce9fO3kTSu98BH9dMU8u3kGpk 0VtFb25rBTXuxr4FBPZJtvKho7+Yufg2pWLIG9xeAjhQD86owdoBOmLuVB7s3gyiRDphtO VomTH9NtLrd2Gq5e4P2xMYPVruH6myxFOMXtNuw4FzfcruP02Ke/R0BtUsVvFFM1r7jOp5 ZXhb+P2FZtPVKzOpGnxshTbKzErjBnkmaw69Xt9sNG3l1D+WbcOs9lBSFfZGP7qizs/IHP 0y4oSTYJXg/aSGu1AcxjaVp4SJNvFLAEHBisOMfOIJhhDCwFz9q/8xAiKoRCzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713364476; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VKIIwwlkLXhi+xQIRShCLaFFngqfgjzfxrhkNPLDA2M=; b=f2OnezMud0K0+7a6a9Mh2VT+KYR280XmLhLOGNQbQk9QYKTFOiDL9aPwjNrRmhomWRv4p1 vr9NdQmh2pAEaO0/dWojzPKJEsS1nKLV8zfOB+C6Q3ENCABrqnkVoaFvYGhp+tg3vGyru0 tvwqAKL5RTaDEA7NFwtXSNBMNJ2uRpht2MHUjA8451/+dghUyV6B0y/5bpEQghswLmk6uw bY5lPTQG+nBSLjKSzkSvEoyEMEdeQTOOcUku38P9N6QyWd1HJ+vEBkb/ok2kHQw3geqe5t egWdthg/6CQbcDOcwRZOBb11Mw1PfGzcIUiVh0pJb7KlbFT4tX1tQv1iVXc3qA== Received: from ralga.knownspace (ip-163-182-7-56.dynamic.fuse.net [163.182.7.56]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jhibbits) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VKNhr19lYzdlK; Wed, 17 Apr 2024 14:34:36 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Date: Wed, 17 Apr 2024 10:34:30 -0400 From: Justin Hibbits To: tuexen@freebsd.org Cc: Hugh Blemings , FreeBSD PowerPC ML Subject: Re: First row missing when using a monitor Message-ID: <20240417103430.0a518540@ralga.knownspace> In-Reply-To: References: <35999CD2-0530-40C0-B1ED-247EE6B2E08E@freebsd.org> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.39; powerpc64le-unknown-linux-gnu) List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ppc@freebsd.org Sender: owner-freebsd-ppc@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 17 Apr 2024 16:24:13 +0200 tuexen@freebsd.org wrote: > > On 17. Apr 2024, at 15:11, Hugh Blemings 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. - Justin