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

Mumble overlay does not work #5932

Open
3JlOy-PYCCKUi opened this issue Oct 17, 2022 · 20 comments
Open

Mumble overlay does not work #5932

3JlOy-PYCCKUi opened this issue Oct 17, 2022 · 20 comments
Labels
bug A bug (error) in the software linux overlay

Comments

@3JlOy-PYCCKUi
Copy link

Description

There is an error, related to LD_PRELOAD, when trying to run the overlay.
My distro is Arch Linux, mumble installed from official repositories.

Steps to reproduce

  1. Try to start mumble overlay

Mumble version

1.4.287

Mumble component

Client

OS

Linux

Reproducible?

Yes

Additional information

No response

Relevant log output

$ LANG=C.UTF-8 mumble-overlay glxgears
set
set
Unable to find symbol malloc. Aborting.
/usr/bin/mumble-overlay: line 69:  5583 Aborted                 LD_PRELOAD="${MUMBLE_PRELOAD} ${LD_PRELOAD}" "${@}"

Screenshots

No response

@3JlOy-PYCCKUi 3JlOy-PYCCKUi added bug A bug (error) in the software triage This issue is waiting to be triaged by one of the project members labels Oct 17, 2022
@3JlOy-PYCCKUi
Copy link
Author

Overlay does not work with other programs either:

Minetest

2022-10-17 19:15:08: [Main]: Automatically selecting world at [/home/USERNAME/.minetest/worlds/testworldname]
2022-10-17 19:15:08: ERROR[Main]: Audio: Global Initialization: Failed to open device
/usr/bin/mumble-overlay: line 69: 16217 Segmentation fault      LD_PRELOAD="${MUMBLE_PRELOAD} ${LD_PRELOAD}" "${@}"

Gzdoom

gzdoom: symbol lookup error: /usr/lib64/mumble/libmumbleoverlay.x86_64.so: undefined symbol: glPopClientAttrib

Xeyes

xeyes: symbol lookup error: /usr/lib64/mumble/libmumbleoverlay.x86_64.so: undefined symbol: glPopClientAttrib

I couldn't find any program at all with which I was able to run overlay

@Krzmbrzl
Copy link
Member

@davidebeatrici any idea?

@Krzmbrzl Krzmbrzl added support and removed bug A bug (error) in the software triage This issue is waiting to be triaged by one of the project members labels Oct 17, 2022
@github-actions github-actions bot added the stale-support This issue hasn't seen any activity in recent time and will probably be closed soon. label Oct 22, 2022
@mumble-voip mumble-voip deleted a comment from github-actions bot Oct 22, 2022
@Krzmbrzl Krzmbrzl removed the stale-support This issue hasn't seen any activity in recent time and will probably be closed soon. label Oct 22, 2022
@Krzmbrzl
Copy link
Member

@3JlOy-PYCCKUi could you try running the overlay + application through gdb, so we can get a backtrace of the crash?

@3JlOy-PYCCKUi
Copy link
Author

@3JlOy-PYCCKUi could you try running the overlay + application through gdb, so we can get a backtrace of the crash?

I can, but i don't know how

like mumble-overlay gdb xeyes?
i get error:
gdb: symbol lookup error: /usr/lib64/mumble/libmumbleoverlay.x86_64.so: undefined symbol: glPopClientAttrib

if i try gdb --args mumble-overlay xeyes
i get:
"/usr/bin/mumble-overlay": not in executable format: file format not recognized

@Krzmbrzl
Copy link
Member

Ah yes, right. mumble-overlay is only a wrapper script... 🤦

@radioactiveman
Copy link
Contributor

Have you installed lib32-glibc? It's an opt-dependency for Mumble and is needed for mumble-overlay.

https://archlinux.org/packages/community/x86_64/mumble/

@github-actions github-actions bot added the stale-support This issue hasn't seen any activity in recent time and will probably be closed soon. label Oct 28, 2022
@Krzmbrzl
Copy link
Member

@3JlOy-PYCCKUi some things that come to my mind:
The overlay not finding glPopClientAttrib most likely means that the target program was not linked against OpenGL, which is a requirement for the overlay to work.

What goes on in the minetest case, I don't know. But for your original problem it might bw that the program uses a custom memory allocator instead of malloc, which would explain why that symbol can't be found...

@mumble-voip mumble-voip deleted a comment from 3JlOy-PYCCKUi Oct 28, 2022
@mumble-voip mumble-voip deleted a comment from github-actions bot Oct 28, 2022
@Krzmbrzl
Copy link
Member

Oops, I accidentally deleted the comment of OP confirming that lib32-glibc is indeed installed.

@github-actions github-actions bot added stale-support This issue hasn't seen any activity in recent time and will probably be closed soon. and removed stale-support This issue hasn't seen any activity in recent time and will probably be closed soon. labels Oct 29, 2022
@Krzmbrzl Krzmbrzl added bug A bug (error) in the software overlay and removed support stale-support This issue hasn't seen any activity in recent time and will probably be closed soon. labels Nov 2, 2022
@mumble-voip mumble-voip deleted a comment from github-actions bot Nov 2, 2022
@3JlOy-PYCCKUi
Copy link
Author

#5949 partially solves the problem by applying the patch from this pull-request, I was able to run minetest with the overlay, but everything else still does not work, also I tested the overlay with games from steam (via proton and native), also does not work

@Krzmbrzl
Copy link
Member

Krzmbrzl commented Nov 7, 2022

Afaik steam games use Vulkan, which is not supported by our overlay.

For those games that still don't work, are the error messages as before?

@3JlOy-PYCCKUi
Copy link
Author

glxgears is working too
gzdoom, xeyes still don't work, error is the same

@Krzmbrzl
Copy link
Member

Krzmbrzl commented Nov 8, 2022

gzdoom and xeyes probably don't use OpenGL and therefore it is expected that they don't work

@Green-Sky
Copy link
Contributor

vulkan layer when?

@Krzmbrzl
Copy link
Member

Krzmbrzl commented Nov 8, 2022

When someone finds time and motivation to implement it :P
There is a dedicated ticket somewhere here on GitHub - it's rather old already though (iirc) 🤔

@cedarmax
Copy link

Is there any way to just make the Mumble overlay always present, regardless of a game being open? I have the same issue.

@Krzmbrzl
Copy link
Member

I don't think so. The overlay hooks into the graphics call of the game to do its rendering, so you have to have a game running for it to work.

@Green-Sky
Copy link
Contributor

I don't think so. The overlay hooks into the graphics call of the game to do its rendering, so you have to have a game running for it to work.

except for vulkan, which could, if implemented, be installed as a systemwide layer.

@cedarmax
Copy link

I don't think so. The overlay hooks into the graphics call of the game to do its rendering, so you have to have a game running for it to work.

It is suggested here that this is possible: #1273 (comment)
On Windows it is possible to have the overlay always present. I'm trying to get the overlay to work with TF2 but the issue according to others seems to be that mumble is 64 bits, steam is 64 bits, but TF2 is 32 bits. Not that the overlay works in any other game, anyways.

@r3k2
Copy link

r3k2 commented Oct 31, 2024

Any news on this? I just installed mumble and looking for the overlay to work on vulkan as in like everything is vulkan now a days 😅

@cedarmax
Copy link

cedarmax commented Nov 1, 2024

Any news on this? I just installed mumble and looking for the overlay to work on vulkan as in like everything is vulkan now a days 😅

I updated to Ubuntu 24.04 LTS with Mumble 1.5.517. The overlay is still broken.

@Kissaki Kissaki added the linux label Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug (error) in the software linux overlay
Projects
None yet
Development

No branches or pull requests

7 participants