-
Notifications
You must be signed in to change notification settings - Fork 30
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
playback stops when I open Safari #133
Comments
Hard to tell from the logs.... I'm not sure what is going on on your machine. I see that something is resetting the driver in the 2nd log. |
How can I do more detailed test? |
If safari somehow completely locks up the CPU log enough, then the EMU device might run out of its buffer and I think audio will stop then. |
There is no problem of that kind with old official driver (for Lion?) Ok, let me know if more logs or any reports will be needed |
@roddy20 Can you give the exact OS, what machine (type of mac, year) and how you connect (direct to USB2/3/... or via hub) etc |
MacPro5,1, 2010, direct to USB, I use Sierra 10.12.6 (and I have Big Sur 11.1 it is installed to another drive in order of experiment with key -no_compat_check just for testing) |
@roddy20 so problems occur on Sierra? So that makes me wonder, have you been using sierra for 4 years now with the EMU and suddenly this driver issue appeared? Is it possible that Safari somehow got updated to something not excactly compatible with Sierra? |
|
@roddy20 What version of safari do you have? |
it will work OK |
I ll try to find a way to reproduce the problem immediately |
Ok, it seems you are 100% sure about the 100% CPU. Yes it's possible in theory, as I suggested, if some process with high priority would eat up all CPU then the EMU would run out of buffer. As I said the driver buffer is tiny, in a matter of a split second the buffer would be empty and playback would stall. The key is 'high priority'. There should be no high prio process hogging the complete CPU for so long (a split second is very long in terms of CPU cycles). The interrupt handling has priority over normal user processes, but maybe safari is not programmed cleanly, or maybe some other driver does have higher prio and is not being fair. So, could this be caused by another system extension? Some extension you installed (as part of some software)? |
Problem appears with official old driver too About 3rd party kexts and software , I am not sure ... I ll reinstall clean macOS in some days, only macOS + your driver and macOS + official driver and I ll compare the behavior and let you know |
Maybe you can install osx on a scratch disk, just for testing? I think it can even be a USB stick. Just a fresh OS and then install just the EMU driver. |
Hi, just my two cents to your interesting discussion. First a very big thank you wouter for your ongoing support and driver, i would happily send you some money for making it possible to still use my beloved emu 404 usb with the various iterations of mac operating systems through the years. I use it for audio playback in apple music/vlc as well as playing vitual instruments (vst/au)in logic/cubase/unify in a quasi life situation with attached midi keyboards. For this application it is essential to have a very small buffer to reduce latency, so that the sound produced has no lag from pressing the keys. if you use cpu demanding vst it can cause the emu or driver to stall (audible crackles ) or stop working (no audio) with buffer settings to low. This behaviour i remember experiencing also with old original drivers from emu back in the day. All of this is well known and explains the problems adressed in this threat. Just for listening and recording/measurement You can set a much bigger and in that regard much more „real time“ safe audio buffer without any performance issues, for example 50ms lag when starting playback is barely noticeable. You can adjust this setting with any serious audio application on the mac. Even some free apps can do it. Sorry for the long post. Thank you, Andi |
Ok, I do this next days |
one more strange message in log |
I cannot reproduce the problem when I want it |
one more time |
and here if Official EMU driver, the same error |
@roddy20 What do you mean "Official EMU driver". The one from Creative? |
уеs EMUU_MacAppDrv_US_1_50_07.dmg |
Yes this looks weird. I can't remember ever having seen these. It seems a USB driver problem. Tried several search engines, nobody seems to have reported this (ever) is it possible that there is a hardware failure on the USB port or something like that? Sometimes there are two separate USB chips on a computer, could you try a completely separate USB port or removing other USB devices fhat may be hogging the USB bus? |
@Wouter1 : Will do ; ) |
@roddy20 if both orignal and new driver behave the same, it seems really a problem in the USB subsystem. Seems either a bug in USB driver or in the hardware Here is a bug report about it Apparently apple closed it but did not say whether they fixed it I also reported a possibly related issue with the USB driver long ago (2014) in #18. Seems Apple never responded on my report. Either way, Apple completely replaced their USB drivers with new drivers around that time. The whole subsystem required me to completely rewrite the driver. This is all quite long ago, there is very little chance that anything can be fixed here. |
I don't know, the original driver was very different, I had to rewrite significant parts to get it working decently. |
Fro the USB dump I see you have a 0202. There might be a very specific issue with 0202. I never had 0202 so I rely on user reports whether that worked. |
it is possible |
I ll try your older v9 driver with Sierra, never did it before Playback is Ok, Recording is distorted |
No, this error comes from a very old USB system. this USB system has been replaced very long ago. |
I think I got some version numbers messed up. Mavericks runs on darwin 13 but apparently is OSX 10.9 The v9 version is for OSX before osx 11 which I think refers to 10.11 El Capitan. Sierra is 10.12 (I thought it was earlier). So the v11 driver should be fit. The older one won't work then. |
So rethinking this, your sierra must be using the new USB system. I would expect it to properly support your USB ports. If you say it works fine on Big Sur, then that seems to rule out a hardware issue with the USB chips. I have no idea or suggestions right here. |
I think chips are Ok, other USB equipment works, Big Sur works, Maverick worked OK when I ll have a time I ll test Mojave or El Capitan or both |
"the original driver" is confusing me. FAIK the original driver never worked properly, neither recording nor playback. It crashed me continuously. I would think it can never work above 10.11 as the old USB system tat the original driver uses was not supported anymore. But if Big Sur works for you, why don't you just switch to Big Sur? Possibly it is just a bug in the Sierra USB driver. But I would then at least expect your error to appear somewhere on the web. Maybe the error was there once, but too long ago for Google to find it back? |
playback is good enough |
I am thinking about it there is a lot of incompatible software |
"playback is good enough. recording is impossible at all, maybe Mavericks was the last (?)" Sounds bizarre to me. To start with, playback can work only if recording works, or at least the datarate of the incoming recorded stream is tracked exactly which should basically amount to a working recorder. |
Hello!
a strange problem
playing music with iTunes, its Ok if I don't touch anything
when opening Safari, playback stops and EMU is not available until I replug it
logs attached
EMU error.zip
EMU Error2.zip
The text was updated successfully, but these errors were encountered: