gnif / LookingGlass

An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough.
GNU General Public License v2.0
4.64k stars 257 forks source link

Commit 10e30eec5746848f85348768211831188869d421 breaks d3d12 output #1100

Closed EFI64 closed 7 months ago

EFI64 commented 9 months ago

https://github.com/gnif/LookingGlass/commit/10e30eec5746848f85348768211831188869d421 breaks d3d12 gpu: amd rx570 4gb

https://github.com/gnif/LookingGlass/commit/38b6b0ac40e103fda534e6fdc8c3fb6611b4a404 was the latest working version

If you compile the latest https://github.com/gnif/LookingGlass/commit/22d949c4112736e903c343209cbebef443638911 commit and apply the patch

--- host/platform/Windows/capture/DXGI/src/d3d12.c 2023-11-22 22:19:20.949973609 +0300
+++ host/platform/Windows/capture/DXGI/src/d3d12.c 2023-11-22 21:57:46.117028348 +0300
@@ -388.9 +388.8 @@
     goto exit;
   }

- comRef_defineLocal(ID3D12Resource, d12src);
   status = ID3D12Device_OpenSharedHandle(*this->device,
- handle, &IID_ID3D12Resource, (void **)d12src);
+ handle, &IID_ID3D12Resource, (void **)&this->d12src);

   CloseHandle(handle);

@@ -405.7 +404.7 @@
   {
     struct SharedCache *cache = &this->sharedCache[this->sharedCacheCount++];
     cache->tex = src;
- comRef_toGlobal(cache->d12src, d12src);
+ *comRef_newGlobal(&cache->d12src) = (IUnknown *)this->d12src;
   }
   else
   {

then everything works

Client Log

I]  13658707081              main.c:1841 | main                           | Looking Glass (B6-198-g10e30eec57+)
[I]  13658707107              main.c:1842 | main                           | Locking Method: Atomic
[I]  13658707428           cpuinfo.c:37   | lgDebugCPU                     | CPU Model: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[I]  13658707440           cpuinfo.c:38   | lgDebugCPU                     | CPU: 1 sockets, 6 cores, 12 threads
[I]  13658725685              main.c:1180 | lg_run                         | Using font: /usr/share/fonts/TTF/DejaVuSansMono.ttf
[I]  13658726445           ivshmem.c:128  | ivshmemOpenDev                 | KVMFR Device     : /dev/kvmfr0
[I]  13658729225             audio.c:159  | audio_init                     | Using AudioDev: PipeWire
[I]  13658729252                ps.c:236  | purespice_connect              | Connecting to unix socket /run/user/1000/qemu/Windows10-32.sh/spice.sock
[I]  13658738570               rsa.c:178  | rsa_encryptPassword            | Using Nettle
[I]  13658738907                ps.c:268  | purespice_connect              | Connected
[I]  13658738937      channel_main.c:167  | onMessage_mainName             | Guest name: Windows10-32.sh
[I]  13658738945      channel_main.c:183  | onMessage_mainUUID             | Guest UUID: b08d575d-10db-4c74-a060-56c8f1065ee7
[I]  13658748759                ps.c:644  | ps_connectChannel              | INPUTS channel connected
[I]  13658748820           channel.c:323  | onMessage_notify               | [notify] keyboard channel is insecure
[I]  13658748891               egl.c:288  | egl_initialize                 | Double buffering is off
[I]  13658748897              main.c:1134 | tryRenderer                    | Using Renderer: EGL
[I]  13658769389               x11.c:232  | x11CheckEWMHSupport            | EWMH-complient window manager detected: Xfwm4
[I]  13658769648               x11.c:497  | x11Init                        | X11 XInput 2.0 in use
[I]  13658774637               x11.c:1496 | x11GetEGLDisplay               | Using eglGetPlatformDisplayEXT
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/efi64/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/efi64/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/efi64/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/efi64/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/efi64/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/efi64/.drirc: No such file or directory.
libGL: using driver i915 for 24
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/efi64/.drirc: No such file or directory.
libGL: using driver i915 for 24
libGL: pci id for fd 24: 8086:3e92, driver iris
libGL: MESA-LOADER: dlopen(/usr/lib/dri/iris_dri.so)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/efi64/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/efi64/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/efi64/.drirc: No such file or directory.
libGL: Using DRI3 for screen 0
[I]  13658811727               egl.c:766  | egl_renderStartup              | Multisampling enabled, max samples: 4
[I]  13658813038               egl.c:849  | egl_renderStartup              | Single buffer mode
[I]  13658815515               egl.c:876  | egl_renderStartup              | EGL     : 1.5
[I]  13658815523               egl.c:877  | egl_renderStartup              | Vendor  : Intel
[I]  13658815529               egl.c:878  | egl_renderStartup              | Renderer: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
[I]  13658815532               egl.c:879  | egl_renderStartup              | Version : OpenGL ES 3.2 Mesa 23.2.1-arch1.2
[I]  13658815538               egl.c:880  | egl_renderStartup              | EGL APIs: OpenGL OpenGL_ES 
[I]  13658815541               egl.c:884  | egl_renderStartup              | EGL Exts: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_CHROMIUM_sync_control EGL_ANGLE_sync_control_rate EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_swap_buffers_with_damage EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_NOK_texture_from_pixmap EGL_WL_bind_wayland_display 
[I]  13658815554               egl.c:885  | egl_renderStartup              | GL Exts : GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_generate_mipmap_sRGB GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_debug_label GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_INTEL_conservative_rasterization GL_INTEL_performance_query GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_NV_shader_noperspective_interpolation GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_shader_samples_identical GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_NV_fragment_shader_interlock GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_NV_alpha_to_coverage_dither_control GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_MESA_framebuffer_flip_y GL_NV_compute_shader_derivatives GL_EXT_demote_to_helper_invocation GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra 
[I]  13658815613               egl.c:940  | egl_renderStartup              | Using debug message callback from OpenGL ES 3.2+
[I]  13658855915           eglutil.c:35   | swapWithDamageInit             | Using EGL_KHR_swap_buffers_with_damage
[I]  13659042498              main.c:1486 | lg_run                         | ================================================================================
[I]  13659042537              main.c:1487 | lg_run                         | The host application seems to not be running
[I]  13659042552              main.c:1488 | lg_run                         | Waiting for the host application to start...
[I]  13668043133              main.c:1585 | lg_run                         | Guest Information:
[I]  13668043144              main.c:1586 | lg_run                         | Version  : B6-198-g10e30eec57+
[I]  13668043146              main.c:1607 | lg_run                         | UUID     : b08d575d-10db-4c74-a060-56c8f1065ee7
[I]  13668043151              main.c:1616 | lg_run                         | CPU Model: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[I]  13668043153              main.c:1617 | lg_run                         | CPU      : 1 sockets, 3 cores, 6 threads
[I]  13668043155              main.c:1619 | lg_run                         | Using    : DXGI Direct3D 12
[I]  13668043327              main.c:1705 | lg_run                         | OS       : Windows
[I]  13668043330              main.c:1707 | lg_run                         | OS Name  : Windows 10 Pro (Build: 19045) 
[I]  13668043332              main.c:1729 | lg_run                         | Starting session
[I]  13668043470              main.c:548  | main_frameThread               | Using DMA buffer support
[I]  13669244063              main.c:1747 | lg_run                         | Waiting for the host to restart...
[I]  13670244838              main.c:1585 | lg_run                         | Guest Information:
[I]  13670244849              main.c:1586 | lg_run                         | Version  : B6-198-g10e30eec57+
[I]  13670244854              main.c:1607 | lg_run                         | UUID     : b08d575d-10db-4c74-a060-56c8f1065ee7
[I]  13670244859              main.c:1616 | lg_run                         | CPU Model: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[I]  13670244862              main.c:1617 | lg_run                         | CPU      : 1 sockets, 3 cores, 6 threads
[I]  13670244864              main.c:1619 | lg_run                         | Using    : DXGI Direct3D 12
[I]  13670245038              main.c:1705 | lg_run                         | OS       : Windows
[I]  13670245041              main.c:1707 | lg_run                         | OS Name  : Windows 10 Pro (Build: 19045) 
[I]  13670245044              main.c:1729 | lg_run                         | Starting session
[I]  13670245162              main.c:548  | main_frameThread               | Using DMA buffer support
[I]  13671545894              main.c:1747 | lg_run                         | Waiting for the host to restart...
[I]  13672547074              main.c:1585 | lg_run                         | Guest Information:
[I]  13672547086              main.c:1586 | lg_run                         | Version  : B6-198-g10e30eec57+
[I]  13672547090              main.c:1607 | lg_run                         | UUID     : b08d575d-10db-4c74-a060-56c8f1065ee7
[I]  13672547102              main.c:1616 | lg_run                         | CPU Model: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[I]  13672547105              main.c:1617 | lg_run                         | CPU      : 1 sockets, 3 cores, 6 threads
[I]  13672547107              main.c:1619 | lg_run                         | Using    : DXGI Direct3D 12
[I]  13672547271              main.c:1705 | lg_run                         | OS       : Windows
[I]  13672547273              main.c:1707 | lg_run                         | OS Name  : Windows 10 Pro (Build: 19045) 
[I]  13672547276              main.c:1729 | lg_run                         | Starting session
[I]  13672547395              main.c:548  | main_frameThread               | Using DMA buffer support
[I]  13673748008              main.c:1747 | lg_run                         | Waiting for the host to restart...
[I]  13677748745              main.c:1585 | lg_run                         | Guest Information:
[I]  13677748757              main.c:1586 | lg_run                         | Version  : B6-198-g10e30eec57+
[I]  13677748761              main.c:1607 | lg_run                         | UUID     : b08d575d-10db-4c74-a060-56c8f1065ee7
[I]  13677748765              main.c:1616 | lg_run                         | CPU Model: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[I]  13677748768              main.c:1617 | lg_run                         | CPU      : 1 sockets, 3 cores, 6 threads
[I]  13677748770              main.c:1619 | lg_run                         | Using    : DXGI Direct3D 12
[I]  13677748939              main.c:1705 | lg_run                         | OS       : Windows
[I]  13677748942              main.c:1707 | lg_run                         | OS Name  : Windows 10 Pro (Build: 19045) 
[I]  13677748945              main.c:1729 | lg_run                         | Starting session
[I]  13677749069              main.c:548  | main_frameThread               | Using DMA buffer support
[I]  13679049781              main.c:1747 | lg_run                         | Waiting for the host to restart...
[I]  13686050512              main.c:1585 | lg_run                         | Guest Information:
[I]  13686050523              main.c:1586 | lg_run                         | Version  : B6-198-g10e30eec57+
[I]  13686050527              main.c:1607 | lg_run                         | UUID     : b08d575d-10db-4c74-a060-56c8f1065ee7
[I]  13686050531              main.c:1616 | lg_run                         | CPU Model: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[I]  13686050533              main.c:1617 | lg_run                         | CPU      : 1 sockets, 3 cores, 6 threads
[I]  13686050535              main.c:1619 | lg_run                         | Using    : DXGI Direct3D 12
[I]  13686050705              main.c:1705 | lg_run                         | OS       : Windows
[I]  13686050708              main.c:1707 | lg_run                         | OS Name  : Windows 10 Pro (Build: 19045) 
[I]  13686050711              main.c:1729 | lg_run                         | Starting session
[I]  13686050826              main.c:548  | main_frameThread               | Using DMA buffer support
[I]  13687151519              main.c:1747 | lg_run                         | Waiting for the host to restart...

Host log

[I]      7702262              time.c:85   | windowsSetTimerResolution      | System timer resolution: 499.9 μs
[I]      7703408               app.c:800  | app_main                       | Looking Glass Host (B6-198-g10e30eec57+)
[I]      7704488           cpuinfo.c:37   | lgDebugCPU                     | CPU Model: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[I]      7705581           cpuinfo.c:38   | lgDebugCPU                     | CPU: 1 sockets, 3 cores, 6 threads
[I]      7707063           ivshmem.c:132  | ivshmemInit                    | IVSHMEM 0* on bus 0x0, device 0x5, function 0x0
[I]      7711436               app.c:817  | app_main                       | IVSHMEM Size     : 64 MiB
[I]      7711753               app.c:818  | app_main                       | IVSHMEM Address  : 0x2033B8D0000
[I]      7712070               app.c:819  | app_main                       | Max Pointer Size : 1024 KiB
[I]      7712375               app.c:820  | app_main                       | KVMFR Version    : 20
[I]      7712662               app.c:839  | app_main                       | Trying           : DXGI
[I]      7715927              dxgi.c:512  | dxgi_init                      | Device Name       : \\.\DISPLAY1
[I]      7716261              dxgi.c:513  | dxgi_init                      | Device Description: Radeon RX 570 Series
[I]      7716622              dxgi.c:514  | dxgi_init                      | Device Vendor ID  : 0x1002
[I]      7716975              dxgi.c:515  | dxgi_init                      | Device Device ID  : 0x67df
[I]      7717297              dxgi.c:516  | dxgi_init                      | Device Video Mem  : 4039 MiB
[I]      7717618              dxgi.c:517  | dxgi_init                      | Device Sys Mem    : 0 MiB
[I]      7717939              dxgi.c:518  | dxgi_init                      | Shared Sys Mem    : 3068 MiB
[I]      7751591              dxgi.c:626  | dxgi_init                      | Feature Level     : 0xc000
[I]      7751925              dxgi.c:627  | dxgi_init                      | Capture Size      : 1920 x 1080
[I]      7752270              dxgi.c:628  | dxgi_init                      | AcquireLock       : enabled
[I]      7752577              dxgi.c:629  | dxgi_init                      | Debug mode        : disabled
[I]      7753854              dxgi.c:729  | dxgi_init                      | Bits Per Color    : 8
[I]      7754152              dxgi.c:730  | dxgi_init                      | Color Space       : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
[I]      7754570              dxgi.c:731  | dxgi_init                      | Min/Max Luminance : 0.500000/270.000000
[I]      7754934              dxgi.c:732  | dxgi_init                      | Frame Luminance   : 270.000000
[I]      7755248              dxgi.c:739  | dxgi_init                      | Source Format     : DXGI_FORMAT_B8G8R8A8_UNORM
[I]      7765611              dxgi.c:765  | dxgi_init                      | Capture Format    : DXGI_FORMAT_B8G8R8A8_UNORM
[I]      7766781             d3d12.c:136  | d3d12_create                   | Sleep before copy : 2.000000 ms
[I]      7973422              dxgi.c:815  | dxgi_init                      | Output Size       : 1920 x 1080
[I]      7973756              dxgi.c:823  | dxgi_init                      | Copy backend      : Direct3D 12
[I]      7974064              dxgi.c:824  | dxgi_init                      | Damage-aware copy : enabled
[I]      7978422               app.c:864  | app_main                       | Using            : DXGI Direct3D 12
[I]      7978837               app.c:865  | app_main                       | Capture Method   : Asynchronous
[I]      7979893               app.c:716  | lgmpSetup                      | Max Frame Size   : 30 MiB
[I]      7980147               app.c:414  | captureStop                    | ==== [ Capture Stop ] ====
[I]      8905386              dxgi.c:512  | dxgi_init                      | Device Name       : \\.\DISPLAY1
[I]      8905720              dxgi.c:513  | dxgi_init                      | Device Description: Radeon RX 570 Series
[I]      8906113              dxgi.c:514  | dxgi_init                      | Device Vendor ID  : 0x1002
[I]      8906408              dxgi.c:515  | dxgi_init                      | Device Device ID  : 0x67df
[I]      8906721              dxgi.c:516  | dxgi_init                      | Device Video Mem  : 4039 MiB
[I]      8907033              dxgi.c:517  | dxgi_init                      | Device Sys Mem    : 0 MiB
[I]      8907306              dxgi.c:518  | dxgi_init                      | Shared Sys Mem    : 3068 MiB
[I]      8929687              dxgi.c:626  | dxgi_init                      | Feature Level     : 0xc000
[I]      8929891              dxgi.c:627  | dxgi_init                      | Capture Size      : 1920 x 1080
[I]      8930095              dxgi.c:628  | dxgi_init                      | AcquireLock       : enabled
[I]      8930300              dxgi.c:629  | dxgi_init                      | Debug mode        : disabled
[I]      8930687              dxgi.c:729  | dxgi_init                      | Bits Per Color    : 8
[I]      8930893              dxgi.c:730  | dxgi_init                      | Color Space       : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
[I]      8931148              dxgi.c:731  | dxgi_init                      | Min/Max Luminance : 0.500000/270.000000
[I]      8931377              dxgi.c:732  | dxgi_init                      | Frame Luminance   : 270.000000
[I]      8931894              dxgi.c:739  | dxgi_init                      | Source Format     : DXGI_FORMAT_B8G8R8A8_UNORM
[I]      8945885              dxgi.c:765  | dxgi_init                      | Capture Format    : DXGI_FORMAT_B8G8R8A8_UNORM
[I]      8946683             d3d12.c:136  | d3d12_create                   | Sleep before copy : 2.000000 ms
[I]      8972487              dxgi.c:815  | dxgi_init                      | Output Size       : 1920 x 1080
[I]      8972715              dxgi.c:823  | dxgi_init                      | Copy backend      : Direct3D 12
[I]      8972918              dxgi.c:824  | dxgi_init                      | Damage-aware copy : enabled
[I]      8975561               app.c:408  | captureStart                   | ==== [ Capture Start ] ====
[I]      8975903               app.c:341  | frameThread                    | Frame thread started
     8987615 [E]              d3d12.c:520  | d3d12_postCopy                 | Failed to close command list: 0x80070057 (Ïàðàìåòð çàäàí íåâåðíî.)
[E]      8987954               app.c:968  | app_main                       | Capture interface reported a fatal error
[I]      9008953               app.c:1013 | app_main                       | Host application exited
[I]     10053310              time.c:85   | windowsSetTimerResolution      | System timer resolution: 499.9 μs
[I]     10053701               app.c:800  | app_main                       | Looking Glass Host (B6-198-g10e30eec57+)
[I]     10054050           cpuinfo.c:37   | lgDebugCPU                     | CPU Model: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[I]     10054394           cpuinfo.c:38   | lgDebugCPU                     | CPU: 1 sockets, 3 cores, 6 threads
[I]     10055137           ivshmem.c:132  | ivshmemInit                    | IVSHMEM 0* on bus 0x0, device 0x5, function 0x0
[I]     10058833               app.c:817  | app_main                       | IVSHMEM Size     : 64 MiB
[I]     10059155               app.c:818  | app_main                       | IVSHMEM Address  : 0x1931B4D0000
[I]     10059494               app.c:819  | app_main                       | Max Pointer Size : 1024 KiB
[I]     10059824               app.c:820  | app_main                       | KVMFR Version    : 20
[I]     10060133               app.c:839  | app_main                       | Trying           : DXGI
[I]     10062758              dxgi.c:512  | dxgi_init                      | Device Name       : \\.\DISPLAY1
[I]     10063096              dxgi.c:513  | dxgi_init                      | Device Description: Radeon RX 570 Series
[I]     10063432              dxgi.c:514  | dxgi_init                      | Device Vendor ID  : 0x1002
[I]     10063774              dxgi.c:515  | dxgi_init                      | Device Device ID  : 0x67df
[I]     10064065              dxgi.c:516  | dxgi_init                      | Device Video Mem  : 4039 MiB
[I]     10064367              dxgi.c:517  | dxgi_init                      | Device Sys Mem    : 0 MiB
[I]     10064658              dxgi.c:518  | dxgi_init                      | Shared Sys Mem    : 3068 MiB
[I]     10094097              dxgi.c:626  | dxgi_init                      | Feature Level     : 0xc000
[I]     10094395              dxgi.c:627  | dxgi_init                      | Capture Size      : 1920 x 1080
[I]     10094700              dxgi.c:628  | dxgi_init                      | AcquireLock       : enabled
[I]     10094998              dxgi.c:629  | dxgi_init                      | Debug mode        : disabled
[I]     10095637              dxgi.c:729  | dxgi_init                      | Bits Per Color    : 8
[I]     10095924              dxgi.c:730  | dxgi_init                      | Color Space       : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
[I]     10096321              dxgi.c:731  | dxgi_init                      | Min/Max Luminance : 0.500000/270.000000
[I]     10096665              dxgi.c:732  | dxgi_init                      | Frame Luminance   : 270.000000
[I]     10096975              dxgi.c:739  | dxgi_init                      | Source Format     : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     10113038              dxgi.c:765  | dxgi_init                      | Capture Format    : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     10114027             d3d12.c:136  | d3d12_create                   | Sleep before copy : 2.000000 ms
[I]     10144671              dxgi.c:815  | dxgi_init                      | Output Size       : 1920 x 1080
[I]     10144995              dxgi.c:823  | dxgi_init                      | Copy backend      : Direct3D 12
[I]     10145314              dxgi.c:824  | dxgi_init                      | Damage-aware copy : enabled
[I]     10149613               app.c:864  | app_main                       | Using            : DXGI Direct3D 12
[I]     10149967               app.c:865  | app_main                       | Capture Method   : Asynchronous
[I]     10150600               app.c:716  | lgmpSetup                      | Max Frame Size   : 30 MiB
[I]     10150917               app.c:414  | captureStop                    | ==== [ Capture Stop ] ====
[I]     11073583              dxgi.c:512  | dxgi_init                      | Device Name       : \\.\DISPLAY1
[I]     11073946              dxgi.c:513  | dxgi_init                      | Device Description: Radeon RX 570 Series
[I]     11074318              dxgi.c:514  | dxgi_init                      | Device Vendor ID  : 0x1002
[I]     11074641              dxgi.c:515  | dxgi_init                      | Device Device ID  : 0x67df
[I]     11074963              dxgi.c:516  | dxgi_init                      | Device Video Mem  : 4039 MiB
[I]     11075293              dxgi.c:517  | dxgi_init                      | Device Sys Mem    : 0 MiB
[I]     11075612              dxgi.c:518  | dxgi_init                      | Shared Sys Mem    : 3068 MiB
[I]     11097794              dxgi.c:626  | dxgi_init                      | Feature Level     : 0xc000
[I]     11098000              dxgi.c:627  | dxgi_init                      | Capture Size      : 1920 x 1080
[I]     11098205              dxgi.c:628  | dxgi_init                      | AcquireLock       : enabled
[I]     11098412              dxgi.c:629  | dxgi_init                      | Debug mode        : disabled
[I]     11098813              dxgi.c:729  | dxgi_init                      | Bits Per Color    : 8
[I]     11099019              dxgi.c:730  | dxgi_init                      | Color Space       : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
[I]     11099299              dxgi.c:731  | dxgi_init                      | Min/Max Luminance : 0.500000/270.000000
[I]     11099523              dxgi.c:732  | dxgi_init                      | Frame Luminance   : 270.000000
[I]     11099774              dxgi.c:739  | dxgi_init                      | Source Format     : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     11112720              dxgi.c:765  | dxgi_init                      | Capture Format    : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     11113458             d3d12.c:136  | d3d12_create                   | Sleep before copy : 2.000000 ms
[I]     11138174              dxgi.c:815  | dxgi_init                      | Output Size       : 1920 x 1080
[I]     11138408              dxgi.c:823  | dxgi_init                      | Copy backend      : Direct3D 12
[I]     11138617              dxgi.c:824  | dxgi_init                      | Damage-aware copy : enabled
[I]     11141208               app.c:408  | captureStart                   | ==== [ Capture Start ] ====
[I]     11141546               app.c:341  | frameThread                    | Frame thread started
    11149234 [E]              d3d12.c:520  | d3d12_postCopy                 | Failed to close command list: 0x80070057 (Ïàðàìåòð çàäàí íåâåðíî.)
[E]     11149545               app.c:968  | app_main                       | Capture interface reported a fatal error
[I]     11165791               app.c:1013 | app_main                       | Host application exited
[I]     13205014              time.c:85   | windowsSetTimerResolution      | System timer resolution: 499.9 μs
[I]     13205372               app.c:800  | app_main                       | Looking Glass Host (B6-198-g10e30eec57+)
[I]     13205708           cpuinfo.c:37   | lgDebugCPU                     | CPU Model: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[I]     13206048           cpuinfo.c:38   | lgDebugCPU                     | CPU: 1 sockets, 3 cores, 6 threads
[I]     13206701           ivshmem.c:132  | ivshmemInit                    | IVSHMEM 0* on bus 0x0, device 0x5, function 0x0
[I]     13209516               app.c:817  | app_main                       | IVSHMEM Size     : 64 MiB
[I]     13209749               app.c:818  | app_main                       | IVSHMEM Address  : 0x2C3E5B10000
[I]     13210009               app.c:819  | app_main                       | Max Pointer Size : 1024 KiB
[I]     13210263               app.c:820  | app_main                       | KVMFR Version    : 20
[I]     13210520               app.c:839  | app_main                       | Trying           : DXGI
[I]     13212351              dxgi.c:512  | dxgi_init                      | Device Name       : \\.\DISPLAY1
[I]     13212589              dxgi.c:513  | dxgi_init                      | Device Description: Radeon RX 570 Series
[I]     13212821              dxgi.c:514  | dxgi_init                      | Device Vendor ID  : 0x1002
[I]     13213045              dxgi.c:515  | dxgi_init                      | Device Device ID  : 0x67df
[I]     13213250              dxgi.c:516  | dxgi_init                      | Device Video Mem  : 4039 MiB
[I]     13213458              dxgi.c:517  | dxgi_init                      | Device Sys Mem    : 0 MiB
[I]     13213672              dxgi.c:518  | dxgi_init                      | Shared Sys Mem    : 3068 MiB
[I]     13234812              dxgi.c:626  | dxgi_init                      | Feature Level     : 0xc000
[I]     13235025              dxgi.c:627  | dxgi_init                      | Capture Size      : 1920 x 1080
[I]     13235225              dxgi.c:628  | dxgi_init                      | AcquireLock       : enabled
[I]     13235420              dxgi.c:629  | dxgi_init                      | Debug mode        : disabled
[I]     13235893              dxgi.c:729  | dxgi_init                      | Bits Per Color    : 8
[I]     13236091              dxgi.c:730  | dxgi_init                      | Color Space       : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
[I]     13236344              dxgi.c:731  | dxgi_init                      | Min/Max Luminance : 0.500000/270.000000
[I]     13236574              dxgi.c:732  | dxgi_init                      | Frame Luminance   : 270.000000
[I]     13236773              dxgi.c:739  | dxgi_init                      | Source Format     : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     13237367              dxgi.c:765  | dxgi_init                      | Capture Format    : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     13238151             d3d12.c:136  | d3d12_create                   | Sleep before copy : 2.000000 ms
[I]     13260254              dxgi.c:815  | dxgi_init                      | Output Size       : 1920 x 1080
[I]     13260466              dxgi.c:823  | dxgi_init                      | Copy backend      : Direct3D 12
[I]     13260681              dxgi.c:824  | dxgi_init                      | Damage-aware copy : enabled
[I]     13263745               app.c:864  | app_main                       | Using            : DXGI Direct3D 12
[I]     13263973               app.c:865  | app_main                       | Capture Method   : Asynchronous
[I]     13264436               app.c:716  | lgmpSetup                      | Max Frame Size   : 30 MiB
[I]     13264658               app.c:414  | captureStop                    | ==== [ Capture Stop ] ====
[I]     14283586              dxgi.c:512  | dxgi_init                      | Device Name       : \\.\DISPLAY1
[I]     14283801              dxgi.c:513  | dxgi_init                      | Device Description: Radeon RX 570 Series
[I]     14284029              dxgi.c:514  | dxgi_init                      | Device Vendor ID  : 0x1002
[I]     14284220              dxgi.c:515  | dxgi_init                      | Device Device ID  : 0x67df
[I]     14284411              dxgi.c:516  | dxgi_init                      | Device Video Mem  : 4039 MiB
[I]     14284624              dxgi.c:517  | dxgi_init                      | Device Sys Mem    : 0 MiB
[I]     14284813              dxgi.c:518  | dxgi_init                      | Shared Sys Mem    : 3068 MiB
[I]     14306107              dxgi.c:626  | dxgi_init                      | Feature Level     : 0xc000
[I]     14306309              dxgi.c:627  | dxgi_init                      | Capture Size      : 1920 x 1080
[I]     14306525              dxgi.c:628  | dxgi_init                      | AcquireLock       : enabled
[I]     14306720              dxgi.c:629  | dxgi_init                      | Debug mode        : disabled
[I]     14307184              dxgi.c:729  | dxgi_init                      | Bits Per Color    : 8
[I]     14307405              dxgi.c:730  | dxgi_init                      | Color Space       : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
[I]     14307703              dxgi.c:731  | dxgi_init                      | Min/Max Luminance : 0.500000/270.000000
[I]     14307942              dxgi.c:732  | dxgi_init                      | Frame Luminance   : 270.000000
[I]     14308144              dxgi.c:739  | dxgi_init                      | Source Format     : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     14308976              dxgi.c:765  | dxgi_init                      | Capture Format    : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     14309618             d3d12.c:136  | d3d12_create                   | Sleep before copy : 2.000000 ms
[I]     14331546              dxgi.c:815  | dxgi_init                      | Output Size       : 1920 x 1080
[I]     14331790              dxgi.c:823  | dxgi_init                      | Copy backend      : Direct3D 12
[I]     14332004              dxgi.c:824  | dxgi_init                      | Damage-aware copy : enabled
[I]     14334550               app.c:408  | captureStart                   | ==== [ Capture Start ] ====
[I]     14334835               app.c:341  | frameThread                    | Frame thread started
    14341828 [E]              d3d12.c:520  | d3d12_postCopy                 | Failed to close command list: 0x80070057 (Ïàðàìåòð çàäàí íåâåðíî.)
[E]     14342116               app.c:968  | app_main                       | Capture interface reported a fatal error
[I]     14359216               app.c:1013 | app_main                       | Host application exited
[I]     18389803              time.c:85   | windowsSetTimerResolution      | System timer resolution: 499.9 μs
[I]     18390118               app.c:800  | app_main                       | Looking Glass Host (B6-198-g10e30eec57+)
[I]     18390385           cpuinfo.c:37   | lgDebugCPU                     | CPU Model: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[I]     18390631           cpuinfo.c:38   | lgDebugCPU                     | CPU: 1 sockets, 3 cores, 6 threads
[I]     18391227           ivshmem.c:132  | ivshmemInit                    | IVSHMEM 0* on bus 0x0, device 0x5, function 0x0
[I]     18393705               app.c:817  | app_main                       | IVSHMEM Size     : 64 MiB
[I]     18394003               app.c:818  | app_main                       | IVSHMEM Address  : 0x173C51F0000
[I]     18394308               app.c:819  | app_main                       | Max Pointer Size : 1024 KiB
[I]     18394531               app.c:820  | app_main                       | KVMFR Version    : 20
[I]     18394726               app.c:839  | app_main                       | Trying           : DXGI
[I]     18396444              dxgi.c:512  | dxgi_init                      | Device Name       : \\.\DISPLAY1
[I]     18396716              dxgi.c:513  | dxgi_init                      | Device Description: Radeon RX 570 Series
[I]     18396953              dxgi.c:514  | dxgi_init                      | Device Vendor ID  : 0x1002
[I]     18397145              dxgi.c:515  | dxgi_init                      | Device Device ID  : 0x67df
[I]     18397344              dxgi.c:516  | dxgi_init                      | Device Video Mem  : 4039 MiB
[I]     18397546              dxgi.c:517  | dxgi_init                      | Device Sys Mem    : 0 MiB
[I]     18397735              dxgi.c:518  | dxgi_init                      | Shared Sys Mem    : 3068 MiB
[I]     18420339              dxgi.c:626  | dxgi_init                      | Feature Level     : 0xc000
[I]     18420554              dxgi.c:627  | dxgi_init                      | Capture Size      : 1920 x 1080
[I]     18420757              dxgi.c:628  | dxgi_init                      | AcquireLock       : enabled
[I]     18420971              dxgi.c:629  | dxgi_init                      | Debug mode        : disabled
[I]     18421469              dxgi.c:729  | dxgi_init                      | Bits Per Color    : 8
[I]     18421702              dxgi.c:730  | dxgi_init                      | Color Space       : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
[I]     18421986              dxgi.c:731  | dxgi_init                      | Min/Max Luminance : 0.500000/270.000000
[I]     18422207              dxgi.c:732  | dxgi_init                      | Frame Luminance   : 270.000000
[I]     18422417              dxgi.c:739  | dxgi_init                      | Source Format     : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     18422986              dxgi.c:765  | dxgi_init                      | Capture Format    : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     18423781             d3d12.c:136  | d3d12_create                   | Sleep before copy : 2.000000 ms
[I]     18447996              dxgi.c:815  | dxgi_init                      | Output Size       : 1920 x 1080
[I]     18448212              dxgi.c:823  | dxgi_init                      | Copy backend      : Direct3D 12
[I]     18448426              dxgi.c:824  | dxgi_init                      | Damage-aware copy : enabled
[I]     18451321               app.c:864  | app_main                       | Using            : DXGI Direct3D 12
[I]     18451561               app.c:865  | app_main                       | Capture Method   : Asynchronous
[I]     18452010               app.c:716  | lgmpSetup                      | Max Frame Size   : 30 MiB
[I]     18452219               app.c:414  | captureStop                    | ==== [ Capture Stop ] ====
[I]     18566924              dxgi.c:512  | dxgi_init                      | Device Name       : \\.\DISPLAY1
[I]     18567144              dxgi.c:513  | dxgi_init                      | Device Description: Radeon RX 570 Series
[I]     18567375              dxgi.c:514  | dxgi_init                      | Device Vendor ID  : 0x1002
[I]     18567616              dxgi.c:515  | dxgi_init                      | Device Device ID  : 0x67df
[I]     18567820              dxgi.c:516  | dxgi_init                      | Device Video Mem  : 4039 MiB
[I]     18568018              dxgi.c:517  | dxgi_init                      | Device Sys Mem    : 0 MiB
[I]     18568210              dxgi.c:518  | dxgi_init                      | Shared Sys Mem    : 3068 MiB
[I]     18588445              dxgi.c:626  | dxgi_init                      | Feature Level     : 0xc000
[I]     18588654              dxgi.c:627  | dxgi_init                      | Capture Size      : 1920 x 1080
[I]     18588864              dxgi.c:628  | dxgi_init                      | AcquireLock       : enabled
[I]     18589057              dxgi.c:629  | dxgi_init                      | Debug mode        : disabled
[I]     18589502              dxgi.c:729  | dxgi_init                      | Bits Per Color    : 8
[I]     18589711              dxgi.c:730  | dxgi_init                      | Color Space       : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
[I]     18589982              dxgi.c:731  | dxgi_init                      | Min/Max Luminance : 0.500000/270.000000
[I]     18590200              dxgi.c:732  | dxgi_init                      | Frame Luminance   : 270.000000
[I]     18590408              dxgi.c:739  | dxgi_init                      | Source Format     : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     18591340              dxgi.c:765  | dxgi_init                      | Capture Format    : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     18592051             d3d12.c:136  | d3d12_create                   | Sleep before copy : 2.000000 ms
[I]     18613397              dxgi.c:815  | dxgi_init                      | Output Size       : 1920 x 1080
[I]     18613618              dxgi.c:823  | dxgi_init                      | Copy backend      : Direct3D 12
[I]     18613833              dxgi.c:824  | dxgi_init                      | Damage-aware copy : enabled
[I]     18616448               app.c:408  | captureStart                   | ==== [ Capture Start ] ====
[I]     18616735               app.c:341  | frameThread                    | Frame thread started
    18624829 [E]              d3d12.c:520  | d3d12_postCopy                 | Failed to close command list: 0x80070057 (Ïàðàìåòð çàäàí íåâåðíî.)
[E]     18625106               app.c:968  | app_main                       | Capture interface reported a fatal error
[I]     18641752               app.c:1013 | app_main                       | Host application exited
[I]     26724411              time.c:85   | windowsSetTimerResolution      | System timer resolution: 499.9 μs
[I]     26724843               app.c:800  | app_main                       | Looking Glass Host (B6-198-g10e30eec57+)
[I]     26725223           cpuinfo.c:37   | lgDebugCPU                     | CPU Model: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[I]     26725603           cpuinfo.c:38   | lgDebugCPU                     | CPU: 1 sockets, 3 cores, 6 threads
[I]     26726419           ivshmem.c:132  | ivshmemInit                    | IVSHMEM 0* on bus 0x0, device 0x5, function 0x0
[I]     26729599               app.c:817  | app_main                       | IVSHMEM Size     : 64 MiB
[I]     26729862               app.c:818  | app_main                       | IVSHMEM Address  : 0x1A4F5300000
[I]     26730142               app.c:819  | app_main                       | Max Pointer Size : 1024 KiB
[I]     26730398               app.c:820  | app_main                       | KVMFR Version    : 20
[I]     26730672               app.c:839  | app_main                       | Trying           : DXGI
[I]     26732688              dxgi.c:512  | dxgi_init                      | Device Name       : \\.\DISPLAY1
[I]     26732949              dxgi.c:513  | dxgi_init                      | Device Description: Radeon RX 570 Series
[I]     26733208              dxgi.c:514  | dxgi_init                      | Device Vendor ID  : 0x1002
[I]     26733445              dxgi.c:515  | dxgi_init                      | Device Device ID  : 0x67df
[I]     26733715              dxgi.c:516  | dxgi_init                      | Device Video Mem  : 4039 MiB
[I]     26733957              dxgi.c:517  | dxgi_init                      | Device Sys Mem    : 0 MiB
[I]     26734183              dxgi.c:518  | dxgi_init                      | Shared Sys Mem    : 3068 MiB
[I]     26756916              dxgi.c:626  | dxgi_init                      | Feature Level     : 0xc000
[I]     26757125              dxgi.c:627  | dxgi_init                      | Capture Size      : 1920 x 1080
[I]     26757331              dxgi.c:628  | dxgi_init                      | AcquireLock       : enabled
[I]     26757545              dxgi.c:629  | dxgi_init                      | Debug mode        : disabled
[I]     26758005              dxgi.c:729  | dxgi_init                      | Bits Per Color    : 8
[I]     26758197              dxgi.c:730  | dxgi_init                      | Color Space       : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
[I]     26758464              dxgi.c:731  | dxgi_init                      | Min/Max Luminance : 0.500000/270.000000
[I]     26758771              dxgi.c:732  | dxgi_init                      | Frame Luminance   : 270.000000
[I]     26758984              dxgi.c:739  | dxgi_init                      | Source Format     : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     26759452              dxgi.c:765  | dxgi_init                      | Capture Format    : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     26760242             d3d12.c:136  | d3d12_create                   | Sleep before copy : 2.000000 ms
[I]     26781800              dxgi.c:815  | dxgi_init                      | Output Size       : 1920 x 1080
[I]     26782027              dxgi.c:823  | dxgi_init                      | Copy backend      : Direct3D 12
[I]     26782231              dxgi.c:824  | dxgi_init                      | Damage-aware copy : enabled
[I]     26785265               app.c:864  | app_main                       | Using            : DXGI Direct3D 12
[I]     26785550               app.c:865  | app_main                       | Capture Method   : Asynchronous
[I]     26786007               app.c:716  | lgmpSetup                      | Max Frame Size   : 30 MiB
[I]     26786213               app.c:414  | captureStop                    | ==== [ Capture Stop ] ====
[I]     27704609              dxgi.c:512  | dxgi_init                      | Device Name       : \\.\DISPLAY1
[I]     27704984              dxgi.c:513  | dxgi_init                      | Device Description: Radeon RX 570 Series
[I]     27705353              dxgi.c:514  | dxgi_init                      | Device Vendor ID  : 0x1002
[I]     27705697              dxgi.c:515  | dxgi_init                      | Device Device ID  : 0x67df
[I]     27706070              dxgi.c:516  | dxgi_init                      | Device Video Mem  : 4039 MiB
[I]     27706443              dxgi.c:517  | dxgi_init                      | Device Sys Mem    : 0 MiB
[I]     27706797              dxgi.c:518  | dxgi_init                      | Shared Sys Mem    : 3068 MiB
[I]     27745132              dxgi.c:626  | dxgi_init                      | Feature Level     : 0xc000
[I]     27745605              dxgi.c:627  | dxgi_init                      | Capture Size      : 1920 x 1080
[I]     27746061              dxgi.c:628  | dxgi_init                      | AcquireLock       : enabled
[I]     27746482              dxgi.c:629  | dxgi_init                      | Debug mode        : disabled
[I]     27747393              dxgi.c:729  | dxgi_init                      | Bits Per Color    : 8
[I]     27747794              dxgi.c:730  | dxgi_init                      | Color Space       : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
[I]     27748339              dxgi.c:731  | dxgi_init                      | Min/Max Luminance : 0.500000/270.000000
[I]     27748816              dxgi.c:732  | dxgi_init                      | Frame Luminance   : 270.000000
[I]     27749247              dxgi.c:739  | dxgi_init                      | Source Format     : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     27751298              dxgi.c:765  | dxgi_init                      | Capture Format    : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     27752723             d3d12.c:136  | d3d12_create                   | Sleep before copy : 2.000000 ms
[I]     27794388              dxgi.c:815  | dxgi_init                      | Output Size       : 1920 x 1080
[I]     27794838              dxgi.c:823  | dxgi_init                      | Copy backend      : Direct3D 12
[I]     27795277              dxgi.c:824  | dxgi_init                      | Damage-aware copy : enabled
[I]     27800499               app.c:408  | captureStart                   | ==== [ Capture Start ] ====
[I]     27801073               app.c:341  | frameThread                    | Frame thread started
    27812887 [E]              d3d12.c:520  | d3d12_postCopy                 | Failed to close command list: 0x80070057 (Ïàðàìåòð çàäàí íåâåðíî.)
[E]     27813521               app.c:968  | app_main                       | Capture interface reported a fatal error
[I]     27835604               app.c:1013 | app_main                       | Host application exited
[I]     43926754              time.c:85   | windowsSetTimerResolution      | System timer resolution: 499.9 μs
[I]     43927692               app.c:800  | app_main                       | Looking Glass Host (B6-198-g10e30eec57+)
[I]     43928436           cpuinfo.c:37   | lgDebugCPU                     | CPU Model: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[I]     43929048           cpuinfo.c:38   | lgDebugCPU                     | CPU: 1 sockets, 3 cores, 6 threads
[I]     43930458           ivshmem.c:132  | ivshmemInit                    | IVSHMEM 0* on bus 0x0, device 0x5, function 0x0
[I]     43935317               app.c:817  | app_main                       | IVSHMEM Size     : 64 MiB
[I]     43935718               app.c:818  | app_main                       | IVSHMEM Address  : 0x2AD98070000
[I]     43936141               app.c:819  | app_main                       | Max Pointer Size : 1024 KiB
[I]     43936551               app.c:820  | app_main                       | KVMFR Version    : 20
[I]     43936937               app.c:839  | app_main                       | Trying           : DXGI
[I]     43940231              dxgi.c:512  | dxgi_init                      | Device Name       : \\.\DISPLAY1
[I]     43940683              dxgi.c:513  | dxgi_init                      | Device Description: Radeon RX 570 Series
[I]     43941137              dxgi.c:514  | dxgi_init                      | Device Vendor ID  : 0x1002
[I]     43941547              dxgi.c:515  | dxgi_init                      | Device Device ID  : 0x67df
[I]     43941947              dxgi.c:516  | dxgi_init                      | Device Video Mem  : 4039 MiB
[I]     43942353              dxgi.c:517  | dxgi_init                      | Device Sys Mem    : 0 MiB
[I]     43942754              dxgi.c:518  | dxgi_init                      | Shared Sys Mem    : 3068 MiB
[I]     43980199              dxgi.c:626  | dxgi_init                      | Feature Level     : 0xc000
[I]     43980537              dxgi.c:627  | dxgi_init                      | Capture Size      : 1920 x 1080
[I]     43980850              dxgi.c:628  | dxgi_init                      | AcquireLock       : enabled
[I]     43981142              dxgi.c:629  | dxgi_init                      | Debug mode        : disabled
[I]     43981830              dxgi.c:729  | dxgi_init                      | Bits Per Color    : 8
[I]     43982122              dxgi.c:730  | dxgi_init                      | Color Space       : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
[I]     43982516              dxgi.c:731  | dxgi_init                      | Min/Max Luminance : 0.500000/270.000000
[I]     43982855              dxgi.c:732  | dxgi_init                      | Frame Luminance   : 270.000000
[I]     43983152              dxgi.c:739  | dxgi_init                      | Source Format     : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     43984268              dxgi.c:765  | dxgi_init                      | Capture Format    : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     43985335             d3d12.c:136  | d3d12_create                   | Sleep before copy : 2.000000 ms
[I]     44013497              dxgi.c:815  | dxgi_init                      | Output Size       : 1920 x 1080
[I]     44013738              dxgi.c:823  | dxgi_init                      | Copy backend      : Direct3D 12
[I]     44013960              dxgi.c:824  | dxgi_init                      | Damage-aware copy : enabled
[I]     44017314               app.c:864  | app_main                       | Using            : DXGI Direct3D 12
[I]     44017571               app.c:865  | app_main                       | Capture Method   : Asynchronous
[I]     44018317               app.c:716  | lgmpSetup                      | Max Frame Size   : 30 MiB
[I]     44018563               app.c:414  | captureStop                    | ==== [ Capture Stop ] ====
[I]     44938036              dxgi.c:512  | dxgi_init                      | Device Name       : \\.\DISPLAY1
[I]     44939508              dxgi.c:513  | dxgi_init                      | Device Description: Radeon RX 570 Series
[I]     44940988              dxgi.c:514  | dxgi_init                      | Device Vendor ID  : 0x1002
[I]     44942275              dxgi.c:515  | dxgi_init                      | Device Device ID  : 0x67df
[I]     44943533              dxgi.c:516  | dxgi_init                      | Device Video Mem  : 4039 MiB
[I]     44944842              dxgi.c:517  | dxgi_init                      | Device Sys Mem    : 0 MiB
[I]     44946133              dxgi.c:518  | dxgi_init                      | Shared Sys Mem    : 3068 MiB
[I]     44996220              dxgi.c:626  | dxgi_init                      | Feature Level     : 0xc000
[I]     44996464              dxgi.c:627  | dxgi_init                      | Capture Size      : 1920 x 1080
[I]     44996972              dxgi.c:628  | dxgi_init                      | AcquireLock       : enabled
[I]     44997215              dxgi.c:629  | dxgi_init                      | Debug mode        : disabled
[I]     44997724              dxgi.c:729  | dxgi_init                      | Bits Per Color    : 8
[I]     44997983              dxgi.c:730  | dxgi_init                      | Color Space       : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
[I]     44998314              dxgi.c:731  | dxgi_init                      | Min/Max Luminance : 0.500000/270.000000
[I]     44998582              dxgi.c:732  | dxgi_init                      | Frame Luminance   : 270.000000
[I]     44998833              dxgi.c:739  | dxgi_init                      | Source Format     : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     44999754              dxgi.c:765  | dxgi_init                      | Capture Format    : DXGI_FORMAT_B8G8R8A8_UNORM
[I]     45000650             d3d12.c:136  | d3d12_create                   | Sleep before copy : 2.000000 ms
[I]     45023430              dxgi.c:815  | dxgi_init                      | Output Size       : 1920 x 1080
[I]     45023653              dxgi.c:823  | dxgi_init                      | Copy backend      : Direct3D 12
[I]     45023868              dxgi.c:824  | dxgi_init                      | Damage-aware copy : enabled
[I]     45026469               app.c:408  | captureStart                   | ==== [ Capture Start ] ====
[I]     45026782               app.c:341  | frameThread                    | Frame thread started
    45033601 [E]              d3d12.c:520  | d3d12_postCopy                 | Failed to close command list: 0x80070057 (Ïàðàìåòð çàäàí íåâåðíî.)
[E]     45033899               app.c:968  | app_main                       | Capture interface reported a fatal error
[I]     45051047               app.c:1013 | app_main                       | Host application exited
Mejituu commented 9 months ago

我也遇到了,我还一度怀疑是windows11的问题,因为我也用的dx12后端,我试试这个补丁编译最新版看看是否有效。 I've encountered it too. I even suspected it was a Windows 11 problem because I also use the dx12 backend. I'll try this patch to compile the latest version and see if it works.

Mejituu commented 9 months ago

刚刚试了试这个回退补丁,确实有效,我现在能正常使用d3d12了。 I just tried this rollback patch and it really works. I can now use d3d12 normally.

Mejituu commented 9 months ago

@gnif

Mejituu commented 9 months ago

刚刚试了试这个回退补丁,确实有效,我现在能正常使用d3d12了。 I just tried this rollback patch and it really works. I can now use d3d12 normally.

是基于当前最新版本 is based on the latest version

gnif commented 9 months ago

Stop trying to ping me, this issue is known and even with this patch DX12 is completely broken, do not use it.