RogueAmoeba / Soundflower-Original

MacOS system extension that allows applications to pass audio to other applications.
https://github.com/Cycling74/Soundflower
MIT License
1.27k stars 146 forks source link

Won't run on OS X El Capitan due to kext signing #39

Open hristost opened 9 years ago

hristost commented 9 years ago

Soundflower won't run under the newest OS X:

Hristos-MacBook-Pro:~ Hristo$ sudo kextutil /System/Library/Extensions/Soundflower.kext
Diagnostics for /System/Library/Extensions/Soundflower.kext:
Code Signing Failure: not code signed
Untrusted kexts are not allowed
ERROR: invalid signature for com.Cycling74.driver.Soundflower, will not load

Is there a way we can get around this?

LucaTNT commented 9 years ago

Try enabling unsigned kext loading: sudo nvram kext-dev-mode=1 and reboot.

parvi commented 9 years ago

Not working with me too. Just updated El Capitan was working fine in Yosemite. CAnt see it in applications too :( :(

mattingalls commented 9 years ago

try this version: https://github.com/mattingalls/Soundflower/releases/tag/2.0b2

NVY-NUKULAR commented 9 years ago

thx for the link! i now have my 2 channels back!

they seem to be working as well, but how do i get the soundflowerbed app to work again.

i am trying to stream to twitch using the OBS app. the soundflowerchannels are working and the OBS is getting the audio signal like before. but now i cant hear anything anymore, because im not able to tell soundflowerbed to output the channel signal. I was able to dicribe my problem so you can understand.

any help is much appreciated!

Nuku

mattingalls commented 9 years ago

unfortunately soundflowebed needs a lot of work. (better to just replace it, actually). if all you need is to monitor soundflower channels, try going into Audio MIDI Setup and create a "Multi Output Device" with soundflower and your monitoring device.

parvi commented 9 years ago

@mattingalls I installed from the link you provided. It never show up in the applications (it was showing under applications and working perfectly under Yosemite) but in El Capitan havent found luck yet. Would you be working on improving this?? I simply install and try to run it using Spotlight but it could not be found. :( :( It is such a great app without which my external screen sound could not be controlled. Disappointed with this Mac update.

zarroyorosa commented 9 years ago

@mattingalls I love sounddlowebed and the fact that I can't use it like before disappoints me. I hope they update this app I really don't want to replace it.

DopeyRunr commented 9 years ago

@mattingalls Thanks so much for your version of Soundflower. It's working great. The only problem I'm having is that in the past I have modified the Info.plist file to add 12 more two-channel audio devices (sample attached below). I just cut and pasted that section, changing the bolded name of the channel each time to Soundflower - A, Soundflower - B etc. screen shot 2015-10-02 at 8 09 10 am However, I am unable to do as I have in the past, which is to copy this Info.plist into the package, run these commands, and use all of those "virtual audio cables."

sudo chown root:wheel /Library/Extensions/Soundflower.kext/Contents/Info.plist sudo chmod 755 /Library/Extensions/Soundflower.kext/Contents/Info.plist sudo kextload /Library/Extensions/Soundflower.kext

I keep getting an error on the last step:

/Library/Extensions/Soundflower.kext failed to load - (libkern/kext) not loadable (reason unspecified); check the system/kernel logs for errors or try kextutil(8).

Any ideas on how to resolve this?

In case you're curious, I use all of the additional 2 channel devices like virtual audio cables to route output from several concurrent instances of Skype into separate tracks of Adobe Audition, create a sort of mix-minus and send combined audio from the other Skypes back to each of those Skype instances. Having all of those extra 2 channel devices means I can easily edit one participant's audio without changing other participants' audio.

Thanks so much for your help!

evanedinger commented 9 years ago

I just wanted to say thank you to @mattingalls for the link! I thought I'd be screwed for sure, but soundflower is now working just as usual! I made an account just to say this! Thanks!

jeffreykog commented 9 years ago

One way to fix these signing issues for good is to have a signed version of the kext like the one from @mattingalls which loads the sound device config from an external config file. That way we will be able to change the config file without breaking everything.

verdantrama commented 9 years ago

Since updating to El Capitan I was unable to use Soundflower with Screenflick. I uninstalled Soundflower and used @mattingalls solution. It worked perfectly and I am back in action. Like @evanedinger I made an account just to make this comment! Thanks!

mattingalls commented 9 years ago

@LucaTNT -- FYI i'm watching the WWDC session on security https://developer.apple.com/videos/play/wwdc2015-706/ and they say starting with El Capitan they have prevented disabled of signing with sudo nvram kext-dev-mode=1

LucaTNT commented 9 years ago

@mattingalls thanks for the heads up, I didn't catch that!

worldsfinestdj commented 9 years ago

If anyone is still experiencing this issue please go to the link I provide, it explains exactly how to have sound flower on the lastest Mac update El Captain https://youtu.be/kyS7UG3wmb0

gilbe commented 9 years ago

Awesome, thanks for the link @mattingalls worked a treat - Although still warned about unknown developer .. but installed and working now

ManuelAbril commented 9 years ago

Hi there, thank you so much for working so hard, @mattingalls. However, I have the following issues:

worldsfinestdj commented 9 years ago

@manuelabril if you are still having trouble I posted a link above in the comments, I'm sure that would help you out.

ManuelAbril commented 9 years ago

@worldsfinestdj I saw it and I did everything you posted for soundflower installation because I do not know what it the purpose of the other app. Should I have to install?

worldsfinestdj commented 9 years ago

The other app is just what some people use to show gaming or basically record your screen , you do not need the other app, hopefully your sound flower is working now.

ManuelAbril commented 9 years ago

No it isn't. I usually launch the app and select 2ch or 64ch and it works. However, I cannot see the app anymore and I do not know how to open it.

worldsfinestdj commented 9 years ago

The app will not be visible itself but it's functions are still available if you go to system settings/audio/output you should be able to see sound flower 2ch and sound flower 64ch

ManuelAbril commented 9 years ago

Indeed, I saw them and I can selected them. However, I cannot listen any sound.

worldsfinestdj commented 9 years ago

That's why in the video I said to create a multi channel output by going to applications/utilities/audio midi setup and you check both built in audio and one of the sound flower options and then when you want to use sound flower you go to system settings/audio and choose the option of the multi channel device you had created.

ghost commented 9 years ago

Thanks mattingalls. This version is working. Just put the Soundflowerbed older app in Applications folder.

mattingalls commented 9 years ago

Yes, Audio MIDI Setup is your friend! For basic tapping of Soundflower you can create an aggregate device inside there and set the aggregate to your system defaults. FYI I have a new Soundflowerbed app in the works that will make all of this easier, but the current code base needs to be retired.

ManuelAbril commented 9 years ago

Thank you so much but my problem is still there. I try to explain deeper. I have an screen with integrated speakers. It is connected via HDMI to my mac mini. I have sound there but I cannot controle it in the mac itself. That is, volume up and down. On Yosemite, I installed soundflower and I changed output sound from HDMI to 2ch or 64ch and... magic, I can control the volume. However, once I did it on Capitan, I cannot. I hope you understood the issue and figure out a solution. Thanks!

mattingalls commented 9 years ago

@ManuelAbril this still should be possible. you can look at the sliders in Audio MIDI Setup to confirm. BUT i have to warn you, that volume control & mute of soundflower is BAD and it is going to be removed. this causes WAY too many problems where users are thinking it isn't working and the volume is turned down. In addition, it doesn't work for many cases where you want full volume going in and out but want to adjust the volume of your monitoring signal only. The new Soundflowerbed should be able to handle all these cases, including yours..

ManuelAbril commented 9 years ago

So best path is to wait for your new version :)

mattingalls commented 9 years ago

did you try looking at Audio MIDI Setup?

queengooborg commented 9 years ago

@mattingalls Thanks for the link to your version of Soundflower. It's already helped me a great amount, allowing me to stream my computer audio with Open Broadcaster Software, one of the main reasons I've wanted to use Soundflower. It should be the official version, honestly!

lingenfr commented 9 years ago

@mattingalls. Matt, first thanks for your work. I've used SF and the audiomixer app for years on my MBA. I got a new MB and HDMI monitor (since my TB displays are useless). I can't control the volume on the Display from the menu and had hoped to use SF. Others said it worked, but no joy for me. I am on El Capitan. I believe I installed SF (your version above) correctly and I have two SF devices in my output list. When I select either of them, I get no sound. I tried @worldsfinestvideo's method. Obviously, that doesn't work for what I am trying to do. Am I out of luck or doing something wrong. I don't have a Soundflower folder/icon in my Applications folder and no Soundflowerbed icon on my task bar. Thanks.

beorn commented 9 years ago

The pre-release worked for me.

sevmorris commented 8 years ago

@LucaTNT I'm hoping to have a multi-channel pair mod such as yours. I tried using your manual instructions, changing the path to remove /System, but this failed in Terminal. Do you have any ideas?

nachoiz commented 8 years ago

I have the same problem @ManuelAbril. Did you fix it? Thanks :)

sevmorris commented 8 years ago

Can anyone point me to an alternative app to @LucaTNT's Soundflower mod providing a series on I/O pairs?

eriblu commented 8 years ago

@lingenfr I think I'm doing the same thing as you. I can confirm that the old soundflowerbed app works with the 2.0b2 Soundflower. Here's what I did:

  1. Run the 2.0b2 uninstall script, restart.
  2. Custom install the Soundflowerbed app only with 1.6.6b: https://code.google.com/p/soundflower/downloads/detail?name=Soundflower-1.6.6b.dmg&can=2&q=
  3. Install the 2.0b2 pkg, restart.

Soundflowerbed works and I can control system audio volume with Sunflower set to HDMI output.

salsacurry commented 8 years ago

Thank you, thank you, thank you, thank you!! Thank you @mattingalls for the updated version!!!!! & Thank you @worldsfinestdj for explaining the thing to a complete computernerd in your video https://youtu.be/kyS7UG3wmb0

Finally after a whole day trying several things, it works!! I don't use OBS, but Screenflow and Quicktime Player it works great in both!!! So THANK YOU again!!!

lingenfr commented 8 years ago

@blufiresw thanks for the help. I was able to get SFB installed although I still can't get any sound out of my HDMI monitor. I also have an Airtame that uses SF, so I am trying to get that working first. As an immediate solution, I bought some inexpensive speakers with a volume knob (the brute force approach). Once the Airtame is working I am going to come back to this to see if I can make everything work. Cheers.

eriblu commented 8 years ago

@lingenfr Ah, you may have tried already, but after reinstalling the 2.0b2 pkg and restarting, are you able to select "HDMI" from SFB?

staygritty commented 8 years ago

I tried the link but the installation failed. I ran the old uninstall script and got a "script error" message. Any suggestions?

photovirus commented 8 years ago

All right, now I've got a new bug with Soundflower. :disappointed:

I have a 10.11.2 beta 3 on a Macbook Air'11, and it won't boot with signed Soundflower.kext installed. If I install SF without rebooting it works flawlessly... unless I reboot. Then Mac shows me a crossed circle and that's all. If I boot in verbose mode, there are no meaningful warnings.

The solution is rather simple, as with all unsigned kexts (mine was signed, but whatever, it worked):

  1. Cmd+R to enter recovery mode (it works fine).
  2. Fire up Terminal.
  3. Remove the kext.
# rm -rf /Volumes/Macintosh HD/Library/Extentions/Soundflower.kext

And rebuild the kext cache (maybe it's optional, but I had to do it once).

# kextcache -u /Volumes/Macintosh HD/

Though, no Soundflower for me. :cry: Any ideas?

jfcostta commented 8 years ago

@DopeyRunr, have you found any solution for your problem? I'm also using @LucaTNT scheme for multi-track recording and now that hack in Info.plist doesn't work anymore. Any help is very appreciated.

DopeyRunr commented 8 years ago

@jfcostta I am using @mattingalls version successfully after turning off SIP. I'd prefer a solution that would enable me to turn SIP back on, but for now it's working OK.

jfcostta commented 8 years ago

I'm sorry, @DopeyRunr, but what is SIP? How do I turn it off? Thanks.

DopeyRunr commented 8 years ago

@jfcostta https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=mac%20osx%20disable%20sip

mattingalls commented 8 years ago

i don't think you have to turn anything off to use the 2.0 signed version ??

DopeyRunr commented 8 years ago

@mattingalls Do you mean you enabled the ability to edit the info.plist file to add more channels (see my post from 10/2)? Because that's where I was running into trouble - launching Soundflower with the edited info.plist.

jfcostta commented 8 years ago

That's exactly my request, I've tried to edit Info.plist in the signed version but additional channels didn't show up in Midi Setup.

DopeyRunr commented 8 years ago

@jfcostta Right. That's why I had to disable SIP, to allow Soundflower to load the edited info.plist. But if @mattingalls is saying there's different way to do it without disabling SIP, I'm all ears!

jfcostta commented 8 years ago

Yes, @DopeyRunr, same here. Awaiting @mattingalls enlightment :).