mumble-voip / mumble

Mumble is an open-source, low-latency, high quality voice chat software.
https://www.mumble.info
Other
6.38k stars 1.12k forks source link

Mumble overlay does not work in several games #1049

Closed mumble-voip closed 10 years ago

mumble-voip commented 10 years ago

The Mumble overlay does not work with Arma III, Civlization V, Takedown: Red Sabre and SWAT 4. Here is what I have already done:

I'm using the sound card of my Creative Tactica 3D Alpha Headset.

In SWAT 4 (non-steam) it is possible to get the overlay running, by letting the game load into the main menu and then start Mumble. DxDiag.txt included.

This ticket has been migrated from sourceforge. It is thus missing some details like original creator etc. The original is at https://sourceforge.net/p/mumble/bugs/1049/ .

*The following attachments were added on the original item:

Kissaki commented 11 years ago

Are those games using DirectX 11? If so, the overlay does not support D3D11 yet. However, a it is on its way https://github.com/mumble-voip/mumble/pull/177

You normally do not need to run Mumble as admin, as long as you do not run your games as admin either (which should be how you do it).

I own none of those games, so can not test it.

Kissaki commented 11 years ago
mumble-voip commented 11 years ago

Ok, this seems to solve the issue for DX9/DX11 games, as it works on Civ 5 in DX9 mode. Thanks for that! :D

SWAT 4 however is a pretty old game. And as already mentioned, the overlay only works, when Mumble is started while being in the main menu of the game. Any ideas about that?

Kissaki commented 11 years ago

So it shows in the main menu, but when you load a game session it disappears/-ed?

If you want to debug, put a debugoverlay file alongside your Mumble.exe, and start debugview. The log could be useful.

mumble-voip commented 11 years ago

Ok, I didn't explain that clearly enough, sorry. The issue is basically - the overlay does NOT appear if I start Mumble before starting the game. If I start the game first, and THEN Mumble, it works okay, in the main menu, in a game session, etc. It's a bit annoying not to know why that is the case.

I've made two log files with debugview (debugoverlay file with no extension is in the main folder as you suggested). The routine was: 1) Starting Mumble, than the game/the game, than Mumble (hence two log files) 2) Checking if the overlay works 3) Closing the game 4) Closing Mumble

I was trying to make something out of the log files, but I'm not really smarter after comparing them. There is only one line in both logs that is clearly connected to the overlay, but it is exactly the same in both files.

The following attachments were added on the original comment:

Kissaki commented 11 years ago

In both we have a D3D9: CreateWnd with two following hooks. So it is D3D9, and it does seem to hook in.

mumble-voip commented 11 years ago

Well, if it hooks in in both cases, why can't I see it if Mumble starts first?

Kissaki commented 11 years ago

I do not know. :) Specifically, the overlay should show when you start Mumble before the game in more cases than the other way around.

mumble-voip commented 11 years ago

Hmm, that's strange. Maybe the issue will magically resolve itself in v1.2.5 ;)

Kissaki commented 10 years ago

Can anyone try the overlay with one of the games mentioned above

Zuko commented 10 years ago

I can try: Sid Meier's Civilization® V

Zuko commented 10 years ago

sid_meier s_civilization_v_ dx9 _2013-11-05_23-23-51

dx9

Kissaki commented 10 years ago

Awesome, thank you for verifying.

Is Civilisation V always Dx9? Or is there a different mode as well?

Zuko commented 10 years ago

Game also have dx 10 & 11 but I tested it on 9 because I don't have dx 11 ov in Mumble (current master + my little changes)

Kissaki commented 10 years ago

If nobody else can confirm this issue with any of those games, this issue should be closed.

Tarun80 commented 10 years ago

@Kissaki - you can download the demo of Civ 5 to test it from http://store.steampowered.com/app/8930/

Kissaki commented 10 years ago

Arma 3 and Civilization 5 support DirectX 11 according to https://en.wikipedia.org/wiki/List_of_games_with_DirectX_11_support . I suspect this to be the general non-support for Direct3D 11 then - it is thus not a bug. As Zukos screenshot shows, it works in Direct3D 9.