mdias / rs_asio

ASIO for Rocksmith 2014
MIT License
1.06k stars 102 forks source link

Line6 HX Stomp crashes game on startup #382

Closed dFinkeroni closed 1 year ago

dFinkeroni commented 1 year ago

Hey, I just started using Rocksmith and am trying to set up the program with my HX Stomp. It seems the game immediately crashes on startup with the HX Stomp connected. As soon as I disconnect it, the game loads, but the audio is of course messy and I can't use my guitar. I have read online, that other people have similar issues with a variety of audio interfaces just crashing the game on start.

Just in case I still wanted to post my settings and the log, so it has been recorded, and who knows, maybe someone has a solution for me on this topic that I could not find.

The log:

0.000 [INFO]   - Wrapper DLL loaded (v0.7.0)
0.000 [INFO]  PatchOriginalCode
0.029 [INFO]  image crc32: 0xd1b38fcb
0.230 [INFO]  Patching CoCreateInstance
0.230 [INFO]  Patch_CallAbsoluteIndirectAddress - num locations: 2
0.230 [INFO]  Patching call at 00C02DBD
0.230 [INFO]  Patching call at 00E75278
0.230 [INFO]  Patching PortAudio MarshalStreamComPointers
0.230 [INFO]  Patch_CallRelativeAddress - num locations: 1
0.230 [INFO]  Patching call at 00E7483F
0.230 [INFO]  Patching PortAudio UnmarshalStreamComPointers
0.230 [INFO]  Patch_CallRelativeAddress - num locations: 1
0.230 [INFO]  Patching call at 00E748F4
0.230 [INFO]  Patching Two Guitar Tones Connected Message Box (num locations: 1)
0.230 [INFO]  Patching bytes at 007C0C5F
0.231 [INFO]  Patched_CoCreateInstance called: IID_IMMDeviceEnumerator
0.231 [INFO]  DebugDeviceEnum::GetDefaultAudioEndpoint - dataFlow: eRender - role: eMultimedia
0.231 [INFO]  RSAggregatorDeviceEnum::UpdateAvailableDevices
0.231 [INFO]  GetWineAsioInfo - Looking for wineasio.dll... 
0.232 [INFO]    Failed to load wineasio.dll or file not found
0.232 [INFO]  AsioHelpers::FindDrivers
0.233 [INFO]    ASIO Helix
0.233 [INFO]    ASIO HX Stomp
0.233 [INFO]    GoXLR ASIO Driver
0.233 [INFO]  RSAsioDeviceEnum::UpdateAvailableDevices - input[0] requesting ASIO driver: ASIO HX Stomp
0.233 [INFO]  Creating AsioSharedHost - dll: C:\Windows\SysWow64\L6HXStompAsio_OnInterposer.dll
0.317 [INFO]    ASIO input channels info:
0.317 [INFO]      0 - active: 0, channel: 0, group: 0, isInput: 1, type: ASIOSTInt24LSB, name: Input 1
0.317 [INFO]      1 - active: 0, channel: 1, group: 0, isInput: 1, type: ASIOSTInt24LSB, name: Input 2
0.317 [INFO]      2 - active: 0, channel: 2, group: 0, isInput: 1, type: ASIOSTInt24LSB, name: Input 3
0.317 [INFO]      3 - active: 0, channel: 3, group: 0, isInput: 1, type: ASIOSTInt24LSB, name: Input 4
0.317 [INFO]      4 - active: 0, channel: 4, group: 0, isInput: 1, type: ASIOSTInt24LSB, name: Input 5
0.317 [INFO]      5 - active: 0, channel: 5, group: 0, isInput: 1, type: ASIOSTInt24LSB, name: Input 6
0.317 [INFO]      6 - active: 0, channel: 6, group: 0, isInput: 1, type: ASIOSTInt24LSB, name: Input 7
0.317 [INFO]      7 - active: 0, channel: 7, group: 0, isInput: 1, type: ASIOSTInt24LSB, name: Input 8
0.317 [INFO]    ASIO output channels info:
0.317 [INFO]      0 - active: 0, channel: 0, group: 0, isInput: 0, type: ASIOSTInt24LSB, name: Output 1
0.317 [INFO]      1 - active: 0, channel: 1, group: 0, isInput: 0, type: ASIOSTInt24LSB, name: Output 2
0.317 [INFO]      2 - active: 0, channel: 2, group: 0, isInput: 0, type: ASIOSTInt24LSB, name: Output 3
0.317 [INFO]      3 - active: 0, channel: 3, group: 0, isInput: 0, type: ASIOSTInt24LSB, name: Output 4
0.317 [INFO]      4 - active: 0, channel: 4, group: 0, isInput: 0, type: ASIOSTInt24LSB, name: Output 5
0.317 [INFO]      5 - active: 0, channel: 5, group: 0, isInput: 0, type: ASIOSTInt24LSB, name: Output 6
0.317 [INFO]      6 - active: 0, channel: 6, group: 0, isInput: 0, type: ASIOSTInt24LSB, name: Output 7
0.317 [INFO]      7 - active: 0, channel: 7, group: 0, isInput: 0, type: ASIOSTInt24LSB, name: Output 8
0.317 [INFO]  RSAsioDeviceEnum::UpdateAvailableDevices - OK
0.324 [INFO]  DebugDeviceEnum::UpdateAvailableDevices - 25 render devices, 1 capture devices
0.324 [INFO]    hr: S_OK
0.324 [INFO]    *ppEndpoint: 04FD04A8
0.324 [INFO]  DebugDeviceEnum::GetDefaultAudioEndpoint - dataFlow: eCapture - role: eMultimedia
0.324 [INFO]    hr: S_OK
0.324 [INFO]    *ppEndpoint: 04FCFF68
0.324 [INFO]  DebugDeviceEnum::EnumAudioEndpoints - dataFlow: eAll - dwStateMask: 1
0.325 [INFO]    hr: S_OK
0.325 [INFO]    *ppDevices: 13D5F9C8
0.325 [INFO]  {0.0.0.00000000}.{234a6b27-f39e-4ad1-a770-73b0a1d60092} DebugWrapperDevice::OpenPropertyStore - stgmAccess: 0
0.326 [INFO]  {0.0.0.00000000}.{234a6b27-f39e-4ad1-a770-73b0a1d60092} DebugWrapperDevicePropertyStore::GetCount
0.326 [INFO]    *cProps: 69
0.327 [INFO]  {0.0.0.00000000}.{234a6b27-f39e-4ad1-a770-73b0a1d60092} DebugWrapperDevice::QueryInterface - riid: IID_IMMEndpoint
0.327 [INFO]  {0.0.0.00000000}.{234a6b27-f39e-4ad1-a770-73b0a1d60092} DebugWrapperEndpoint::GetDataFlow
0.327 [INFO]    *pDataFlow: eRender
0.327 [INFO]  {0.0.0.00000000}.{234a6b27-f39e-4ad1-a770-73b0a1d60092} DebugWrapperDevice::Activate - Activate iid: IID_IAudioClient dwClsCtx: 1
0.328 [INFO]  {0.0.0.00000000}.{234a6b27-f39e-4ad1-a770-73b0a1d60092} DebugWrapperAudioClient<struct IAudioClient3>::GetDevicePeriod
0.331 [INFO]  {0.0.0.00000000}.{58a1b894-565e-4c79-9664-7156c25071e6} DebugWrapperDevice::OpenPropertyStore - stgmAccess: 0
0.331 [INFO]  {0.0.0.00000000}.{58a1b894-565e-4c79-9664-7156c25071e6} DebugWrapperDevicePropertyStore::GetCount
0.331 [INFO]    *cProps: 68
0.332 [INFO]  {0.0.0.00000000}.{58a1b894-565e-4c79-9664-7156c25071e6} DebugWrapperDevice::QueryInterface - riid: IID_IMMEndpoint
0.332 [INFO]  {0.0.0.00000000}.{58a1b894-565e-4c79-9664-7156c25071e6} DebugWrapperEndpoint::GetDataFlow
0.332 [INFO]    *pDataFlow: eRender
0.332 [INFO]  {0.0.0.00000000}.{58a1b894-565e-4c79-9664-7156c25071e6} DebugWrapperDevice::Activate - Activate iid: IID_IAudioClient dwClsCtx: 1
0.332 [INFO]  {0.0.0.00000000}.{58a1b894-565e-4c79-9664-7156c25071e6} DebugWrapperAudioClient<struct IAudioClient3>::GetDevicePeriod
0.333 [INFO]  {0.0.0.00000000}.{62fd844e-e928-476f-982a-81b7f8d1bf5d} DebugWrapperDevice::OpenPropertyStore - stgmAccess: 0
0.333 [INFO]  {0.0.0.00000000}.{62fd844e-e928-476f-982a-81b7f8d1bf5d} DebugWrapperDevicePropertyStore::GetCount
0.333 [INFO]    *cProps: 66
0.334 [INFO]  {0.0.0.00000000}.{62fd844e-e928-476f-982a-81b7f8d1bf5d} DebugWrapperDevice::QueryInterface - riid: IID_IMMEndpoint
0.334 [INFO]  {0.0.0.00000000}.{62fd844e-e928-476f-982a-81b7f8d1bf5d} DebugWrapperEndpoint::GetDataFlow
0.334 [INFO]    *pDataFlow: eRender
0.334 [INFO]  {0.0.0.00000000}.{62fd844e-e928-476f-982a-81b7f8d1bf5d} DebugWrapperDevice::Activate - Activate iid: IID_IAudioClient dwClsCtx: 1
0.334 [INFO]  {0.0.0.00000000}.{62fd844e-e928-476f-982a-81b7f8d1bf5d} DebugWrapperAudioClient<struct IAudioClient3>::GetDevicePeriod
0.335 [INFO]  {0.0.0.00000000}.{809e9c97-f1a8-478f-93e0-f996900cff29} DebugWrapperDevice::OpenPropertyStore - stgmAccess: 0
0.335 [INFO]  {0.0.0.00000000}.{809e9c97-f1a8-478f-93e0-f996900cff29} DebugWrapperDevicePropertyStore::GetCount
0.335 [INFO]    *cProps: 65
0.336 [INFO]  {0.0.0.00000000}.{809e9c97-f1a8-478f-93e0-f996900cff29} DebugWrapperDevice::QueryInterface - riid: IID_IMMEndpoint
0.336 [INFO]  {0.0.0.00000000}.{809e9c97-f1a8-478f-93e0-f996900cff29} DebugWrapperEndpoint::GetDataFlow
0.336 [INFO]    *pDataFlow: eRender
0.336 [INFO]  {0.0.0.00000000}.{809e9c97-f1a8-478f-93e0-f996900cff29} DebugWrapperDevice::Activate - Activate iid: IID_IAudioClient dwClsCtx: 1
0.336 [INFO]  {0.0.0.00000000}.{809e9c97-f1a8-478f-93e0-f996900cff29} DebugWrapperAudioClient<struct IAudioClient3>::GetDevicePeriod
0.337 [INFO]  {0.0.0.00000000}.{8a5af1f3-8cc5-4139-aa3c-c355513584b9} DebugWrapperDevice::OpenPropertyStore - stgmAccess: 0
0.337 [INFO]  {0.0.0.00000000}.{8a5af1f3-8cc5-4139-aa3c-c355513584b9} DebugWrapperDevicePropertyStore::GetCount
0.337 [INFO]    *cProps: 71
0.351 [INFO]  {0.0.0.00000000}.{8a5af1f3-8cc5-4139-aa3c-c355513584b9} DebugWrapperDevice::QueryInterface - riid: IID_IMMEndpoint
0.351 [INFO]  {0.0.0.00000000}.{8a5af1f3-8cc5-4139-aa3c-c355513584b9} DebugWrapperEndpoint::GetDataFlow
0.351 [INFO]    *pDataFlow: eRender
0.351 [INFO]  {0.0.0.00000000}.{8a5af1f3-8cc5-4139-aa3c-c355513584b9} DebugWrapperDevice::Activate - Activate iid: IID_IAudioClient dwClsCtx: 1
0.352 [INFO]  {0.0.0.00000000}.{8a5af1f3-8cc5-4139-aa3c-c355513584b9} DebugWrapperAudioClient<struct IAudioClient3>::GetDevicePeriod
0.356 [INFO]  {0.0.0.00000000}.{8eb51d7d-e124-4981-8321-aed5d34e496e} DebugWrapperDevice::OpenPropertyStore - stgmAccess: 0
0.356 [INFO]  {0.0.0.00000000}.{8eb51d7d-e124-4981-8321-aed5d34e496e} DebugWrapperDevicePropertyStore::GetCount
0.357 [INFO]    *cProps: 75
0.372 [INFO]  {0.0.0.00000000}.{8eb51d7d-e124-4981-8321-aed5d34e496e} DebugWrapperDevice::QueryInterface - riid: IID_IMMEndpoint
0.372 [INFO]  {0.0.0.00000000}.{8eb51d7d-e124-4981-8321-aed5d34e496e} DebugWrapperEndpoint::GetDataFlow
0.372 [INFO]    *pDataFlow: eRender
0.372 [INFO]  {0.0.0.00000000}.{8eb51d7d-e124-4981-8321-aed5d34e496e} DebugWrapperDevice::Activate - Activate iid: IID_IAudioClient dwClsCtx: 1
0.372 [INFO]  {0.0.0.00000000}.{8eb51d7d-e124-4981-8321-aed5d34e496e} DebugWrapperAudioClient<struct IAudioClient3>::GetDevicePeriod
0.373 [INFO]  {0.0.0.00000000}.{9b6a07c2-db95-4b09-bc41-3914de5fd323} DebugWrapperDevice::OpenPropertyStore - stgmAccess: 0
0.373 [INFO]  {0.0.0.00000000}.{9b6a07c2-db95-4b09-bc41-3914de5fd323} DebugWrapperDevicePropertyStore::GetCount
0.373 [INFO]    *cProps: 72
0.387 [INFO]  {0.0.0.00000000}.{9b6a07c2-db95-4b09-bc41-3914de5fd323} DebugWrapperDevice::QueryInterface - riid: IID_IMMEndpoint
0.387 [INFO]  {0.0.0.00000000}.{9b6a07c2-db95-4b09-bc41-3914de5fd323} DebugWrapperEndpoint::GetDataFlow
0.387 [INFO]    *pDataFlow: eRender
0.387 [INFO]  {0.0.0.00000000}.{9b6a07c2-db95-4b09-bc41-3914de5fd323} DebugWrapperDevice::Activate - Activate iid: IID_IAudioClient dwClsCtx: 1
0.388 [INFO]  {0.0.0.00000000}.{9b6a07c2-db95-4b09-bc41-3914de5fd323} DebugWrapperAudioClient<struct IAudioClient3>::GetDevicePeriod
0.388 [INFO]  {0.0.0.00000000}.{a4a5b49b-a59b-4b19-9aa7-55d0278b94f6} DebugWrapperDevice::OpenPropertyStore - stgmAccess: 0
0.388 [INFO]  {0.0.0.00000000}.{a4a5b49b-a59b-4b19-9aa7-55d0278b94f6} DebugWrapperDevicePropertyStore::GetCount
0.389 [INFO]    *cProps: 63
0.400 [INFO]  {0.0.0.00000000}.{a4a5b49b-a59b-4b19-9aa7-55d0278b94f6} DebugWrapperDevice::QueryInterface - riid: IID_IMMEndpoint
0.400 [INFO]  {0.0.0.00000000}.{a4a5b49b-a59b-4b19-9aa7-55d0278b94f6} DebugWrapperEndpoint::GetDataFlow
0.400 [INFO]    *pDataFlow: eRender
0.400 [INFO]  {0.0.0.00000000}.{a4a5b49b-a59b-4b19-9aa7-55d0278b94f6} DebugWrapperDevice::Activate - Activate iid: IID_IAudioClient dwClsCtx: 1
0.400 [INFO]  {0.0.0.00000000}.{a4a5b49b-a59b-4b19-9aa7-55d0278b94f6} DebugWrapperAudioClient<struct IAudioClient3>::GetDevicePeriod
0.401 [INFO]  {0.0.0.00000000}.{bc681eca-3282-4e78-95fa-b5b7410ed467} DebugWrapperDevice::OpenPropertyStore - stgmAccess: 0
0.401 [INFO]  {0.0.0.00000000}.{bc681eca-3282-4e78-95fa-b5b7410ed467} DebugWrapperDevicePropertyStore::GetCount
0.401 [INFO]    *cProps: 66
0.402 [INFO]  {0.0.0.00000000}.{bc681eca-3282-4e78-95fa-b5b7410ed467} DebugWrapperDevice::QueryInterface - riid: IID_IMMEndpoint
0.402 [INFO]  {0.0.0.00000000}.{bc681eca-3282-4e78-95fa-b5b7410ed467} DebugWrapperEndpoint::GetDataFlow
0.402 [INFO]    *pDataFlow: eRender
0.402 [INFO]  {0.0.0.00000000}.{bc681eca-3282-4e78-95fa-b5b7410ed467} DebugWrapperDevice::Activate - Activate iid: IID_IAudioClient dwClsCtx: 1
0.402 [INFO]  {0.0.0.00000000}.{bc681eca-3282-4e78-95fa-b5b7410ed467} DebugWrapperAudioClient<struct IAudioClient3>::GetDevicePeriod
0.403 [INFO]  {0.0.0.00000000}.{cef12e85-81ee-46d6-a442-2181484dbe23} DebugWrapperDevice::OpenPropertyStore - stgmAccess: 0
0.403 [INFO]  {0.0.0.00000000}.{cef12e85-81ee-46d6-a442-2181484dbe23} DebugWrapperDevicePropertyStore::GetCount
0.403 [INFO]    *cProps: 63
0.415 [INFO]  {0.0.0.00000000}.{cef12e85-81ee-46d6-a442-2181484dbe23} DebugWrapperDevice::QueryInterface - riid: IID_IMMEndpoint
0.415 [INFO]  {0.0.0.00000000}.{cef12e85-81ee-46d6-a442-2181484dbe23} DebugWrapperEndpoint::GetDataFlow
0.415 [INFO]    *pDataFlow: eRender
0.415 [INFO]  {0.0.0.00000000}.{cef12e85-81ee-46d6-a442-2181484dbe23} DebugWrapperDevice::Activate - Activate iid: IID_IAudioClient dwClsCtx: 1
0.415 [INFO]  {0.0.0.00000000}.{cef12e85-81ee-46d6-a442-2181484dbe23} DebugWrapperAudioClient<struct IAudioClient3>::GetDevicePeriod
0.416 [INFO]  {0.0.0.00000000}.{eea9878a-1470-4ffd-8a01-1513e0247553} DebugWrapperDevice::OpenPropertyStore - stgmAccess: 0
0.416 [INFO]  {0.0.0.00000000}.{eea9878a-1470-4ffd-8a01-1513e0247553} DebugWrapperDevicePropertyStore::GetCount
0.416 [INFO]    *cProps: 66
0.417 [INFO]  {0.0.0.00000000}.{eea9878a-1470-4ffd-8a01-1513e0247553} DebugWrapperDevice::QueryInterface - riid: IID_IMMEndpoint
0.417 [INFO]  {0.0.0.00000000}.{eea9878a-1470-4ffd-8a01-1513e0247553} DebugWrapperEndpoint::GetDataFlow
0.417 [INFO]    *pDataFlow: eRender
0.417 [INFO]  {0.0.0.00000000}.{eea9878a-1470-4ffd-8a01-1513e0247553} DebugWrapperDevice::Activate - Activate iid: IID_IAudioClient dwClsCtx: 1
0.417 [INFO]  {0.0.0.00000000}.{eea9878a-1470-4ffd-8a01-1513e0247553} DebugWrapperAudioClient<struct IAudioClient3>::GetDevicePeriod
0.418 [INFO]  {0.0.0.00000000}.{f5269b14-6c2b-4c81-9b4a-7596a71ee843} DebugWrapperDevice::OpenPropertyStore - stgmAccess: 0
0.418 [INFO]  {0.0.0.00000000}.{f5269b14-6c2b-4c81-9b4a-7596a71ee843} DebugWrapperDevicePropertyStore::GetCount
0.418 [INFO]    *cProps: 66
0.419 [INFO]  {0.0.0.00000000}.{f5269b14-6c2b-4c81-9b4a-7596a71ee843} DebugWrapperDevice::QueryInterface - riid: IID_IMMEndpoint
0.419 [INFO]  {0.0.0.00000000}.{f5269b14-6c2b-4c81-9b4a-7596a71ee843} DebugWrapperEndpoint::GetDataFlow
0.419 [INFO]    *pDataFlow: eRender
0.419 [INFO]  {0.0.0.00000000}.{f5269b14-6c2b-4c81-9b4a-7596a71ee843} DebugWrapperDevice::Activate - Activate iid: IID_IAudioClient dwClsCtx: 1
0.419 [INFO]  {0.0.0.00000000}.{f5269b14-6c2b-4c81-9b4a-7596a71ee843} DebugWrapperAudioClient<struct IAudioClient3>::GetDevicePeriod
0.420 [INFO]  {ASIO IN 0} DebugWrapperDevice::OpenPropertyStore - stgmAccess: 0
0.420 [INFO]  {ASIO IN 0} DebugWrapperDevicePropertyStore::GetCount
0.420 [INFO]    *cProps: 5
0.420 [INFO]  {ASIO IN 0} DebugWrapperDevice::QueryInterface - riid: IID_IMMEndpoint
0.420 [INFO]  {ASIO IN 0} DebugWrapperEndpoint::GetDataFlow
0.420 [INFO]    *pDataFlow: eCapture
0.420 [INFO]  {ASIO IN 0} DebugWrapperDevice::Activate - Activate iid: IID_IAudioClient dwClsCtx: 1
0.420 [INFO]  {ASIO IN 0} DebugWrapperAudioClient<struct IAudioClient3>::GetDevicePeriod
0.420 [INFO]  {ASIO IN 0} RSAsioAudioClient::~RSAsioAudioClient

My RS_ASIO settings (inspired by zotyo from #251):

[Config]
; using ASIO for input but Wasapi for output. This way the song volume alone can be adjusted from Windows conveniently.
EnableWasapiOutputs=1
EnableWasapiInputs=0
EnableAsio=1

[Asio]
; available buffer size modes:
;    driver - respect buffer size setting set in the driver
;    host   - use a buffer size as close as possible as that requested by the host application
;    custom - use the buffer size specified in CustomBufferSize field
BufferSizeMode=driver
CustomBufferSize=

[Asio.Output]
; No ASIO driver is defined for output, because WASAPI mode is preferred for playback.
Driver=
BaseChannel=0
AltBaseChannel=1
EnableSoftwareEndpointVolumeControl=1
EnableSoftwareMasterVolumeControl=1
SoftwareMasterVolumePercent=80

[Asio.Input.0]
Driver=ASIO HX Stomp
Channel=4
; 0 means feeding RS with wet signal from HX Stomp Path A for note detection (USB1)
; 4 means feeding RS with dry DI signal from HX Stomp for note detection (USB5)
EnableSoftwareEndpointVolumeControl=1
EnableSoftwareMasterVolumeControl=1
SoftwareMasterVolumePercent=600
; HX Stomp sends USB signal with unity gain, which is too low for RS to calibrate properly.
; 600% gain is defined to compensate for this.

[Asio.Input.1]
;shall be kept empty, otherwise RS will detect two conflicting Rocksmith cables.
Driver=
Channel=1
EnableSoftwareEndpointVolumeControl=1
EnableSoftwareMasterVolumeControl=1
SoftwareMasterVolumePercent=100

[Asio.Input.Mic]
; microphone is not used.
Driver=
Channel=
EnableSoftwareEndpointVolumeControl=1
EnableSoftwareMasterVolumeControl=1
SoftwareMasterVolumePercent=100

My Rocksmith.ini:

[Audio]
EnableMicrophone=0
ExclusiveMode=1
LatencyBuffer=2
ForceDefaultPlaybackDevice=1
ForceWDM=0
ForceDirectXSink=0
DumpAudioLog=0
MaxOutputBufferSize=0
RealToneCableOnly=0
MonoToStereoChannel=0
Win32UltraLowLatencyMode=1
[Renderer.Win32]
ShowGamepadUI=0
ScreenWidth=0
ScreenHeight=0
Fullscreen=1
VisualQuality=1
RenderingWidth=0
RenderingHeight=0
EnablePostEffects=1
EnableShadows=1
EnableHighResScope=1
EnableDepthOfField=1
EnablePerPixelLighting=1
MsaaSamples=4
DisableBrowser=0
[Net]
UseProxy=1
[Global]
Version=1

Any help if appreciated, cheers

dFinkeroni commented 1 year ago

I just did a clean reinstall, set it up with this guys help in a youtube video and now it just seems to work? No crash on startup, just functions.

Sorry for the spam :) And thanks for your work on RS_ASIO