|
Post by gamefreak201 on Nov 11, 2010 18:01:31 GMT -5
I've been trying to launch the binary file for pSX, but I keep getting this error message.
[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 (core dumped)
If it helps to know this, I'm running a 32-bit system with Fedora 14 installed in it.
|
|
|
Post by tekhnolyze on Jan 12, 2011 16:40:24 GMT -5
Make sure you have the ALSA driver installed.
|
|
|
Post by realgecko on Jan 30, 2011 11:17:05 GMT -5
I have exactly the same problem. ALSA is up and running. 32 bit Mandriva 2010.2 Free.
|
|
|
Post by tekhnolyze on Feb 1, 2011 15:35:59 GMT -5
pSX has three Linux dependencies: OpenGL, ALSA, GTK, GTKGLEXT, and libxml2. Make sure each of these is installed, and up-to-date.
Make sure you've run chmod +x pSX to turn the binary into an executable
|
|
arek
New Member
Posts: 16
|
Post by arek on Feb 1, 2011 19:16:43 GMT -5
That particular error comes from PulseAudio. In order to get past it, you need to kill the PulseAudio daemon (pasuspender will NOT work in this case). Here's how:
first, create the text file ~/.pulse/client.conf with the following line in it:
autospawn = no Then issue the following command before running pSX:
pulseaudio -k and the following command after running pSX:
pulseaudio -D All that said, with the newest versions of Ubuntu, the linux version of pSX *still* doesn't work, giving me the following error:
pSX: pcm_params.c:2285: snd_pcm_hw_refine: Assertion `pcm && params' failed. Aborted
I hope this eventually helps somebody...and if anyone has gotten past the second error, please, let me know. :-)
--Arek
|
|
|
Post by Ultima on Feb 3, 2011 9:26:13 GMT -5
|
|
arek
New Member
Posts: 16
|
Post by arek on Feb 3, 2011 16:22:34 GMT -5
Thanks, Ultima, I hadn't seen that, but it doesn't really help me....I already know how to disable PA properly (it does, however, point out a problem I hadn't known about). The second error I get happens even with PA disabled.
That said, the Windows version of pSX works well in Wine, so I'll use that instead until 1.14 comes out (or someone figures out a workaround for the "pcm && params" error).
--Arek
|
|
|
Post by Ultima on Feb 4, 2011 19:50:34 GMT -5
That was the point of my linking; I wasn't telling you to disable PulseAudio.
|
|
|
Post by realgecko on Feb 5, 2011 13:47:34 GMT -5
pSX has three Linux dependencies: OpenGL, ALSA, GTK, GTKGLEXT, and libxml2. Make sure each of these is installed, and up-to-date. Make sure you've run chmod +x pSX to turn the binary into an executable yup, all this stuff is installed and updated. any other suggestions?
|
|