Inquisitorthemad
June 16th, 2009, 04:56 AM
I am trying to run the pSX emulator on this laptop. It worked fine when I was using Ubuntu 9.04 (though I downgraded for hopefully unrelated stability reasons) so it probably isn't the hardware, but when I try to run it - as root or as myself - I get the following:
[src/linux/sound.cpp, line 215]: 'snd_pcm_hw_params_set_access(pcm_handle,hwparams, SND_PCM_ACCESS_MMAP_INTERLEAVED)' returned 'Invalid argument'
pad=0
Segmentation fault
Classically, the solution is to kill Pulseaudio first, and this worked in Jaunty. In Intrepid, however, I instead get the following message, regardless of whether or not I use sudo:
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused
[src/linux/sound.cpp, line 582]: 'snd_pcm_open(&pcm_handle,dev->info->device_fname,SND_PCM_STREAM_PLAYBACK,0)' returned 'Connection refused'
pSX: pcm_params.c:2259: snd_pcm_hw_refine: Assertion `pcm && params' failed.
Aborted
Furthermore, even when I uninstalled PulseAudio from the system outright, I got the latter "connection refused" error message. Nothing I can think of has worked.
Can anyone help me work out what these error messages mean, and what I should do about them?
[src/linux/sound.cpp, line 215]: 'snd_pcm_hw_params_set_access(pcm_handle,hwparams, SND_PCM_ACCESS_MMAP_INTERLEAVED)' returned 'Invalid argument'
pad=0
Segmentation fault
Classically, the solution is to kill Pulseaudio first, and this worked in Jaunty. In Intrepid, however, I instead get the following message, regardless of whether or not I use sudo:
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused
[src/linux/sound.cpp, line 582]: 'snd_pcm_open(&pcm_handle,dev->info->device_fname,SND_PCM_STREAM_PLAYBACK,0)' returned 'Connection refused'
pSX: pcm_params.c:2259: snd_pcm_hw_refine: Assertion `pcm && params' failed.
Aborted
Furthermore, even when I uninstalled PulseAudio from the system outright, I got the latter "connection refused" error message. Nothing I can think of has worked.
Can anyone help me work out what these error messages mean, and what I should do about them?