git: 949f3fee33 - main - handbook/x11: Add another way to load the nVidia driver
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 07 Jan 2022 21:40:18 UTC
The branch main has been updated by dbaio: URL: https://cgit.FreeBSD.org/doc/commit/?id=949f3fee33f7afe542f2790176fd32a8959d375e commit 949f3fee33f7afe542f2790176fd32a8959d375e Author: Upendra Kamath <upendrakamath553@gmail.com> AuthorDate: 2022-01-05 10:03:54 +0000 Commit: Danilo G. Baio <dbaio@FreeBSD.org> 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: