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

Symbol lookup error: wlEglCreateSurfaceExport #80

Closed
kyle-figure opened this issue Apr 17, 2023 · 5 comments
Closed

Symbol lookup error: wlEglCreateSurfaceExport #80

kyle-figure opened this issue Apr 17, 2023 · 5 comments

Comments

@kyle-figure
Copy link

kyle-figure commented Apr 17, 2023

I get the following error message trying to launch an app:
symbol lookup error: /lib/x86_64-linux-gnu/libnvidia-vulkan-producer.so: undefined symbol: wlEglCreateSurfaceExport

I saw the following very similar issue, but the symbol is different and my version is much newer: #56

I am using NVIDIA Driver Version: 525.105.17
Ubuntu 22.04.2 LTS

$ nvidia-container-runtime --version
NVIDIA Container Runtime version 1.13.0
commit: b7079454b5b8fed1390ce78ca5a3343748f62657
spec: 1.0.2-dev

runc version 1.1.5
commit: v1.1.5-0-gf19387a
spec: 1.0.2-dev
go: go1.19.7
libseccomp: 2.5.3

I'm slightly confused because the symbol does appear to exist in the binary.

$ nm -gD /lib/x86_64-linux-gnu/libnvidia-vulkan-producer.so | grep -i egl
                 U eglDestroySurface
                 U eglGetPlatformDisplay
                 U eglInitialize
                 U eglTerminate
                 U NvEglApiGetAccess
                 U wlEglCreateSurfaceExport
                 U wlEglGetSurfaceStreamExport
                 U wlEglPostPresentExport
                 U wlEglPrePresentExport

Any ideas on what I can do to resolve this?

@thecoder08
Copy link

I also have this issue. Driver version 525.105.17. Pop OS 22.04 LTS. Like @kyle-figure the symbol is defined in the library.

@erik-kz
Copy link
Collaborator

erik-kz commented Apr 29, 2023

U wlEglCreateSurfaceExport

The "U" means that the symbol is undefined, libnvidia-egl-wayland.so is the library that's supposed to provide it.

Which version of egl-wayland do you have installed?

@thecoder08
Copy link

Which version of egl-wayland do you have installed?

I have libnvidia-egl-wayland1 version 1.1.9 installed. It is the latest version available for Ubuntu (and Pop OS) 22.04 LTS.

@thecoder08
Copy link

thecoder08 commented Apr 29, 2023

Looking now I realize the function was added in version 1.1.10, and the latest version is 1.1.11. I guess the version available in the repositories is outdated.

E: Looking back at the issue that OP originally mentioned, I can see that wlEglInitializeSurfaceExport was renamed to wlEglCreateSurfaceExport. In my version of libnvidia-egl-wayland, it is still called wlEglInitializeSurfaceExport. This confirms that an outdated library is the issue.

@kyle-figure
Copy link
Author

Everything @thecoder08 mentioned is accurate. After building egl-wayland 1.1.11 from source, the unresolved symbol is no longer an issue. Thanks for the assistance.

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

3 participants