stepmania / stepmania

Advanced rhythm game for Windows, Linux and OS X. Designed for both home and arcade use.
https://www.stepmania.com/
1.84k stars 447 forks source link

No Audio when Running Stepmania #1956

Open shaunraj opened 4 years ago

shaunraj commented 4 years ago

OS: Raspian GNU/Linux 10 Kernel Version: 4.19.93-v7l+ Device: Raspberry Pi 4b 4 GB

Hello, whenever I execute Stepmania from the terminal, it boots without sound. I get a bunch of warnings on the terminal:

/////////////////////////////////////////
/////////////////////////////////////////
WARNING: ALSA: snd_pcm_wait: Broken pipe
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: ALSA: snd_pcm_wait: Broken pipe
/////////////////////////////////////////
/////////////////////////////////////////
WARNING: ALSA: snd_pcm_wait: Broken pipe
/////////////////////////////////////////
/////////////////////////////////////////

No messages in dmesg or journalctl assist in helping me see what's going on. I checked both HDMI and analog inputs. Still no audio. Both HDMI and analog work correctly. I tested this by going to youtube and playing random videos with both as audio outputs. Both presented the audio correctly.

I set the device up by following the instructions located here:

https://github.com/SpottyMatt/raspbian-stepmania-arcade

I have made sure my OS is updated to the latest version of everything:

sudo apt-get upgrade
sudo apt-get update

Anyone know what's going on?

Tatsh commented 4 years ago

From that guide:

The Raspberry Pi uses its built-in headphone jack or the HDMI cable as the default sound output device. The hardware that drives these is not very capable. StepMania's songs will sound scratchy. To have good sound quality, you must use a USB sound card.

Getting this USB sound card working, and then working as the default sound device can be hard. Do yourself a favor and buy one that is known to work out-of-the-box with the Raspberry Pi. Adafruit sells one, or you can trust reviews on some other marketplace like Amazon.

https://github.com/SpottyMatt/raspbian-stepmania-arcade#usb-audio