From nobody Tue Aug 26 20:15:30 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 4cBJnG5kDFz664Bg for ; Tue, 26 Aug 2025 20:15:30 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cBJnG3TYfz4PNY for ; Tue, 26 Aug 2025 20:15:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756239330; 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=38mgNm31+erNvJhtgzq7hhoq2Xih3/Sw5YWdGZ22qiw=; b=ZmAKwSyCFcKgEw3D5w06+t/G/wLlnGnG9GFtIzmCMjziUcJ2Y4zRYLcf6Bl2NwKXRrNCDA 1zEAwmNrVhXiZhaf9khSQdsv7CXQ5W0rXg4NZFqgTzYkyizQNMvKnRAF9sdaZzHB8I1Y17 1pShF6nbX0b/k+EqkBGHz5vmbo3YDXXFDqX6qlzTeq65paou8FCH6YZSg7G/sqF9QWxZM6 HpdVYLUAEGV+xejpeEMPh6f3tG01dpw92fqe379IikN9QbAXv8kei8q4Lg6dhlZonK26UR anA/Ow5NGHbHycJV9/GsloLjPefN0CSNlNTVD39D6nCJyuPJon3cTnL0mMk1bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756239330; 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=38mgNm31+erNvJhtgzq7hhoq2Xih3/Sw5YWdGZ22qiw=; b=RyoTO6f7RDAfT3mif//UwB+65K0wlqHzXueafodr2pmGCib2SNhX1TN2UyFCqA0pnCg9po wY2mdlM0jb1lXfoyR8GSimmvj3YRc2RlWKovDozqPhE0vuoEAOTwFXX4vxXdjpWaIcbJaF ScICivQA5k53e97K1lAXVOiRe/42fn0NeLrcbR0X0NTvExbdQjUl/pIARYRzUdo9DUu2Oj sEN7kIk/rXlEw/21REk8FuARJDgI7QpumKvM7/PpdL4ijbD7KBUW8+wCkozuel0Am5f6RE ueVlpBOXDfjb+iFMP+9NjZKavku18ML0dQIACyN41oWW3t77sXy6CBHf5JLp5w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756239330; a=rsa-sha256; cv=none; b=NDSkvuAXGyTWJY27yrkCabaEeog0llK6tCqaulzjRej5gGJeAgXRuOfArKDB0GnzHNlr8t DOiV/kmJ2UyHpyRceNsMAJAxtEeUc2m0bvP2hZH7riqPXtC+ULPrKwwNj40fGXtWtcwxRf rW6EXD5QcPeegxGuNoVnPgsaAnbBTasBteBkmovN1eb3NNlcdp9nZBBBXJBUqf9d+D5M28 9c7U6BLfpX7bX1hYjPWrnWLQP3AWuOWC4xUTRSrY1ryEqDcwv2uGVpgmpkNCGTZBuJmzFP f3tcOeUEZziyEiZnu7UsW5eZbLjghYxDnTEeQ9BSON9t8hPYZTsOd1qAM7hVcQ== 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 4cBJnG32gwzrdX for ; Tue, 26 Aug 2025 20:15:30 +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 57QKFUbv061600 for ; Tue, 26 Aug 2025 20:15:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57QKFUSu061599 for bugs@FreeBSD.org; Tue, 26 Aug 2025 20:15:30 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 289007] Slow boot on AMD Framework 13/16 with FreeBSD main Date: Tue, 26 Aug 2025 20:15:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jrm@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: 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=3D289007 --- Comment #4 from Joseph Mingrone --- I discussed the issue with tsoome on IRC. The slowness is partly related to the larger font sizes introduced in main.= =20 Adding screen.font=3D"16x32" to /boot/loader.conf makes the boot menu and everything afterwards display much faster. However, everything before the = boot loader still renders very slowly. This is fast with 14.3, so something els= e is at play. tsoome suggested the early slowness may depend on whether the loa= der uses gop->blt() or its own blt() implementation. I tried setting gop.blt= =3Doff in /boot/loader.conf, but it didn't make a difference. Relevant excerpts from the IRC discussion: I have pretty good idea why and how to make it better, need to ta= ke time to make it happen. The problem with WC optimized memory is that you want to put large chunks of data on screen. Current implementation is putting chars one by on= e, the vt driver does use timer based screen draw - it renders glyphs to cache= and flushes the changed region(s) based on timer. the initial implementation was "good enough" till larger font appeared some months ago, 32x64x4 is 8k data to be copied to draw one glyph= and in some systems it is not good enough any more... --=20 You are receiving this mail because: You are the assignee for the bug.=