From nobody Mon Mar 14 06:23:14 2022 X-Original-To: x11@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 BBDD71A01A98 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 4KH60y4250z3NZ0 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 549F52A6 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 22E6NEun034782 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 22E6NEO4034781 for x11@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: x11@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: CC 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: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@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=nCQwmTuEnxbeofYe32BanYL4RpnB06b0uKvCyii30Z0=; b=MYof0IrTdYYlsxj/Hsrq8SljJR3a9x6JuNspUfOKS6A6KBNsAgCYZwPCMfKnNBBN9iTRpm L10dwHIpAp0XkQ4xounB43F3a4nP30IX/YpiONyUDmnsw8kU6sYisl0HHlJ4a43XppkOwr cDa7RLO5SfnGwmATMXj6u8HtaWxfPduEwGYAGbJuLQ9zFkIl1BZe4RCbIVjd+w0QGkRGE6 yFcWuCUkjJkoKF1m9mUvHX/rAypdH/yG+Nm3YmqDrzkhMtJlVwy8p0TfnNk8UnyKBpwvyU FyzPH/M0mwffLm/dZVhDk6OJiHu89vkz5xBtKD+hPwL9OMGWYNDLlgDS3NakHw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647238994; a=rsa-sha256; cv=none; b=gWVQvralCT8pYuxsENv1JeCRmEK+0cjDglLvi3w86x7gadmr9DXEhqgzCvMGfurmc1S/XL 2XG2Xqdh4LolkAoDgQlGRW3U3itV7wl0H7MAe+6pA8DgM+HIzw9lRZION3WOj6RhWSY7DR I1Qb3dDbDbZ/RgzjhXh7Uq8k1oOp3MrMyd+kv+iPh8LYeadmQKXHsHbBfY6XoR84Lm8Cdo M5TUWFMKhJyn2/nPIRh2fQiSrZc0eUUpcLGMYj34hB7Y6M6brOzYhKWXuUGSzAspjzd+/J +8O9EVdu52KAJwl3kx3aPbvJIWKprY4PhX+1AI6BkUWAkCjBvb6xn1gkNRL84A== 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 on the CC list for the bug.=