Xbox gamepad issue

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
krumpf
Level 2
Level 2
Posts: 14
Joined: Tue Nov 10, 2020 5:37 am

Xbox gamepad issue

Post by krumpf »

Hi, I got an issue with my xbox gamepad not being detected when using wine 5.19 5.20 5.21
It works perfectly with wine 5.18
The wineprefix I use got vcrun2017, d3dcompiler_43 & 47 installed with winetricks

Terminal output with wine 5.18

Code: Select all

0034:err:module:process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
00b0:err:svchost:AddServiceElem failed to load library L"C:\\windows\\system32\\wevtsvc.dll", err=126
00b0:err:svchost:wmain Failed to load requested group: L"LocalServiceNetworkRestricted"
003c:err:service:process_send_command service protocol error - failed to write pipe!
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"Eventlog" failed to start: 1053
0024:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:fixme:heap:RtlSetHeapInformation 00110000 0 0031E9F8 4 stub
0024:fixme:msvcrt:MSVCRT__set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
0108:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
0024:fixme:d3dx:d3dx_effect_ValidateTechnique iface 05EF5698, technique 06114BE0 semi-stub.
0024:err:ole:com_get_class_object apartment not initialised
0148:fixme:ver:GetCurrentPackageId (0827FF30 00000000): stub
0150:fixme:ver:GetCurrentPackageId (0849FF30 00000000): stub
015c:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 087CFF08
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0031C2C8
0024:fixme:msvcrt:__clean_type_info_names_internal (0x4dc2494) stub
Terminal ouput with wine 5.21

Code: Select all

002c:err:winediag:WS_getaddrinfo Failed to resolve your host name IP
0034:err:module:process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0074:err:rpc:rpcrt4_ncalrpc_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
009c:fixme:rpc:handle_bind_error unexpected status value 1765
0098:err:rpc:RpcAssoc_BindConnection rejected bind for reason 0
0098:err:plugplay:load_function_driver Failed to load driver L"winehid", status 0xc00000bb.
0098:fixme:plugplay:pdo_pnp_dispatch Unhandled function 00000000
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0024:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:fixme:heap:RtlSetHeapInformation 00110000 0 0031E9F8 4 stub
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
00ec:err:rpc:rpcrt4_ncalrpc_handoff Failed to retrieve the computer name, error 2
0024:fixme:msvcrt:MSVCRT__set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
0110:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
0024:fixme:d3dx:d3dx_effect_ValidateTechnique iface 060124C8, technique 060182A0 semi-stub.
0024:fixme:wbemprox:client_security_SetBlanket 73AAFCA4, 06008FB8, 10, 0, (null), 3, 3, 00000000, 0x00000000
0024:fixme:wbemprox:client_security_Release 73AAFCA4
0024:fixme:wbemprox:enum_class_object_Next timeout not supported
0024:fixme:wbemprox:client_security_SetBlanket 73AAFCA4, 06008FB8, 10, 0, (null), 3, 3, 00000000, 0x00000000
0024:fixme:wbemprox:client_security_Release 73AAFCA4
0024:err:ole:com_get_class_object apartment not initialised
0150:fixme:ver:GetCurrentPackageId (1244FF30 00000000): stub
0158:fixme:ver:GetCurrentPackageId (1266FF30 00000000): stub
0164:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 130DFF08
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0031C2C8
0024:fixme:msvcrt:__clean_type_info_names_internal (0x4dc2494) stub
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
019c:fixme:rpc:handle_bind_error unexpected status value 1765
0058:err:rpc:RpcAssoc_BindConnection rejected bind for reason 0
0088:fixme:plugplay:pdo_pnp_dispatch Unhandled function 00000017
0088:fixme:plugplay:pdo_pnp_dispatch Unhandled function 00000002
01a0:fixme:rpc:handle_bind_error unexpected status value 1765
00e8:err:rpc:RpcAssoc_BindConnection rejected bind for reason 0
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
01a8:fixme:rpc:handle_bind_error unexpected status value 1765
0084:err:rpc:RpcAssoc_BindConnection rejected bind for reason 0
A lot of rpc error with 5.21 (got the same with 5.19 5.20); iirc RPC is some essential windows component
Also the plugplay error failing to load the winehid driver, could that be the cause of gamepad not working ?

Thanks to anyone who can help, should I file a bug report, please tell me :)
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Xbox gamepad issue

Post by Gcenx »

Hum the same issue made it into CrossOver-20 but was fixed in CrossOver-20.0.1 so I’m surprised it’s not fixed in upstream wine.

Might wanna open a bug report so this can be resolved
krumpf
Level 2
Level 2
Posts: 14
Joined: Tue Nov 10, 2020 5:37 am

Re: Xbox gamepad issue

Post by krumpf »

Just compiled wine 5.22 and tried, it seems to work now, no more errors in the terminal output :)
Locked