Information About FreeBSD Graphics: DRM-specific Notes
Contents
General
The way you need to manage your Direct Rendering Manager (DRM) bits depends on your OS update strategy.
In either case you will need to install the graphics/drm-kmod metaport. It should install the correct things for you for your OSVERSION as reported. See the table below for further explanation of what it will try to install.
Release Versions
If you are running a release version of FreeBSD:
You can use pkg install to install the graphics/drm-kmod metaport.
You can use pkg upgrade to stay in sync.
STABLE or CURRENT Versions
If you are instead running stable or current:
"When using stable (or current) it is important that the kernel and the drm-kmod modules are in sync." -- NiclasZeising, in PR 245923, 20200427. Therefore:
You will have to build and install the graphics/drm-kmod port manually, using the Ports Collection.
Whenever you rebuild the kernel, you will also need to rebuild and reinstall graphics/drm-kmod to stay in sync.
What graphics/drm-kmod/Makefile Installs And Supports
The Table Of Truth According To graphics/drm-kmod/Makefile:
OSVERSION range |
package required |
Linux equivalent |
archs |
comments |
not supported |
|
|
Please see Supported FreeBSD releases. |
|
4.11 |
amd64 |
|
||
not supported |
|
|
|
|
4.16 |
amd64 i386 |
|
||
not supported |
|
|
You must upgrade to a newer -CURRENT. |
|
4.16 |
amd64 i386 powerpc64 |
Recommended choice for most users of -CURRENT. |
||
5.3 |
aarch64 amd64 i386 powerpc64 |
For graphics developers using -CURRENT. Try at your own risk. Expect to be able to provide debugging information. |
Support for aarch64 and powerpc64 are in beta. Try at your own risk. Expect to be able to provide debugging information.
See Also
Charts of where DRM fits in the graphics hierarchy; an alternate view.
A zoomed-out Linux graphics hierarchy referenced from this article.