You are not logged in.

#1 2021-01-16 01:46:21

Antkibo
Member
Registered: 2019-10-10
Posts: 2

Sound problem freezes PrBoom-Plus

Hi, am having problems with sound on prboom-plus (Doom source port). I have set up ALSA -> PulseAudio -> JACK with Cadence as per Arch's wiki, and calling the program from the terminal as follows

SDL_SOUNDFONTS=/usr/share/soundfonts/FluidR3_GM.sf2 prboom-plus

to get the sound working, as the SDL backend option doesn't work without it and the fluidsynth option throws an error and falls back to OPL emulation. On a previous Arch install, this command worked without problems. Right now, the program starts fine and the start screen music plays, but as soon as music changes (be it from selecting a level or from a demo playing) the program freezes and I have to kill it from another tty. Here's what it outputs before freezing

ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 933
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
fluidsynth: warning: Instrument not found on channel 9 [bank=128 prog=30], substituted [bank=128 prog=0]
G_DoPlayDemo: playing demo with Doom/Doom2 v1.9 compatibility
I_SignalHandler: Exiting on signal: signal 11
Killed

That last "Killed" is from using pkill. Can somebody help me? Thanks.

-------------

[UPDATE]

Seems the problem is fluidsynth, as I got a similar error when trying to play a midi file.

Last edited by Antkibo (2021-01-16 02:27:29)

Offline

Board footer

Powered by FluxBB