[Buildroot] Buldroot 2025.02.1 Broken GBM on xorg modesetting

Waldemar Brodkorb wbx at openadk.org
Mon Sep 22 05:31:01 UTC 2025


Hi,
ciro04 at incmail.it wrote,

> Hello,
> 
> im currently try to use Xorg on imx8mp (nxp evk) with D2/3D Accel. using
> modesetting + glamor.
> 
> when i try to set up Xorg with modesetting driver i've got this error:
> 
> [   198.155] (EE) Failed to load
> /usr/lib/xorg/modules/drivers/modesetting_drv.so:
> /usr/lib/xorg/modules/drivers/modesetting_drv.so: undefined symbol:
> gbm_bo_get_plane_count
> 
> libgbm is prensent on the system:
> # ls -l /usr/lib/libgbm.so*
> lrwxrwxrwx    1 root     root            11 May 31  2025 /usr/lib/libgbm.so
> -> libgbm.so.1
> lrwxrwxrwx    1 root     root            15 May 31  2025
> /usr/lib/libgbm.so.1 -> libgbm.so.1.0.0
> -rwxr-xr-x    1 root     root         63600 May 31  2025
> /usr/lib/libgbm.so.1.0.0
> 
> on my .config ive got all GBM option enabled:
> 
> BR2_PACKAGE_MESA3D_GBM=y
> BR2_PACKAGE_PROVIDES_LIBGBM="mesa3d"
> BR2_PACKAGE_HAS_LIBGBM=y
> BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT=y
> BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF=y
> BR2_PACKAGE_WAFFLE_SUPPORTS_GBM=y
> 
> 
> is packages broken?

Xorg has a BUG. See my post from today on the mailinglist for a fix.
best regards
 Waldemar



More information about the buildroot mailing list