mdias / rs_asio

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

No output device detected with Scarlet 2i2 #283

Closed damnms closed 2 years ago

damnms commented 2 years ago

last year i tried to get rocksmith working on linux with wineasio, but failed (https://github.com/mdias/rs_asio/issues/201). so now i thought i'll give it a try but now i fail way earlier. unfortunately, i did not document what i did the last time :(

i compiled wineasio and put that into /usr/lib/wine/i386-unix, registered the .dll with regsrv in the wine/proton environment with WINEPREFIX=/home/oli/.local/share/Steam/steamapps/compatdata/1493710/ regsvr32 /usr/lib/wine/i386-unix/wineasio.dll i also have a compatdata/221680 - no idea whats that one so i registered the dll there too. that worked.

then i copied the rs_asio files into the gameplay folder (/home/oli/.steam/steam/steamapps/common/Rocksmith2014) and started rocksmith. Unfortunately, the FindDrivers finds nothing, not even my onboard sound stuff, so i am wondering whats wrong.

0.000 [INFO]   - Wrapper DLL loaded (v0.5.7)
0.000 [INFO]  PatchOriginalCode
0.464 [INFO]  Patching CoCreateInstance
0.464 [INFO]  Patch_CallAbsoluteAddress - num locations: 5
0.464 [INFO]  Patching call at 01C5AA85
0.464 [INFO]  Patching call at 01F03B6E
0.464 [INFO]  Patching call at 01F5C681
0.464 [INFO]  Patching call at 01FAEF75
0.464 [INFO]  Patching call at 01FAF40D
0.464 [INFO]  Patching PortAudio MarshalStreamComPointers
0.464 [INFO]  Patch_CallRelativeAddress - num locations: 1
0.464 [INFO]  Patching call at 01F03059
0.464 [INFO]  Patching PortAudio UnmarshalStreamComPointers
0.464 [INFO]  Patch_CallRelativeAddress - num locations: 1
0.464 [INFO]  Patching call at 01F0310E
0.464 [INFO]  Patched_CoCreateInstance called: IID_IMMDeviceEnumerator
0.464 [INFO]  DebugDeviceEnum::GetDefaultAudioEndpoint - dataFlow: eRender - role: eMultimedia
0.464 [INFO]  RSAggregatorDeviceEnum::UpdateAvailableDevices
0.464 [INFO]  AsioHelpers::FindDrivers
0.464 [INFO]  DebugDeviceEnum::UpdateAvailableDevices - 0 render devices, 0 capture devices
0.464 [INFO]    hr: 80070490
0.464 [INFO]    *ppEndpoint: 00000000
0.464 [INFO]  DebugDeviceEnum::GetDefaultAudioEndpoint - dataFlow: eCapture - role: eMultimedia
0.464 [INFO]    hr: 80070490
0.464 [INFO]    *ppEndpoint: 00000000
0.464 [INFO]  DebugDeviceEnum::EnumAudioEndpoints - dataFlow: eAll - dwStateMask: 1
0.464 [INFO]    hr: S_OK
0.464 [INFO]    *ppDevices: 1705DE30
2.761 [INFO]  Patched_CoCreateInstance called: IID_IMMDeviceEnumerator
2.761 [INFO]  DebugDeviceEnum::GetDefaultAudioEndpoint - dataFlow: eRender - role: eMultimedia
2.761 [INFO]  RSAggregatorDeviceEnum::UpdateAvailableDevices
2.761 [INFO]  AsioHelpers::FindDrivers
2.761 [INFO]  DebugDeviceEnum::UpdateAvailableDevices - 0 render devices, 0 capture devices
2.761 [INFO]    hr: 80070490
2.761 [INFO]    *ppEndpoint: 00000000
2.761 [INFO]  DebugDeviceEnum::GetDefaultAudioEndpoint - dataFlow: eCapture - role: eMultimedia
2.761 [INFO]    hr: 80070490
2.761 [INFO]    *ppEndpoint: 00000000
2.761 [INFO]  DebugDeviceEnum::EnumAudioEndpoints - dataFlow: eAll - dwStateMask: 1
2.761 [INFO]    hr: S_OK
2.761 [INFO]    *ppDevices: 1AE115B0
2.762 [INFO]  DebugDeviceEnum::RegisterEndpointNotificationCallback
36.004 [INFO]  DebugDeviceEnum::UnregisterEndpointNotificationCallback
36.152 [INFO]   - Wrapper DLL unloaded

any help is very appreciated!

mdias commented 2 years ago

Please check this reddit post, I won't be able to help you on linux as I don't even have a box with it installed.