10-09-2012, 02:22 PM (This post was last modified: 10-09-2012, 02:23 PM by MDYou.)
Hi Guys,
i'm using the latest release of Xonotic (0.6.0) on my 2012 MacBook Pro running OS X 10.8.2 (Mountain Lion). But I can't hear any sound. Playing music in iTunes works fine, also sound output from other Games (tested with Minecraft) works fine, only xonotic isn't "playing" any sounds, no matter if I play online or offline.
Is this a problem generally occurs with OS X 10.8.2 or on 2012 MacBook Pro?
And most important: How can I fix this issue? I played Xonotic on my WindowsPC before and I loved it.
PS: Xonotic works great on my Mac, the only thing not working is sound.
Yes, I'm using the SDL executabele (At least I think so. I downloaded the .zip file from xonotic.org and unziped it. There was a .app file inside. I used that one) There Is no cmd promt showing up
10-09-2012, 02:47 PM (This post was last modified: 10-09-2012, 02:58 PM by MDYou.)
In the app "Console" I found the following error:
08.10.12 21:24:25,904 xonotic-osx-sdl-bin[13853]: Error loading /Library/Audio/Plug-Ins/HAL/SeratoVirtualAudioPlugIn.plugin/Contents/MacOS/SeratoVirtualAudioPlugIn: dlopen(/Library/Audio/Plug-Ins/HAL/SeratoVirtualAudioPlugIn.plugin/Contents/MacOS/SeratoVirtualAudioPlugIn, 262): no suitable image found. Did find: /Library/Audio/Plug-Ins/HAL/SeratoVirtualAudioPlugIn.plugin/Contents/MacOS/SeratoVirtualAudioPlugIn: mach-o, but wrong architecture
And right after that error ist this error:
09.10.12 21:48:22,492 xonotic-osx-sdl-bin[798]: Cannot find function pointer New_SHP_PlugIn for factory 834FC054-C1CC-11D6-BD01-00039315CD46 in CFBundle/CFPlugIn 0x103b35a80 </Library/Audio/Plug-Ins/HAL/SeratoVirtualAudioPlugIn.plugin> (bundle, not loaded)
Doesn't seem to be the problem. (Deleted the plugin and tried again: same result as before deleting *sad*)
btw: how do i launch xonotic from a cmd promt? (I'm very new to Mac and UNIX)
10-09-2012, 03:22 PM (This post was last modified: 10-09-2012, 03:23 PM by Mr. Bougo.)
Look for a quick howto on how to cd into a directory (cd is a command that means "change directory"). Then, cd into the directory containing the app file, and launch it by typing open Xonotic.app (or whatever the name of the app file is).
EDIT: Do you have anything special installed that is audio-related?
Can you do a condump from when you start Xonotic? To do so, start Xonotic and open the Xonotic terminal by pressing shift escape. In there, type condump startdump.log. Then, type which startdump.log to see where the file was placed. Put the contents in here or on a pastebin.
10-10-2012, 12:48 PM (This post was last modified: 10-10-2012, 12:49 PM by Mr. Bougo.)
Weird, sound seems to work fine from Xonotic's point of view. Something must be wrong with your system, it might be due to interaction with weird drivers installed by your audio software... I really don't know anything about that.
You should seek support at Serato, tell them you're using a SDL-based game and show them the errors that appear in your system log.
Yet you get errors related to Serato when you start Xonotic, and Xonotic sees everything as being alright. Serato is quite probably interacting with SDL...
I don't know. If their uninstaller is stupid (which is a possibility even for commercial software) it might leave components behind that still mess up your sound.
Just had a quick look at what's going on here, and it does seem that Serato is doing some weird interactions with Xonotic.
However I see 2 issues happening, of which I am unsure whether they are related or not. One of them is the issue regarding SDL and Serato that's been talked about earlier in this thread. The other appears to be with the libraries used for audio, that cannot be loaded. To quote your condump:
Quote:^7Trying to load library... "libvorbis.dylib" "/Users/martinwackerbauer/Applications/Xonotic/Xonotic.app/Contents/MacOS/libvorbis.dylib" - failed.
^7Trying to load library... "libmodplug.dylib" "/Users/martinwackerbauer/Applications/Xonotic/Xonotic.app/Contents/MacOS/libmodplug.dylib" - failed.
^7Trying to load library... "libogg.dylib" "/Users/martinwackerbauer/Applications/Xonotic/Xonotic.app/Contents/MacOS/libogg.dylib" - failed.
In order to debug this I'd like you to run the following commands in a terminal, I'll make it easy for you by supplying the full pathnames:
The otool command lists dependencies for these specific libraries, I'd like to compare those results to what I get - because I do just get sound on my 10.8.2 installation.
Before posting a reply, please read about the bikeshed.
10-12-2012, 03:35 PM (This post was last modified: 10-12-2012, 03:39 PM by MDYou.)
I just did copy and paste and that's what terminal "replied": (first command worked, the other three seem to be in wrong context)
Martins-MacBook-Pro:~ martinwackerbauer$ otool -L /Users/martinwackerbauer/Applications/Xonotic/Xonotic.app/Contents/MacOS/xonotic-osx-sdl-bin
/Users/martinwackerbauer/Applications/Xonotic/Xonotic.app/Contents/MacOS/xonotic-osx-sdl-bin:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
@executable_path/../Frameworks/SDL.framework/Versions/A/SDL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 12.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 476.19.0)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 34.0.0)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 677.26.0)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 949.54.0)
Martins-MacBook-Pro:~ martinwackerbauer$ otool -L /Users/martinwackerbauer/Applications/Xonotic/Xonotic.app/Contents/MacOS/libvorbis.dylib
/Users/martinwackerbauer/Applications/Xonotic/Xonotic.app/Contents/MacOS/libvorbis.dylib: is not an object file
Martins-MacBook-Pro:~ martinwackerbauer$ otool -L /Users/martinwackerbauer/Applications/Xonotic/Xonotic.app/Contents/MacOS/libmodplug.dylib
/Users/martinwackerbauer/Applications/Xonotic/Xonotic.app/Contents/MacOS/libmodplug.dylib: is not an object file
Martins-MacBook-Pro:~ martinwackerbauer$ otool -L /Users/martinwackerbauer/Applications/Xonotic/Xonotic.app/Contents/MacOS/libogg.dylib
I have XCode installed...my this cause the trouble?
speakers , sounds and music needs speakers on nerd computers.
volume , required to produce the sounds and music.
ask a nerd , nerds needs nerds to help nerds.
source code , sounds like something complex , but its just a movie.
For the test it is sufficient if you just extract the zip somewhere else on the same Mac.
I do see the problem now, but I don't have any clue what actually caused it. What's supposed to happen is that libogg.dylib (the general name which is loaded by the engine) is a symlink to libogg.0.dylib (the file name which actually has the library stuff, which can be versioned). Somehow that symlink got broken, which really is quite odd. The output for both the file and md5 command should be the same for both libogg.dylib and libogg.0.dylib.
Can you check what the contents are from the libogg.dylib file? It says it's just ASCII text, which could mean it has some useful information as to what caused this, so just try to cat that file.
Before posting a reply, please read about the bikeshed.
I just downloaded the .zip again and extracted it to the same place on my HDD as it was before, and this time I have sound!!!!! What might have caused the problem: I downloaded the .zip about a month ago on my PC (Windows) and extracted the files under Win7 using 7-Zip. The I moved the files over to my external HDD (wich is formated NTFS) in order of my change from PC to Mac. So maybe something didn't worked the way it should with that process, but hey, sound works great right now. Thanks a lot for your patience and your help