SPU2x not available in my r4206 linux build
#1
Hi all!

I installed r4206 in my Archlinux 64 bits and I'm able to play my games. However, the plugin SPU2x seems to not be working. I can't remember since which svn revision this plugin is not working, but it was working fine in the r3881 linux binary. Right now, I only have available SPUnull and ZeroSPU Playground (which I think is responsible for some crashes).

The SPU2x error message in the Program Log is:
Code:
[wx] Unknown dynamic library error
Path: /opt/pcsx2/plugins/libspu2x.so
File is not a valid dynamic library.
Some kinda plugin failure: /opt/pcsx2/plugins/libspu2x.so

Any idea what could be wrong? Is there any test or debug option that I could enable to get more information on this error?

Thanks in advance!


Attached Files
.txt   log.txt (Size: 2,04 KB / Downloads: 269)
Reply

Sponsored links

#2
Call `ldd /opt/pcsx2/plugins/libspu2x.so` and post results here.
Gentoo Linux x86(chroot)
Intel Core2 Quad CPU Q6600 @ 2.40GHz
nVidia Geforce 8800GT
Reply
#3
Code:
$ ldd /opt/pcsx2/plugins/libspu2x.so
    linux-gate.so.1 =>  (0xf7783000)
    libasound.so.2 => /usr/lib32/libasound.so.2 (0xf740f000)
    libportaudio.so.2 => /usr/lib32/libportaudio.so.2 (0xf73e9000)
    libwx_baseu-2.8.so.0 => /usr/lib32/libwx_baseu-2.8.so.0 (0xf72a0000)
    libwx_gtk2u_core-2.8.so.0 => /usr/lib32/libwx_gtk2u_core-2.8.so.0 (0xf6f6d000)
    libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf6e7d000)
    libm.so.6 => /usr/lib32/libm.so.6 (0xf6e58000)
    libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf6e3e000)
    libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf6e24000)
    libc.so.6 => /usr/lib32/libc.so.6 (0xf6cd8000)
    libdl.so.2 => /usr/lib32/libdl.so.2 (0xf6cd4000)
    librt.so.1 => /usr/lib32/librt.so.1 (0xf6cca000)
    libjack.so.0 => not found
    libz.so.1 => /usr/lib32/libz.so.1 (0xf6cb5000)
    libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0xf68ef000)
    libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf6859000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0xf683c000)
    libpng14.so.14 => /usr/lib32/libpng14.so.14 (0xf6816000)
    libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0xf67d5000)
    libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf6790000)
    libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf678c000)
    libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf66bb000)
    libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf66b8000)
    libXxf86vm.so.1 => /usr/lib32/libXxf86vm.so.1 (0xf66b3000)
    libSM.so.6 => /usr/lib32/libSM.so.6 (0xf66ac000)
    libjpeg.so.8 => /usr/lib32/libjpeg.so.8 (0xf6677000)
    libtiff.so.3 => /usr/lib32/libtiff.so.3 (0xf661c000)
    /lib/ld-linux.so.2 (0xf7784000)
    libXext.so.6 => /usr/lib32/libXext.so.6 (0xf660e000)
    libXi.so.6 => /usr/lib32/libXi.so.6 (0xf6601000)
    libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf65fa000)
    libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf65f1000)
    libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0xf65e6000)
    libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0xf65e2000)
    libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf65df000)
    libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf65da000)
    libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf65bf000)
    libcairo.so.2 => /usr/lib32/libcairo.so.2 (0xf6520000)
    libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0xf64b3000)
    libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf64ab000)
    libX11.so.6 => /usr/lib32/libX11.so.6 (0xf6390000)
    libgio-2.0.so.0 => /usr/lib32/libgio-2.0.so.0 (0xf62a5000)
    libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf627e000)
    libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf61f8000)
    libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf61ca000)
    libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xf61c7000)
    libpcre.so.0 => /usr/lib32/libpcre.so.0 (0xf6190000)
    libICE.so.6 => /usr/lib32/libICE.so.6 (0xf6178000)
    libuuid.so.1 => /usr/lib32/libuuid.so.1 (0xf6174000)
    libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf615c000)
    libresolv.so.2 => /usr/lib32/libresolv.so.2 (0xf6147000)
    libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf611d000)
    libXau.so.6 => /usr/lib32/libXau.so.6 (0xf611a000)
    libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf6115000)
Reply
#4
Where did you get the plugins?

I'm not sure it is related but in your ldd log:libjack.so.0 => not found seem bad
Reply
#5
Indeed libjack was not installed, which means I had a broken dependency in portaudio. Reinstalled and that error reported doesn't get displayed anymore, but I get no audio with SPU2x.

Tested it with linux binary 3881 and with svn 4208 and got the same result: As soon as I run 'boot (fast)' I see the error message below in the console output.
Code:
* SPU2-X: Enumerating PortAudio devices: *** Device 0: 'HDA Intel: ALC883 Digital (hw:0,1)' (ALSA)
*** Device 1: 'HDA Intel: ALC883 Analog (hw:0,2)' (ALSA)
*** Device 2: 'iec958' (ALSA)
*** Device 3: 'spdif' (ALSA)
*** Device 4: 'default' (ALSA)
*** Device 5: 'dmix' (ALSA)
* SPU2-X: PortAudio error: Device unavailable

Sorry, don't know what it means. I notice that a ubuntu user had this same error (thread SPU2-X no sound ubuntu)

Ideas?

Thanks


Attached Files
.txt   r3881_output_program-log.txt (Size: 6,47 KB / Downloads: 1.016)
.txt   r4208_output_program-log.txt (Size: 16,24 KB / Downloads: 841)
.txt   ldd_spu2x_log.txt (Size: 3,17 KB / Downloads: 286)
.txt   log.txt (Size: 19,61 KB / Downloads: 256)
Reply
#6
1/ Check that no others program use audio devices, close everythings.

2/ open this file ~/.config/pcsx2/inis/spu2-x.ini
Look at PORTAUDIO section and change parameter to
HostApi=ALSA
Device=default
Reply
#7
3/ try ZeroSPU2.
Gentoo Linux x86(chroot)
Intel Core2 Quad CPU Q6600 @ 2.40GHz
nVidia Geforce 8800GT
Reply
#8
I made the requested tests with both Tales of Abyss and FFX International and got the following results:

Quote:1/ Check that no others program use audio devices, close everythings.
Started PCSX2 with no other program that uses audio opened, sound works perfectly with SPU2-X (woot?! -_-), closed PCSX2, opened a movie in VLC, started PCSX2, sound didn't work, closed PCSX2 and VLC.

Quote:2/ open this file ~/.config/pcsx2/inis/spu2-x.ini
Look at PORTAUDIO section and change parameter to
HostApi=ALSA
Device=default

"HostApi" was "Unknown". Changed to "ALSA". Then I made the same tests in 1/, but I also notice that now openning PCSX2 with VLC, sound works for both simultaneously.
Then I changed "HostApi" to "Unknown" and tried to open VLC after PCSX2 and VLC complainned that audio device was not available. (or busy, maybe?)

Quote:3/ try ZeroSPU2.
With ZeroSPU I always had audio output, but I notice that sometimes it crashes reporting declaration failure. For example, see attached the screenshot I took when starting Tales of Abyss.

Well, it seems to be solved (Thanks a lot!! Laugh), but, Gregory, why this config "Unknown" in HostApi gives me this error?


Attached Files Thumbnail(s)
   
Reply
#9
In some system (as mine), unknow api seems to fallback to OSS (instead of ALSA or whatever). However in OSS only 1 application can access the sound card. I really need to found a way to improve that.

Edit: 1 common point between ours 3 system are 64 bits...
Reply
#10
(01-16-2011, 11:36 AM)gregory Wrote: However in OSS only 1 application can access the sound card. I really need to found a way to improve that.
OSS or OSS emulation from ALSA? I now use OSSv4 and even have own volume manager for each application.

Gentoo Linux x86(chroot)
Intel Core2 Quad CPU Q6600 @ 2.40GHz
nVidia Geforce 8800GT
Reply




Users browsing this thread: 1 Guest(s)