-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build drm-kmod on 14.2 aarch64 #337
Comments
did you try to assemble only 1 port: "drm-510-kmod" or "drm-61-kmod"?
|
You have QEMU virtualization.
It apparently lacks a hardware acceleration driver. https://www.phoronix.com/news/QEMU-9.2-Released
Under Freebsd I see there is a virglrenderer package. |
https://www.qualcomm.com/developer/blog/2024/10/vcl-virtio-gpu-opencl-driver
You may also need to rebuild the kernel in a guest with support for I have not tried to run the QEMU guest with virtio_gpu support, so I am guided by information from the Internet. |
The GENERIC kernel already includes all of the virtio drivers (it's in the config, and kldload confirms that it's already built-in to the kernel in question). (Though I hand't seen that article before, and it's useful to me in another context, so thanks!) In any case, if the issue were a missing driver I'd expect to encounter a later build error or a complaint when loading a successfully-compiled kernel module, but the blocker here is that the port just doesn't appear to support the latest stable release on arm64. |
Describe the bug
No version of drm-kmod builds on 14.2 for aarch64
FreeBSD version
FreeBSD bsd 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC arm64 1402000 1402000
PCI Info
DRM KMOD version
N/A because it doesn't build; using ports installed with 14.2 RELEASE installation
To Reproduce
Steps to reproduce the behavior:
cd /usr/ports/graphics/drm-kmod
make install
The build fails with a message that drm-510-kmod is not supported on FreeBSD 14.2 or later. drm-515-kmod and drm-61-kmod fail with messages that newer KPI is not supported on aarch64.
Screenshots
Additional context
This is being attempted in part to get graphics on a VM running in UTM (a QEMU wrapper) with the virtio GPU (intending to use https://reviews.freebsd.org/D40094, which was apparently tested on arm64).
The text was updated successfully, but these errors were encountered: