Changeset View
Changeset View
Standalone View
Standalone View
documentation/content/en/books/handbook/x11/_index.adoc
Show First 20 Lines • Show All 199 Lines • ▼ Show 20 Lines | ||||||||||
Examples of these files are shown later in this section. | Examples of these files are shown later in this section. | |||||||||
The traditional single [.filename]#xorg.conf# still works, but is neither as clear nor as flexible as multiple files in the [.filename]#xorg.conf.d/# subdirectory. | The traditional single [.filename]#xorg.conf# still works, but is neither as clear nor as flexible as multiple files in the [.filename]#xorg.conf.d/# subdirectory. | |||||||||
[[x-config-video-cards]] | [[x-config-video-cards]] | |||||||||
=== Video Cards | === Video Cards | |||||||||
Because of changes made in recent versions of FreeBSD, it is now possible to use graphics drivers provided by the Ports framework or as packages. As such, users can use one of the following drivers available from package:graphics/drm-kmod[]. | The Ports framework provides the drm graphics drivers necessary for X11 operation on recent hardware. | |||||||||
Users can use one of the following drivers available from package:graphics/drm-kmod[]. | ||||||||||
adridgUnsubmitted Done Inline Actions
adridg: | ||||||||||
These drivers use interfaces in the kernel that are normally private. | ||||||||||
As such, it is strongly recommended that the drivers be built via the ports system, or PORTS_MODULES `makeoptions` in the kernel config file. | ||||||||||
rpokalaUnsubmitted Done Inline ActionsAs such, it is strongly recommended that the drivers be built via the ports system, or by adding a makeoptions PORT_MODULES line in the kernel config file. rpokala: As such, it is strongly recommended that the drivers be built via the ports system, or by… | ||||||||||
With `PORTS_MODULES`, the corresponding port (containing kernel modules) is re-built against the kernel sources, every time you build the kernel. | ||||||||||
This ensures the kernel module stays in-sync with the kernel itself. | ||||||||||
Alternatively, if you run GENERIC, you can just build the [.filename]#graphics/drm-kmod# port. | ||||||||||
[example] | ||||||||||
==== | ||||||||||
[.filename]#/usr/src/sys/ARCH/conf/CUSTOM# | ||||||||||
[.programlisting] | ||||||||||
.... | ||||||||||
include GENERIC | ||||||||||
ident CUSTOM | ||||||||||
makeoptions PORTS_MODULES="graphics/drm-kmod" | ||||||||||
Done Inline Actions
adridg: | ||||||||||
.... | ||||||||||
There are more specific ports than `drm-kmod`; however `drm-kmod` is a metaport that brings in the proper port for the FreeBSD version being used. | ||||||||||
==== | ||||||||||
[[x-config-video-cards-ports]] | [[x-config-video-cards-ports]] | |||||||||
Intel KMS driver, Radeon KMS driver, AMD KMS driver:: | Intel KMS driver, Radeon KMS driver, AMD KMS driver:: | |||||||||
2D and 3D acceleration is supported on most Intel KMS driver graphics cards provided by Intel. | 2D and 3D acceleration is supported on most Intel KMS driver graphics cards provided by Intel. | |||||||||
+ | + | |||||||||
Driver name: `i915kms` | Driver name: `i915kms` | |||||||||
+ | + | |||||||||
2D and 3D acceleration is supported on most older Radeon KMS driver graphics cards provided by AMD. | 2D and 3D acceleration is supported on most older Radeon KMS driver graphics cards provided by AMD. | |||||||||
+ | + | |||||||||
Show All 21 Lines | ||||||||||
+ | + | |||||||||
For reference, see https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units[]. | For reference, see https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units[]. | |||||||||
[[x-config-video-cards-nvidia]] | [[x-config-video-cards-nvidia]] | |||||||||
NVIDIA:: | NVIDIA:: | |||||||||
Several NVIDIA drivers are available in the [.filename]#x11# category of the Ports Collection. Install the driver that matches the video card. | Several NVIDIA drivers are available in the [.filename]#x11# category of the Ports Collection. Install the driver that matches the video card. | |||||||||
+ | + | |||||||||
For reference, see https://en.wikipedia.org/wiki/List_of_Nvidia_graphics_processing_units[]. | For reference, see https://en.wikipedia.org/wiki/List_of_Nvidia_graphics_processing_units[]. | |||||||||
Since video drivers use private kernel interfaces, it is strongly recommended that the driver be kept up to date using PORTS_MODULES mechanism. | ||||||||||
Done Inline Actions
adridg: | ||||||||||
rpokalaUnsubmitted Done Inline ActionsSince video drivers use private kernel interfaces, it is strongly recommended that the drivers be kept up to date by using the PORTS_MODULES mechanism. rpokala: Since video drivers use private kernel interfaces, it is strongly recommended that the drivers… | ||||||||||
Done Inline Actionss/are/is? "support is found" val_packett.cool: s/are/is? "support is found" | ||||||||||
Alternatively, if you run GENERIC, you can just build the [.filename]#x11/nvidia-driver# port or [.filename]#x11/nvidia-driver-xxx#. | ||||||||||
Done Inline Actionss/you/use juan.molina_club.fr: s/you/use | ||||||||||
Done Inline Actionsthanks. Updating in a sec. imp: thanks. Updating in a sec. | ||||||||||
Modern cards you the former. | ||||||||||
Done Inline ActionsPossibly list available versions? Have the nvidia drivers moved? In trees I can find, those drivers live under x11/ adridg: Possibly list available versions? Have the nvidia drivers moved? In trees I can find, those… | ||||||||||
Done Inline ActionsGood suggestion. I'll add a list. imp: Good suggestion. I'll add a list.
| ||||||||||
Legacy cards use the -xxx ports. | ||||||||||
For those, fill in the `-xxx` using the http://download.nvidia.com/XFree86/FreeBSD-x86_64/465.19.01/README/[ Supported NvIDIA GPU Products ] page. | ||||||||||
This page lists the drivers supported by different versions of the driver, including the 304, 340 and 390 versions of the driver. | ||||||||||
Legacy drivers run on both i386 and amd64. | ||||||||||
The current driver only supports amd64. | ||||||||||
Read this README for information about http://download.nvidia.com/XFree86/FreeBSD-x86_64/465.19.01/README/[installation and configuration of NVIDIA driver]. | ||||||||||
[example] | ||||||||||
==== | ||||||||||
[.filename]#/usr/src/sys/ARCH/conf/CUSTOM# | ||||||||||
[.programlisting] | ||||||||||
.... | ||||||||||
include GENERIC | ||||||||||
ident CUSTOM | ||||||||||
makeoptions PORTS_MODULES="graphics/nvidia-driver" | ||||||||||
.... | ||||||||||
==== | ||||||||||
[[x-config-video-cards-hybrid]] | [[x-config-video-cards-hybrid]] | |||||||||
Hybrid Combination Graphics:: | Hybrid Combination Graphics:: | |||||||||
Some notebook computers add additional graphics processing units to those built into the chipset or processor. _Optimus_ combines Intel(R) and NVIDIA hardware. _Switchable Graphics_ or _Hybrid Graphics_ are a combination of an Intel(R) or AMD(R) processor and an AMD(R) Radeon `GPU`. | Some notebook computers add additional graphics processing units to those built into the chipset or processor. _Optimus_ combines Intel(R) and NVIDIA hardware. _Switchable Graphics_ or _Hybrid Graphics_ are a combination of an Intel(R) or AMD(R) processor and an AMD(R) Radeon `GPU`. | |||||||||
+ | + | |||||||||
Implementations of these hybrid graphics systems vary, and Xorg on FreeBSD is not able to drive all versions of them. | Implementations of these hybrid graphics systems vary, and Xorg on FreeBSD is not able to drive all versions of them. | |||||||||
+ | + | |||||||||
Some computers provide a `BIOS` option to disable one of the graphics adapters or select a _discrete_ mode which can be used with one of the standard video card drivers. For example, it is sometimes possible to disable the NVIDIA `GPU` in an Optimus system. The Intel(R) video can then be used with an Intel(R) driver. | Some computers provide a `BIOS` option to disable one of the graphics adapters or select a _discrete_ mode which can be used with one of the standard video card drivers. For example, it is sometimes possible to disable the NVIDIA `GPU` in an Optimus system. The Intel(R) video can then be used with an Intel(R) driver. | |||||||||
▲ Show 20 Lines • Show All 1,142 Lines • Show Last 20 Lines |