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: /usr/lib/x86_64-linux-gnu/glxosd/libglxosd-plugins-nvidia-support.so: undefined symbol: XextFindDisplay #5

Closed
jonchampagne opened this Issue Jun 10, 2014 · 17 comments

Comments

Projects
None yet
3 participants
@jonchampagne

jonchampagne commented Jun 10, 2014

Running glxosd with the nvidia 337.25 drivers via optimus/primus. Crashes immediately. Output from all varations of primusrun/optirun is the same.

$ primusrun glxosd glxgears
[GLXOSD] Loading libglxosd-plugins-libsensors-support.so
[GLXOSD] Loaded libglxosd-plugins-libsensors-support.so
[GLXOSD] Loading libglxosd-plugins-nvidia-support.so
[GLXOSD] Loaded libglxosd-plugins-nvidia-support.so
glxgears: symbol lookup error: /usr/lib/x86_64-linux-gnu/glxosd/libglxosd-plugins-nvidia-support.so: undefined symbol: XextFindDisplay

Not sure whether the program needs to be updated the newer drivers, or if it's a problem with bumblebee, but figured i'd mention it here.

@jonchampagne

This comment has been minimized.

jonchampagne commented Jun 10, 2014

I should also add that I'm on linux mint 17, and completely up to date.

@nickguletskii

This comment has been minimized.

Owner

nickguletskii commented Jun 10, 2014

Could you please try running

glxosd primusrun glxgears

?

I can't test Primus on my machine because I don't have Optimus.

@jonchampagne

This comment has been minimized.

jonchampagne commented Jun 10, 2014

As I stated, identical output for all variations of putting primusrun/optirun before and after the glxosd command.

@nickguletskii

This comment has been minimized.

Owner

nickguletskii commented Jun 10, 2014

Oh, okay, sorry.

I did some searching and it seems like I am not at fault here. I don't use XextFindDisplay in my code, My guess is that it is called from XOpenDisplay, but I haven't verified that.

Please check that libxext6 is installed. If it isn't, please install it and try again.

@jonchampagne

This comment has been minimized.

jonchampagne commented Jun 10, 2014

Yup it is. Must have gotten pulled in by the packages in the ppa or something else. Just for good measure, i installed libxext6-dbg, but that doesn't seem to have made any more debug output.

@nickguletskii

This comment has been minimized.

Owner

nickguletskii commented Jun 10, 2014

Thank you very much. I will add this library to the dependency list tomorrow.

@nickguletskii nickguletskii changed the title from Failure with optimus+nvidia 337.25 to libxext6 is missing from the list of dependencies, causes symbol lookup error Jun 10, 2014

@nickguletskii nickguletskii added the bug label Jun 10, 2014

@jonchampagne

This comment has been minimized.

jonchampagne commented Jun 10, 2014

Alrighty. Still not working, but great response time! Wouldn't have expected to hear back for a day or two with such a small project.

@nickguletskii

This comment has been minimized.

Owner

nickguletskii commented Jun 10, 2014

Hmm, what isn't working? I know that this refuses to work with some applications, but if you have any error messages, please do create an issue because I am planning to try and fix GLXOSD not working with some applications pretty soon.

@jonchampagne

This comment has been minimized.

jonchampagne commented Jun 10, 2014

It's still outputting the same thing with any program i run on my nvidia card with primusrun/optirun. Same output as the first post.

@nickguletskii nickguletskii changed the title from libxext6 is missing from the list of dependencies, causes symbol lookup error to symbol lookup error: /usr/lib/x86_64-linux-gnu/glxosd/libglxosd-plugins-nvidia-support.so: undefined symbol: XextFindDisplay Jun 10, 2014

@nickguletskii

This comment has been minimized.

Owner

nickguletskii commented Jun 10, 2014

The last shot in the dark for tonight: try running

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libXext.so.6 glxosd primusrun glxgears

I doubt this will help, but who knows? Anyway, I will look into this issue further tomorrow.

@jonchampagne

This comment has been minimized.

jonchampagne commented Jun 10, 2014

That seems to have worked! No idea why the library wasn't getting loaded, but it works now. Thanks a ton :D

@nickguletskii

This comment has been minimized.

Owner

nickguletskii commented Jun 10, 2014

No problem, thanks for reporting the issue! I will try to think of a way to fix this.

@nickguletskii

This comment has been minimized.

Owner

nickguletskii commented Jun 12, 2014

This seems to be an isolated issue. I can't replicate this on Mint 17. If someone else has this issue, please let me know.

@minj

This comment has been minimized.

minj commented Aug 8, 2014

I confirm this issue.
Running Lubuntu 14.04 amd64.
Nvidia 337.25-0ubuntu1~xedgers14.04.2
Bumblebee 3.2.1
libxext6 2:1.3.2-1

Workaround confirmed.

@minj

This comment has been minimized.

minj commented Aug 8, 2014

However, that's only good for glxgears. Can't run steam apps.

@nickguletskii

This comment has been minimized.

Owner

nickguletskii commented Mar 30, 2016

GLXOSD v3 potentially fixes the problem. I would be very grateful if anyone could confirm one way or another.

@nickguletskii

This comment has been minimized.

Owner

nickguletskii commented May 4, 2016

XextFindDisplay is no longer used in version 3, therefore this issue is obsolete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment