From nobody Fri Jan 07 21:40:18 2022 X-Original-To: dev-commits-doc-all@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 2F29F193B5F4 for ; Fri, 7 Jan 2022 21:40:19 +0000 (UTC) (envelope-from git@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 4JVxTZ60P8z58SN; Fri, 7 Jan 2022 21:40:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 A9B8B129FD; Fri, 7 Jan 2022 21:40:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 207LeIHc082208; Fri, 7 Jan 2022 21:40:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 207LeInO082202; Fri, 7 Jan 2022 21:40:18 GMT (envelope-from git) Date: Fri, 7 Jan 2022 21:40:18 GMT Message-Id: <202201072140.207LeInO082202@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: "Danilo G. Baio" Subject: git: 949f3fee33 - main - handbook/x11: Add another way to load the nVidia driver List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dbaio X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 949f3fee33f7afe542f2790176fd32a8959d375e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641591618; 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; bh=NOuRvykAIjCVUjQT0FMzSFY/GEEEzg1vMN9KXXkrUzE=; b=bXVqBKu59Iu2a/crwtVBkKjbFnfQecDSXQhRxiYepoKpFBWaLahH8IC0ldbverijxqiYJ0 Wc8NspmribgGRB57tvLl9kyzziI9CL30hG+eI4r4vOamiOkFR/oAAw3s4Un8WE5AK9sJQU 2u6WImhMLCor3kkBWXrvvwotLpYHjFHGabR9tN+NCIGMmPq3xuOhf2O/jXoS6+RqdSI/BJ hBQw6tIwpVaZmbA2xyuwJHZiwQMs+nd43kIHLvreeahHfujLOlEmg/kmSqriMjwrsiitKd NWwhjZygaULPCwvTd8ttPgIvNnqCPq6n20Huaa7OlKq3g9SEJ+SuW9VYHnyfCA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641591618; a=rsa-sha256; cv=none; b=Daf/7kiUkH68zaltRlcjYx1qHrn2wCpevlI8SyzSvlhh/RTx3pnJBSDkAvIP2sfbs8iQlS ezPshXTNJcNZPv/lWLb+7QI/rcIfI3OTUjSTWfK0R7ygQMDkXigfONh3xqc1Pd6AwEe9aD UZYwlZOOEfmB02F2xdKznNOcC1euvUpf6Q9aooJ5RxFfhYXPIAOOiFB+ExU12N1KNBaFbL EHiN4PDcnqBnCKLH3mDq2pF95a0xS0TV2O/3ItPcWHevjZohuUSbLATXUMdMo7PmoYb7dx Hd6BqemH+RHspLSXm+E4zKJ/7PLjsgpOuyaawPsVmvKLGGzcpOjAhs+JN9Wg6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dbaio: URL: https://cgit.FreeBSD.org/doc/commit/?id=949f3fee33f7afe542f2790176fd32a8959d375e commit 949f3fee33f7afe542f2790176fd32a8959d375e Author: Upendra Kamath AuthorDate: 2022-01-05 10:03:54 +0000 Commit: Danilo G. Baio CommitDate: 2022-01-07 21:34:02 +0000 handbook/x11: Add another way to load the nVidia driver Reviewed by: dbaio Pull Request: https://github.com/freebsd/freebsd-doc/pull/49 --- documentation/content/en/books/handbook/x11/_index.adoc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/documentation/content/en/books/handbook/x11/_index.adoc b/documentation/content/en/books/handbook/x11/_index.adoc index da79e51ce2..cda692d10a 100644 --- a/documentation/content/en/books/handbook/x11/_index.adoc +++ b/documentation/content/en/books/handbook/x11/_index.adoc @@ -1240,7 +1240,14 @@ For example, to install the latest driver: .... The driver will create a kernel module, which needs to be loaded at system startup. -Add the following line to [.filename]#/boot/loader.conf#: +Use man:sysrc[8] to load the module at startup: + +[source,shell] +.... +# sysrc kld_list+="nvidia" +.... + +Alternatively, add the following line to [.filename]#/boot/loader.conf#: [.programlisting] .... @@ -1252,6 +1259,7 @@ nvidia_load="YES" To immediately load the kernel module into the running kernel issue a command like `kldload nvidia`. However, it has been noted that some versions of Xorg will not function properly if the driver is not loaded at boot time. After editing [.filename]#/boot/loader.conf#, a reboot is recommended. +Improper settings in [.filename]#/boot/loader.conf# can cause the system not to boot properly. ==== With the kernel module loaded, you normally only need to change a single line in [.filename]#xorg.conf# to enable the proprietary driver: