Information About FreeBSD Graphics: DRM-specific Notes
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 installto install the graphics/drm-kmod metaport. - You can use
pkg upgradeto 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 |
|---|---|---|---|---|
| < 1103000 | not supported | Please see Supported FreeBSD releases. | ||
| >= 1103000 && < 1200000 | drm-fbsd11.2-kmod | 4.11 | amd64 | |
| >= 1200000 && < 1200058 | not supported | |||
| >= 1200058 && < 1300000 | drm-fbsd12.0-kmod | 4.16 | amd64 i386 | |
| >= 1300000 && < 1300029 | not supported | You must upgrade to a newer -CURRENT. | ||
| >= 1300029 | drm-current-kmod | 4.16 | amd64 i386 powerpc64 | Recommended choice for most users of -CURRENT. |
| drm-devel-kmod | 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.