From nobody Tue Dec 30 20:27:00 2025 X-Original-To: bugs@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 4dgl4N5Dh3z6MRZJ for ; Tue, 30 Dec 2025 20:27:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dgl4N1g6sz3Xw8 for ; Tue, 30 Dec 2025 20:27:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767126420; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D4JYacMDidZkzgRXP/xgsyyNb/16zcszDGMgMSSH4DE=; b=I6jd9XVF+whYAzBUqaQF0BtAVeDLlEoridr37ktjZXpvOMR/qggNEijNugvxY58tSLVD7C a5zA3/dpd8F57CaXain1eY4ETzbBk+T12q2pYkyxI13O4PiLV2Nob8t3el5x/IoR2qb7yp UMAkW3wSk5wCsKYMwzQjysyVZa0KyiOvD6KgPvGGfUFtn+0AOriqGAH4dOcgsQpiC9Ss0m Fi7Yv1oUn6SENKGJ3ocXw/gAr0JMtWL0uLKuTg5R+uYiAhh6/6r71PlHsnpVBQR3j454FI UtXe5830xWQiBmaXkpDQYqFeBe51XPtf2OCRK+wz5r8OuOZiGg+iBUV1AJxrLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767126420; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D4JYacMDidZkzgRXP/xgsyyNb/16zcszDGMgMSSH4DE=; b=S8QxKVyOaFAoTBVQzVDAff0n1ugiElAcjvNinlt/k8RMoi8Z9rnG2nmiH4mrZisa8GTXX+ JKZlH7WhMQRzkKC2DG2ys2ijhjQkRkkMJxCE80G4BSW1SkHvMYshpcIxEepChyRG2mml/M /Z1CHhrTPofhXE5OUuhL69dAa3nIn0HE+JnuvBPzr5ICheN7xkicZONYEPZUQGevQkmHiz mk793u99bQvf8YS92QgzKQYU7EZLG8kSiQ0l8FIb3RCGZnGuUuGhHG5vce+u0fLeIohyEU pI4q2UM+jarq6WRNkyc2CDwizuLbqx7iWo63JXTm+iUouePNzq2ZGJ2vLv/ZoA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1767126420; a=rsa-sha256; cv=none; b=x4ASItEEhEPk0JTaTF0dSRAXJImdACgBt9auh4onuGPylNj7+m1eKaFNoVazMrdcIYYmEB KoSj3Kc+y4IVSa7HykWYWepANrOIY1igfs9uaaqen/AbFvRPFJP6e9KuVWuIyUjPwJ0qpT VS0jKyG4w9VOUQSP7tLOCaAERYZjysODf8hYhMhxJX4b7AjEU0vEmzakYNHLzyKzfVMtya pIYHbaCocWqmPW/XIFwtVKYToaXL16DoznOBal4uo2hmU5B6wnVmxzAb8kAWgXh6Z/CFR+ MXaQZ0I2rn8aTWtOH9tEvqoSGHsXMC659AqFykFJGbGTaxiyN/NBwKZyIQJn/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dgl4N18n7z1c9 for ; Tue, 30 Dec 2025 20:27:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BUKR0wp095837 for ; Tue, 30 Dec 2025 20:27:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BUKR06w095836 for bugs@FreeBSD.org; Tue, 30 Dec 2025 20:27:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 291935] Vidconsole (amd64 only) does now show anything on old hardware (MacBook2,1) Date: Tue, 30 Dec 2025 20:27:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vexeduxr@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291935 --- Comment #7 from Ahmad Khalifa --- Created attachment 266658 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D266658&action= =3Dedit UGA gfxfb loader patch Hmm, digging deeper into this, there does seem to be some weirdness here. In gfxfb_blt(), we assume that gfx_state.tg_private points to a EFI_GRAPHICS_OUTPUT_PROTOCOL structure (which in UGA's case, it doesn't). At first glance, that looks like it would be problematic, since we try to deference it and call it's Blt() function. However, it looks like both EFI_GRAPHICS_OUTPUT_PROTOCOL and EFI_UGA_DRAW_PROTOCOL have both their Blt functions at the same offset (which is probably why the loader isn't hanging/crashing). I doubt this is intentional though. So it would seem like the problem here is that the MacBook's Blt function j= ust doesn't work. IMO we shouldn't be using the firmware provided Blt functions= on UGA platforms at all. The attached patch switches to gfxfb's implementation of these functions if we're on UGA. Could you try and see if that fixes the issue? (this should be applied over the previous patch of course) --=20 You are receiving this mail because: You are the assignee for the bug.=