theNizo / linux_rocksmith

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

Steam Deck & Garuda Issue #25

Closed somekindahate closed 1 year ago

somekindahate commented 1 year ago

Hi,

I have tried out this guide on two different systems (steam & a Garuda Linux PC), and have run into the same problem with both of them.

The issue occurs when I try to install wineasio through the given steps. It reads and looks something like this:

 rm -rf build32
 rm -rf build64
 make 32
 make 64

 make build ARCH=i386 M=32
 make[1]: Entering directory '/home/scythe/Downloads/wineasio-1.1.0'
 make[1]: *** No rule to make target 'rtaudio/include/asio.h', needed by 'build'.  Stop.
 make[1]: Leaving directory '/home/scythe/Downloads/wineasio-1.1.0'
 make: *** [Makefile:15: 32] Error 2
 make build ARCH=x86_64 M=64
 make[1]: Entering directory '/home/scythe/Downloads/wineasio-1.1.0'
 make[1]: *** No rule to make target 'rtaudio/include/asio.h', needed by 'build'.  Stop.
 make[1]: Leaving directory '/home/scythe/Downloads/wineasio-1.1.0'
 make: *** [Makefile:18: 64] Error 2

image

I also tried to run the shellscript provided and got this:

 groupadd: group 'audio' already exists
 groupadd: group 'realtime' already exists
 cp: cannot stat '/usr/lib32/wine/i386-windows/wineasio.dll': No such file or directory
 cp: cannot stat '/usr/lib32/wine/i386-unix/wineasio.dll.so': No such file or directory
 cp: cannot stat '/usr/lib/wine/x86_64-windows/wineasio.dll': No such file or directory
 cp: cannot stat '/usr/lib/wine/x86_64-unix/wineasio.dll.so': No such file or directory

I installed wine-staging and uninstalled regular wine prior to all of this based on the guide's suggestion. Please help. There seems to be what should be an obvious step missing that Linux novices like me are missing.

theNizo commented 1 year ago

System

Both Arch-based with pipewire

Script

(The script tells you that it's not compatible with pipewire. Maybe I should display this at a better location. Now this didn't destroy your audio setup, it just installed jack2 instead of pipewire-jack - which would still work, can confirm, but I mean why if you already have pipewire?)

Anyway, the script installs wineasio via AUR, as a package. It should show up if you run pacman -Q wineasio

If it does, the cp errors would be strange indeed.


Compile by hand

I can tell that you have downloaded and extracted the correct zip.

A quick search tells me this either happens if there's an error in the makefile or the file to be compiled doesn't exist.

Did you mess with these at all?

somekindahate commented 1 year ago

I did not mess with them at all. I only followed the steps as detailed.

theNizo commented 1 year ago

Okay, that's weird then. I tried this after reading your issue the first time, but worked just fine for me.

I'm afraid I don't have much advice to you, I'm sorry. The only thing I could think about is unlikely, because the output would be different, but I'll share regardless.

wineasio compilation depends on wine. Maybe something jack-related too (Too much dependencies on my system to test this, sorry). You could be missing a package, but then again it would result in a different terminal output.

Other thought that's probably not the issue, but I'll leave it here Since you tried this on two different systems, I assume you downloaded it two times too. So I don't think there could have been corrupted while downloading (also, unlikely to happen exactly like this).
NikhilSaini38 commented 1 year ago

Looks like gcc has changed something and won't build asio.h target unless explicitly directed to in build script. Hence, the build fails and there's nothing to copy.

Ref:make[1]: *** No rule to make target 'rtaudio/include/asio.h', needed by 'build'.

pcgamingisted commented 1 year ago

I'm also encountering that error. I can look in to it more from my side, but my limited knowledge on most things might not help much.

EDIT: Just to say, I'm on a Steam Deck and followed the instructions directly

Siarkowy commented 1 year ago

Ref:make[1]: *** No rule to make target 'rtaudio/include/asio.h', needed by 'build'.

I think I hit the same problem when compiling on Steam Deck.

You need to initialize git submodules in existing wineasio repository because they are empty by default.

git submodule update --init --recursive

Or do a fresh clone including submodules.

git clone --recursive https://github.com/wineasio/wineasio.git
theNizo commented 1 year ago

1st, what @Siarkowy wrote works on my machine 2nd, did you clone it, or download the .tar.gz from the releases page?

theNizo commented 1 year ago

For Steam Deck you cloned, obviously, because you use a modified version of wineasio. I forgot.

I would opt for the second option and adjust the guide accordingly, but I have the question if you still need that modified version of wineasio.

Siarkowy commented 1 year ago

For Steam Deck I have the question if you still need that modified version of wineasio.

No, I was able to build successfully with upstream wineasio.

git clone --recursive https://github.com/wineasio/wineasio.git

Just for posterity, I'm on this commit.

$ git rev-parse HEAD
56c3e9da95b467f1f64ba069864c35762251a734

Should be good enough to include in docs imo (at least for Steam Deck).

theNizo commented 1 year ago

I guess I can close this. (Protest, if not.)