Open yh4922 opened 1 year ago
我已经主要到这个问题,协商阶段时在Windows上获取某些参数时会失败,在找到具体问题之后会进行修复。
I have noticed this bug, there are some args query failed at negotiate stage on windows, I will fix it after I find specific problem.
碰到了类似的问题,输完密码就出来这个报错
系统:win11 显卡:1070ti(已安装最新驱动) ps: 另一台win10,AMD 核显的也不行
碰到了类似的问题,输完密码就出来这个报错
系统:win11 显卡:1070ti(已安装最新驱动) ps: 另一台win10,AMD 核显的也不行
@peytonyip 你的被控端有没有屏幕并且屏幕处于显示状态?
碰到了类似的问题,输完密码就出来这个报错 系统:win11 显卡:1070ti(已安装最新驱动) ps: 另一台win10,AMD 核显的也不行
@peytonyip 你的被控端有没有屏幕并且屏幕处于显示状态?
被控端有屏幕,而且处于显示状态 附上控制端的 log:
2023-02-03T01:21:07.856100Z INFO lan_init{force=false}: mirrorx_core::component::lan::discover: lan discover listen on 192.168.1.144:48000
2023-02-03T01:21:07.857358Z INFO lan_init{force=false}: mirrorx_core::component::lan::server: local lan server listen local_addr=192.168.1.144:48001
2023-02-03T01:21:14.283871Z WARN tao::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared
2023-02-03T01:21:14.293160Z WARN tao::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared
2023-02-03T01:21:26.010109Z WARN tao::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared
2023-02-03T01:21:26.020074Z WARN tao::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared
2023-02-03T01:21:33.909777Z WARN tao::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared
2023-02-03T01:21:33.925953Z WARN tao::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared
2023-02-03T01:21:39.012448Z INFO signaling_visit{remote_device_id="42-1634-5786" visit_desktop=true}: mirrorx::command::signaling: key exchange success local_device_id=5782649026 remote_device_id="42-1634-5786"
2023-02-03T01:21:39.013559Z INFO mirrorx_core::api::endpoint::handlers::audio_frame: audio decode process id=DeviceID { local_device_id: 5782649026, remote_device_id: 4216345786 }
2023-02-03T01:21:39.013564Z INFO mirrorx_core::api::endpoint::handlers::video_frame: video decode process id=DeviceID { local_device_id: 5782649026, remote_device_id: 4216345786 }
2023-02-03T01:21:39.017226Z INFO mirrorx_core::component::audio::player: select audio output device name=Ok("耳机 (2- High Definition Audio 设备)")
2023-02-03T01:21:39.066967Z ERROR signaling_visit{remote_device_id="42-1634-5786" visit_desktop=true}: mirrorx_core::api::endpoint::client: negotiate failed with display error err="other error (message=\"create DirectX device failed, all driver types had tried\", file = \"mirrorx_core\\src\\component\\desktop\\windows\\util.rs\", line = 115)"
2023-02-03T01:21:39.067159Z ERROR mirrorx_core::api::endpoint::handlers::audio_frame: audio decode process exit
2023-02-03T01:21:39.067169Z INFO mirrorx_core::api::endpoint::handlers::video_frame: video decode process exit
2023-02-03T01:21:39.067672Z ERROR mirrorx_core::api::endpoint::client::tcp: input channel closed endpoint_id=DeviceID { local_device_id: 5782649026, remote_device_id: 4216345786 }
2023-02-03T01:21:39.067679Z INFO mirrorx_core::api::endpoint::client::tcp: tcp write loop exit endpoint_id=DeviceID { local_device_id: 5782649026, remote_device_id: 4216345786 }
@peytonyip 能否提供一下被控端的日志?
@peytonyip 能否提供一下被控端的日志?
被控端日志如下:
2023-02-03T01:21:48.627523Z INFO mirrorx_core::component::desktop::windows::util: create DirectX device failed, try next one driver_type_name="D3D_DRIVER_TYPE_HARDWARE" err=Error { code: HRESULT(0x887A002D), message: "The application requested an operation that depends on an SDK component that is missing or mismatched." }
2023-02-03T01:21:48.628582Z INFO mirrorx_core::component::desktop::windows::util: create DirectX device failed, try next one driver_type_name="D3D_DRIVER_TYPE_WARP" err=Error { code: HRESULT(0x887A002D), message: "The application requested an operation that depends on an SDK component that is missing or mismatched." }
2023-02-03T01:21:48.628726Z INFO mirrorx_core::component::desktop::windows::util: create DirectX device failed, try next one driver_type_name="D3D_DRIVER_TYPE_REFERENCE" err=Error { code: HRESULT(0x887A0004), message: "The specified device interface or feature level is not supported on this system." }
2023-02-03T01:21:48.628740Z ERROR mirrorx_core::api::endpoint::handlers::negotiate_desktop_params: get primary monitor params failed at negotiate stage err=Other { message: "create DirectX device failed, all driver types had tried", file: "mirrorx_core\\src\\component\\desktop\\windows\\util.rs", line: "115" }
2023-02-03T01:26:32.918795Z ERROR mirrorx_core::api::endpoint::client::tcp: read stream is closed endpoint_id=DeviceID { local_device_id: 4216345786, remote_device_id: 5782649026 }
2023-02-03T01:26:32.918804Z INFO mirrorx_core::api::endpoint::client::tcp: tcp read loop exit endpoint_id=DeviceID { local_device_id: 4216345786, remote_device_id: 5782649026 }
2023-02-03T01:26:32.918811Z INFO mirrorx_core::api::endpoint::client: message handle channel is closed
2023-02-03T01:26:32.918813Z INFO mirrorx_core::api::endpoint::client: message handle loop exit
2023-02-03T01:26:32.918826Z ERROR mirrorx_core::api::endpoint::client::tcp: input channel closed endpoint_id=DeviceID { local_device_id: 4216345786, remote_device_id: 5782649026 }
2023-02-03T01:26:32.918828Z INFO mirrorx_core::api::endpoint::client::tcp: tcp write loop exit endpoint_id=DeviceID { local_device_id: 4216345786, remote_device_id: 5782649026 }