Looking Glass - B5.01 FSR Issues

First of all I’ll start by saying this project and the work done @gnif is simply AMAZING! I’ve been waiting for this kind of setup for a long time and the inclusion of FSR its just the icing on the cake (well and sound for B6 :blush:)

Anyway I’m having issues with FSR an CAS, the image gets black and corrupted when activated, down scaling on the other hand works fine.

Here is what it looks like

FSR or CAS


Depending on the value I get a full black screen with noise or a corrupted image.

To my understanding EGL Filter is applied on the client side, so the issue must be with the way FSR works on my machine, thou I’ve been playing with Proton-GE with FSR enabled fine.

I’m running Ubuntu 20.04 with a RTX 3050 and the official Nvidia drivers as the host, and Win11 as the guest with a GTX970 pci passthrough, everything else seems to work fine.

Any ideas of what could be happening¿? Maybe I can provide more info/logs/colab?

Thanks for your time and effort, hope this can help others with similar issues or reaching a even more polished version of LG.

Client logs please, we can’t do anything if you don’t provide them… Run LG in a terminal for it.

Here is the log from startup to actually enabling FSR:

[I]  28116673629              main.c:1304 | main                           | Looking Glass (B5.0.1)
[I]  28116673658              main.c:1305 | main                           | Locking Method: Atomic
[I]  28116694729           cpuinfo.c:36   | lgDebugCPU                     | CPU Model: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[I]  28116694737           cpuinfo.c:37   | lgDebugCPU                     | CPU: 4 cores, 8 threads
[I]  28116720716              main.c:866  | lg_run                         | Using font: /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
[I]  28116720750           ivshmem.c:128  | ivshmemOpenDev                 | KVMFR Device     : /dev/shm/looking-glass
[I]  28116828427               egl.c:261  | egl_initialize                 | Double buffering is off
[I]  28116828436              main.c:833  | tryRenderer                    | Using Renderer: EGL
[I]  28116829323               x11.c:227  | x11CheckEWMHSupport            | EWMH-complient window manager detected: GNOME Shell
[I]  28116829465               x11.c:454  | x11Init                        | X11 XInput 2.0 in use
[I]  28116839205               x11.c:1374 | x11GetEGLDisplay               | Using eglGetPlatformDisplayEXT
[I]  28116851128               egl.c:696  | egl_renderStartup              | Multisampling enabled, max samples: 4
[I]  28116874177               egl.c:773  | egl_renderStartup              | Single buffer mode
[I]  28116896256               egl.c:789  | egl_renderStartup              | EGL     : 1.5
[I]  28116896267               egl.c:790  | egl_renderStartup              | Vendor  : NVIDIA Corporation
[I]  28116896269               egl.c:791  | egl_renderStartup              | Renderer: NVIDIA GeForce RTX 3050/PCIe/SSE2
[I]  28116896273               egl.c:792  | egl_renderStartup              | Version : OpenGL ES 3.2 NVIDIA 510.39.01
[I]  28116896281               egl.c:793  | egl_renderStartup              | EGL APIs: OpenGL_ES OpenGL
[I]  28116896284               egl.c:794  | egl_renderStartup              | EGL Exts: EGL_EXT_buffer_age EGL_EXT_client_sync EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_MESA_image_dma_buf_export EGL_EXT_output_base EGL_EXT_stream_acquire_mode EGL_EXT_sync_reuse EGL_IMG_context_priority EGL_KHR_config_attribs EGL_KHR_create_context_no_error EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_partial_update EGL_KHR_swap_buffers_with_damage EGL_KHR_no_config_context 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_reusable_sync EGL_KHR_stream EGL_KHR_stream_attrib EGL_KHR_stream_consumer_gltexture EGL_KHR_stream_cross_process_fd EGL_KHR_stream_fifo EGL_KHR_stream_producer_eglsurface EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_NV_nvrm_fence_sync EGL_NV_post_sub_buffer EGL_NV_quadruple_buffer EGL_NV_stream_consumer_eglimage EGL_NV_stream_cross_display EGL_NV_stream_cross_object EGL_NV_stream_cross_process EGL_NV_stream_cross_system EGL_NV_stream_dma EGL_NV_stream_flush EGL_NV_stream_metadata EGL_NV_stream_remote EGL_NV_stream_reset EGL_NV_stream_socket EGL_NV_stream_socket_inet EGL_NV_stream_socket_unix EGL_NV_stream_sync EGL_NV_stream_fifo_next EGL_NV_stream_fifo_synchronous EGL_NV_stream_consumer_gltexture_yuv EGL_NV_stream_attrib EGL_NV_stream_origin EGL_NV_system_time EGL_NV_output_drm_flip_event EGL_NV_triple_buffer EGL_NV_robustness_video_memory_purge EGL_WL_bind_wayland_display EGL_WL_wayland_eglstream
[I]  28116896290               egl.c:795  | egl_renderStartup              | GL Exts : GL_EXT_base_instance GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture GL_EXT_clip_control GL_EXT_clip_cull_distance GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_conservative_depth GL_EXT_copy_image GL_EXT_depth_clamp GL_EXT_debug_label GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_EGL_image_array GL_EXT_EGL_image_storage GL_EXT_EGL_image_external_wrap_modes GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_map_buffer_range GL_EXT_multi_draw_indirect GL_EXT_multisample_compatibility GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_EXT_multiview_texture_multisample GL_EXT_multiview_timer_query GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp GL_EXT_post_depth_coverage GL_EXT_primitive_bounding_box GL_EXT_raster_multisample GL_EXT_render_snorm GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sparse_texture GL_EXT_sparse_texture2 GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_filter_minmax GL_EXT_texture_format_BGRA8888 GL_EXT_texture_mirror_clamp_to_edge GL_EXT_texture_norm16 GL_EXT_texture_query_lod GL_EXT_texture_rg GL_EXT_texture_shadow_lod GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_view GL_EXT_draw_transform_feedback GL_EXT_unpack_subimage GL_EXT_window_rectangles GL_KHR_context_flush_control GL_KHR_debug GL_EXT_memory_object GL_EXT_memory_object_fd GL_NV_memory_object_sparse GL_KHR_parallel_shader_compile GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_EXT_semaphore GL_EXT_semaphore_fd GL_NV_timeline_semaphore GL_KHR_shader_subgroup GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_KHR_texture_compression_astc_hdr GL_NV_bgr GL_NV_bindless_texture GL_NV_blend_equation_advanced GL_NV_blend_equation_advanced_coherent GL_NVX_blend_equation_advanced_multi_draw_buffers GL_NV_blend_minmax_factor GL_NV_clip_space_w_scaling GL_NV_compute_shader_derivatives GL_NV_conditional_render GL_NV_conservative_raster GL_NV_conservative_raster_pre_snap_triangles GL_NV_copy_buffer GL_NV_copy_image GL_NV_draw_buffers GL_NV_draw_instanced GL_NV_draw_texture GL_NV_draw_vulkan_image GL_NV_EGL_stream_consumer_external GL_NV_explicit_attrib_location GL_NV_fbo_color_attachments GL_NV_fill_rectangle GL_NV_fragment_coverage_to_color GL_NV_fragment_shader_barycentric GL_NV_fragment_shader_interlock GL_NV_framebuffer_blit GL_NV_framebuffer_mixed_samples GL_NV_framebuffer_multisample GL_NV_generate_mipmap_sRGB GL_NV_geometry_shader_passthrough GL_NV_instanced_arrays GL_NV_internalformat_sample_query GL_NV_gpu_shader5 GL_NV_image_formats GL_NV_memory_attachment GL_NV_mesh_shader GL_NV_occlusion_query_samples GL_NV_non_square_matrices GL_NV_pack_subimage GL_NV_packed_float GL_NV_packed_float_linear GL_NV_path_rendering GL_NV_path_rendering_shared_edge GL_NV_pixel_buffer_object GL_NV_polygon_mode GL_NV_primitive_shading_rate GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_NV_representative_fragment_test GL_NV_sample_locations GL_NV_sample_mask_override_coverage GL_NV_scissor_exclusive GL_NV_shader_atomic_fp16_vector GL_NV_shader_noperspective_interpolation GL_NV_shader_subgroup_partitioned GL_NV_shader_texture_footprint GL_NV_shading_rate_image GL_NV_shadow_samplers_array GL_NV_shadow_samplers_cube GL_NV_sRGB_formats GL_NV_stereo_view_rendering GL_NV_texture_array GL_NV_texture_barrier GL_NV_texture_border_clamp GL_NV_texture_compression_latc GL_NV_texture_compression_s3tc GL_NV_texture_compression_s3tc_update GL_NV_texture_dirty_tile_map GL_NV_timer_query GL_NV_viewport_array GL_NV_viewport_array2 GL_NV_viewport_swizzle GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_compressed_ETC1_RGB8_texture GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_buffer GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_gpu_shader5 GL_OES_shader_io_blocks GL_OES_texture_view GL_OES_primitive_bounding_box GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_multisample_interpolation GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_cube_map_array GL_OES_texture_npot GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float GL_OES_viewport_array GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_ANDROID_extension_pack_es31a 
[I]  28116896327               egl.c:858  | egl_renderStartup              | Debug messages disabled, enable with egl:debug=true
[I]  28116905880           eglutil.c:35   | swapWithDamageInit             | Using EGL_KHR_swap_buffers_with_damage
[I]  28117100998              main.c:1123 | lg_run                         | ================================================================================
[I]  28117101012              main.c:1124 | lg_run                         | The host application seems to not be running
[I]  28117101014              main.c:1125 | lg_run                         | Waiting for the host application to start...
[I]  28141103267              main.c:1176 | lg_run                         | Host ready, reported version: B5.0.1
[I]  28141103279              main.c:1177 | lg_run                         | Starting session
[I]  28141111851              main.c:637  | main_frameThread               | Format: FRAME_TYPE_BGRA 1920x1080 stride:1920 pitch:7680 rotation:0

I am not sure what is going on here, this is the first report we have had like this and there is nothing really to explain what is wrong here. Can you please try downgrading your NVidia driver to a 4xx series and see if this helps?

Not related to your issue, but you should note that this is not good, LG is not going to perform well on your system as you are starved of resources for a low latency guest VM.

Thanks for the performance tip, actually it’s working really well, I’ve been playing games and as I mentioned everything else is fine with LG, my only issue is the FSR and CAS, down the road this year I’m planing to buy a new CPU/Motherboard.

Regarding the driver I believe I can’t downgrade to 4XX driver since mi rtx 3050 is only supported on the latest. What I could try is to passthrough the rtx 3050 to the VM and leave the gtx 970 on the host with the 4XX driver.

Maybe there are more things I can test before swapping cards, any ideas?

Well I discovered something, I was installing the nvidia-driver-470 to attempt a gpu passthrough of the RTX 3050 instead of the GTX 970 and since the process was not working at the first attempt I decided to revert it with the idea of giving it another shot tomorrow after work.

But to my surprise just before restoring the 5XX driver and with the screen running in some sort of compatibility mesa/x.org mode (1024x768) I decided to start the VM and run LG to check FSR and CAS and shockingly it’s working.

Here is the log.

[I]   1297532282              main.c:1304 | main                           | Looking Glass (B5.0.1)
[I]   1297532304              main.c:1305 | main                           | Locking Method: Atomic
[I]   1297554676           cpuinfo.c:36   | lgDebugCPU                     | CPU Model: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[I]   1297554688           cpuinfo.c:37   | lgDebugCPU                     | CPU: 4 cores, 8 threads
[I]   1297568568              main.c:866  | lg_run                         | Using font: /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
[I]   1297568605           ivshmem.c:128  | ivshmemOpenDev                 | KVMFR Device     : /dev/shm/looking-glass
[I]   1297584252               egl.c:261  | egl_initialize                 | Double buffering is off
[I]   1297584265              main.c:833  | tryRenderer                    | Using Renderer: EGL
[I]   1297585157               x11.c:227  | x11CheckEWMHSupport            | EWMH-complient window manager detected: GNOME Shell
[I]   1297585361               x11.c:454  | x11Init                        | X11 XInput 2.0 in use
[I]   1297592277               x11.c:1374 | x11GetEGLDisplay               | Using eglGetPlatformDisplayEXT
libEGL warning: DRI2: failed to authenticate
[I]   1297619141               egl.c:696  | egl_renderStartup              | Multisampling enabled, max samples: 4
[I]   1297623512               egl.c:773  | egl_renderStartup              | Single buffer mode
[I]   1297678237               egl.c:789  | egl_renderStartup              | EGL     : 1.5
[I]   1297678256               egl.c:790  | egl_renderStartup              | Vendor  : Mesa/X.org
[I]   1297678262               egl.c:791  | egl_renderStartup              | Renderer: llvmpipe (LLVM 12.0.0, 256 bits)
[I]   1297678265               egl.c:792  | egl_renderStartup              | Version : OpenGL ES 3.2 Mesa 21.0.3
[I]   1297678273               egl.c:793  | egl_renderStartup              | EGL APIs: OpenGL OpenGL_ES 
[I]   1297678276               egl.c:794  | egl_renderStartup              | EGL Exts: EGL_EXT_create_context_robustness 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_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_query_driver 
[I]   1297678281               egl.c:795  | egl_renderStartup              | GL Exts : GL_EXT_blend_minmax GL_EXT_multi_draw_arrays 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_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_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_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr 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_sRGB_write_control GL_EXT_separate_shader_objects 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_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_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats 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_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic 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_texture_compression_bptc GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod 
[W]   1297678303               egl.c:809  | egl_renderStartup              | GL_EXT_buffer_age is not supported, will not perform as well.
[I]   1297678311               egl.c:826  | egl_renderStartup              | EGL_EXT_image_dma_buf_import unavailable, DMA support disabled
[I]   1297678317               egl.c:858  | egl_renderStartup              | Debug messages disabled, enable with egl:debug=true
[I]   1297715121           eglutil.c:45   | swapWithDamageInit             | Swapping buffers with damage: not supported
[I]   1297899595              main.c:1176 | lg_run                         | Host ready, reported version: B5.0.1
[I]   1297899606              main.c:1177 | lg_run                         | Starting session
[I]   1298031150              main.c:637  | main_frameThread               | Format: FRAME_TYPE_BGRA 1280x720 stride:1280 pitch:5120 rotation:0

So it must be something with the 5XX driver, probably happening to other people using the latest Nvidia drivers?

Hello!
I had to sign up just to reply that I have the exact same symptoms regarding CAS and FSR. LG works perfectly for me in all other regards but when I enable the new fancy features I end up with either a black screen with a few pixels here and there flickering, or if I adjust the sliders perfectly I can get an outline of the image similarly to the first picture you posted.

I’m not at home right now so I have no logs to provide for the moment, but I can try to dump them tonight if Gnif thinks it might help?

Edit:
This is what the client outputs when i run it from CLI

[email protected]:~/Desktop$ /home/robert/Software/LookingGlass-B5-rc1-git/client/build/looking-glass-client spice:enable=no -S win:size=1920x1080
[I]    156710164              main.c:1304 | main                           | Looking Glass (B5-rc1-4-g5f80ce91e8)
[I]    156710615              main.c:1305 | main                           | Locking Method: Atomic
[I]    156730669           cpuinfo.c:36   | lgDebugCPU                     | CPU Model: AMD Ryzen 9 5900X 12-Core Processor
[I]    156730679           cpuinfo.c:37   | lgDebugCPU                     | CPU: 12 cores, 24 threads
[I]    156746596              main.c:866  | lg_run                         | Using font: /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
[I]    156746613           ivshmem.c:128  | ivshmemOpenDev                 | KVMFR Device     : /dev/shm/looking-glass
[I]    156746649               egl.c:261  | egl_initialize                 | Double buffering is off
[I]    156746651              main.c:833  | tryRenderer                    | Using Renderer: EGL
[I]    156747230               x11.c:219  | x11CheckEWMHSupport            | EWMH-complient window manager detected: GNOME Shell
[I]    156747358               x11.c:446  | x11Init                        | X11 XInput 2.0 in use
[I]    156762554               x11.c:1366 | x11GetEGLDisplay               | Using eglGetPlatformDisplayEXT
[I]    156770838               egl.c:696  | egl_renderStartup              | Multisampling enabled, max samples: 4
[I]    156795827               egl.c:773  | egl_renderStartup              | Single buffer mode
[I]    156822511               egl.c:789  | egl_renderStartup              | EGL     : 1.5
[I]    156822519               egl.c:790  | egl_renderStartup              | Vendor  : NVIDIA Corporation
[I]    156822523               egl.c:791  | egl_renderStartup              | Renderer: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2
[I]    156822527               egl.c:792  | egl_renderStartup              | Version : OpenGL ES 3.2 NVIDIA 470.103.01
[I]    156822533               egl.c:793  | egl_renderStartup              | EGL APIs: OpenGL_ES OpenGL
[I]    156822536               egl.c:794  | egl_renderStartup              | EGL Exts: EGL_EXT_buffer_age EGL_EXT_client_sync EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_MESA_image_dma_buf_export EGL_EXT_output_base EGL_EXT_stream_acquire_mode EGL_EXT_sync_reuse EGL_IMG_context_priority EGL_KHR_config_attribs EGL_KHR_create_context_no_error EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_partial_update EGL_KHR_swap_buffers_with_damage EGL_KHR_no_config_context 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_reusable_sync EGL_KHR_stream EGL_KHR_stream_attrib EGL_KHR_stream_consumer_gltexture EGL_KHR_stream_cross_process_fd EGL_KHR_stream_fifo EGL_KHR_stream_producer_eglsurface EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_NV_nvrm_fence_sync EGL_NV_post_sub_buffer EGL_NV_quadruple_buffer EGL_NV_stream_consumer_eglimage EGL_NV_stream_cross_display EGL_NV_stream_cross_object EGL_NV_stream_cross_process EGL_NV_stream_cross_system EGL_NV_stream_dma EGL_NV_stream_flush EGL_NV_stream_metadata EGL_NV_stream_remote EGL_NV_stream_reset EGL_NV_stream_socket EGL_NV_stream_socket_inet EGL_NV_stream_socket_unix EGL_NV_stream_sync EGL_NV_stream_fifo_next EGL_NV_stream_fifo_synchronous EGL_NV_stream_consumer_gltexture_yuv EGL_NV_stream_attrib EGL_NV_stream_origin EGL_NV_system_time EGL_NV_output_drm_flip_event EGL_NV_triple_buffer EGL_NV_robustness_video_memory_purge
[I]    156822542               egl.c:795  | egl_renderStartup              | GL Exts : GL_EXT_base_instance GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture GL_EXT_clip_control GL_EXT_clip_cull_distance GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_conservative_depth GL_EXT_copy_image GL_EXT_depth_clamp GL_EXT_debug_label GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_EGL_image_array GL_EXT_EGL_image_storage GL_EXT_EGL_image_external_wrap_modes GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_map_buffer_range GL_EXT_multi_draw_indirect GL_EXT_multisample_compatibility GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_EXT_multiview_texture_multisample GL_EXT_multiview_timer_query GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp GL_EXT_post_depth_coverage GL_EXT_primitive_bounding_box GL_EXT_raster_multisample GL_EXT_render_snorm GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sparse_texture GL_EXT_sparse_texture2 GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_filter_minmax GL_EXT_texture_format_BGRA8888 GL_EXT_texture_mirror_clamp_to_edge GL_EXT_texture_norm16 GL_EXT_texture_query_lod GL_EXT_texture_rg GL_EXT_texture_shadow_lod GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_view GL_EXT_draw_transform_feedback GL_EXT_unpack_subimage GL_EXT_window_rectangles GL_KHR_context_flush_control GL_KHR_debug GL_EXT_memory_object GL_EXT_memory_object_fd GL_NV_memory_object_sparse GL_KHR_parallel_shader_compile GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_EXT_semaphore GL_EXT_semaphore_fd GL_NV_timeline_semaphore GL_KHR_shader_subgroup GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_KHR_texture_compression_astc_hdr GL_NV_bgr GL_NV_bindless_texture GL_NV_blend_equation_advanced GL_NV_blend_equation_advanced_coherent GL_NVX_blend_equation_advanced_multi_draw_buffers GL_NV_blend_minmax_factor GL_NV_clip_space_w_scaling GL_NV_compute_shader_derivatives GL_NV_conditional_render GL_NV_conservative_raster GL_NV_conservative_raster_pre_snap_triangles GL_NV_copy_buffer GL_NV_copy_image GL_NV_draw_buffers GL_NV_draw_instanced GL_NV_draw_texture GL_NV_draw_vulkan_image GL_NV_EGL_stream_consumer_external GL_NV_explicit_attrib_location GL_NV_fbo_color_attachments GL_NV_fill_rectangle GL_NV_fragment_coverage_to_color GL_NV_fragment_shader_barycentric GL_NV_fragment_shader_interlock GL_NV_framebuffer_blit GL_NV_framebuffer_mixed_samples GL_NV_framebuffer_multisample GL_NV_generate_mipmap_sRGB GL_NV_geometry_shader_passthrough GL_NV_instanced_arrays GL_NV_internalformat_sample_query GL_NV_gpu_shader5 GL_NV_image_formats GL_NV_memory_attachment GL_NV_mesh_shader GL_NV_occlusion_query_samples GL_NV_non_square_matrices GL_NV_pack_subimage GL_NV_packed_float GL_NV_packed_float_linear GL_NV_path_rendering GL_NV_path_rendering_shared_edge GL_NV_pixel_buffer_object GL_NV_polygon_mode GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_NV_representative_fragment_test GL_NV_sample_locations GL_NV_sample_mask_override_coverage GL_NV_scissor_exclusive GL_NV_shader_atomic_fp16_vector GL_NV_shader_noperspective_interpolation GL_NV_shader_subgroup_partitioned GL_NV_shader_texture_footprint GL_NV_shading_rate_image GL_NV_shadow_samplers_array GL_NV_shadow_samplers_cube GL_NV_sRGB_formats GL_NV_stereo_view_rendering GL_NV_texture_array GL_NV_texture_barrier GL_NV_texture_border_clamp GL_NV_texture_compression_latc GL_NV_texture_compression_s3tc GL_NV_texture_compression_s3tc_update GL_NV_timer_query GL_NV_viewport_array GL_NV_viewport_array2 GL_NV_viewport_swizzle GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_compressed_ETC1_RGB8_texture GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_buffer GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_gpu_shader5 GL_OES_shader_io_blocks GL_OES_texture_view GL_OES_primitive_bounding_box GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_multisample_interpolation GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_cube_map_array GL_OES_texture_npot GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float GL_OES_viewport_array GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_ANDROID_extension_pack_es31a 
[I]    156822593               egl.c:857  | egl_renderStartup              | Debug messages disabled, enable with egl:debug=true
[I]    157023968           eglutil.c:35   | swapWithDamageInit             | Using EGL_KHR_swap_buffers_with_damage
[I]    157215588              main.c:1176 | lg_run                         | Host ready, reported version: B5-rc1
[I]    157215605              main.c:1177 | lg_run                         | Starting session
[I]    158313403              main.c:637  | main_frameThread               | Format: FRAME_TYPE_BGRA 1920x1080 stride:1920 pitch:7680 rotation:0
[I]    162330754              main.c:637  | main_frameThread               | Format: FRAME_TYPE_BGRA 1920x1080 stride:1920 pitch:7680 rotation:0
[I]    164387379              main.c:637  | main_frameThread               | Format: FRAME_TYPE_BGRA 1920x1080 stride:1920 pitch:7680 rotation:0

The guest Windows 10 OS gets a GTX 1050TI and has driver version 456.71. Other than not being able to use the FSR and CAS filters I have no problems running all the games and software I could wish for as long as I’m demanding realistic perfomance from the 1050TI.

This is exactly what happens to me, the first image is “when adjusted”, if you look closely the second one is the “few pixels here and there”.

Interesting, it looks like it’s not a 5XX only issue then maybe @gnif can find something useful on your log or point us to more things that we can test.

Edit:
Looking at the 3 logs what I can see that we both have in common on the not working config but not in the working one is:

Using EGL_KHR_swap_buffers_with_damage

Maybe its not playing nicely with FSR and CAS? Is there anyway to disable damage at launch for testing?

Completely unrelated. Someone made a PR today that might address this:
Please see: https://github.com/gnif/LookingGlass/pull/953

I will gladly test it on my machine if you’d like to :smile:

Assuming I can fork/merge pr/build or even better if you can send me a testing compiled versión if that’s ok with you

I can’t send you a compiled version, it depends on your system libraries and the versions rolled with your distro.

That’s so true🤦‍♂️

Well I’ll attempt to build today after work and let you know what happened🤞

1 Like

Unlucky, I built the source modifying the lines of the two commits from the PR and the output is still the same when using FSR or CAS: (

I ordered a new MB/CPU and I will be swapping the cards on the new build as soon parts arrives, approximately by the 15/02/2022, maybe the GTX 970 will work, who knows. Meanwhile @gnif If you want to test/debug something on my machine while I still have this setup, I can give you remote access or test anything that comes to your mind through discord, just in case that can help you in anyway.

@gnif I’ve updated my system with a new CPU/Motherboard and swapped cards so now the GTX 970 is the one on the host and the RTX 3050 is the one on the guest, suddenly FSR and CAS are working.

So what has changed?

  • Swapped cards (GTX on host / RTX on guest)
  • Using the latest Nvidia driver(510.47.03) auto-installed by Ubuntu instead of manual install.

And that’s it, so I guess it might be something with 30x series and 16x perhaps?