Divinity Original Sin 2: Two PS3 controller problem

Questions about Wine on Linux
Post Reply
webox
Newbie
Newbie
Posts: 4
Joined: Fri Jan 11, 2019 2:35 pm

Divinity Original Sin 2: Two PS3 controller problem

Post by webox » Fri Jan 11, 2019 2:52 pm

Hi. I use Ubuntu 18.04.1 LTS, and wine 4.0-rc5 (Staging).

Code: Select all

WINEDEBUG=+dinput WINEARCH=win64 wine64  "Divinity Original Sin 2/DefEd/bin/SupportTool.exe" 2>&1 | grep joydev_enum_device 
0009:warn:dinput:joydev_enum_deviceW force feedback not supported
0009:warn:dinput:joydev_enum_deviceW force feedback not supported
0009:trace:dinput:joydev_enum_deviceW Enumerating the linux Joystick device: /dev/input/js0 (Sony PLAYSTATION(R)3 Controller (js))
0009:trace:dinput:joydev_enum_deviceW Enumerating the linux Joystick device: /dev/input/js1 (SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller (js))
When I run test on windows all work perfectly, on linux all controller correctly work on Joystick (KDE environment program), qjoypad, and wine64 control -> game controllers, but inside game, cannot start coop, no reaction on press for second controller. I try swap between each other, no effect. Only one controller work, help with debug please.

User avatar
Bob Wya
Level 12
Level 12
Posts: 2759
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: Divinity Original Sin 2: Two PS3 controller problem

Post by Bob Wya » Tue Jan 15, 2019 8:38 am

webox wrote:Hi. I use Ubuntu 18.04.1 LTS, and wine 4.0-rc5 (Staging).
...
When I run test on windows all work perfectly, on linux all controller correctly work on Joystick (KDE environment program), qjoypad, and wine64 control -> game controllers, but inside game, cannot start coop, no reaction on press for second controller. I try swap between each other, no effect. Only one controller work, help with debug please.
It would be more useful to get a full terminal log, with the following debug channels enabled:

Code: Select all

export WINEDEBUG=+timestamp,+tid,+hid_report,+plugplay
wine start /unix "Divinity Original Sin 2/DefEd/bin/SupportTool.exe" &>~/wine_hid_plugplay_log.txt
Note: you don't need to set WINEARCH again, once a given WINEPREFIX has been initially created.

All the "heavy" lifting for Wine's controller support is implemented in:

Code: Select all

dlls/winebus.sys/...
using udev, hence why you'd want to enable those 2 Wine debug channels...

Bob

webox
Newbie
Newbie
Posts: 4
Joined: Fri Jan 11, 2019 2:35 pm

Re: Divinity Original Sin 2: Two PS3 controller problem

Post by webox » Tue Jan 15, 2019 2:14 pm

Hi, Bob, thank you for reply!Log file in attach.

landeel1
Newbie
Newbie
Posts: 1
Joined: Tue Jan 15, 2019 3:37 pm

Re: Divinity Original Sin 2: Two PS3 controller problem

Post by landeel1 » Tue Jan 15, 2019 3:39 pm


webox
Newbie
Newbie
Posts: 4
Joined: Fri Jan 11, 2019 2:35 pm

Re: Divinity Original Sin 2: Two PS3 controller problem

Post by webox » Wed Jan 16, 2019 3:53 pm

Many thanks! I rebuild from source, this commit fix my problem.

Code: Select all

wine64 --version
wine-4.0-rc6-26-ga15d4de557

Post Reply