Member
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684
Rep:
|
Linux audio problem: wineASIO crashing with VSThost, 32bit/64bit confusion
Hi,
I'm trying to get wineASIO working, but currently it is a path plastered with broken glass.
(using the wineASIO version from kxstudio, using the debian repositories for it)
There is a confusion about if I should be using 32bit or 64bit wine and if that is possible with wineASIO. Currently, I think I'm using 64 bit, as winetricks tells me:
You are using a 64-bit WINEPREFIX.
Which makes sense, as this is a 64bit Debian Wheezy.
But when I start the 64bit version of VSThost, I get no wineASIO output that I can select.
When starting the 32bit version of VSThost, I get a lot further. The program starts and lets me select wineASIO as the wave output, but after I do, I get an error message inside VSThost (there is just a red X and a close button, no message) and then VSThost crashes.
I run the whole thing with the wine debug info on wineasio and get this:
[log follows]
----------------------------------
env WINEDEBUG=+asio wine .wine/5_proginstall/VstHost32/vsthost.exe
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:thread:SetThreadIdealProcessor (0x90): stub
fixme:thread:SetThreadIdealProcessor (0x98): stub
fixme:process:GetProcessWorkingSetSize (0xffffffff,0x32fba0,0x32fba4): stub
fixme:thread:SetThreadIdealProcessor (0xa0): stub
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:612:(snd_pcm_dsnoop_open) unable to open slave
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 1 lpvReserved: (nil))
trace:asio:DllGetClassObject rclsid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, riid: {00000001-0000-0000-c000-000000000046}, ppv: 0x320798)
trace:asio:CF_AddRef iface: 0x7d504554, ref has been set to 2
trace:asio:CF_CreateInstance iface: 0x7d504554, pOuter: (nil), riid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, ppobj: 0x32fae0)
trace:asio:CF_CreateInstance Creating the WineASIO object
trace:asio:WineASIOCreateInstance riid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, ppobj: 0x32fae0
trace:asio:WineASIOCreateInstance pobj = 0x18c490
trace:asio:WineASIOCreateInstance return 0x18c490
trace:asio:CF_Release iface 0x7d504554, ref has been set to 1
trace:asio:Init iface: 0x18c490, sysRef: 0x1007a
trace:asio:Init JACK client opened as: 'vsthost'
trace:asio:Init 32 IOChannel structures allocated
trace:asio:Init 32 IOChannel structures initialized
trace:asio:Init WineASIO 0.9.0 initialized
trace:asio:GetDriverName iface: 0x18c490, name: 0x32f9c4
trace:asio:GetDriverVersion iface: 0x18c490
trace:asio:CanSampleRate iface: 0x18c490, Samplerate = 44100, requested samplerate = 44100
trace:asio:CanSampleRate iface: 0x18c490, Samplerate = 44100, requested samplerate = 48000
trace:asio:CanSampleRate iface: 0x18c490, Samplerate = 44100, requested samplerate = 88200
trace:asio:CanSampleRate iface: 0x18c490, Samplerate = 44100, requested samplerate = 96000
trace:asio:CanSampleRate iface: 0x18c490, Samplerate = 44100, requested samplerate = 176400
trace:asio:CanSampleRate iface: 0x18c490, Samplerate = 44100, requested samplerate = 192000
trace:asio:GetBufferSize iface: 0x18c490, minSize: 0xac71fc, maxSize: 0xac7200, preferredSize: 0xac7204, granularity: 0xac7208
trace:asio:GetBufferSize Buffersize fixed at 1024
trace:asio:GetChannels iface: 0x18c490, inputs: 16, outputs: 16
trace:asio:CreateBuffers iface: 0x18c490, bufferInfo: 0x32fa74, numChannels: 4, bufferSize: 1024, asioCallbacks: 0x32fab4
trace:asio:CreateBuffers Buffersize fixed at 1024
trace:asio:CreateBuffers The ASIO host supports ASIO v0
trace:asio:CreateBuffers 32 ASIO audio buffers allocated (256 kB)
trace:asio:CreateBuffers 4 audio channels initialized
trace:asio:GetLatencies iface: 0x18c490 Latency = 1024 frames
trace:asio:DisposeBuffers iface: 0x18c490
trace:asio:Release iface: 0x18c490, ref count is 0
trace:asio:Release 32 IOChannel structures released
trace:asio:Release WineASIO terminated
fixme:asio:DllCanUnloadNow (void): stub
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 2 lpvReserved: (nil))
fixme:thread:SetThreadIdealProcessor (0xdc): stub
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 2 lpvReserved: (nil))
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 2 lpvReserved: (nil))
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 3 lpvReserved: (nil))
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 2 lpvReserved: (nil))
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 3 lpvReserved: (nil))
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 3 lpvReserved: (nil))
trace:asio:DllGetClassObject rclsid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, riid: {00000001-0000-0000-c000-000000000046}, ppv: 0x3207c8)
trace:asio:CF_AddRef iface: 0x7d504554, ref has been set to 2
trace:asio:CF_CreateInstance iface: 0x7d504554, pOuter: (nil), riid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, ppobj: 0xabe624)
trace:asio:CF_CreateInstance Creating the WineASIO object
trace:asio:WineASIOCreateInstance riid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, ppobj: 0xabe624
trace:asio:WineASIOCreateInstance pobj = 0x19f610
trace:asio:WineASIOCreateInstance return 0x19f610
trace:asio:CF_Release iface 0x7d504554, ref has been set to 1
trace:asio:Init iface: 0x19f610, sysRef: 0x1007a
trace:asio:jack_thread_creator arg: 0x7d397464, thread_id: 0x7d397478, attr: 0x32062c, function: 0x7ca55120
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 2 lpvReserved: (nil))
trace:asio:jack_thread_creator_helper arg: 0x7d397464
trace:asio:jack_thread_creator arg: 0x7d37be04, thread_id: 0x7d37be18, attr: 0x32057c, function: 0x7ca55120
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 2 lpvReserved: (nil))
trace:asio:jack_thread_creator_helper arg: 0x7d37be04
trace:asio:Init JACK client opened as: 'vsthost'
trace:asio:Init 32 IOChannel structures allocated
trace:asio:Init 32 IOChannel structures initialized
trace:asio:Init WineASIO 0.9.0 initialized
trace:asio:GetDriverName iface: 0x19f610, name: 0xabe64c
trace:asio:GetDriverVersion iface: 0x19f610
trace:asio:GetChannels iface: 0x19f610, inputs: 16, outputs: 16
trace:asio:GetBufferSize iface: 0x19f610, minSize: 0xabe6f4, maxSize: 0xabe6f8, preferredSize: 0xabe6fc, granularity: 0xabe700
trace:asio:GetBufferSize Buffersize fixed at 1024
trace:asio:CanSampleRate iface: 0x19f610, Samplerate = 44100, requested samplerate = 44100
trace:asio:GetSampleRate iface: 0x19f610, Sample rate is 44100
trace:asio:GetChannels iface: 0x19f610, inputs: 16, outputs: 16
trace:asio:CreateBuffers iface: 0x19f610, bufferInfo: 0xabe724, numChannels: 32, bufferSize: 1024, asioCallbacks: 0x653118
trace:asio:CreateBuffers Buffersize fixed at 1024
trace:asio:CreateBuffers The ASIO host supports ASIO v2
trace:asio:CreateBuffers The ASIO host supports kAsioResetRequest
trace:asio:CreateBuffers The ASIO host supports kAsioResyncRequest
trace:asio:CreateBuffers The ASIO host supports kAsioBufferSizeChange
trace:asio:CreateBuffers 32 ASIO audio buffers allocated (256 kB)
trace:asio:CreateBuffers 32 audio channels initialized
trace:asio:GetLatencies iface: 0x19f610 Latency = 1024 frames
trace:asio:Start iface: 0x19f610
trace:asio:Start TimeInfo mode enabled
trace:asio:Start TimeCode supported
fixme:dbghelp:i386_stack_walk new PC=548b10eb different from Eip=438a39
fixme:dbghelp:i386_stack_walk new PC=548b10eb different from Eip=438a39
fixme:dbghelp:i386_stack_walk new PC=548b10eb different from Eip=438a39
fixme:dbghelp:i386_stack_walk new PC=548b10eb different from Eip=438a39
[output truncated, this error message pops out like a thousand times]
fixme:dbghelp:i386_stack_walk new PC=548b10eb different from Eip=438a39
trace:asio:jack_thread_creator arg: 0x7d37bcb0, thread_id: 0x7d37bcc4, attr: 0x32f630, function: 0x7ca55120
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 2 lpvReserved: (nil))
trace:asio:jack_thread_creator_helper arg: 0x7d37bcb0
trace:asio:Start WineASIO successfully loaded
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 2 lpvReserved: (nil))
trace:asio:Stop iface: 0x19f610
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 3 lpvReserved: (nil))
trace:asio:Release iface: 0x19f610, ref count is 0
trace:asio:DisposeBuffers iface: 0x19f610
trace:asio:Release 32 IOChannel structures released
trace:asio:Release WineASIO terminated
fixme:asio:DllCanUnloadNow (void): stub
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 3 lpvReserved: (nil))
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 3 lpvReserved: (nil))
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 3 lpvReserved: (nil))
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 3 lpvReserved: (nil))
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 3 lpvReserved: (nil))
trace:asio:DllMain hInstDLL: 0x7d4f0000, fdwReason: 0 lpvReserved: 0x1)
--------------------------
I use reaper on this wineprefix and it works flawlessly with wineASIO, so I don't know why VSThost does not.
I noticed that when registering the wineASIO dll in 32bit, it works:
regsvr32 wineasio.dll
regsvr32: Successfully registered DLL 'wineasio.dll'
but, when I try to do the same in 64 bit (which I'm supposed to be anyway), it fails:
wine64 regsvr32 wineasio.dll
err:module:load_builtin_dll failed to load .so lib for builtin L"wineasio.dll": /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/bin/../lib/x86_64-linux-gnu/wine/wineasio.dll.so)
regsvr32: Failed to load DLL 'wineasio.dll'
Now some of you might ask: Why am I doing this to myself, trying to get wineASIO running, running Windows Software on Linux that was never meant to be run? Well, I love Linux audio and have used it for many many years, but have reached its limits and need to run some software that only exists for Windows. And I don't want to do that on Windows.
|