Skip to content
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

glamor_egl_get_driver_name not defined in Debian 10 #237

Open
laigor opened this issue Sep 22, 2022 · 6 comments
Open

glamor_egl_get_driver_name not defined in Debian 10 #237

laigor opened this issue Sep 22, 2022 · 6 comments

Comments

@laigor
Copy link

laigor commented Sep 22, 2022

xorgxrdp v0.9.19 not started in Debian 10 because glamor_egl_get_driver_name not defined.
Failed to load /usr/lib/xorg/modules/drivers/xrdpdev_drv.so: /usr/lib/xorg/modules/drivers/xrdpdev_drv.so: undefined symbol: glamor_egl_get_driver_name
I looked at the file /usr/include/xorg/glamor.h and made sure that glamor_egl_get_driver_name is not present in Debian 10 and present in Debian 11.

@matt335672
Copy link
Member

glamor_egl_get_driver_name is defined in /usr/lib/xorg/modules/libglamoregl.so:-

$ nm -D /usr/lib/xorg/modules/libglamoregl.so | grep glamor_egl_get_driver_name
00000000000092b0 T glamor_egl_get_driver_name

On Debian 10, this symbol is not defined, hence the error.

On the face of it, it looks like you're trying to run xorgxrdp compiled on Debian 11 on Debian 10. This isn't a supported operation.

Or am I missing something?

@laigor
Copy link
Author

laigor commented Sep 23, 2022

On debian 10 command

$ nm -D /usr/lib/xorg/modules/libglamoregl.so | grep glamor_egl_get_driver_name
$

gives empty result.
xorgxrdp compiled on Debian 10

@laigor
Copy link
Author

laigor commented Sep 23, 2022

Debian 11:

$ grep glamor_egl_get_driver_name /usr/include/xorg/glamor.h
extern _X_EXPORT const char *glamor_egl_get_driver_name(ScreenPtr screen);

Debian 10:

$ grep glamor_egl_get_driver_name /usr/include/xorg/glamor.h 
$

@matt335672
Copy link
Member

That's right, and is more-or-less what I've just said.

If you want to run xrdp 0.9.19 on Debian 10, you'll need to build it on Debian 10 without the --enable-glamor flag. It looks like your executable has been built against a later version of the X server which has the necessary symbols defined.

Does that make sense?

@laigor
Copy link
Author

laigor commented Sep 26, 2022

#238

@matt335672
Copy link
Member

@laigor - is this now fixed with #239?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants