ps3 controller works with everything BUT pcsx2
#1
ok, i'm going to start this with the obligatory "i'm probably missing something stupid but..." i'm new to pcsx2, so maybe i've just overlooked something obvious. i'm a long time linux user, and i've just upgraded to some new hardware. for a very long time i've been running on old junk, and this christmas i finally had an opportunity to get myself a decent system (dell XPS-8920 running linux mint 18.3) and i've been moving a lot of what i do from my half dozen miscellaneous junk boxes on to my now decent machine.

one of my systems was a raspberry pi3 running retropie because i love my old games(metroid, tetris, spyro, and abe's). as i set up retropie on my new system, i discovered i've got enough horsepower to run pcsx2, and was incredibly excited to be able to run some of my other favorites that just wouldn't go on the pi (GTA:VC and Kingdom Hearts!). i still have my ps2, but in the interest of de-cluttering, i'm trying to get everything running on this that i can.

i use a ps3 controller (actual sony, not a generic), and it works well with everything BUT pcsx2. i've read a number of articles on how to make this work, but nothing seems to do the trick sadly. my system definitely recognizes the controller, as it works well with spyro and metroid through retropie, and jstest shows events exactly as you would expect, but pcsx2 only gives me the option of "keyboard/mouse only" when trying to configure onepad.

noticing that that there were some mentions of retropie being only 32bit, and library conflicts (SDL2) i decided to completely uninstall retropie, and do a full ground up manual installation of emulationstation and pcsx2. that's failed as welll with the same result. i can use the ps3 controller with everything else, but no joy with pcsx2.

i installed according to https://launchpad.net/~gregory-hainaut/+...ficial.ppa and my versions currently show

PCSX2 1.4.0
OnePAD 0-Dev 1.1.0

any suggestions would be appreciated

d

edit: feel free to tell me i'm being stupid, and as long as you provide a link or advice that fixes this i'll be appreciative

edit 2:
PCSX2 1.4.0-0
Savestate version: 0x9a0b0000

Host Machine Init:
Operating System = Linux 4.10.0-38-generic x86_64
Physical RAM = 24009 MB
CPU name = Intel® Core™ i7-7700 CPU @ 3.60GHz
Vendor/Model = GenuineIntel (stepping 09)
CPU speed = 3.596 ghz (8 logical threads)
x86PType = Standard OEM
x86Flags = bfebfbff 7ffafbff
x86EFlags = 2c100000

x86 Features Detected:
SSE2.. SSE3.. SSSE3.. SSE4.1.. SSE4.2.. AVX.. AVX2.. FMA

Installing POSIX SIGSEGV handler...
Reserving memory for recompilers...

Loading plugins...
Binding GS: /usr/lib/i386-linux-gnu/pcsx2/libGSdx-1.0.0.so
Binding PAD: /usr/lib/i386-linux-gnu/pcsx2/libonepad-1.1.0.so
Binding SPU2: /usr/lib/i386-linux-gnu/pcsx2/libspu2x-2.0.0.so
Binding CDVD: /usr/lib/i386-linux-gnu/pcsx2/libCDVDnull.so
Binding USB: /usr/lib/i386-linux-gnu/pcsx2/libUSBnull-0.7.0.so
Binding FW: /usr/lib/i386-linux-gnu/pcsx2/libFWnull-0.7.0.so
Binding DEV9: /usr/lib/i386-linux-gnu/pcsx2/libdev9null-0.5.0.so
Plugins loaded successfully.

(GameDB) 9693 games on record (loaded in 130ms)
Reply

Sponsored links

#2
Is it working on 32 bots software? Maybe you miss a 32 bits library.

Note recent onepad are based on SDL 2 which might work better. But it seem that your pad isn't detected at all by SDL.
Reply
#3
(03-18-2018, 05:20 PM)gregory Wrote: Is it working on 32 bots software? Maybe you miss a 32 bits library.

Note recent onepad are based on SDL 2 which might work better. But it seem that your pad isn't detected at all by SDL.

yes, those were my two thoughts as well, which is why i'm asking here. this install process is very non-intuitive. my base operating system is definitely x64. after your comment, i went looking for a way to test my ps3 controller through sdl2 and found this project (posting my process here for anyone else in my situation)

https://github.com/Grumbel/sdl-jstest

upon trying to build it informed me that sdl2 wasn't installed, which was a great surprise to me, though i had been using retropie previously, which takes care of a lot in the way of dependencies in the background. i installed it using

sudo apt-get install libsdl-image1.2-dev
sudo apt-get install libsdl-dev

now the onepad config definitely sees the ps3 controller, so that's progress, but the controller still doesn't work in-game. here's the current log

PCSX2 1.4.0-0
Savestate version: 0x9a0b0000

Host Machine Init:
Operating System = Linux 4.10.0-38-generic x86_64
Physical RAM = 24009 MB
CPU name = Intel® Core™ i7-7700 CPU @ 3.60GHz
Vendor/Model = GenuineIntel (stepping 09)
CPU speed = 3.596 ghz (8 logical threads)
x86PType = Standard OEM
x86Flags = bfebfbff 7ffafbff
x86EFlags = 2c100000

x86 Features Detected:
SSE2.. SSE3.. SSSE3.. SSE4.1.. SSE4.2.. AVX.. AVX2.. FMA

Installing POSIX SIGSEGV handler...
Reserving memory for recompilers...

Loading plugins...
Binding GS: /usr/lib/i386-linux-gnu/pcsx2/libGSdx-1.0.0.so
Binding PAD: /usr/lib/i386-linux-gnu/pcsx2/libonepad-1.1.0.so
Binding SPU2: /usr/lib/i386-linux-gnu/pcsx2/libspu2x-2.0.0.so
Binding CDVD: /usr/lib/i386-linux-gnu/pcsx2/libCDVDnull.so
Binding USB: /usr/lib/i386-linux-gnu/pcsx2/libUSBnull-0.7.0.so
Binding FW: /usr/lib/i386-linux-gnu/pcsx2/libFWnull-0.7.0.so
Binding DEV9: /usr/lib/i386-linux-gnu/pcsx2/libdev9null-0.5.0.so
Plugins loaded successfully.

(GameDB) 9693 games on record (loaded in 141ms)
HotSwapping to new ISO src image!
HLE Notice: ELF does not have a path.


Initializing plugins...
Init GS
Init PAD
Init SPU2
Init CDVD
Init USB
Init FW
Init DEV9
Plugins initialized successfully.

Opening plugins...
Opening GS
glX-Version 1.4 with Direct Rendering
Buggy driver detected. Geometry shaders will be disabled
Buggy driver detected, GL_ARB_separate_shader_objects will be disabled
Opening PAD
Opening SPU2
ALSA lib conf.c:3357Sadsnd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:954Sadsnd_ctl_open_noupdate) Invalid CTL hw:0
ALSA lib pcm.c:2266Sadsnd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266Sadsnd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266Sadsnd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867Sadfind_matching_chmap) Found no matching channel map
ALSA lib dlmisc.c:254Sadsnd1_dlobj_cache_get) Cannot open shared library /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:254Sadsnd1_dlobj_cache_get) Cannot open shared library /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
* SPU2-X: Enumerating PortAudio devices:
*** Device 0: 'HDA ATI HDMI: 0 (hw:1,3)' (ALSA)
*** Device 1: 'HDA ATI HDMI: 1 (hw:1,7)' (ALSA)
*** Device 2: 'HDA ATI HDMI: 2 (hw:1,8)' (ALSA)
*** Device 3: 'HDA ATI HDMI: 3 (hw:1,9)' (ALSA)
*** Device 4: 'HDA ATI HDMI: 4 (hw:1,10)' (ALSA)
*** Device 5: 'HDA ATI HDMI: 5 (hw:1,11)' (ALSA)
*** Device 6: 'sysdefault' (ALSA)
*** Device 7: 'front' (ALSA)
*** Device 8: 'surround21' (ALSA)
*** Device 9: 'surround40' (ALSA)
*** Device 10: 'surround41' (ALSA)
*** Device 11: 'surround50' (ALSA)
*** Device 12: 'surround51' (ALSA)
*** Device 13: 'surround71' (ALSA)
*** Device 14: 'hdmi' (ALSA)
*** Device 15: 'default' (ALSA) (selected)
*** Device 16: 'dmix' (ALSA)
Opening CDVD
isoFile open ok: /home/d/RetroPie/roms/ps2/Kingdom Hearts (USA).iso
Image type = DVD
* CDVD Disk Open: DVD, Single layer or unknown:
* * Track 1: Data (Mode 1) (1484928 sectors)
Opening USB
Opening FW
Opening DEV9
McdSlot 0 [File]: /home/d/.config/PCSX2/memcards/Mcd001.ps2
McdSlot 1 [File]: /home/d/.config/PCSX2/memcards/Mcd002.ps2
McdSlot 2 [File]: [is not memcard file]
McdSlot 3 [File]: [is not memcard file]
McdSlot 4 [File]: [is not memcard file]
Plugins opened successfully.
EE/iR5900-32 Recompiler Reset
Bios Found: USA v01.60(07/02/2002) Console
BIOS r module not found, skipping...
BIOS r module not found, skipping...
BIOS e module not found, skipping...
(UpdateVSyncRate) Mode Changed to NTSC.
(UpdateVSyncRate) FPS Limit Changed : 59.94 fps
# Initialize memory (rev:3.63, ctm:392Mhz, cpuclk:294Mhz detected)

PlayStation 2 ======== Hard reset boot
ROMGEN=2002-0207, IOP info (CPUID=1f, CACH_CONFIG=0, 2MB, IOP mode)
<20020207-164243,ROMconf,PS20160AC20020207.bin:11552>
# Total accessable memory size: 32 MB (B:2:8:0) (363:2:7c30)
# TLB spad=0 kernel=1:12 default=13:30 extended=31:38
# Initialize Start.
# Initialize GS ...
# Initialize INTC ...
# Initialize TIMER ...
# Initialize DMAC ...
# Initialize VU1 ...
# Initialize VIF1 ...
# Initialize GIF ...
# Initialize VU0 ...
# Initialize VIF0 ...
# Initialize IPU ...
# Initialize FPU ...
# Initialize User Memory ...
# Initialize Scratch Pad ...
# Initialize Done.

EE DECI2 Manager version 0.06 Feb 7 2002 16:41:20
CPUID=2e20, BoardID=0, ROMGEN=2002-0207, 32M

(SYSTEM.CNF) Detected PS2 Disc = cdrom0:\SLUS_203.70;1
(SYSTEM.CNF) Software version = 1.01
(SYSTEM.CNF) Disc region type = NTSC
ELF (cdrom0:\SLUS_203.70;1) Game CRC = 0x0F6B6315, EntryPoint = 0x00100008
(SYSTEM.CNF) Detected PS2 Disc = cdrom0:\SLUS_203.70;1
(SYSTEM.CNF) Software version = 1.01
(SYSTEM.CNF) Disc region type = NTSC


IOP Realtime Kernel Ver.0.9.1

Copyright 1999 © Sony Computer Entertainment Inc.

Reboot service module.(99/11/10)
cdvd driver module version 0.1.1 ©SCEI
Load File service.(99/11/05)
Multi Threaded Fileio module.(99/11/15)
iop heap service (99/11/03)
loadelf: fname cdrom0:¥SLUS_203.70;1 secname all
loadelf version 3.30
Input ELF format filename = cdrom0:¥SLUS_203.70;1
1 00100000 0038d3f8 .........................................................
Loaded, cdrom0:¥SLUS_203.70;1
start address 0x100008
gp address 00000000
# Restart Without Memory Clear.
# Initialize GS ...
# Initialize INTC ...
# Initialize TIMER ...
# Initialize DMAC ...
# Initialize VU1 ...
# Initialize VIF1 ...
# Initialize GIF ...
# Initialize VU0 ...
# Initialize VIF0 ...
# Initialize IPU ...
# Initialize FPU ...
# Initialize Scratch Pad ...
# Restart Without Memory Clear Done.
Get Reboot Request From EE
ROM directory not found

PlayStation 2 ======== Update rebooting..

PlayStation 2 ======== Update reboot complete
cdvdman Init


IOP Realtime Kernel Ver. 2.2

Copyright 1999-2002 © Sony Computer Entertainment Inc.

Reboot service module.(99/11/10)
cdvd driver module version 0.1.1 ©SCEI
Load File service.(99/11/05)
Multi Threaded Fileio module.(99/11/15)
iop heap service (99/11/03)
loadmodule: fname cdrom0:¥SIO2MAN.IRX args 0 arg
loadmodule: id 25, ret 0
loadmodule: fname cdrom0:¥SIO2D.IRX args 0 arg
loadmodule: id 26, ret 0
loadmodule: fname cdrom0:¥DBCMAN.IRX args 0 arg
loadmodule: id 27, ret 0
loadmodule: fname cdrom0:¥DS2O.IRX args 0 arg
loadmodule: id 28, ret 0
loadmodule: fname cdrom0:¥DS2O.IRX args 0 arg
loadmodule: id 29, ret 0
loadmodule: fname cdrom0:¥MCMAN.IRX args 0 arg
loadmodule: id 30, ret 2
loadmodule: fname cdrom0:¥MCSERV.IRX args 0 arg
loadmodule: id 31, ret 2
loadmodule: fname cdrom0:¥LIBSD.IRX args 0 arg
loadmodule: id 32, ret 0
loadmodule: fname cdrom0:¥LIBSSL.IRX args 0 arg
SquareSounds SoundDriver Apr 26 2002 12:15:13
loadmodule: id 33, ret 2
041900:041900 03bfd8:03c000:03bfd8 0000:0000 1:00000 3:000 4:000 5:000 6:0000 7:0000 8:0000
sound:000131:SeStandby bank( 2) count( 1)
sound:000132:WaveStandby bank( 2) no( 0) spu(1c6900-1f522f) size( 2e930)
041900:041900 03bfd8:0361d0:036198 0000:0000 1:00000 3:000 4:000 5:000 6:0000 7:0000 8:0000
041900:041900 03bfd8:0361d0:036198 0000:0000 1:00000 3:000 4:000 5:000 6:0000 7:0000 8:0000
sound:000247:SeStandby bank(-8) count( 1)
sound:000248:WaveStandby bank(-8) no(1003) spu(128900-1535cf) size( 2acd0)
041900:041900 03bfd8:035e50:035e08 0000:0000 1:00000 3:000 4:000 5:000 6:0000 7:0000 8:0380
sound:000283:BgmStandby bank( 0) no( 110)
sound:000285:WaveStandby bank( 0) no( 110) spu(020000-08a44f) size( 6a450)
041900:041900 03bfd8:035490:035438 09c0:0000 1:00000 3:000 4:000 5:000 6:0000 7:0000 8:0380
Closing plugins...
Closing DEV9
Closing FW
Closing USB
Closing CDVD
Closing SPU2
Closing PAD
Closing GS
Plugins closed successfully.
Reply
#4
replying to my own post to report problem solved! another non-intuitive situation.

the default config doesn't actually have bindings for the controller. after going through the config dialogue and registering the buttons on the controller, all seems to work properly now. thanks for the help
Reply
#5
(03-18-2018, 09:21 PM)pspixie Wrote: replying to my own post to report problem solved! another non-intuitive situation.

the default config doesn't actually have bindings for the controller. after going through the config dialogue and registering the buttons on the controller, all seems to work properly now. thanks for the help

Cool

Latest onepad will autoconfigure the pad (however you won't be able to update it easily)
Reply




Users browsing this thread: 1 Guest(s)