From nobody Mon Mar 14 06:23:14 2022 X-Original-To: doc@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 916C41A01B84 for ; Mon, 14 Mar 2022 06:23:14 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KH60y30stz3Njr for ; Mon, 14 Mar 2022 06:23:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4436B2A5 for ; Mon, 14 Mar 2022 06:23:14 +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 22E6NEB7034777 for ; Mon, 14 Mar 2022 06:23:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22E6NE9w034776 for doc@FreeBSD.org; Mon, 14 Mar 2022 06:23:14 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: doc@FreeBSD.org Subject: [Bug 258264] Following handbook on nvidia drivers makes system get stuck on boot. Date: Mon, 14 Mar 2022 06:23:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Documentation X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sblachmann@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647238994; 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=RXimss8Rzlf2KXPJi+qWTK88w4qATpz1xJrAKUnNIRc=; b=A6ykHZBjSfeX2i67e7rRHN318hAsRb8mZf7bPZPjsE5+yfg27gXEw3DJa1bLwlYpPwM9N0 ADAW/3i8dLaYRrZqJ5O26BUglv8Fq7jXUkNXVY9SpnMqcSc6IrJ1LJYi0veHCB14eoWbYX CzseNeZpnDAl+M8RFDZlBbMVc+IKCT6pkvGFp0xbjls2NpOxv67bJwMdA6nFitMvwFtIey ECoWqqiEu36TU5Hsk0nVdOJx2B9RYUt1yTmYvfX+wSXjc9Y1N5Be6rIcti8EUPKkLIm2De EAzVwJBOp/9R6Jm6AgFt9Qv5ePgGbTEumHFO28I4ng6Ix7Wj7dATP1okZrqvSQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647238994; a=rsa-sha256; cv=none; b=W6Sp8f/K/UlWYdg30J0zvNJ6s66FczyL8MCC3Vq5QgD2mFA3ziaY/fwwGsMJI46k9bQm+J mSXk9feAoWJEu5MqmuHvxAs3vKfwaIkGpzMLQwAqpZwKj6bxaK5RAurjfgitt9oZiu4Irb PwEtPv7f08/5GCQqdOhITK1B7sQT4BQ6YQ4bG26MgxLdBC0domPrZvpMocvK1HQyFMjvHP mvtS35pXnycgrGk+2b9Ubapn62faLhOFapFp41CcnXnQP7EWdyd6zAeAj35tcjBjQ/HtRH rpqmjs4Oqe3rlvvbaR88ebZAWwS1H3vgPUaVX3v1c/XCs/9OwP1zSAKyGomWwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258264 Stefan B. changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sblachmann@gmail.com --- Comment #12 from Stefan B. --- Graham Perrin told me here https://forums.freebsd.org/threads/why-its-so-complicated.84408/post-560016= to add information. In general, for all drivers >340 the correct way is to load nvidia-modeset = in /boot/loader.conf. (Source is the Nvidia README, confirmed by my experience= .) Loading it only later (via /etc/rc.conf) can cause several issues, like xrandr/EDID not working correctly, problems with suspend/resume etc. However there are issues with the UEFI boot code which reportedly cause han= gs due to insufficient free memory, which causes problems when nvidia.ko is be= ing pulled in by nvidia-modeset. I don't know about details, as I avoid using U= EFI whenever possible. So it depends on whether and when these UEFI loader issues are solved in the particular FreeBSD version, whether nvidia-modeset can be loaded via /boot/loader.conf (optimum) or has to be loaded via /etc/rc.conf (suboptimal work-around). The handbook nvidia section is of no use, as it is completely out of date a= nd no help at all for FreeBSD newcomers. It even still mentions driver-304, wh= ich has been defunct since 2017 due Xorg ABI changes. --=20 You are receiving this mail because: You are the assignee for the bug.=