theNizo / linux_rocksmith

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

Linux Mint 22 - no audio output and calibration fail #64

Closed DerekJarvis closed 5 days ago

DerekJarvis commented 1 week ago

I'd happily pay for a live debugging session to get this working. I've spent way to much time on it already! But this guide is really great and is the only reason I've been able to come this far.

theNizo commented 6 days ago
  • did you choose native JACK or pipewire-jack? I'm not sure

On which link did you click in the README?

2306bc97-9d15-40ad-b65a-1d2f74dcbb9d

And what's the output of apt list --installed | grep jack?

I didn't try to use proton because I could never get it to work.

Only judging by this line, there's a lot of things you could be doing different, with no way for me to tell what you did.

Do you even have the Steam version, or something different?

live debugging session

Do you have time somewhere in the next 8 hours?

DerekJarvis commented 6 days ago

I misread the question about which version, I'm using pipe wire jack.

I noticed that the proton paths didn't work, mine has the wine bin under a "files" subdirectory so I switched to using the OSes wine because i  want sure if proton still worked.

Unfortunately I'm not available in the next few hours today, but I can be tomorrow or another day. Maybe we can DM to coordinate and then share the results here?

Nov 17, 2024 2:37:15 AM Nizo @.***>:

  • did you choose native JACK or pipewire-jack? I'm not sure

On which link did you click?

2306bc97-9d15-40ad-b65a-1d2f74dcbb9d.png (view on web)[https://github.com/user-attachments/assets/b749f022-b5de-46b3-8de3-ca3c9ad21a85]

And what's the output of apt list --installed | grep jack?

I didn't try to use proton because I could never get it to work.

Judging by that, there's a lot of things you could be doing different, with no way for me to tell what you did.

live debugging session

Do you have time somewhere in the next 8 hours?

— Reply to this email directly, view it on GitHub[https://github.com/theNizo/linux_rocksmith/issues/64#issuecomment-2481157143], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ABUDASIME5PDPXL3VFXIISD2BBWVNAVCNFSM6AAAAABR5MYLFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBRGE2TOMJUGM]. You are receiving this because you authored the thread. [Tracking image][https://github.com/notifications/beacon/ABUDASOR5K4ZM5UCBDVSUBD2BBWVNA5CNFSM6AAAAABR5MYLFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUT4N2BO.gif]

theNizo commented 6 days ago

mine has the wine bin under a "files" subdirectory

That's expected, excerpt:


I can't get any audio output

The game doesn't give you any sound, or you can't hear your guitar ingame?

If it's the first one, it might need a little bit debugging and more info. If it's the second one, you're pretty far already:


I'm not sure if I'm ready to do this during the week. Tomorrow might work. You can write me at [terminated throwaway email address]

DerekJarvis commented 6 days ago

I did a bit more digging, and finally got it working (mostly), so I thought I'd share my notes here in case it helps someone else - and in case you can tell me other ways I can improve this setup.

JACK Server issues

When running VBASIO, or Rocksmith, I would get some errors about not being able to get a device for playback:

audio_reservation_init
Acquire audio card Audio1
creating alsa driver ... hw:Adapter|hw:Adapter|1024|2|48000|0|0|nomon|swmeter|-|32bit
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods

I was launching my jack server with this command: pw-jack qjackctl, doing my configuration there and pressing start. I noticed that the settings didn't seem to persist, and it seems like whatever that was doing was not able to be grabbed by Rocksmith.

I found another forum talking about launching jack manually with jackd -d alsa -d pipewire -p 256 -r 48000

When doing this, suddenly I can hear the output from VBASIO, and both input and output in Rocksmith work!

Proton Issues

As mentioned, when trying to run proton experimental I got errors - specifically it was unable to find any of the 3D drivers:

0024:err:module:import_dll Library libvkd3d-1.dll (which is needed by L"C:\\windows\\system32\\wined3d.dll") not found
0024:err:module:import_dll Library libvkd3d-shader-1.dll (which is needed by L"C:\\windows\\system32\\wined3d.dll") not found
0024:err:module:import_dll Library wined3d.dll (which is needed by L"C:\\windows\\system32\\d3dcompiler_47.dll") not found
0024:err:module:import_dll Library d3dcompiler_47.dll (which is needed by L"C:\\windows\\system32\\d3dx9_42.dll") not found
0024:err:module:import_dll Library d3dx9_42.dll (which is needed by L"Z:\\...\\Rocksmith2014.exe") not found
MESA-INTEL: warning: cannot initialize blitter engine
005c:err:xrandr:xrandr14_get_adapters Failed to get adapters

Going back to regular wine with a special prefix directory for Rocksmith I was able to get things working fine.

DerekJarvis commented 6 days ago

Oh, and one last thing - I never see the rocksmith adapter in the patchbay graph as shown in the docs, and when I was using the pw-jack qjackctl command the cable input would disappear from the graph. With the new jack command I can still see the cable while rocksmith is playing - but still no panel with all the connectors. I found that changing my default system input to the cable allows Rocksmith to capture the cable I'm not using it for multiplayer so that's OK for me, even if it's a slightly inconvenient extra step.

theNizo commented 5 days ago

Why are you using the pw-jack command in the first place?

As mentioned, when trying to run proton experimental I got errors - specifically it was unable to find any of the 3D drivers:

Okay, that's broken. If it's just this game, it's your prefix (delete and regenerate). If it's all games, it's your Proton install (uninstall, delete remainings like the install folder, reinstall; maybe verifying files could work instead)

I never see the rocksmith adapter in the patchbay graph as shown in the docs

This sentence could have ~5 different meanings. And at what specific location did you see that?

theNizo commented 5 days ago

Why are you using the pw-jack command in the first place?

And why did you not list it in steps done different?

DerekJarvis commented 5 days ago

1 - On using pw-jack qjackctl This is my first time using qjackctl and some guide I found mentioned this was the command to use. Did I miss a section in the guide where it explicitly tells us how to launch the JACK server? I didn't see it, and so I figured it's something everyone knew how to do and looked for a guide for it. That's also why I didn't list it as a deviation, because I didn't see anywhere we were told how to do it - so I didn't consider my found approach a deviation.

2 - On Proton, understood - but I'll leave it be. It's working fine with wine.

3 - About the "patchbay graph as shown in the docs", I'm referring to this link you shared: https://github.com/theNizo/linux_rocksmith/blob/main/guides/setup-rs-asio.md

And specifically this part of the image: image

I've never seen this in the node in qjackctl in order to try to draw any connections between them. I've only seen this one: image

Verification: provided deepness mocker

theNizo commented 5 days ago

On using pw-jack qjackctl

Not necessary. jackd2 needs to be started manually. pipewire-jack doesn't have to be, it's already running and available.

I try to make this guide beginner-friendly and would have listed that. I do have step-by-step instructions in the native JACK guides, but again, not necessary for pipewire-jack.

And specifically this part of the image:

OH, okay. I was thinking about the hardware accessory, not the Rocksmith instance shown in the patchbay. This could have meant

Oh, wait, that's not exactly 5 things. Well, I overestimated it, my apologies.

Seeing from the email that you don't need any further help, I'm gonna close this issue now, complaints about closure to be filed here.

theNizo commented 5 days ago

Apparently, I can not send you another email back. Bad choice of service on my side. The outcome is the same, you don't have to pay me, and due to privacy concerns, I would have given you no way to pay me anyway, that's alright. ^^