theNizo / linux_rocksmith

Guides to get Rocksmith 2014 running on Linux
https://thenizo.github.io/linux_rocksmith/
GNU General Public License v3.0
106 stars 10 forks source link

WineASIO not found on Steam Deck #53

Closed exp111 closed 2 months ago

exp111 commented 3 months ago

It works until the VBAsio test tool, which doesnt show WineASIO in the devices menu (it only shows "Open ASIO panel").

The tests:

(deck@steamdeck ~)$ groups
realtime steamos-log-submitter audio wheel deck usbaccess
(deck@steamdeck ~)$ find /usr/lib32/ -name "wineasio*"
/usr/lib32/wine/i386-unix/wineasio32.dll.so
/usr/lib32/wine/i386-windows/wineasio32.dll
(deck@steamdeck ~)$ find /usr/lib/ -name "wineasio*"
/usr/lib/wine/x86_64-unix/wineasio64.dll.so
/usr/lib/wine/x86_64-windows/wineasio64.dll

My Steps:

I believe it already fails at the vbasio step, but idk why. Maybe relates to #28?

exp111 commented 3 months ago

Update: I tried https://github.com/theNizo/linux_rocksmith/issues/28#issuecomment-1536308122 with the alternative wineasio version

Now WineASIO shows up, but drops a "Driver not found" error grafik

Also tried with the 1.2.0 version which seemed to show it too, but same error. Either means that the register script didn't work properly or it just didn't copy the dlls.

Looking at the script it seems like it copies/registers the dlls at wineasio32/wineasio64.dll, while the VBAsioTest probably wants wineasio.dll

Further update: Did https://github.com/theNizo/linux_rocksmith/issues/42#issuecomment-2267585782 Meaning wineasio.dll isn't wanted but wineasio32.dll/wineasio64.dll

Now I get this error: grafik It showed in the console that the patchbay was blocking the device. Closing qpwgraph allowed it to play the test sound.

Rocksmith worked with port 2 of my focusrite 2i2 after that (using the default config with channels 0 and 1). After restarting it doesnt work anymore though (on neither port).

Using patchbay also doesnt work as it gives me no rocksmith thing but this: grafik

theNizo commented 3 months ago

Could you please try the following:

rm ~/.wine
./wineasio-register
wine /path/to/VBASIOTest32.exe

Closing qpwgraph allowed it to play the test sound.

That is nothing I would expect, actually.

Also, can you please give me an answer to the following things:

  1. What do you mean by "the alternative wineasio"?
  2. Are you using older wineasio versions? (According to the release notes of wineasio, only 1.2 works on wine/proton versions 8 or higher.)
  3. Did you copy the wineasio dll and dll.so files to your Proton installation? (You never explicitly said you did.)

Other things I noticed:

Runs but doesnt find any output device

To save you some time: both in and out work via jack -> asio. If that connection is broken, you won't get either.

Maybe relates to #28?

I cannot test this because when launching with proton, the gui doesn't even show up on my system to begin with.

Using patchbay also doesnt work as it gives me no rocksmith thing but this:

No, that's exactly what's expected if something in this setup doesn't work. According to the log, it will repeatedly try to request the expected driver, something will be wrong with it, so it says "Destroying AsioSharedHost", until it gives up and you will therefore not see anything in the patchbay that says "Rocksmith".

exp111 commented 3 months ago

Could you please try the following: ...

Shows wineasio in devices but doesnt play a sound: grafik grafik grafik

What do you mean by "the alternative wineasio"?

In the steam deck guide is a alternative wineasio version linked (https://github.com/BWagener/wineasio.git). However that didn't work better so i just used the 1.2.0.

Are you using older wineasio versions

I'm using the latest one here: https://github.com/wineasio/wineasio/releases. Which is 1.2.0

Did you copy the wineasio dll and dll.so files to your Proton installation? (You never explicitly said you did.)

I did not do it at first. I only did it in the updates i wrote in the later comment (https://github.com/theNizo/linux_rocksmith/issues/53#issuecomment-2280518632)

The weird thing is that it worked temporarily until a restart. Now it doesn't accept any input audio anymore, but I may also be using the wrong channels (tried 0-3) or they are not wired up properly.

theNizo commented 3 months ago

Shows wineasio in devices but doesnt play a sound:

As far as I can tell, the last line is because you clicked something under "test"? Anyway, it says that it doesn't work, which might be a problem. This is probably not related to Rocksmith.

The Steam Deck guide says to temporarily install jack2. My first guess would be that you didn't reinstall pipewire-jack and lib32-pipewire-jack after building, could that be?

(For transparency, even if that was the case, it still confuses me a bit that it would only work the first time.)

alternative wineasio

My apologies, I forgot about that. BWagener's version is most likely outdated by now.

exp111 commented 3 months ago

As far as I can tell, the last line is because you clicked something under "test"?

Yes it was irrelevant.

The Steam Deck guide says to temporarily install jack2. My first guess would be that you didn't reinstall pipewire-jack and lib32-pipewire-jack after building, could that be?

You are right. That wasn't mentioned in the guide that I had to do it, but it fixed my problem. However that still doesn't fix me having no input. Any idea what that is about?

Edit: I started the wrong steam entry again. I'm back to it working on interface input 2 with asio channel 0, but interface input 1 still not working.

Mh nevermind they are switched now. I'm not complaining as long as it works...

theNizo commented 3 months ago

I got lucky guessing, but if it works...

I don't have an audio interface, so I don't know if they work any different (I would assume so). With my non-pro audio devices I would usually do one of the following:

For multiplayer, I would probably combine both approaches.

exp111 commented 3 months ago

It works as it is now. Tried connecting to my tv and it only inputted static noise. Changed channels in the rsasio config to 2 + 3 and that worked.

Also saw the node in patchbay but it crashes doing patches so yea...

But the things that need to be changed in the guide:

theNizo commented 2 months ago

Done. https://github.com/theNizo/linux_rocksmith/commit/e80e2ffd68838f3994b01d9ab6ee95513281747d and https://github.com/theNizo/linux_rocksmith/commit/4ca57ffb2b5df991a91c2d5a42d9411b6085813c