1
Vote

CD-ROM plugin not working

description

Installed edge pcsxr from Ubuntu daily build PPA, hit this bug. Got fed up with Ubuntu and installed Arch Linux as a result of this, and then tried installing both pcsxr-git from Arch AUR, and building it myself. Same issue on all three:
__
/usr/lib/games/psemu/libDFCdrom.so: undefined symbol: mmc_run_cmd
__
or related errors (using plugins I think from 1.9.92):
__
/home/d/.pcsxr/plugins/libgpuPeteXGL2.so.2.0.9: wrong ELF class: ELFCLASS32
/home/d/.pcsxr/plugins/libDFCdrom.so: undefined symbol: mmc_run_cmd
__

Can't open the CD plugin!

Best I can figure is that this is some kind of problem with libcdio, guessing pcsxr is falling behind.

PCSXR tried at 1.9.94 and 1.9.93. libcdio version is 0.94. Kernel is 4.10.11-1-ARCH, x86_64.

comments

Solis wrote May 2 at 7:14 PM

Hello djvsh092tn3wig,

/home/d/.pcsxr/plugins/libgpuPeteXGL2.so.2.0.9: wrong ELF class: ELFCLASS32 This means your tring to
run a 32 bit plugin on a 64bit system which does not work. To use that plugin you will need

Multilib system + pcsxr 32bit + plugins 32 = work.
Multilib system + pcsxr 64bit + plugins 32 = does not work.

Pcsxr-1.9.92 came out august 2010. You should
try compiling lastest version of pcsxr. Here are instructions on how to do that.

Please note for sound the alsa sound has a bug with high compatibility mode. Use SDL or OpenAL for sound to get around that issue.

Before compiling i would delete the the old ./pcsxr directory by typing the following. (Backup your memory cards first)

rm -rf ~/.pcsxr

The newest version of pcsxr is 6484236cb028 - 18FEB2017 If you have an issue with xvideo crashing i would download pcsxr d305a9c07851 - 11NOV2016 to get around that issue.

https://pcsxr.codeplex.com/SourceControl/latest

For deb type systems you need the following dependencies.

sudo apt-get install subversion autoconf intltool libtool libsdl1.2-dev libgtk-3-dev libxv-dev libxtst-dev nasm libxxf86vm-dev build-essential libc6-dev

For Antergos Linux 64-bit/Arch i believe this is what you need.

sudo pacman -S libxv libtool sdl subversion libxtst nasm libxxf86vm gtk3 autogen autoconf-2.64 intltool

To compile pcsxr 6484236cb028 - 18FEB2017 do

cd /home/user/Downloads/pcsxr-version

cmake .
ccmake .
make
sudo make install

To compile pcsxr d305a9c07851 - 11NOV2016 follow the instructions below.

Then extract the pcsxr-version you dowloaded.

Then type in a ternimal : cd /home/yourusername/Downloads/pcsxr-version

You will need to do this to these files.

sed -i 's/\r//' '/home/user/Downloads/pcsxr-version/autogen.sh'
sed -i 's/\r//' '/home/user/Downloads/pcsxr-version/strip_fPIC.sh'
sed -i 's/\r//' '/home/user/Downloads/pcsxr-version/configure.ac'
sed -i 's/\r//' '/home/user/Downloads/pcsxr-version/po/Makefile.in.in'

then type: chmod 755 ./autogen.sh

then type: ./autogen.sh

./configure --prefix=/usr --enable-libcdio --enable-sound=sdl --enable-opengl --enable-sio1

then type: make

then type: sudo make install



To uninstall the pcsxr version you just installed.

cd /home/yourusername/Downloads/pcsxr-version

sudo make uninstall