Open Yeshey opened 1 year ago
Sorry I am not sure i understand the issue, can you create a short video demonstrating the problem?
Also why are you setting SDL_VIDEO_X11_VISUALID
? LG does not use SDL at all.
I saw somewhere a comment to set SDL_VIDEO_X11_VISUALID
and I stuck with it, but I shouldn't need it.
Here is a little video demonstrating the issue: https://youtu.be/57QpAJsKwYE
LG is started with the option spice:alwaysShowCursor
but when the image starts, the cursor is not visible, as if the option wasn't set.
Before, if I put the computer under strain sometimes it would disconnect and connect again, I think these are the relevant logs:
[I] 763607638 channel.c:258 | channel_internal_disconnect | DISPLAY channel disconnected
[I] 763607764 channel.c:258 | channel_internal_disconnect | CURSOR channel disconnected
[W] 765129070 channel_main.c:269 | onMessage_mainAgentDisconnected | Disconnected from the spice guest agent: 0
[I] 768180559 agent.c:103 | agent_connect | Connected to the spice guest agent
[I] 784174943 main.c:698 | main_frameThread | Format: FRAME_TYPE_BGRA 1920x1080 stride:1920 pitch:7680 rotation:0
[I] 859996320 main.c:1678 | lg_run | Waiting for the host to restart...
[I] 860532612 ps.c:644 | ps_connectChannel | DISPLAY channel connected
[I] 860561879 ps.c:644 | ps_connectChannel | CURSOR channel connected
[I] 860571657 main.c:896 | spice_surfaceCreate | Create SPICE surface: id: 0, size: 1920x1080
and the mouse would disappear after reconnecting as if the option was unset.
Unfortunately, I'm not being able to replicate this by putting the computer under strain again. Today if I put the computer under a lot of strain what has been happening is LG just crashes outright Host Logs:
> looking-glass-client win:fullScreen spice:alwaysShowCursor
[I] 128457324 main.c:1785 | main | Looking Glass (B6)
[I] 128457371 main.c:1786 | main | Locking Method: Atomic
[I] 128469079 cpuinfo.c:37 | lgDebugCPU | CPU Model: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
[I] 128469097 cpuinfo.c:38 | lgDebugCPU | CPU: 1 sockets, 6 cores, 12 threads
[I] 128565323 main.c:1162 | lg_run | Using font: /nix/store/6m7ciakn341561wqsdws9g2g5mwmxs4d-dejavu-fonts-2.37/share/fonts/truetype/DejaVuSansMono.ttf
[I] 128565430 ivshmem.c:128 | ivshmemOpenDev | KVMFR Device : /dev/shm/looking-glass
[I] 128582334 audio.c:159 | audio_init | Using AudioDev: PipeWire
[I] 128582406 ps.c:245 | purespice_connect | Connecting to socket 127.0.0.1:5900
[I] 128604328 rsa.c:178 | rsa_encryptPassword | Using Nettle
[I] 128607590 ps.c:268 | purespice_connect | Connected
[I] 128607818 channel_main.c:167 | onMessage_mainName | Guest name: win10
[I] 128607931 channel_main.c:183 | onMessage_mainUUID | Guest UUID: 7412b302-dae5-46a7-a9d3-c849658e4897
[I] 128619236 ps.c:644 | ps_connectChannel | RECORD channel connected
[I] 128635932 ps.c:644 | ps_connectChannel | PLAYBACK channel connected
[I] 128652546 ps.c:644 | ps_connectChannel | INPUTS channel connected
[I] 128652686 channel.c:312 | onMessage_notify | [notify] keyboard channel is insecure
[I] 128652847 egl.c:267 | egl_initialize | Double buffering is off
[I] 128652896 main.c:1116 | tryRenderer | Using Renderer: EGL
[I] 128657948 x11.c:230 | x11CheckEWMHSupport | EWMH-complient window manager detected: KWin
[I] 128658367 x11.c:463 | x11Init | X11 XInput 2.0 in use
[I] 128673374 x11.c:1433 | x11GetEGLDisplay | Using eglGetPlatformDisplayEXT
[I] 128728170 egl.c:745 | egl_renderStartup | Multisampling enabled, max samples: 4
[I] 128748940 egl.c:828 | egl_renderStartup | Single buffer mode
[I] 128785728 egl.c:855 | egl_renderStartup | EGL : 1.5
[I] 128785805 egl.c:856 | egl_renderStartup | Vendor : NVIDIA Corporation
[I] 128785870 egl.c:857 | egl_renderStartup | Renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
[I] 128785941 egl.c:858 | egl_renderStartup | Version : OpenGL ES 3.2 NVIDIA 525.105.17
[I] 128786045 egl.c:859 | egl_renderStartup | EGL APIs: OpenGL_ES OpenGL
[I] 128786165 egl.c:930 | egl_renderStartup | Debug messages disabled, enable with egl:debug=true
[I] 128817973 eglutil.c:35 | swapWithDamageInit | Using EGL_KHR_swap_buffers_with_damage
[I] 129013289 main.c:1566 | lg_run | Guest Information:
[I] 129013372 main.c:1567 | lg_run | Version : B6
[I] 129013432 main.c:1588 | lg_run | UUID : 7412b302-dae5-46a7-a9d3-c849658e4897
[I] 129013543 main.c:1597 | lg_run | CPU Model: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
[I] 129013602 main.c:1598 | lg_run | CPU : 1 sockets, 4 cores, 8 threads
[I] 129013677 main.c:1600 | lg_run | Using : DXGI Direct3D 11
[I] 129013729 main.c:1636 | lg_run | OS : Windows
[I] 129013784 main.c:1638 | lg_run | OS Name : Windows 10 Pro (Build: 22621)
[I] 129013841 main.c:1660 | lg_run | Starting session
[I] 129316984 main.c:698 | main_frameThread | Format: FRAME_TYPE_BGRA 1920x1080 stride:1920 pitch:7680 rotation:0
[I] 162952430 main.c:1678 | lg_run | Waiting for the host to restart...
[I] 163115090 ps.c:644 | ps_connectChannel | DISPLAY channel connected
[I] 163138896 ps.c:644 | ps_connectChannel | CURSOR channel connected
[E] 163144540 crash.c:215 | crit_err_hdlr | ==== FATAL CRASH (B6) ====
[E] 163144654 crash.c:216 | crit_err_hdlr | signal 11 (Segmentation fault), address is 0x20
[E] 163148427 crash.c:207 | printBacktrace | [trace]: (0) /nix/store/ayfr5l52xkqqjn3n4h9jfacgnchz1z7s-glibc-2.35-224/lib/libc.so.6(+0x3dbf0) [0x7fb57f44bbf0]
[E] 163148522 crash.c:207 | printBacktrace | [trace]: (1) looking-glass-client(egl_textureProcess+0) [0x51a770]
[E] 163148601 crash.c:207 | printBacktrace | [trace]: (2) looking-glass-client(egl_desktopRender+0x93) [0x510a53]
[E] 163148809 crash.c:207 | printBacktrace | [trace]: (3) looking-glass-client() [0x50c3f8]
[E] 163148897 crash.c:207 | printBacktrace | [trace]: (4) looking-glass-client() [0x43b5ad]
[E] 163148983 crash.c:207 | printBacktrace | [trace]: (5) looking-glass-client() [0x5281fb]
[E] 163149058 crash.c:207 | printBacktrace | [trace]: (6) /nix/store/ayfr5l52xkqqjn3n4h9jfacgnchz1z7s-glibc-2.35-224/lib/libc.so.6(+0x88e86) [0x7fb57f496e86]
[E] 163150514 crash.c:207 | printBacktrace | [trace]: (7) /nix/store/ayfr5l52xkqqjn3n4h9jfacgnchz1z7s-glibc-2.35-224/lib/libc.so.6(+0x10fce0) [0x7fb57f51dce0]
[1] 3879 IOT instruction (core dumped) looking-glass-client win:fullScreen spice:alwaysShowCursor
This is the last output for the host LG (meaning, inside the windows VM), I'm sending a bunch because I don't know which one if any is relevant:
[I] 26495957 dxgi.c:506 | dxgi_init | Debug mode : disabled
[I] 26497743 dxgi.c:598 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
[I] 26498413 dxgi.c:640 | dxgi_init | Request Size : 1920 x 1080
[I] 26502242 dxgi.c:658 | dxgi_init | Output Size : 1920 x 1080
[I] 26502762 dxgi.c:666 | dxgi_init | Copy backend : Direct3D 11
[I] 26503233 dxgi.c:667 | dxgi_init | Damage-aware copy : enabled
[I] 26503766 app.c:379 | captureStart | ==== [ Capture Start ] ====
[I] 26504533 app.c:312 | frameThread | Frame thread started
[I] 34377773 app.c:319 | frameThread | Frame thread stopped
[I] 34378714 app.c:385 | captureStop | ==== [ Capture Stop ] ====
[I] 34464714 dxgi.c:390 | dxgi_init | Device Name : \\.\DISPLAY1
[I] 34466020 dxgi.c:391 | dxgi_init | Device Description: NVIDIA GRID RTX6000-24
[I] 34467676 dxgi.c:392 | dxgi_init | Device Vendor ID : 0x10de
[I] 34469017 dxgi.c:393 | dxgi_init | Device Device ID : 0x1e30
[I] 34470326 dxgi.c:394 | dxgi_init | Device Video Mem : 2834 MiB
[I] 34471644 dxgi.c:395 | dxgi_init | Device Sys Mem : 0 MiB
[I] 34473005 dxgi.c:396 | dxgi_init | Shared Sys Mem : 5748 MiB
[I] 34722361 dxgi.c:503 | dxgi_init | Feature Level : 0xc100
[I] 34722881 dxgi.c:504 | dxgi_init | Capture Size : 1920 x 1080
[I] 34723598 dxgi.c:505 | dxgi_init | AcquireLock : enabled
[I] 34724196 dxgi.c:506 | dxgi_init | Debug mode : disabled
[I] 34728599 dxgi.c:598 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
[I] 34729569 dxgi.c:640 | dxgi_init | Request Size : 1920 x 1080
[I] 34734958 dxgi.c:658 | dxgi_init | Output Size : 1920 x 1080
[I] 34735856 dxgi.c:666 | dxgi_init | Copy backend : Direct3D 11
[I] 34736540 dxgi.c:667 | dxgi_init | Damage-aware copy : enabled
[I] 34737107 app.c:379 | captureStart | ==== [ Capture Start ] ====
[I] 34738039 app.c:312 | frameThread | Frame thread started
[I] 48767451 app.c:319 | frameThread | Frame thread stopped
[I] 48768493 app.c:385 | captureStop | ==== [ Capture Stop ] ====
[I] 277479221 time.c:85 | windowsSetTimerResolution | System timer resolution: 500.0 μs
[I] 277480047 app.c:771 | app_main | Looking Glass Host (B6)
[I] 277480541 cpuinfo.c:37 | lgDebugCPU | CPU Model: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
[I] 277481191 cpuinfo.c:38 | lgDebugCPU | CPU: 1 sockets, 4 cores, 8 threads
[I] 277483932 ivshmem.c:132 | ivshmemInit | IVSHMEM 0* on bus 0xb, device 0x1, function 0x0
[I] 277490507 app.c:788 | app_main | IVSHMEM Size : 64 MiB
[I] 277491084 app.c:789 | app_main | IVSHMEM Address : 0x2D90000
[I] 277491560 app.c:790 | app_main | Max Pointer Size : 1024 KiB
[I] 277492040 app.c:791 | app_main | KVMFR Version : 19
[I] 277492691 app.c:809 | app_main | Trying : DXGI
[I] 277499196 dxgi.c:390 | dxgi_init | Device Name : \\.\DISPLAY1
[I] 277499703 dxgi.c:391 | dxgi_init | Device Description: NVIDIA GRID RTX6000-24
[I] 277500287 dxgi.c:392 | dxgi_init | Device Vendor ID : 0x10de
[I] 277500758 dxgi.c:393 | dxgi_init | Device Device ID : 0x1e30
[I] 277501291 dxgi.c:394 | dxgi_init | Device Video Mem : 2834 MiB
[I] 277501708 dxgi.c:395 | dxgi_init | Device Sys Mem : 0 MiB
[I] 277502182 dxgi.c:396 | dxgi_init | Shared Sys Mem : 5748 MiB
[I] 277722996 dxgi.c:503 | dxgi_init | Feature Level : 0xc100
[I] 277723477 dxgi.c:504 | dxgi_init | Capture Size : 1920 x 1080
[I] 277723974 dxgi.c:505 | dxgi_init | AcquireLock : enabled
[I] 277724383 dxgi.c:506 | dxgi_init | Debug mode : disabled
[I] 277750344 dxgi.c:598 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
[I] 277751118 dxgi.c:640 | dxgi_init | Request Size : 1920 x 1080
[I] 277753563 dxgi.c:658 | dxgi_init | Output Size : 1920 x 1080
[I] 277754185 dxgi.c:666 | dxgi_init | Copy backend : Direct3D 11
[I] 277754811 dxgi.c:667 | dxgi_init | Damage-aware copy : enabled
[I] 277755334 app.c:834 | app_main | Using : DXGI Direct3D 11
[I] 277756135 app.c:835 | app_main | Capture Method : Asynchronous
[I] 277757863 app.c:687 | lgmpSetup | Max Frame Size : 30 MiB
[I] 277758320 app.c:385 | captureStop | ==== [ Capture Stop ] ====
[I] 278838740 time.c:85 | windowsSetTimerResolution | System timer resolution: 500.0 μs
[I] 278839510 app.c:771 | app_main | Looking Glass Host (B6)
[I] 278840134 cpuinfo.c:37 | lgDebugCPU | CPU Model: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
[I] 278840763 cpuinfo.c:38 | lgDebugCPU | CPU: 1 sockets, 4 cores, 8 threads
[I] 278842784 ivshmem.c:132 | ivshmemInit | IVSHMEM 0* on bus 0xb, device 0x1, function 0x0
[I] 278847948 app.c:788 | app_main | IVSHMEM Size : 64 MiB
[I] 278848542 app.c:789 | app_main | IVSHMEM Address : 0x2990000
[I] 278849018 app.c:790 | app_main | Max Pointer Size : 1024 KiB
[I] 278849367 app.c:791 | app_main | KVMFR Version : 19
[I] 278849700 app.c:809 | app_main | Trying : DXGI
[I] 278853899 dxgi.c:390 | dxgi_init | Device Name : \\.\DISPLAY1
[I] 278854277 dxgi.c:391 | dxgi_init | Device Description: NVIDIA GRID RTX6000-24
[I] 278854661 dxgi.c:392 | dxgi_init | Device Vendor ID : 0x10de
[I] 278854987 dxgi.c:393 | dxgi_init | Device Device ID : 0x1e30
[I] 278855320 dxgi.c:394 | dxgi_init | Device Video Mem : 2834 MiB
[I] 278855652 dxgi.c:395 | dxgi_init | Device Sys Mem : 0 MiB
[I] 278855978 dxgi.c:396 | dxgi_init | Shared Sys Mem : 5748 MiB
[I] 279017470 dxgi.c:503 | dxgi_init | Feature Level : 0xc100
[I] 279018029 dxgi.c:504 | dxgi_init | Capture Size : 1920 x 1080
[I] 279018669 dxgi.c:505 | dxgi_init | AcquireLock : enabled
[I] 279019140 dxgi.c:506 | dxgi_init | Debug mode : disabled
[I] 279020494 dxgi.c:598 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
[I] 279021189 dxgi.c:640 | dxgi_init | Request Size : 1920 x 1080
[I] 279023909 dxgi.c:658 | dxgi_init | Output Size : 1920 x 1080
[I] 279024343 dxgi.c:666 | dxgi_init | Copy backend : Direct3D 11
[I] 279024709 dxgi.c:667 | dxgi_init | Damage-aware copy : enabled
[I] 279025096 app.c:834 | app_main | Using : DXGI Direct3D 11
[I] 279025459 app.c:835 | app_main | Capture Method : Asynchronous
[I] 279026216 app.c:687 | lgmpSetup | Max Frame Size : 30 MiB
[I] 279026591 app.c:385 | captureStop | ==== [ Capture Stop ] ====
[I] 29555880 time.c:85 | windowsSetTimerResolution | System timer resolution: 500.0 μs
[I] 29592415 app.c:771 | app_main | Looking Glass Host (B6)
[I] 29592780 cpuinfo.c:37 | lgDebugCPU | CPU Model: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
[I] 29593307 cpuinfo.c:38 | lgDebugCPU | CPU: 1 sockets, 4 cores, 8 threads
[I] 29599184 ivshmem.c:132 | ivshmemInit | IVSHMEM 0* on bus 0xb, device 0x1, function 0x0
[I] 29608669 app.c:788 | app_main | IVSHMEM Size : 64 MiB
[I] 29609168 app.c:789 | app_main | IVSHMEM Address : 0x2A60000
[I] 29609705 app.c:790 | app_main | Max Pointer Size : 1024 KiB
[I] 29610166 app.c:791 | app_main | KVMFR Version : 19
[I] 29610460 app.c:809 | app_main | Trying : DXGI
[I] 29617694 dxgi.c:390 | dxgi_init | Device Name : \\.\DISPLAY1
[I] 29618286 dxgi.c:391 | dxgi_init | Device Description: NVIDIA GRID RTX6000-24
[I] 29618829 dxgi.c:392 | dxgi_init | Device Vendor ID : 0x10de
[I] 29619330 dxgi.c:393 | dxgi_init | Device Device ID : 0x1e30
[I] 29619781 dxgi.c:394 | dxgi_init | Device Video Mem : 2834 MiB
[I] 29620273 dxgi.c:395 | dxgi_init | Device Sys Mem : 0 MiB
[I] 29620763 dxgi.c:396 | dxgi_init | Shared Sys Mem : 5748 MiB
[I] 30008026 dxgi.c:503 | dxgi_init | Feature Level : 0xc100
[I] 30008684 dxgi.c:504 | dxgi_init | Capture Size : 1920 x 1080
[I] 30009223 dxgi.c:505 | dxgi_init | AcquireLock : enabled
[I] 30009716 dxgi.c:506 | dxgi_init | Debug mode : disabled
[I] 30012594 dxgi.c:598 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
[I] 30013226 dxgi.c:640 | dxgi_init | Request Size : 1920 x 1080
[I] 30015389 dxgi.c:658 | dxgi_init | Output Size : 1920 x 1080
[I] 30016264 dxgi.c:666 | dxgi_init | Copy backend : Direct3D 11
[I] 30017614 dxgi.c:667 | dxgi_init | Damage-aware copy : enabled
[I] 30018496 app.c:834 | app_main | Using : DXGI Direct3D 11
[I] 30019236 app.c:835 | app_main | Capture Method : Asynchronous
[I] 30025159 app.c:687 | lgmpSetup | Max Frame Size : 30 MiB
[I] 30026020 app.c:385 | captureStop | ==== [ Capture Stop ] ====
[I] 30285155 dxgi.c:390 | dxgi_init | Device Name : \\.\DISPLAY1
[I] 30285584 dxgi.c:391 | dxgi_init | Device Description: NVIDIA GRID RTX6000-24
[I] 30286001 dxgi.c:392 | dxgi_init | Device Vendor ID : 0x10de
[I] 30286438 dxgi.c:393 | dxgi_init | Device Device ID : 0x1e30
[I] 30286803 dxgi.c:394 | dxgi_init | Device Video Mem : 2834 MiB
[I] 30287242 dxgi.c:395 | dxgi_init | Device Sys Mem : 0 MiB
[I] 30287609 dxgi.c:396 | dxgi_init | Shared Sys Mem : 5748 MiB
[I] 30645574 dxgi.c:503 | dxgi_init | Feature Level : 0xc100
[I] 30646236 dxgi.c:504 | dxgi_init | Capture Size : 1920 x 1080
[I] 30646853 dxgi.c:505 | dxgi_init | AcquireLock : enabled
[I] 30647612 dxgi.c:506 | dxgi_init | Debug mode : disabled
[I] 30650504 dxgi.c:598 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
[I] 30651531 dxgi.c:640 | dxgi_init | Request Size : 1920 x 1080
[I] 31045728 dxgi.c:658 | dxgi_init | Output Size : 1920 x 1080
[I] 31046401 dxgi.c:666 | dxgi_init | Copy backend : Direct3D 11
[I] 31047041 dxgi.c:667 | dxgi_init | Damage-aware copy : enabled
[I] 31047996 app.c:379 | captureStart | ==== [ Capture Start ] ====
[I] 31053840 app.c:312 | frameThread | Frame thread started
[I] 46405949 app.c:319 | frameThread | Frame thread stopped
[I] 46406541 app.c:385 | captureStop | ==== [ Capture Stop ] ====
[I] 46495604 dxgi.c:390 | dxgi_init | Device Name : \\.\DISPLAY1
[I] 46496186 dxgi.c:391 | dxgi_init | Device Description: NVIDIA GRID RTX6000-24
[I] 46496795 dxgi.c:392 | dxgi_init | Device Vendor ID : 0x10de
[I] 46497421 dxgi.c:393 | dxgi_init | Device Device ID : 0x1e30
[I] 46497996 dxgi.c:394 | dxgi_init | Device Video Mem : 2834 MiB
[I] 46498549 dxgi.c:395 | dxgi_init | Device Sys Mem : 0 MiB
[I] 46499095 dxgi.c:396 | dxgi_init | Shared Sys Mem : 5748 MiB
[I] 47182103 dxgi.c:503 | dxgi_init | Feature Level : 0xc100
[I] 47182864 dxgi.c:504 | dxgi_init | Capture Size : 1920 x 1080
[I] 47183594 dxgi.c:505 | dxgi_init | AcquireLock : enabled
[I] 47184365 dxgi.c:506 | dxgi_init | Debug mode : disabled
[I] 47187209 dxgi.c:598 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
[I] 47188061 dxgi.c:640 | dxgi_init | Request Size : 1920 x 1080
[I] 47193316 dxgi.c:658 | dxgi_init | Output Size : 1920 x 1080
[I] 47194192 dxgi.c:666 | dxgi_init | Copy backend : Direct3D 11
[I] 47194977 dxgi.c:667 | dxgi_init | Damage-aware copy : enabled
[I] 47195603 app.c:379 | captureStart | ==== [ Capture Start ] ====
[I] 47196737 app.c:312 | frameThread | Frame thread started
[I] 54330832 app.c:319 | frameThread | Frame thread stopped
[I] 54331821 app.c:385 | captureStop | ==== [ Capture Stop ] ====
[I] 54464601 dxgi.c:390 | dxgi_init | Device Name : \\.\DISPLAY1
[I] 54465760 dxgi.c:391 | dxgi_init | Device Description: NVIDIA GRID RTX6000-24
[I] 54466742 dxgi.c:392 | dxgi_init | Device Vendor ID : 0x10de
[I] 54467490 dxgi.c:393 | dxgi_init | Device Device ID : 0x1e30
[I] 54468567 dxgi.c:394 | dxgi_init | Device Video Mem : 2834 MiB
[I] 54469810 dxgi.c:395 | dxgi_init | Device Sys Mem : 0 MiB
[I] 54470568 dxgi.c:396 | dxgi_init | Shared Sys Mem : 5748 MiB
[I] 54685957 dxgi.c:503 | dxgi_init | Feature Level : 0xc100
[I] 54686699 dxgi.c:504 | dxgi_init | Capture Size : 1920 x 1080
[I] 54687474 dxgi.c:505 | dxgi_init | AcquireLock : enabled
[I] 54688216 dxgi.c:506 | dxgi_init | Debug mode : disabled
[I] 54693209 dxgi.c:598 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
[I] 54694145 dxgi.c:640 | dxgi_init | Request Size : 1920 x 1080
[I] 54698694 dxgi.c:658 | dxgi_init | Output Size : 1920 x 1080
[I] 54699563 dxgi.c:666 | dxgi_init | Copy backend : Direct3D 11
[I] 54700605 dxgi.c:667 | dxgi_init | Damage-aware copy : enabled
[I] 54701428 app.c:379 | captureStart | ==== [ Capture Start ] ====
[I] 54702500 app.c:312 | frameThread | Frame thread started
[I] 64352212 app.c:319 | frameThread | Frame thread stopped
[I] 64353055 app.c:385 | captureStop | ==== [ Capture Stop ] ====
[I] 65942098 dxgi.c:390 | dxgi_init | Device Name : \\.\DISPLAY1
[I] 65942793 dxgi.c:391 | dxgi_init | Device Description: NVIDIA GRID RTX6000-24
[I] 65943307 dxgi.c:392 | dxgi_init | Device Vendor ID : 0x10de
[I] 65943800 dxgi.c:393 | dxgi_init | Device Device ID : 0x1e30
[I] 65944257 dxgi.c:394 | dxgi_init | Device Video Mem : 2834 MiB
[I] 65944809 dxgi.c:395 | dxgi_init | Device Sys Mem : 0 MiB
[I] 65945273 dxgi.c:396 | dxgi_init | Shared Sys Mem : 5748 MiB
[I] 66079854 dxgi.c:503 | dxgi_init | Feature Level : 0xc100
[I] 66080321 dxgi.c:504 | dxgi_init | Capture Size : 1920 x 1080
[I] 66080824 dxgi.c:505 | dxgi_init | AcquireLock : enabled
[I] 66081277 dxgi.c:506 | dxgi_init | Debug mode : disabled
[I] 66118364 dxgi.c:598 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
[I] 66119284 dxgi.c:640 | dxgi_init | Request Size : 1920 x 1080
[I] 66123149 dxgi.c:658 | dxgi_init | Output Size : 1920 x 1080
[I] 66123757 dxgi.c:666 | dxgi_init | Copy backend : Direct3D 11
[I] 66124289 dxgi.c:667 | dxgi_init | Damage-aware copy : enabled
[I] 66124822 app.c:379 | captureStart | ==== [ Capture Start ] ====
[I] 66125594 app.c:312 | frameThread | Frame thread started
[I] 101478131 app.c:319 | frameThread | Frame thread stopped
[I] 101480185 app.c:385 | captureStop | ==== [ Capture Stop ] ====
[I] 116999861 dxgi.c:390 | dxgi_init | Device Name : \\.\DISPLAY1
[I] 117000746 dxgi.c:391 | dxgi_init | Device Description: NVIDIA GRID RTX6000-24
[I] 117001670 dxgi.c:392 | dxgi_init | Device Vendor ID : 0x10de
[I] 117002716 dxgi.c:393 | dxgi_init | Device Device ID : 0x1e30
[I] 117003887 dxgi.c:394 | dxgi_init | Device Video Mem : 2834 MiB
[I] 117004688 dxgi.c:395 | dxgi_init | Device Sys Mem : 0 MiB
[I] 117005946 dxgi.c:396 | dxgi_init | Shared Sys Mem : 5748 MiB
[I] 117581834 dxgi.c:503 | dxgi_init | Feature Level : 0xc100
[I] 117582807 dxgi.c:504 | dxgi_init | Capture Size : 1920 x 1080
[I] 117583711 dxgi.c:505 | dxgi_init | AcquireLock : enabled
[I] 117584574 dxgi.c:506 | dxgi_init | Debug mode : disabled
[I] 117620774 dxgi.c:598 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
[I] 117621775 dxgi.c:640 | dxgi_init | Request Size : 1920 x 1080
[I] 117624861 dxgi.c:658 | dxgi_init | Output Size : 1920 x 1080
[I] 117625435 dxgi.c:666 | dxgi_init | Copy backend : Direct3D 11
[I] 117625922 dxgi.c:667 | dxgi_init | Damage-aware copy : enabled
[I] 117626755 app.c:379 | captureStart | ==== [ Capture Start ] ====
[I] 117630150 app.c:312 | frameThread | Frame thread started
[I] 141860514 app.c:319 | frameThread | Frame thread stopped
[I] 141861062 app.c:385 | captureStop | ==== [ Capture Stop ] ====
[I] 142921951 dxgi.c:390 | dxgi_init | Device Name : \\.\DISPLAY1
[I] 142922413 dxgi.c:391 | dxgi_init | Device Description: NVIDIA GRID RTX6000-24
[I] 142922862 dxgi.c:392 | dxgi_init | Device Vendor ID : 0x10de
[I] 142923269 dxgi.c:393 | dxgi_init | Device Device ID : 0x1e30
[I] 142923658 dxgi.c:394 | dxgi_init | Device Video Mem : 2834 MiB
[I] 142924051 dxgi.c:395 | dxgi_init | Device Sys Mem : 0 MiB
[I] 142924443 dxgi.c:396 | dxgi_init | Shared Sys Mem : 5748 MiB
[I] 143040664 dxgi.c:503 | dxgi_init | Feature Level : 0xc100
[I] 143041396 dxgi.c:504 | dxgi_init | Capture Size : 1920 x 1080
[I] 143042110 dxgi.c:505 | dxgi_init | AcquireLock : enabled
[I] 143042856 dxgi.c:506 | dxgi_init | Debug mode : disabled
[I] 143049892 dxgi.c:598 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
[I] 143050850 dxgi.c:640 | dxgi_init | Request Size : 1920 x 1080
[I] 143054435 dxgi.c:658 | dxgi_init | Output Size : 1920 x 1080
[I] 143055262 dxgi.c:666 | dxgi_init | Copy backend : Direct3D 11
[I] 143056129 dxgi.c:667 | dxgi_init | Damage-aware copy : enabled
[I] 143056850 app.c:379 | captureStart | ==== [ Capture Start ] ====
[I] 143057771 app.c:312 | frameThread | Frame thread started
[I] 816864601 app.c:319 | frameThread | Frame thread stopped
[I] 816866181 app.c:385 | captureStop | ==== [ Capture Stop ] ====
[I] 816961184 dxgi.c:390 | dxgi_init | Device Name : \\.\DISPLAY1
[I] 816962018 dxgi.c:391 | dxgi_init | Device Description: NVIDIA GRID RTX6000-24
[I] 816962820 dxgi.c:392 | dxgi_init | Device Vendor ID : 0x10de
[I] 816963506 dxgi.c:393 | dxgi_init | Device Device ID : 0x1e30
[I] 816964053 dxgi.c:394 | dxgi_init | Device Video Mem : 2834 MiB
[I] 816964753 dxgi.c:395 | dxgi_init | Device Sys Mem : 0 MiB
[I] 816965557 dxgi.c:396 | dxgi_init | Shared Sys Mem : 5748 MiB
[I] 817170554 dxgi.c:503 | dxgi_init | Feature Level : 0xc100
[I] 817171291 dxgi.c:504 | dxgi_init | Capture Size : 1920 x 1080
[I] 817171985 dxgi.c:505 | dxgi_init | AcquireLock : enabled
[I] 817172620 dxgi.c:506 | dxgi_init | Debug mode : disabled
[I] 817197903 dxgi.c:598 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
[I] 817198556 dxgi.c:640 | dxgi_init | Request Size : 1920 x 1080
[I] 817200749 dxgi.c:658 | dxgi_init | Output Size : 1920 x 1080
[I] 817201168 dxgi.c:666 | dxgi_init | Copy backend : Direct3D 11
[I] 817201540 dxgi.c:667 | dxgi_init | Damage-aware copy : enabled
[I] 817201983 app.c:379 | captureStart | ==== [ Capture Start ] ====
[I] 817202517 app.c:312 | frameThread | Frame thread started
@gnif, sorry for the messy report. I made a new video that should demonstrate the issue better and added it to the main post: https://youtu.be/gyD4v8KA10w
The output I added above in my comments was for a crash that is unrelated to this issue, if anything I should make another issue with that
Bug Report Required Information
The entire (not truncated) output from the client application (if applicable). To obtain this run
looking-glass-client
in a terminal.The LG client is nixOS:
The entire (not truncated) log file from the host application (if applicable). The LG Host is a windows 11 VM:
I have a setup where I run looking-glass like this:
export SDL_VIDEO_X11_VISUALID= && looking-glass-client win:fullScreen spice:alwaysShowCursor
with the optionspice:alwaysShowCursor
so the cursor is always visible so I pass a USB mouse device and a keyboard so I can have one person using the host computer and one person using the windows guest computer simultaneously and both are showing a cursor. My computer and setup isn't very performant (yet), and sometimes, especially when I open an application on the host computer or do something that requires some more resources, the LG display will disconnect for a second or so (image), and when it comes back it seems like the optionspice:alwaysShowCursor
is lost and the mouse in LG is invisible again.If the backtrace is needed, please inform and I shall try to reproduce and provide it
I'm using unlocked nvidia vgpu technology inside my windows VM, here is some info about my computer:
Workaround is to stop and run looking glass with the correct arguments again when this happens. Or Bringing the Host mouse into the VM and taking it off again.
Here is a video demonstrating the issue: https://youtu.be/gyD4v8KA10w
If any more information is needed please inform, and thank you 🙃