Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762316 - games-arcade/missile crashes on open, unable to open sound card
Summary: games-arcade/missile crashes on open, unable to open sound card
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-28 22:54 UTC by dan
Modified: 2021-06-28 03:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dan 2020-12-28 22:54:12 UTC
After installing Missile-1.0.1-r1 under KDE Plasma, I tried to start the game. But it immediately died with the folollowing error:

Couldn't set 11025 Hz 8-bit audio
- Reason: No available audio device

ERROR: reading game data 'missile_launch.wav'
Trying to open the file reports: Resource temporarily unavailable
The error is: Audio device hasn't been opened

If you need to set the data directory, run "missile --set-datadir=<datadir>".

Run "missile -h" for command line options

I do have an audio card, the intel/RealTek sound chip on the motherboard that works fine for other uses. Not sure if missile isn't finding the card, or is trying to open it exclusively. But it's not working.
Comment 1 Jonas Stein gentoo-dev 2020-12-28 23:41:40 UTC
What is your sound system?
emerge -1a sys-apps/inxi
$ inxi -A
Comment 2 dan 2020-12-29 06:11:06 UTC
My sound system is Alsa+Pulse

$ inxi -A
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k5.4.83
Comment 3 Ionen Wolkens gentoo-dev 2021-06-28 03:17:53 UTC
You may need to set SDL_AUDIODRIVER manually depending on what you built libsdl with and how your system is setup, i.e. USE=pulseaudio on libsdl and SDL_AUDIODRIVER=pulse is most common, try =dummy (no sound) if all else fails.

This game seems fine for me as long as the above is valid.