Skip to content
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

[BUG] No midi music on Steam Deck #718

Closed
1 task done
tylerfox3894 opened this issue Oct 7, 2022 · 10 comments
Closed
1 task done

[BUG] No midi music on Steam Deck #718

tylerfox3894 opened this issue Oct 7, 2022 · 10 comments
Labels
bug Something isn't working tech issue Issues which may, or may not be bugs but still requiring assistance

Comments

@tylerfox3894
Copy link

Raze version

1.5.0

Which game are you running with Raze?

Duke Nukem 3D

What Operating System are you using?

Other

Please describe your specific OS version

SteamOS 3.3.2

Relevant hardware info

steam deck 512gb

Have you checked that no other similar issue already exists?

  • I have searched and not found similar issues.

A clear and concise description of what the bug is.

Running games that do not have CD audio causes no music to play whatsoever. Enabling or Disabling music has no effect.

Steps to reproduce the behaviour.

Explain how to reproduce

  1. launch the linux build of raze 1.5.0 on steam deck
  2. launch duke nukem 3d, or any game without cd audio
  3. note lack of music

Your configuration

No response

Provide a Log

No response

@tylerfox3894 tylerfox3894 added the bug Something isn't working label Oct 7, 2022
@coelckers coelckers added tech issue Issues which may, or may not be bugs but still requiring assistance and removed bug Something isn't working labels Oct 7, 2022
@coelckers
Copy link
Member

This sounds like you did not install either libfluidsynth or the sound font that is required for music to play.

@tylerfox3894
Copy link
Author

what is libfluidsynth?

@tylerfox3894
Copy link
Author

tylerfox3894 commented Oct 7, 2022

i dont mean to sound like an idiot. i downloaded the linux version, put it on my steam deck. copied over the required files from a dosbox duke3d install, a dosbox blood install, and a dosbox duke it out in dc install, all from original CD's

@tylerfox3894
Copy link
Author

i have the raze.sf2 file in the soundfonts folder, if thats what you mean

@alexey-lysiuk
Copy link
Collaborator

Only VPX and ZMusic libraries come with Linux release of Raze. Other dependencies (like FluidSynth, OpenAL, mpg123, soundfile) need to be installed manually. Some of them could be already present in your system. I guess, FluidSynth is missing, and your package manager should help you with its installation. If Steam Deck OS is based on Arch Linux, usage of pacman is the most obvious solution.

@tylerfox3894
Copy link
Author

sadly i am brand new to using linux. i dont know how that works

@madame-rachelle
Copy link
Collaborator

For now, when running on SteamDeck please use the Windows version of Raze on Proton.

I'll look into increasing compatibility for SteamDeck in the future, by increasing the number of libraries distributed with the package, but I will need to find the time to, at the very least, create a working VM for that.

@tylerfox3894
Copy link
Author

Well that works. I cant pretend to understand why, but thank you

@madame-rachelle
Copy link
Collaborator

madame-rachelle commented Oct 7, 2022

If Steam Deck OS is based on Arch Linux, usage of pacman is the most obvious solution.

This is not a viable solution for SteamOS. Yes it's based on Arch Linux but it clean-wipes the system (sans the user folders) every update, we cannot recommend this as the way to play on SteamOS unless we include a script that does this automatically.

Instead, it's better to just fatten up the binary distribution with more libraries. Since SteamOS is Intel-based we have little worry about the ARM architecture in this case and can, at least for now, not worry about that.

Another thing we can do is have more stuff statically linked - in fact I think we were considering doing that with GZDoom/Raze on Windows anyhow since FluidSynth is such a pain in the ass.

In fact, I'm thinking maybe we should just update CMake to find a vcpkg install and force vcpkg to compile static triplets for all the necessary libraries and simply distribute a single .exe for each OS with all libraries possible linked in statically. We can still support ARM64 and amd64 with all 3 of the major OS's this way.

@mjr4077au
Copy link
Member

ZMusic statically links an internal FluidSynth these days, so this issue should be resolved.

@sinisterseed sinisterseed changed the title No Midi Music on Steam Deck [BUG] [BUG] No midi music on Steam Deck Jun 21, 2024
@sinisterseed sinisterseed added the bug Something isn't working label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tech issue Issues which may, or may not be bugs but still requiring assistance
Projects
None yet
Development

No branches or pull requests

6 participants