- Thread Starter
- #26
So, it breaks on 15. Probably because of the differences for linuxkpi. The first thing that comes up is a different slot macro that needs two arguments instead of one where _pbus is the new.
I also realized why it worked for me with the version 14 upgrades. It's because drm builds against /usr/src and I had the same source tree for all 14s and only had to rebuild once. I actually tried building 510 on 15 against the 14.1 source tree and it built just fine but on install I got the kernel mismatch notice.
For now it's possible to build drm-510 up to 14.4-RELEASE using the older source tree and get hardware acceleration, wayland plasma working. 14.4 STABLE has EOL near end of 2028 so that buys some time to fix 15.
To be clear. Install 14.4-RELEASE and then git clone the source code for 14.3. Git clone 2026Q2 ports tree and build drm-510-kmod. No patches needed. This will give working hardware acceleration for Braswell Cherryview (and most likely Valleyview as well) with 14.4-RELEASE.
/grandpa
I also realized why it worked for me with the version 14 upgrades. It's because drm builds against /usr/src and I had the same source tree for all 14s and only had to rebuild once. I actually tried building 510 on 15 against the 14.1 source tree and it built just fine but on install I got the kernel mismatch notice.
For now it's possible to build drm-510 up to 14.4-RELEASE using the older source tree and get hardware acceleration, wayland plasma working. 14.4 STABLE has EOL near end of 2028 so that buys some time to fix 15.
To be clear. Install 14.4-RELEASE and then git clone the source code for 14.3. Git clone 2026Q2 ports tree and build drm-510-kmod. No patches needed. This will give working hardware acceleration for Braswell Cherryview (and most likely Valleyview as well) with 14.4-RELEASE.
git clone -b releng/14.3 http://git.FreeBSD.org/src.git /usr/src
git clone -b 2026Q2 https://git.FreeBSD.org/ports.git /usr/ports
cd /usr/ports/graphics/drm-510-kmod
make install uname -a
FreeBSD asus-r517sa 14.4-RELEASE FreeBSD 14.4-RELEASE releng/14.4-n273675-a456f852d145 GENERIC amd64
pkg info | grep drm
drm-510-kmod-5.10.163.1404000_13 Direct Rendering Manager GPU drivers
glxinfo | grep render
'direct rendering: Yes
GLX_MESA_copy_sub_buffer, GLX_MESA_gl_interop, GLX_MESA_query_renderer,
GLX_MESA_gl_interop, GLX_MESA_query_renderer, GLX_MESA_swap_control,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa Intel(R) HD Graphics 405 (BSW)
/grandpa