Stuttering issue

hi i’m on Bleeding Edge and it’s the best proformance I got with D12

but there is a bit of stuttering when alot of the screen changes fast like the gif show
video_20250219_124313_edit-ezgif.com-video-to-gif-converter

client log
00:00:00.000 [I]              main.c:1860 | main                           | Looking Glass (B7-rc1-34-e25492a3)
00:00:00.000 [I]              main.c:1861 | main                           | Locking Method: Atomic
00:00:00.000 [I]           cpuinfo.c:38   | cpuInfo_log                    | CPU Model: AMD Ryzen 9 5950X 16-Core Processor
00:00:00.000 [I]           cpuinfo.c:39   | cpuInfo_log                    | CPU: 1 sockets, 16 cores, 32 threads
00:00:00.021 [I]              main.c:1185 | lg_run                         | Using font: /usr/share/fonts/TTF/DejaVuSansMono.ttf
00:00:00.021 [I]           ivshmem.c:137  | ivshmemOpenDev                 | KVMFR Device     : /dev/kvmfr0
00:00:00.027 [I]             audio.c:159  | audio_init                     | Using AudioDev: PipeWire
00:00:00.027 [I]                ps.c:245  | purespice_connect              | Connecting to socket 127.0.0.1:5900
00:00:00.032 [I]               rsa.c:178  | rsa_encryptPassword            | Using Nettle
00:00:00.032 [I]                ps.c:268  | purespice_connect              | Connected
00:00:00.032 [I]             agent.c:103  | agent_connect                  | Connected to the spice guest agent
00:00:00.032 [I]      channel_main.c:167  | onMessage_mainName             | Guest name: win11
00:00:00.032 [I]      channel_main.c:183  | onMessage_mainUUID             | Guest UUID: f6743577-7968-498b-8593-d60f54b32fe2
00:00:00.039 [I]                ps.c:644  | ps_connectChannel              | RECORD channel connected
00:00:00.050 [I]                ps.c:644  | ps_connectChannel              | PLAYBACK channel connected
00:00:00.054 [I]                ps.c:644  | ps_connectChannel              | INPUTS channel connected
00:00:00.054 [I]           channel.c:323  | onMessage_notify               | [notify] keyboard channel is insecure
00:00:00.054 [I]               egl.c:289  | egl_initialize                 | Double buffering is off
00:00:00.054 [I]              main.c:1139 | tryRenderer                    | Using Renderer: EGL
00:00:00.054 [I]           wayland.c:120  | waylandInit                    | Compositor: hyprland
00:00:00.054 [I]           wayland.c:130  | waylandInit                    | Selected  : xdg
00:00:00.066 [I]                gl.c:58   | waylandGetEGLDisplay           | Using eglGetPlatformDisplay
00:00:00.078 [I]               egl.c:856  | egl_renderStartup              | Single buffer mode
00:00:00.080 [I]               egl.c:883  | egl_renderStartup              | EGL     : 1.5
00:00:00.080 [I]               egl.c:884  | egl_renderStartup              | Vendor  : AMD
00:00:00.080 [I]               egl.c:885  | egl_renderStartup              | Renderer: AMD Radeon RX 580 2048SP (radeonsi, polaris10, LLVM 19.1.7, DRM 3.59, 6.12.13-1-lts)
00:00:00.080 [I]               egl.c:886  | egl_renderStartup              | Version : OpenGL ES 3.2 Mesa 24.3.4-arch1.1
00:00:00.080 [I]               egl.c:887  | egl_renderStartup              | EGL APIs: OpenGL OpenGL_ES
00:00:00.080 [I]               egl.c:958  | egl_renderStartup              | Debug messages disabled, enable with egl:debug=true
00:00:00.105 [I]           eglutil.c:35   | swapWithDamageInit             | Using EGL_KHR_swap_buffers_with_damage
00:00:00.107 [I]              main.c:1492 | lg_run                         | ================================================================================
00:00:00.107 [I]              main.c:1493 | lg_run                         | The host application seems to not be running
00:00:00.107 [I]              main.c:1494 | lg_run                         | Waiting for the host application to start...
00:00:00.119 [I]              main.c:1591 | lg_run                         | Guest Information:
00:00:00.119 [I]              main.c:1592 | lg_run                         | Version  : B7-rc1-34-e25492a3
00:00:00.119 [I]              main.c:1613 | lg_run                         | UUID     : f6743577-7968-498b-8593-d60f54b32fe2
00:00:00.119 [I]              main.c:1622 | lg_run                         | CPU Model: AMD Ryzen 9 5950X 16-Core Processor
00:00:00.119 [I]              main.c:1623 | lg_run                         | CPU      : 1 sockets, 8 cores, 16 threads
00:00:00.119 [I]              main.c:1625 | lg_run                         | Using    : D12
00:00:00.120 [I]              main.c:1711 | lg_run                         | OS       : Windows
00:00:00.120 [I]              main.c:1713 | lg_run                         | OS Name  : Windows 10 Pro (Build: 22621)
00:00:00.120 [I]              main.c:1735 | lg_run                         | Starting session
00:00:00.120 [I]              main.c:553  | main_frameThread               | Using DMA buffer support
00:00:00.295 [I]              main.c:710  | main_frameThread               | Format: FRAME_TYPE_BGRA 2560x1440 (2560x1440) stride:2560 pitch:10240 rotation:0 hdr:0 pq:0
00:00:54.563 [I]           channel.c:269  | channel_internal_disconnect    | RECORD channel disconnected
00:00:54.563 [I]           channel.c:269  | channel_internal_disconnect    | PLAYBACK channel disconnected
00:00:54.563 [I]           channel.c:269  | channel_internal_disconnect    | INPUTS channel disconnected
00:00:54.564 [I]           channel.c:269  | channel_internal_disconnect    | MAIN channel disconnected
00:00:54.564 [I]                ps.c:330  | purespice_disconnect           | Disconnected
qemu xml
<domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  <name>win11</name>
  <uuid>f6743577-7968-498b-8593-d60f54b32fe2</uuid>
  <metadata>
    <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
      <libosinfo:os id="http://microsoft.com/win/11"/>
    </libosinfo:libosinfo>
  </metadata>
  <memory unit="KiB">16777216</memory>
  <currentMemory unit="KiB">16777216</currentMemory>
  <memoryBacking>
    <source type="memfd"/>
    <access mode="shared"/>
  </memoryBacking>
  <vcpu placement="static">16</vcpu>
  <os firmware="efi">
    <type arch="x86_64" machine="pc-q35-9.2">hvm</type>
    <firmware>
      <feature enabled="no" name="enrolled-keys"/>
      <feature enabled="yes" name="secure-boot"/>
    </firmware>
    <loader readonly="yes" secure="yes" type="pflash" format="raw">/usr/share/edk2/x64/OVMF_CODE.secboot.4m.fd</loader>
    <nvram template="/usr/share/edk2/x64/OVMF_VARS.4m.fd" templateFormat="raw" format="raw">/var/lib/libvirt/qemu/nvram/win11_VARS.fd</nvram>
    <boot dev="hd"/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv mode="custom">
      <relaxed state="on"/>
      <vapic state="on"/>
      <spinlocks state="on" retries="8191"/>
      <vpindex state="on"/>
      <runtime state="on"/>
      <synic state="on"/>
      <stimer state="on"/>
      <reset state="on"/>
      <vendor_id state="on" value="randomid"/>
      <frequencies state="on"/>
      <tlbflush state="on"/>
      <ipi state="on"/>
      <avic state="on"/>
    </hyperv>
    <vmport state="off"/>
    <smm state="on"/>
  </features>
  <cpu mode="host-passthrough" check="none" migratable="on">
    <topology sockets="1" dies="1" clusters="1" cores="8" threads="2"/>
    <cache mode="passthrough"/>
    <feature policy="require" name="topoext"/>
  </cpu>
  <clock offset="localtime">
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="pit" tickpolicy="delay"/>
    <timer name="hpet" present="no"/>
    <timer name="hypervclock" present="yes"/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <pm>
    <suspend-to-mem enabled="no"/>
    <suspend-to-disk enabled="no"/>
  </pm>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type="block" device="disk">
      <driver name="qemu" type="raw" cache="none" io="native" discard="unmap"/>
      <source dev="/dev/sdc"/>
      <target dev="sdd" bus="sata"/>
      <address type="drive" controller="0" bus="0" target="0" unit="3"/>
    </disk>
    <controller type="usb" index="0" model="qemu-xhci" ports="15">
      <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
    </controller>
    <controller type="pci" index="0" model="pcie-root"/>
    <controller type="pci" index="1" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="1" port="0x10"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
    </controller>
    <controller type="pci" index="2" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="2" port="0x11"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
    </controller>
    <controller type="pci" index="3" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="3" port="0x12"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
    </controller>
    <controller type="pci" index="4" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="4" port="0x13"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
    </controller>
    <controller type="pci" index="5" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="5" port="0x14"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
    </controller>
    <controller type="pci" index="6" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="6" port="0x15"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
    </controller>
    <controller type="pci" index="7" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="7" port="0x16"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
    </controller>
    <controller type="pci" index="8" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="8" port="0x17"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
    </controller>
    <controller type="pci" index="9" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="9" port="0x18"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
    </controller>
    <controller type="pci" index="10" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="10" port="0x19"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
    </controller>
    <controller type="pci" index="11" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="11" port="0x1a"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
    </controller>
    <controller type="pci" index="12" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="12" port="0x1b"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
    </controller>
    <controller type="pci" index="13" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="13" port="0x1c"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
    </controller>
    <controller type="pci" index="14" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="14" port="0x1d"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
    </controller>
    <controller type="pci" index="15" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="15" port="0x1e"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x6"/>
    </controller>
    <controller type="pci" index="16" model="pcie-to-pci-bridge">
      <model name="pcie-pci-bridge"/>
      <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
    </controller>
    <controller type="sata" index="0">
      <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
    </controller>
    <controller type="virtio-serial" index="0">
      <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
    </controller>
    <interface type="network">
      <mac address="52:54:00:24:36:51"/>
      <source network="network"/>
      <model type="virtio"/>
      <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
    </interface>
    <serial type="pty">
      <target type="isa-serial" port="0">
        <model name="isa-serial"/>
      </target>
    </serial>
    <console type="pty">
      <target type="serial" port="0"/>
    </console>
    <channel type="spicevmc">
      <target type="virtio" name="com.redhat.spice.0"/>
      <address type="virtio-serial" controller="0" bus="0" port="1"/>
    </channel>
    <channel type="unix">
      <target type="virtio" name="org.qemu.guest_agent.0"/>
      <address type="virtio-serial" controller="0" bus="0" port="2"/>
    </channel>
    <input type="mouse" bus="ps2"/>
    <input type="keyboard" bus="ps2"/>
    <tpm model="tpm-crb">
      <backend type="emulator" version="2.0"/>
    </tpm>
    <graphics type="spice" port="5900" autoport="no">
      <listen type="address"/>
      <image compression="off"/>
    </graphics>
    <sound model="ich9">
      <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
    </sound>
    <audio id="1" type="spice"/>
    <video>
      <model type="none"/>
    </video>
    <hostdev mode="subsystem" type="pci" managed="yes">
      <source>
        <address domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
      </source>
      <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
    </hostdev>
    <hostdev mode="subsystem" type="pci" managed="yes">
      <source>
        <address domain="0x0000" bus="0x07" slot="0x00" function="0x1"/>
      </source>
      <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
    </hostdev>
    <redirdev bus="usb" type="spicevmc">
      <address type="usb" bus="0" port="2"/>
    </redirdev>
    <redirdev bus="usb" type="spicevmc">
      <address type="usb" bus="0" port="3"/>
    </redirdev>
    <watchdog model="itco" action="reset"/>
    <memballoon model="virtio">
      <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
    </memballoon>
  </devices>
  <qemu:commandline>
    <qemu:arg value="-object"/>
    <qemu:arg value="input-linux,id=kbd1,evdev=/dev/input/by-id/usb-Cooler_Master_Technology_Inc._CK530-event-kbd,grab_all=on,repeat=on"/>
    <qemu:arg value="-object"/>
    <qemu:arg value="input-linux,id=kbd2,evdev=/dev/input/by-id/usb-Cooler_Master_Technology_Inc._CK530-if02-event-kbd,grab_all=on,repeat=on"/>
    <qemu:arg value="-object"/>
    <qemu:arg value="input-linux,id=kbd3,evdev=/dev/input/by-id/usb-Cooler_Master_Technology_Inc._CK530-if02-event-mouse"/>
    <qemu:arg value="-object"/>
    <qemu:arg value="input-linux,id=mouse1,evdev=/dev/input/by-id/usb-SINOWEALTH_Wired_Gaming_Mouse-event-mouse"/>
    <qemu:arg value="-object"/>
    <qemu:arg value="input-linux,id=mouse2,evdev=/dev/input/by-id/usb-SINOWEALTH_Wired_Gaming_Mouse-if01-event-kbd,grab_all=on,repeat=on"/>
    <qemu:arg value="-device"/>
    <qemu:arg value="ivshmem-plain,id=shmem0,memdev=looking-glass,bus=pcie.0,addr=0x5"/>
    <qemu:arg value="-object"/>
    <qemu:arg value="memory-backend-file,id=looking-glass,mem-path=/dev/kvmfr0,size=128M,share=yes"/>
  </qemu:commandline>
</domain>

I was useing 64M but switched to 128 to see if it makes any defrance
also i got my hdmi pluged into the same monitor and it’s fine so it’s from looking glass not gpu drivers on windows

You are just wating RAM by doing that, extra memory doesn’t make LG faster, it only uses as much as it needs.

This is a form of “tearing”, it’s not a fault of LG, but rather your compositor, window manager or GPU is not properly synchronising buffers.

Also please be aware that Hyprland often has issues with Looking Glass due to their developers often not following standards properly. We advise to not use Hyprland with Looking Glass.