I have just updated from 14.3 to 14.4 everything went well until I tried to run my preferred wm swayfx. I eventually discovered that I had an issue with MESA in that I am getting this error when running sway from a terminal
It appears that recent Mesa updates (Mesa 24.3+ / 25.x) bumped the minimum required amdgpu kernel interface version for AMD GPUs to 3.54.0 (Linux 6.6).
On FreeBSD 14.x, the maximum supported kernel module version is graphics/drm-61-kmod (Linux 6.1 DRM), which reports DRM version 3.49.0. When Mesa runs, its ac_query_gpu_info check sees 3.49.0 instead of 3.54.0 and fails.
Any ideas how I resolve this, note that I build all my own packages using poudriere and rebuilt these as part of my update process.
Code:
sway --unsupported-gpu
No such file or directory
amdgpu: DRM version is 3.49.0, but this driver is only compatible with 3.54.0 (kernel 6.6+) or later.
MESA: error: amdgpu: ac_query_gpu_info failed.
libEGL warning: egl: failed to create dri2 screen
00:00:00.053 [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen"
No such file or directory
amdgpu: DRM version is 3.49.0, but this driver is only compatible with 3.54.0 (kernel 6.6+) or later.
MESA: error: amdgpu: ac_query_gpu_info failed.
libEGL warning: egl: failed to create dri2 screen
00:00:00.056 [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen"
00:00:00.056 [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
00:00:00.056 [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"
00:00:00.056 [wlr] [render/egl.c:268] Failed to initialize EGL
00:00:00.056 [wlr] [render/egl.c:625] Failed to initialize EGL context
00:00:00.056 [wlr] [render/fx_renderer/fx_renderer.c:282] Could not initialize EGL
00:00:00.056 [sway/server.c:255] Failed to create renderer
It appears that recent Mesa updates (Mesa 24.3+ / 25.x) bumped the minimum required amdgpu kernel interface version for AMD GPUs to 3.54.0 (Linux 6.6).
On FreeBSD 14.x, the maximum supported kernel module version is graphics/drm-61-kmod (Linux 6.1 DRM), which reports DRM version 3.49.0. When Mesa runs, its ac_query_gpu_info check sees 3.49.0 instead of 3.54.0 and fails.
Any ideas how I resolve this, note that I build all my own packages using poudriere and rebuilt these as part of my update process.