PDA

View Full Version : pSX Emulator Help



Jman1989
April 3rd, 2009, 02:06 PM
I should start of by saying, I am a COMPLETE NEWBIE when it comes to Ubuntu linux. I am having a bit of a problem with the pSX emulator. When I load the bios and click ok, it just crashes. The emulator window never comes up. I ran it in the terminal and it said this

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:21967): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(pSX:21967): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(pSX:21967): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(pSX:21967): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(pSX:21967): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(pSX:21967): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(pSX:21967): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(pSX:21967): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
pSX: pcm_params.c:2259: snd_pcm_hw_refine: Assertion `pcm && params' failed.
Aborted

Any know how to solve the problem? I am running Ubuntu 8.10. Please help if you can!

Tobi-fp
April 3rd, 2009, 02:11 PM
It seams that your sound card is busy and clocking up..
This should be easy..try restarting your system, then run it as the first thing you do, dont open anything using your sound card..
Also, in the PSx emulator, try setting your sound config differently...

Tobi-fp
April 3rd, 2009, 02:12 PM
also try to install the glibc with
sudo apt-get install glibc

Jman1989
April 3rd, 2009, 03:07 PM
I restarted and I just tried to install glibc and it said Couldn't find package. Also I put pSX into the terminal again and it gave me a different error this time. Now it says


(pSX:6134): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(pSX:6134): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(pSX:6134): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(pSX:6134): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(pSX:6134): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(pSX:6134): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(pSX:6134): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(pSX:6134): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(pSX:6134): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(pSX:6134): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(pSX:6134): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(pSX:6134): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(pSX:6134): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(pSX:6134): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(pSX:6134): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(pSX:6134): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
[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

Im so confused x_x

Grishka
April 3rd, 2009, 04:12 PM
do 'killall pulseaudio', before running psx.

Jman1989
April 4th, 2009, 02:52 PM
Just did killall pulseaudio and it still will not load up.

dfreer
April 4th, 2009, 07:31 PM
Just did killall pulseaudio and it still will not load up.

I believe you need root permission to kill pulseaudio, been awhile since I ran Ubuntu. Try sudo killall pulseaudio, then check your running processes with gnome-system-monitor and make sure it is no longer running before starting pSX.

There are a couple scripts that have been created to kill pulseaudio, launch pSX, then restart pulseaudio when you are done playing. My (rather long) pSX thread should have a couple in it.

As for those GLib errors, they are safe to ignore. Installing libgtkglext1-dev should get rid of them anyways.