linux_rocksmith icon indicating copy to clipboard operation
linux_rocksmith copied to clipboard

No audio connections in patch bay

Open ShiroyukiX opened this issue 10 months ago • 6 comments

  1. Which distro do you use? Arch Linux
  2. Which Proton or wine version do you use? wine-8.21 (Staging)
  3. Do you use pipewire? yes
  4. did you choose the native JACK or pipewire-jack guide? pipewire-jack, though initially native JACK
  5. What appears to be the problem? (Describe it as best as you can)

No audio plays when starting Rocksmith 2014. Looking at the patchbay in qpwgraph, it does appears with no connections and pavucontrol doesn't show an audio source for Rocksmith 2014.

  1. Did you notice any other unexpected behavior? no
  2. What did you try already? The general troubleshooting guide
  3. Did you do any of the steps differently or leave them out? no

NOTE: I have purposefully locked my Arch to before plasma 6 due to latte-dock not working and the alternatives lacking for my preferences; that said, I do have another system that's up-to-date experiencing the same problems.

The only thing I can think of is needing clarification on "Set Up JACK". I don't understand what to do with pipewire-pulse or how I can tell if everything is setup correctly.

ShiroyukiX avatar Mar 05 '25 02:03 ShiroyukiX

Pavucontrol is mostly used to set which audio devices show up, which one is default, and as a little insurance against the game crashing immediately. I have no idea if Rcoksmith ever shows up in there.

If Rocksmith is in the patchbay, you can create the connections by hand. Which is annoying, but works. Do this while the game boots up (the "Logo screens"), so the game doesn't crash.

At the momett I have no idea why it doesn't work autamatically though. This happened to someone already (#41), but it's pretty rare. I'm gonna think about this and write another comment, because I'd like to understand it.

Which Proton or wine version do you use? wine-8.21 (Staging)

Do I understand this correctly that you don't use the Steam version of Rocksmith?

theNizo avatar Mar 05 '25 08:03 theNizo

Are you using LD_PRELOAD or start script? It was common once that the connections dont' set up automatically when using LD_PRELOAD. I'm not sure if it's still the case. Otherwise:


So, I think you did something different, or something is configured differently, because you can reproduce your issue and I reliably cannot.

With the following questions, I just want to find SOMETHING that is different.


You said it Rocksmith appears in your patchbay, so you should not see this window:

https://github.com/theNizo/linux_rocksmith/blob/main/guides/troubleshooting.md#i-see-the-following-window-when-starting-the-game

Are you using the start script, or LD_PRELOAD?

Are you running the Steam version, or the one from Ubisoft Connect? (I think that's all there is, aside from piracy.)

You do have pavucontrol already running when you start the game, don't you?

Could you please run this for me and send me the output?

pacman -Q pipewire-media-session wireplumber
groups | grep -oP "audio|realtime"

Have you tried launching the game with the following command? Does it make any difference? (It's from the troubleshooting section, but I just want to make sure.)

PIPEWIRE_LATENCY=256/48000 WINEPREFIX=$STEAMLIBRARY/steamapps/compatdata/221680/pfx $PROTON/bin/wine $STEAMLIBRARY/steamapps/common/Rocksmith2014/Rocksmith2014.exe

Lastly, I'd be interested in your RS_ASIO.ini.

theNizo avatar Mar 05 '25 08:03 theNizo

@ShiroyukiX are you still interested in solving this?

Did I ask for too much details?

theNizo avatar Mar 07 '25 22:03 theNizo

@ShiroyukiX are you still interested in solving this?

Did I ask for too much details?

I'm still interested. Other priorities came so I had to put this aside.

Do I understand this correctly that you don't use the Steam version of Rocksmith?

I do use the Steam version of Rocksmith and the "No audio output" message does not appear. Also, pavucontrol is running when I boot the game. Also, any moment I make a connection to Rocksmith in the patchbay, the program crashes, regardless of when I do it (even during the logo screen).

Are you using the start script, or LD_PRELOAD?

LD_PRELOAD. It was the most consistent method for me.

Could you please run this for me and send me the output?

❯ pacman -Q pipewire-media-session wireplumber
error: package 'pipewire-media-session' was not found
wireplumber 0.4.17-1
❯ groups | grep -oP "audio|realtime"
realtime
audio

I have not tried running the game with the command method

PIPEWIRE_LATENCY=256/48000 WINEPREFIX=$STEAMLIBRARY/steamapps/compatdata/221680/pfx $PROTON/bin/wine $STEAMLIBRARY/steamapps/common/Rocksmith2014/Rocksmith2014.exe

Here is my RS_ASIO.ini file. I have a 2nd gen Focusrite Scarlette Solo and this is what is suggested.

# for "EnableWasapiOutputs" you can use -1 to have a message prompting
# to use either WASAPI or ASIO for output every time you boot the game
[Config]
EnableWasapiOutputs=0
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=custom
CustomBufferSize=48

# if your game hangs or crashes on exit, try setting "EnableRefCountHack" to true.
# when blank or invalid, the value of "EnableRefCountHack" will be interpreted as
# true if RS ASIO detects the usage of Asio4All.
# the same applies for all inputs.
[Asio.Output]
Driver=wineasio-rsasio
BaseChannel=0
;AltBaseChannel=
EnableSoftwareEndpointVolumeControl=1
EnableSoftwareMasterVolumeControl=1
SoftwareMasterVolumePercent=100
;EnableRefCountHack=

[Asio.Input.0]
Driver=wineasio-rsasio
Channel=1
EnableSoftwareEndpointVolumeControl=1
EnableSoftwareMasterVolumeControl=1
SoftwareMasterVolumePercent=100
;EnableRefCountHack=

[Asio.Input.1]
;Driver=wineasio-rsasio
Channel=1
EnableSoftwareEndpointVolumeControl=1
EnableSoftwareMasterVolumeControl=1
SoftwareMasterVolumePercent=100
#EnableRefCountHack=

ShiroyukiX avatar Mar 10 '25 02:03 ShiroyukiX

Addendum

I got it working using the "Native JACK" method after making sure my system was only using Pipewire (I believe KDE downloads both Pipewire, specifically kpipewire, and PulseAudio). That said, I have to use different Frames/Period and Periods/Buffer than the recommended to avoid Xruns. This is weird, though, since I had no issues before when cadence was the initially recommended program.

Also, I believe "Enable JACK D-Bus interface", under "Misc" in qjackctl, needs to be selected for audio to work, which requires jack2-dbus. Otherwise, JACK would run and show audio playing in pavucontrol but no sound will play.

ShiroyukiX avatar Mar 10 '25 02:03 ShiroyukiX

I'm still interested. Other priorities came so I had to put this aside.

Okay, no worries ^^


Okay, thanks. This could just be LD_PRELOAD. I can't tell, because the game crashes beforem even showing a window when I try LD_PRELOAD on my system.

I usually don't define a buffer size in the RS_ASIO.ini. That is a difference.


That said, I have to use different Frames/Period and Periods/Buffer than the recommended to avoid Xruns.

Interesting. My first thought would be hardware related, but I don't know for sure.

You can still do it with Cadence, I'm not stopping you. I just don't have specific instructions for it anymore.

Also, I believe "Enable JACK D-Bus interface", under "Misc" in qjackctl, needs to be selected for audio to work

Default value seems to be disabled and I never touched it. Yet it still worked when testing it. Weird.


I'll have to look into a few things then.

theNizo avatar Mar 10 '25 11:03 theNizo