Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

ePSXe is my favor emulator. It does not work in Ubuntu 11.10. It ask me for libgtk1.2 and I cant find it within 11.10? pSX told me that:

(pSX:6367): 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

I have no idea about that. It there anyone can help? Why removing libgtk1.2 ???

share|improve this question

3 Answers 3

pSX seems to be broken; I've asked about it before and haven't been able to get an answer. As for ePSXe, my guess is that libgtk has been upgraded a couple of times and v1.2 is now deprecated. In any case, you may want to try PCSX-Reloaded, it's in the Ubuntu Software Center. It works for me.

share|improve this answer

pSX isn't broken for me.

If you already installed libgtkglext1 from package manager:

The problem that shows you have around pulseaudio was included.

The easier solution is runing pSX like root (sudo ./pSX), the emulator shows and run. Then you should change the audio conf at file/configuration and sound tab.

The device is setting like "Default" and need to be your device name (change this option with your dev). Now you can close the emulator.

Look for the psx.ini file in the root folder (/root/.pSX/psx.ini) and copy the sound device code, this would look like this:

[Sound]
Frequency=-1
Sync=1
Reverb=1
Interpolate=1
Latency=32
XALatency=20
Device=b7d317a4 (this is my dev, your could be different)

Now open the INI file, but the one of your user (for example: /home/yourusername/.pSX/psx.ini) and paste the device code that you copy before.

Your emulator should run fine now.

Don't know if the epsxe problem share the same solution.

share|improve this answer
    
great answer. Also, x64 users still experiencing problems should install the required x86 (32 bits) libs, then it works fine in x64 ubuntu. –  random_user Jan 23 at 3:18

I can run ePSXe in Ubuntu 14.04. So I think it should work in previous Ubuntu versions as well. It took me some days of trial and error until I found a decent solution. I have a 64 bit machine and can't assure this is going to work with a 32 bit operating system.

sudo dpkg -i libstdc++2.10-glibc2.2_2.95.4-27_i386.deb
sudo dpkg -i libglib1.2ldbl_1.2.10-19build1_i386.deb
sudo dpkg -i libgtk1.2-common_1.2.10-18.1build2_all.deb
sudo apt-get install libsdl-ttf2.0-0:i386
sudo apt-get install gtk2-engines:i386

I don't know if the next packages are necessary but there will be no harm on installing them:

sudo apt-get install libgtk2.0-0:i386
sudo apt-get install gtk2-engines-murrine:i386
sudo apt-get install libcanberra-gtk-module:i386
sudo apt-get install unity-gtk2-module:i386

If you are going to use spuEternal sound plugin (it's my favorite) you should download libsdl1.2debian_1.2.15-5ubuntu1_i386.deb and extract its contents to copy the shared libraries. You need libSDL-1.2.so.0.11.4 and libSDL-1.2.so.0 (which is a symlink). Copy those two a any place you want (I like to create a subdirectory inside of epsxe directory).

Now extract libgtk1.2_1.2.10-18.1build2_i386.deb contents and all lib directory contents to the lib directory (inside epsxe directory) you created on the previous step.

Now go the lib directory (the one you have just created) and do this:

ln -s libSDL-1.2.so.0.11.4 libSDL.so

In order to configurate spuEternal plugin the previous step is necessary.

Now create a bash to run ePSXe:

#!/bin/bash
unset GTK_MODULES
LD_LIBRARY_PATH=/home/yourusername/epsxe/lib /home/yourusername/epsxe/epsxe

I hope this can be helpful :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.