PCSX-R in Ubuntu 18.04 cannot configure controllers when more then 1 gamepad is connected

Bug #1843503 reported by Josefien
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu MATE
Invalid
Undecided
Unassigned
pcsxr (Debian)
Fix Released
Unknown
pcsxr (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On Ubuntu MATE 18.04 you can't configure controllers in PCSX-R (package pcsxr from the official repositories) when more then 1 USB game controller (standard USB HID device) is connected to the PC.

There's just nothing happen when "Configuration" => "Controllers" is clicked in PCSX-R if there is more then 1 game controller connected to the PC.

When only 1 game controller is connected then it's fine.

Older Ubuntu MATE 16.04 don't have this problem.

Also: on 16.04 the configure-screen shows the controller manufacture/model in the list, in 18.04 it only shows "1: null" when one controller is connected. More controllers connected = the configure-screen can't even get opened.

It looks like the problem lies in the newer input-plugin (1.2.0) which is delivered with the pcsxr package in 18.04. In older 16.04 pcsxr package the plugin is version 1.1.0.

A dirty solution is to copy the old plugin files from Ubuntu 16.04 to 18.04:

Overwrite "cfgDFInput" and "libDFInput.so" in "/usr/lib/i386-linux-gnu/psemu" on 18.04 with the older files from 16.04.

Take /usr/share/psemu/dfinput.glade2 from 16.04 and put it in the same location on 18.04. Then install libglade2-0 package and the pcsxr in 18.04 will work with 2 or more USB gamepads connected using the older 1.1.0 input plugin.

Tags: patch pcsxr
Changed in ubuntu-mate:
status: New → Invalid
Revision history for this message
Josefien (josefien1989) wrote :

How is this "invalid"? I've tested this on three different PC's with Ubuntu MATE 18.04 (both 32 and 64 bit) and all three are showing this problem.

Revision history for this message
m4dm4x1337 (m4dm4x1337) wrote :

I can confirm that this bug exists

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pcsxr (Ubuntu):
status: New → Confirmed
Revision history for this message
Josefien (josefien1989) wrote :

This bug still exist in PCSX-R included in Ubuntu 20.04 LTS 64-bit. And still can work around using the files from Ubuntu 16.04 64-bit.

Why it this bug still not fixed?

Revision history for this message
John Morris (1pt1nq88tvxvjiijcixknc4iaqh3-na9c-8aho930n7szvk8tyqp2yd0cny5gr) wrote :

Thanks to @josefien1989's detailed description of the workaround, I tracked this bug down to misuse of the SDL API.

Patch tested on Ubuntu Focal.

Revision history for this message
John Morris (1pt1nq88tvxvjiijcixknc4iaqh3-na9c-8aho930n7szvk8tyqp2yd0cny5gr) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001-Fix-multiple-joystick-detection.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in pcsxr (Debian):
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pcsxr - 1.9.94-6

---------------
pcsxr (1.9.94-6) unstable; urgency=medium

  * d/control:
    - Replace obsolete libgl1-mesa-dev build dependency.
    - Bump standards version to 4.6.2.
  * d/patches:
    - Fix incorrect use of %p in 06_warnings.patch.
    - Add patch to fix FTBFS with dpkg 1.22.6. (Closes: #1066715)
    - Add patch to fix 2nd joystick bug. (Closes: #912171) (LP: #1843503)

 -- James Cowgill <email address hidden> Tue, 26 Mar 2024 13:41:43 +0000

Changed in pcsxr (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.