Skip to contentSkip to conversation

Buldroot 2025.02.1 Broken GBM on xorg modesetting

Buildroot [email protected] 2 participants 2 messages Jun 1, 2025 – Sep 22, 2025

lore
Share & tools
lore
#0 lore raw

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?

May Thanks For help
Ciro
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#1 lore raw

Hi,
[email protected] wrote,

Quoted 31 lines

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

Quoted 1 line

is packages broken?

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

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot