usb cam in windows aplication dont work

Questions about Wine on Linux
Locked
szprott
Newbie
Newbie
Posts: 4
Joined: Thu Mar 14, 2019 11:48 am

usb cam in windows aplication dont work

Post by szprott »

Hello
I have a problem I run with wine (the latest version) Windows application (Projekt ARES shot to click application) the program works correctly in Ubuntu 18.04 but the camera is needed to use it completely and here is the problem wine don't see the camera, in Guvcview the camera (logitech c270) work properly, hence the question how to "force" wine to detect the camera?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: usb cam in windows aplication dont work

Post by jkfloris »

Could you start the program from the command line and post the terminal output?
szprott
Newbie
Newbie
Posts: 4
Joined: Thu Mar 14, 2019 11:48 am

Re: usb cam in windows aplication dont work

Post by szprott »

Code: Select all

wine ARES.exe
001c:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.5" not implemented
001c:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"dependentAssembly" in state 0
001c:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"assemblyIdentity" in state 6
001c:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"bindingRedirect" in state 6
001c:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"dependentAssembly" in state 0
001c:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"assemblyIdentity" in state 6
001c:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"bindingRedirect" in state 6
001c:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"dependentAssembly" in state 0
001c:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"assemblyIdentity" in state 6
001c:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"bindingRedirect" in state 6

Unhandled Exception:
System.TypeLoadException: Could not load type of field 'ServiceLayer.CoreService:wssv' (40) due to: Could not load file or assembly 'websocket-sharp, Version=1.0.2.59611, Culture=neutral, PublicKeyToken=5660b08a1845a91e' or one of its dependencies. assembly:websocket-sharp, Version=1.0.2.59611, Culture=neutral, PublicKeyToken=5660b08a1845a91e type:<unknown type> member:<none>
000f:err:service:process_send_command service protocol error - failed to write pipe!
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"nebula" failed to start: 1053
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"SCDEmu" failed to start: 3
0034:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to?
0009:err:ole:CoGetClassObject class {82c5ab54-c92c-4d52-aac5-27e25e22604c} not registered
0009:err:ole:CoGetClassObject class {82c5ab54-c92c-4d52-aac5-27e25e22604c} not registered
0009:err:ole:create_server class {82c5ab54-c92c-4d52-aac5-27e25e22604c} not registered
0009:err:ole:CoGetClassObject no class object {82c5ab54-c92c-4d52-aac5-27e25e22604c} could be created for context 0x7
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33f604,0x00000000), stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B10G10R10A2_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G6R5_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G5R5A1_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G5R5X1_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B10G10R10A2_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G6R5_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G5R5A1_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G5R5X1_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B10G10R10A2_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B5G6R5_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B5G5R5A1_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B5G5R5X1_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B10G10R10A2_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B5G6R5_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B5G5R5A1_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B5G5R5X1_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B10G10R10A2_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B5G6R5_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B5G5R5A1_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B5G5R5X1_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B10G10R10A2_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B5G6R5_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B5G5R5A1_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1594f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B5G5R5X1_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!

***** VIDEOINPUT LIBRARY - 0.1995 - TFW07 *****

0009:fixme:msvcrt:__clean_type_info_names_internal (0x442e7cc) stub

***** VIDEOINPUT LIBRARY - 0.1995 - TFW07 *****

0009:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\devenum.dll"
0009:err:ole:CoGetClassObject no class object {62be5d10-60eb-11d0-bd3b-00a0c911ce86} could be created for context 0x1
0009:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\devenum.dll"
0009:err:ole:CoGetClassObject no class object {62be5d10-60eb-11d0-bd3b-00a0c911ce86} could be created for context 0x1
0009:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\devenum.dll"
0009:err:ole:CoGetClassObject no class object {62be5d10-60eb-11d0-bd3b-00a0c911ce86} could be created for context 0x1
0009:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\devenum.dll"
0009:err:ole:CoGetClassObject no class object {62be5d10-60eb-11d0-bd3b-00a0c911ce86} could be created for context 0x1
0009:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\devenum.dll"
0009:err:ole:CoGetClassObject no class object {62be5d10-60eb-11d0-bd3b-00a0c911ce86} could be created for context 0x1
0009:fixme:d3d:wined3d_query_create Unhandled query type 0x4.
0009:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\devenum.dll"
0009:err:ole:CoGetClassObject no class object {62be5d10-60eb-11d0-bd3b-00a0c911ce86} could be created for context 0x1
0009:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\devenum.dll"
0009:err:ole:CoGetClassObject no class object {62be5d10-60eb-11d0-bd3b-00a0c911ce86} could be created for context 0x1
0034:fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to?
0009:fixme:msvcrt:__clean_type_info_names_internal (0x45de7cc) stub
szprott
Newbie
Newbie
Posts: 4
Joined: Thu Mar 14, 2019 11:48 am

Re: usb cam in windows aplication dont work

Post by szprott »

now the program see usb camera but crash

Code: Select all

***** VIDEOINPUT LIBRARY - 0.1995 - TFW07 *****

0055:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
SETUP: Setting up device 0
SETUP: USB Camera-B4.09.24.1
004e:fixme:qcap:fnCaptureGraphBuilder2_FindInterface (0x185d98/0x185d98)->({fb6c4282-0353-11d1-905f-0000c0cc16ba}, {73646976-0000-0010-8000-00aa00389b71}, 0x189188, {c6e13340-30ac-11d0-a18c-00a0c9118956}, 0x33fba4) - workaround stub!
004e:fixme:qcap:fnCaptureGraphBuilder2_FindInterface (0x185d98/0x185d98)->({fb6c4282-0353-11d1-905f-0000c0cc16ba}, {73646976-0000-0010-8000-00aa00389b71}, 0x189188, {c6e13340-30ac-11d0-a18c-00a0c9118956}, 0x49b174c) - workaround stub!
SETUP: Default Format is set to 640 by 480 
SETUP: trying format RGB24 @ 640 by 480
SETUP: Capture callback set
004e:fixme:qcap:fnCaptureGraphBuilder2_RenderStream (0x185d98/0x185d98)->({fb6c4282-0353-11d1-905f-0000c0cc16ba}, {73646976-0000-0010-8000-00aa00389b71}, 0x189188, 0x1898b8, 0x195320) semi-stub!
004e:fixme:qcap:KSP_Get () Not adding a pin with PIN_CATEGORY_PREVIEW
004e:fixme:qcap:KSP_Get () Not adding a pin with PIN_CATEGORY_PREVIEW
004e:fixme:qcap:VfwPin_CheckMediaType (0x189300) stub
ERROR: Could not connect pins - RenderStream()

SETUP: Disconnecting device 0
SETUP: freeing Grabber Callback
004e:fixme:qcap:Unknown_QueryInterface (0x195a18): no interface for {2dd74950-a890-11d1-abe8-00a0c905f375}
004e:fixme:quartz:NullRendererInner_QueryInterface No interface for {56a86897-0ad4-11ce-b03a-0020af0ba770}!
004e:fixme:qcap:unknown_inner_QueryInterface IAMFilterMiscFlags not supported yet!
wine: Unhandled page fault on read access to 0x00000000 at address 0x685dda9d (thread 004e), starting debugger...
0057:fixme:dbghelp:elf_search_auxv can't find symbol in module
0057:fixme:dbghelp:elf_search_auxv can't find symbol in module
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: usb cam in windows aplication dont work

Post by jkfloris »

Try the application in a clean Wineprefix with

Code: Select all

winetricks devenum
szprott
Newbie
Newbie
Posts: 4
Joined: Thu Mar 14, 2019 11:48 am

Re: usb cam in windows aplication dont work

Post by szprott »

now I have something like that

Code: Select all

***** VIDEOINPUT LIBRARY - 0.1995 - TFW07 *****

0047:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
SETUP: Setting up device 0
ERROR - Could not find specified video device

SETUP: Disconnecting device 0
SETUP: freeing Control   
SETUP: freeing Capture Graph 
SETUP: freeing Main Graph 
SETUP: Device 0 disconnected and freed

SETUP: Setting up device 0
ERROR - Could not find specified video device

SETUP: Disconnecting device 0
SETUP: freeing Control   
SETUP: freeing Capture Graph 
SETUP: freeing Main Graph 
SETUP: Device 0 disconnected and freed

SETUP: Setting up device 0
ERROR - Could not find specified video device

Locked