-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No audio devices in McPixel 3 (and probably others) #354
Comments
For the sake of testing, do you know of any free games that this issue also occurs on? |
It exists:
path (above directory is present):
However, the launcher for the game does this:
|
I modified the launcher to this:
And it makes the game work. I'll try to report this to the developer. |
@TheSos tl;dr McPixel3 Linux launcher script clears out LD_LIBRARY_PATH to add the current directory. This breaks the game for people who run steam in containers that need a custom library path. Instead please prepend your path to whatever currently exists. See above for details. |
Sure! I can fix this! Will let you know when the fix is live so you can test! |
@ali1234 could you try this build of the Steam snap with the default launch script of the game, if you're willing: https://github.com/canonical/steam-snap/actions/runs/7453047503/artifacts/1155183587 (download that file and then install with |
With that snap version the game does not run at all. Tail end of the console output looks like this:
|
Hmm, if that's an issue then it's also an issue with the edge channel. Give this one a shot: https://github.com/canonical/steam-snap/actions/runs/7453866820/artifacts/1155350402 |
That one works. (I still think it's more correct to not wipe |
Oh for sure, we'd greatly appreciate it if games didn't do that :). For context, Northgard did the same thing and we added a workaround using the LD cache. The LD cache workaround should have still worked for this game as well, but it didn't because it was missing an audio path, so that's what you tested for me. I'll close this issue once I get a fix in for the cache on our side, but yeah, we'd appreciate it if the launch script was changed as well. |
Does this mean I don't have to fix the .sh anymore? Apologies for the hold up, I got really sick. |
You shouldn't have to, but I definitely would strongly recommend it if at all possible. |
Ensure there isn't an existing issue for this and check the wiki
Current Behavior
On starting the game McPixel 3, the game displays an error message saying that the audio device could not be opened.
Expected Behavior
The game should work.
Steps To Reproduce
Environment
gaming-graphics-core22 version
kisak-fresh (default)
Anything else?
Additionally the following error message appears on the console where I ran steam:
These messages are emitted by the game itself, not steam.
libpulsecommon-16.1.so is installed on the host,
but no version of it is installed inside the snap.it is installed, see below.The game works correctly outside of snap, by directly running mcpixel.sh on the host.
Snap connections:
The text was updated successfully, but these errors were encountered: