In my case, I am using an audio DAW called Plogue Bidule.(plogue.com). It works great in wine (as in, no broken features other than lack of auto redraw, no big issue)... but no matter what kind of audio processing you add, be it external VST plugins or native "modules" in the app... you get 3-4 times the CPU usage than in Windows.
It's hard to prove it, and the log/terminal output file isn't helpful at all. It's only like this:
Code: Select all
err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Pro Audio",0x3ebe9b8): stub
fixme:win:SetGestureConfig (0x607f0 00000000 1 0x33e580 12): stub
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:avrt:AvRevertMmThreadCharacteristics (0x12345678): stub
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Pro Audio",0x3fbe9b8): stub
fixme:process:GetProcessWorkingSetSize (0xffffffff,0x337068,0x33706c): stub
fixme:msvcrt:__clean_type_info_names_internal (0x5b07458) stub
fixme:msvcrt:__clean_type_info_names_internal (0x5b07438) stub
fixme:avrt:AvRevertMmThreadCharacteristics (0x12345678): stub
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Pro Audio",0x3fbe9b8): stub
Any ideas of what could be the culprit?
Just for information, it scales EXACTLY with CPU use in audio processing directly, so it's not some static wine overhead.
For example, halving the samplerate of the project effectively halves the processing / CPU use, which is normal and same thing happens on Windows (logical too).
It is as if wine uses heavier CPU instructions, I just don't get it, since it's not even an emulator, I doubt apps use many windows APIs in their processing..?
If so, please let me know if you have any ideas. Any ideas for what APIs and dlls should I use for override, to get almost same performance as on windows etc? I mean, just some general push into the right direction, I would appreciate any ideas or help on this. Obviously wine is doing something horrible somewhere, maybe there are some processing performance libraries in windows I am not aware of, which is why I ask for help here. On the appDB page nothing is posted, except my post.
This is unreal. Heck, it runs better (= more performance / less CPU use!) in VirtualBox with a Windows guest OS than in wine...
Any ideas? Should I file a bug...? (I hope it's solveable)