Menu

CrunchBang Linux + wineasio + REAPER problem

Help
scacinto
2012-05-30
2013-01-27
  • scacinto

    scacinto - 2012-05-30

    Hi there, I am trying to get REAPER to play nice on my #! OS.  Right now, everything (jack2, wine, wineasio, REAPER) all installed correctly with no errors.  However, wineasio is not functioning within REAPER - i see no inputs nor outputs, and eventually get an error.  (problem with audio device…)  i do see REAPER in my qjackctl connections, but trying to make the connections fails.

    wine version: 1.0.1
    wineasio: 0.9.0
    jackdmp: 1.9.9
    REAPER: 4.2.2

    any help or ideas about what I'm doing wrong are appreciated!  my debug output is below.

    // output of wineasio debug:

    ~/.wine/drive_c/Program Files/REAPER$ WINEDEBUG=+asio wine reaper.exe

    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
    fixme:win:UpdateLayeredWindow (0x10026,0x3ac,0x7dafa7a0,0x7dafa798,0x378,0x7dafa790,0x00000000,0x7dafa7b4,2): stub!
    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 1 lpvReserved: (nil))
    trace:asio:DllGetClassObject rclsid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, riid: {00000001-0000-0000-c000-000000000046}, ppv: 0x32d37c)
    trace:asio:CF_AddRef iface: 0x7d4abc5c, ref has been set to 2
    trace:asio:CF_CreateInstance iface: 0x7d4abc5c, pOuter: (nil), riid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, ppobj: 0x899978)
    trace:asio:CF_CreateInstance Creating the WineASIO object
    trace:asio:WineASIOCreateInstance riid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, ppobj: 0x899978
    trace:asio:WineASIOCreateInstance pobj = 0x162880
    trace:asio:WineASIOCreateInstance return 0x162880
    trace:asio:CF_Release iface 0x7d4abc5c, ref has been set to 1
    trace:asio:SetSampleRate iface: 0x162880, Sample rate 44100.000000 requested
    trace:asio:Init iface: 0x162880, sysRef: 0x10028
    trace:asio:Init JACK client opened as: 'reaper'
    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: 0x162880, name: 0x899c48
    trace:asio:GetDriverVersion iface: 0x162880
    trace:asio:SetSampleRate iface: 0x162880, Sample rate 44100.000000 requested
    trace:asio:GetChannels iface: 0x162880, inputs: 16, outputs: 16
    trace:asio:GetBufferSize iface: 0x162880, minSize: 0x899cf0, maxSize: 0x899cf4, preferredSize: 0x899cf8, granularity: 0x899cfc
    trace:asio:GetBufferSize Buffersize fixed at 128
    trace:asio:GetSampleRate iface: 0x162880, Sample rate is 44100
    trace:asio:CreateBuffers iface: 0x162880, bufferInfo: 0x899d1c, numChannels: 4, bufferSize: 128, asioCallbacks: 0x8a2d68
    trace:asio:CreateBuffers Buffersize fixed at 128
    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 32 ASIO audio buffers allocated (32 kB)
    trace:asio:CreateBuffers 4 audio channels initialized
    trace:asio:SetSampleRate iface: 0x162880, Sample rate 44100.000000 requested
    trace:asio:GetLatencies iface: 0x162880 Latency = 128 frames
    trace:asio:Start iface: 0x162880
    trace:asio:Start TimeInfo mode enabled
    trace:asio:Start TimeCode supported
    trace:asio:jack_thread_creator arg: 0x7cfb1750, thread_id: 0x7cfb1764, attr: 0x32d2bc, function: 0x7d45b190
    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 2 lpvReserved: (nil))
    trace:asio:jack_thread_creator_helper arg: 0x7cfb1750
    warn:asio:Start Unable to connect system:capture_1 to reaper:in_1
    warn:asio:Start Unable to connect system:capture_2 to reaper:in_2
    warn:asio:Start Unable to connect to reaper:out_1
    warn:asio:Start Unable to connect to reaper:out_2
    trace:asio:Start WineASIO successfully loaded
    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 2 lpvReserved: (nil))
    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 2 lpvReserved: (nil))
    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 3 lpvReserved: (nil))

    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 3 lpvReserved: (nil))
    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 3 lpvReserved: (nil))
    trace:asio:Stop iface: 0x162880
    trace:asio:DisposeBuffers iface: 0x162880
    trace:asio:Release iface: 0x162880, ref count is 0
    trace:asio:Release 32 IOChannel structures released
    trace:asio:Release WineASIO terminated

    trace:asio:DllGetClassObject rclsid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, riid: {00000001-0000-0000-c000-000000000046}, ppv: 0x329de4)
    trace:asio:CF_AddRef iface: 0x7d4abc5c, ref has been set to 2
    trace:asio:CF_CreateInstance iface: 0x7d4abc5c, pOuter: (nil), riid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, ppobj: 0x899978)
    trace:asio:CF_CreateInstance Creating the WineASIO object
    trace:asio:WineASIOCreateInstance riid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, ppobj: 0x899978
    trace:asio:WineASIOCreateInstance pobj = 0x16a620
    trace:asio:WineASIOCreateInstance return 0x16a620
    trace:asio:CF_Release iface 0x7d4abc5c, ref has been set to 1
    trace:asio:SetSampleRate iface: 0x16a620, Sample rate 44100.000000 requested
    trace:asio:Init iface: 0x16a620, sysRef: 0x10028
    trace:asio:jack_thread_creator arg: 0x7cfc5424, thread_id: 0x7cfc5438, attr: 0x329be0, function: 0x7d45b190
    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 2 lpvReserved: (nil))
    trace:asio:jack_thread_creator_helper arg: 0x7cfc5424
    trace:asio:jack_thread_creator arg: 0x7cfb9c44, thread_id: 0x7cfb9c58, attr: 0x329c60, function: 0x7d45b190
    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 2 lpvReserved: (nil))
    trace:asio:jack_thread_creator_helper arg: 0x7cfb9c44
    trace:asio:Init JACK client opened as: 'reaper'
    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: 0x16a620, name: 0x899c48
    trace:asio:GetDriverVersion iface: 0x16a620
    trace:asio:SetSampleRate iface: 0x16a620, Sample rate 44100.000000 requested
    trace:asio:GetChannels iface: 0x16a620, inputs: 16, outputs: 16
    trace:asio:GetBufferSize iface: 0x16a620, minSize: 0x899cf0, maxSize: 0x899cf4, preferredSize: 0x899cf8, granularity: 0x899cfc
    trace:asio:GetBufferSize Buffersize fixed at 128
    trace:asio:GetSampleRate iface: 0x16a620, Sample rate is 44100
    trace:asio:CreateBuffers iface: 0x16a620, bufferInfo: 0x899d1c, numChannels: 4, bufferSize: 128, asioCallbacks: 0x8a2d68
    trace:asio:CreateBuffers Buffersize fixed at 128
    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 32 ASIO audio buffers allocated (32 kB)
    trace:asio:CreateBuffers 4 audio channels initialized
    trace:asio:SetSampleRate iface: 0x16a620, Sample rate 44100.000000 requested
    trace:asio:GetLatencies iface: 0x16a620 Latency = 128 frames
    trace:asio:Start iface: 0x16a620
    trace:asio:Start TimeInfo mode enabled
    trace:asio:Start TimeCode supported
    trace:asio:jack_thread_creator arg: 0x7cf96610, thread_id: 0x7cf96624, attr: 0x329d24, function: 0x7d45b190
    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 2 lpvReserved: (nil))
    trace:asio:jack_thread_creator_helper arg: 0x7cf96610
    warn:asio:Start Unable to connect system:capture_2 to reaper:in_2
    warn:asio:Start Unable to connect to reaper:out_1
    warn:asio:Start Unable to connect to reaper:out_2
    trace:asio:Start WineASIO successfully loaded
    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 2 lpvReserved: (nil))
    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 2 lpvReserved: (nil))

    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 3 lpvReserved: (nil))
    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 3 lpvReserved: (nil))
    trace:asio:Stop iface: 0x16a620
    trace:asio:DisposeBuffers iface: 0x16a620
    trace:asio:Release iface: 0x16a620, ref count is 0
    trace:asio:Release 32 IOChannel structures released
    trace:asio:Release WineASIO terminated

    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 3 lpvReserved: (nil))
    err:ole:RevokeDragDrop invalid hwnd 0x10028
    trace:asio:DllMain hInstDLL: 0x7d490000, fdwReason: 0 lpvReserved: 0x1)

     
  • Joakim Hernberg

    Joakim Hernberg - 2012-05-31

    I think you might be encountering 2 issues here.  First of all get the latest wineasio code from git://wineasio.git.sourceforge.net/gitroot/wineasio/wineasio, you can do so with git clone git://wineasio.git.sourceforge.net/gitroot/wineasio/wineasio   The 0.9.0 tarball has a bug with jack2 that occasionally manifests.  Second, A while back a change in reaper exposed a bug in wine, which has been worked around in reaper from version 4.23pre12a and on.  You can get it from http://landoleet.org/

     
  • scacinto

    scacinto - 2012-05-31

    @jhernberg: very nice, sir, thanks.  i followed both of your suggestions and while I can't say wineasio wasn't part of the problem, the alpha build of REAPER behaves as it should.  (IOW, it works.)  I really appreciate your quick and helpful advice.

    cheers,

    S

     

Log in to post a comment.