mdias / rs_asio

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

Problems with Fedora 35 #233

Closed damnms closed 2 years ago

damnms commented 2 years ago

I have fedora 35 which uses pipewire instead of jack - is it possible to somehow use that? when i start the game, it reports i have no audio out and then crashes after a couple of seconds

[oli@DESKTOP-E83VF5L Rocksmith2014]$ cat RS_ASIO-log.txt 
0.000 [INFO]   - Wrapper DLL loaded (v0.5.5)
0.000 [INFO]  PatchOriginalCode
0.473 [INFO]  Patching CoCreateInstance
0.473 [INFO]  Patch_CallAbsoluteAddress - num locations: 5
0.473 [INFO]  Patching call at 01C5AA85
0.473 [INFO]  Patching call at 01F03B6E
0.473 [INFO]  Patching call at 01F5C681
0.473 [INFO]  Patching call at 01FAEF75
0.473 [INFO]  Patching call at 01FAF40D
0.473 [INFO]  Patching PortAudio MarshalStreamComPointers
0.473 [INFO]  Patch_CallRelativeAddress - num locations: 1
0.473 [INFO]  Patching call at 01F03059
0.473 [INFO]  Patching PortAudio UnmarshalStreamComPointers
0.473 [INFO]  Patch_CallRelativeAddress - num locations: 1
0.473 [INFO]  Patching call at 01F0310E
0.473 [INFO]  Patched_CoCreateInstance called: IID_IMMDeviceEnumerator
0.473 [INFO]  DebugDeviceEnum::GetDefaultAudioEndpoint - dataFlow: eRender - role: eMultimedia
0.473 [INFO]  RSAggregatorDeviceEnum::UpdateAvailableDevices
0.473 [INFO]  AsioHelpers::FindDrivers
0.474 [INFO]    WineASIO
0.474 [INFO]  RSAsioDeviceEnum::UpdateAvailableDevices - output requesting ASIO driver: WineASIO
0.474 [INFO]  Creating AsioSharedHost - dll: wineasio.dll
0.479 [ERROR]  ASIO Error: WineASIO does not return error messages

0.479 [INFO]  Destroying AsioSharedHost - dll: wineasio.dll
0.479 [ERROR]  RSAsioDeviceEnum::UpdateAvailableDevices - failed.
0.479 [INFO]  RSAsioDeviceEnum::UpdateAvailableDevices - input[0] requesting ASIO driver: WineASIO
0.479 [INFO]  Creating AsioSharedHost - dll: wineasio.dll
0.484 [ERROR]  ASIO Error: WineASIO does not return error messages

0.484 [INFO]  Destroying AsioSharedHost - dll: wineasio.dll
0.484 [ERROR]  RSAsioDeviceEnum::UpdateAvailableDevices - failed.
0.484 [INFO]  DebugDeviceEnum::UpdateAvailableDevices - 0 render devices, 0 capture devices
0.484 [INFO]    hr: 80070490
0.484 [INFO]    *ppEndpoint: 00000000
0.484 [INFO]  DebugDeviceEnum::GetDefaultAudioEndpoint - dataFlow: eCapture - role: eMultimedia
0.484 [INFO]    hr: 80070490
0.484 [INFO]    *ppEndpoint: 00000000
0.484 [INFO]  DebugDeviceEnum::EnumAudioEndpoints - dataFlow: eAll - dwStateMask: 1
0.484 [INFO]    hr: S_OK
0.484 [INFO]    *ppDevices: 16A22FB0

not sure if its more a WineASIO problem (because pipewire etc.) or if its somehow related to rs_asio Any help is appreciated, because atm i am very lost :/

mdias commented 2 years ago

Unfortunately, as you can see on the log, WineASIO doesn't really return any useful error messages, so unless it logs what is going wrong somewhere, there are zero hints. But this shouldn't be a problem with RS ASIO since it's WineASIO that's returning an error when trying to initialize.

Keep in mind Rocksmith is a 32-bit process, so if you want to test if your WineASIO configuration is working properly you should try some other 32-bit windows asio-enabled application.

I never ran RS ASIO in linux, but I wouldn't expect it to crash just because it has no sound output/input. At least in windows it runs that way too, just without sound, so you may have some other additional problem after you solve the WineASIO config.

damnms commented 2 years ago

thanks, in that case i'll close this ticket and ask in wineasio, thanks :)