Onlive client, working, mouse issue

Questions about Wine on Linux
frigginjoe
Level 1
Level 1
Posts: 5
Joined: Mon May 09, 2011 8:05 pm

Onlive client, working, mouse issue

Post by frigginjoe »

As of WINE 1.3.19 the Onlive client connects and runs nicely.
I'm using Ubuntu 11.04, and no firewall software to let it connect.

The only problem mouse input (DirectInput I guess) does not work while controlling a player in any games I've tried. It work fine in the Onlive interface and even during in-game menu systems.

Any suggestions for an override on this?
I'm not experienced with WINE at all, Crossover and now using it to try and get Onlive working so I can stop rebooting are my only two cases of exposure so far.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Onlive client, working, mouse issue

Post by vitamin »

frigginjoe wrote:The only problem mouse input (DirectInput I guess) does not work while controlling a player in any games I've tried.
Post complete terminal output. If it's too big, please use pastebin.
frigginjoe
Level 1
Level 1
Posts: 5
Joined: Mon May 09, 2011 8:05 pm

Post by frigginjoe »

fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
fixme:dwmapi:DwmIsCompositionEnabled 0xc7f5c4
fixme:wbemprox:wbem_locator_ConnectServer 0x122a08, L"\\\\.\\root\\cimv2", (null), (null), (null), 0x00000000, (null), (nil), 0xc7f3b0)
fixme:xinput:XInputEnable (1) Stub!
fixme:xinput:XInputGetCapabilities (0 0 0xc7f55c)
fixme:win:RegisterRawInputDevices (pRawInputDevices=0xc7f3dc, uiNumDevices=1, cbSize=12) stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x154e2a8,0x00000000), stub!
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:thread:SetThreadIdealProcessor (0x10c): stub
fixme:thread:SetThreadIdealProcessor (0x110): stub
fixme:dwmapi:DwmIsCompositionEnabled 0xc7f5b8
fixme:win:EnumDisplayDevicesW ((null),0,0xc7f068,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0xc7f060,0x00000000), stub!
fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0xc7f010,0x00000000), stub!
fixme:wlanapi:WlanOpenHandle (1, (nil), 0xc7f424, 0xc7f400) stub
fixme:wbemprox:wbem_locator_ConnectServer 0x20bdf0, L"\\\\.\\root\\cimv2", (null), (null), (null), 0x00000000, (null), (nil), 0xc7f59c)
fixme:win:EnumDisplayDevicesW ((null),0,0xc7eae0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0xc7e504,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0xc7e5f4,0x00000000), stub!
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a760-90c8-11d0-bd43-00a0c911ce86} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a761-90c8-11d0-bd43-00a0c911ce86} not found
err:avicap:query_video_device /dev/video0: Querying failed: Not a V4L compatible device
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb41-f175-11d1-a392-00e0291f3959} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb46-f175-11d1-a392-00e0291f3959} not found
fixme:win:EnumDisplayDevicesW ((null),0,0xc7f0bc,0x00000000), stub!
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
fixme:wlanapi:WlanOpenHandle (1, (nil), 0xc7ed70, 0xc7ed68) stub
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x15cb28,0x200e10): stub
fixme:thread:SetThreadIdealProcessor (0x228): stub
fixme:thread:SetThreadIdealProcessor (0x22c): stub
fixme:xinput:XInputSetState (0 0x4a8e728) Stub!
fixme:xinput:XInputSetState (1 0x4a8e728) Stub!
fixme:xinput:XInputSetState (2 0x4a8e728) Stub!
fixme:xinput:XInputSetState (3 0x4a8e728) Stub!
fixme:xinput:XInputSetState (0 0x4a8e6f0) Stub!
fixme:xinput:XInputSetState (1 0x4a8e6f0) Stub!
fixme:xinput:XInputSetState (2 0x4a8e6f0) Stub!
fixme:xinput:XInputSetState (3 0x4a8e6f0) Stub!
fixme:xinput:XInputSetState (0 0x4a8e728) Stub!
fixme:xinput:XInputSetState (1 0x4a8e728) Stub!
fixme:xinput:XInputSetState (2 0x4a8e728) Stub!
fixme:xinput:XInputSetState (3 0x4a8e728) Stub!
fixme:xinput:XInputSetState (0 0x4a8e6f0) Stub!
fixme:xinput:XInputSetState (1 0x4a8e6f0) Stub!
fixme:xinput:XInputSetState (2 0x4a8e6f0) Stub!
fixme:xinput:XInputSetState (3 0x4a8e6f0) Stub!
fixme:xinput:XInputSetState (0 0x4a8e728) Stub!
fixme:xinput:XInputSetState (1 0x4a8e728) Stub!
fixme:xinput:XInputSetState (2 0x4a8e728) Stub!
fixme:xinput:XInputSetState (3 0x4a8e728) Stub!
fixme:xinput:XInputSetState (0 0x4a8e6f4) Stub!
fixme:xinput:XInputSetState (1 0x4a8e6f4) Stub!
fixme:xinput:XInputSetState (2 0x4a8e6f4) Stub!
fixme:xinput:XInputSetState (3 0x4a8e6f4) Stub!
fixme:xinput:XInputSetState (0 0x4a8e6f8) Stub!
fixme:xinput:XInputSetState (1 0x4a8e6f8) Stub!
fixme:xinput:XInputSetState (2 0x4a8e6f8) Stub!
fixme:xinput:XInputSetState (3 0x4a8e6f8) Stub!
fixme:win:AnimateWindow partial stub
fixme:xinput:XInputSetState (0 0x678e9d8) Stub!
fixme:xinput:XInputSetState (1 0x678e9d8) Stub!
fixme:xinput:XInputSetState (2 0x678e9d8) Stub!
fixme:xinput:XInputSetState (3 0x678e9d8) Stub!
joe@joe-MBPx:~/Desktop/OnLive$
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

frigginjoe wrote:fixme:win:RegisterRawInputDevices (pRawInputDevices=0xc7f3dc, uiNumDevices=1, cbSize=12) stub!
fixme:xinput:XInputSetState (0 0x4a8e728) Stub!
These are are the cause of your problem. Raw input is not implemented in Wine.
keltic_dave
Level 1
Level 1
Posts: 7
Joined: Fri Dec 10, 2010 3:16 pm

Post by keltic_dave »

vitamin wrote:
frigginjoe wrote:fixme:win:RegisterRawInputDevices (pRawInputDevices=0xc7f3dc, uiNumDevices=1, cbSize=12) stub!
fixme:xinput:XInputSetState (0 0x4a8e728) Stub!
These are are the cause of your problem. Raw input is not implemented in Wine.
Is there no way to fix the problem ? no work around ?
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

http://bugs.winehq.org/show_bug.cgi?id=22655
suggests that changing dlls/user32/input.c to make
RegisterRawInputDevices() return FALSE helps some
games. It's worth a shot.
frigginjoe
Level 1
Level 1
Posts: 5
Joined: Mon May 09, 2011 8:05 pm

Post by frigginjoe »

The nature of the Onlive service (server does EVERYTHING pertaining to the actual running of the game) it's less likely but I'll give this a shot when I can boot into Linux.

Great catch, I'll update when I can.
frigginjoe
Level 1
Level 1
Posts: 5
Joined: Mon May 09, 2011 8:05 pm

Post by frigginjoe »

No good. Was in fact worth a shot, but I think since there's no game client being run locally, it's not as flexible. Thanks for the suggestion and in turn giving me some insight on the program.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

Or, better yet, see the patch attached to
http://bugs.winehq.org/show_bug.cgi?id=20395

(Austin was better at finding this than I was.)
keltic_dave
Level 1
Level 1
Posts: 7
Joined: Fri Dec 10, 2010 3:16 pm

Post by keltic_dave »

silly question but then I'm still new to wine but how would we include that to the latest version of wine.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

keltic_dave wrote:silly question but then I'm still new to wine but how would we include that to the latest version of wine.
By properly implementing it, not a dirty hack, like in that patch.
keltic_dave
Level 1
Level 1
Posts: 7
Joined: Fri Dec 10, 2010 3:16 pm

Post by keltic_dave »

well it might be a dirty little hack but does it make OnLive work. Thats all I care about.
Davvvve
Level 4
Level 4
Posts: 181
Joined: Mon Apr 27, 2009 2:37 pm

can...

Post by Davvvve »

Can try to patch wine later. Not home atm.
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Onlive client, working, mouse issue

Post by jjmckenzie »

On 5/14/11 3:38 AM, keltic_dave wrote:
well it might be a dirty little hack but does it make OnLive work. Thats all I care about.
As vitamin said: Dirty little hacks cannot be accepted into Wine code.

The next question is do you want that hack incorporated into Wine? If
you do, it may be your responsibility and work to get it in.

James McKenzie
frigginjoe
Level 1
Level 1
Posts: 5
Joined: Mon May 09, 2011 8:05 pm

Post by frigginjoe »

I got some time before to patch in that fix and recompile, but no good thus far.
I may have missed something; I'll search for ideas a bit later.
Davvvve
Level 4
Level 4
Posts: 181
Joined: Mon Apr 27, 2009 2:37 pm

patch

Post by Davvvve »

patch wine 1.3.2.0 with this patch https://gist.github.com/895204#file_raw.patch
Tested , but laggy . Could be my old comp tho .
keltic_dave
Level 1
Level 1
Posts: 7
Joined: Fri Dec 10, 2010 3:16 pm

Post by keltic_dave »

doesn't like the wine devs included anything to resolve the OnLive mouse issue in the latest version. I did try compiling it from source but I couldn't get OnLive to boot up at all then.
Davvvve
Level 4
Level 4
Posts: 181
Joined: Mon Apr 27, 2009 2:37 pm

well

Post by Davvvve »

I could log in and play every time . Did you shut down your firewall ?
Davvvve
Level 4
Level 4
Posts: 181
Joined: Mon Apr 27, 2009 2:37 pm

Re: well

Post by Davvvve »

Davvvve wrote:I could log in and play every time . Did you shut down your firewall ?
I forgot to mention that im using Play on Linux and that is not supported here . Did the patch applied correcly ? Do u miss some of the dependensis to compile ? Just my 2 cents . Ps using ubuntu 64 10.10 ULTIMATE EDITION
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Onlive client, working, mouse issue

Post by jjmckenzie »

On Tue, May 17, 2011 at 10:17 PM, keltic_dave <[email protected]> wrote:
doesn't like the wine devs included anything to resolve the OnLive mouse issue in the latest version. I did try\
compiling it from source but I couldn't get OnLive to boot up at all then.
This problem may take more than one release update to resolve. Did you
file a bug report? If not, the problem will NEVER get fixed
(developers work off of bug reports, not this mailing list/forum.)

James McKenzie
keltic_dave
Level 1
Level 1
Posts: 7
Joined: Fri Dec 10, 2010 3:16 pm

Post by keltic_dave »

I'll submit a report on my experience with it in a bit.

I installed all the dependencies to compile it properly, the patch went in just fine in the source code before compiling. It might of just been something I missed.

I'm back on the latest version from the PPA 1.3.20 still the same mouse issue.
Fireking300
Newbie
Newbie
Posts: 1
Joined: Sun Jun 12, 2011 10:52 am

Crashes before game loads

Post by Fireking300 »

I'm currently using Wine 1.3.22. Compiled from Sourcecode. It seems that you are all able to load the game but no mouse support?
Well the game isn't starting for me it goes to the "Starting Game" screen and after a while it crashes.
http://pastebin.com/RFSP0kPF
Benskey
Newbie
Newbie
Posts: 2
Joined: Mon Jun 13, 2011 4:47 am

Post by Benskey »

The only problem mouse input (DirectInput I guess) does not work while controlling a player in any games I've tried. It work fine in the Onlive interface and even during in-game menu systems.
Crimbo
Newbie
Newbie
Posts: 2
Joined: Fri Jan 04, 2013 7:18 pm

Re: Onlive client, working, mouse issue

Post by Crimbo »

Is there any update on this? It has been almost half a year now.
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Onlive client, working, mouse issue

Post by dimesio »

Raw input support was added in 1.5.13.
Locked