Return to Level1Techs.com

Failed to find the master pointing device

I think I made every step for windows, but not able to start because:

[I] 18903551649 main.c:1278 | main | Looking Glass (B4-580-ge914e56c48+)
[I] 18903551667 main.c:1279 | main | Locking Method: Atomic
[I] 18903572572 cpuinfo.c:36 | lgDebugCPU | CPU Model: Intel(R) Core™ i7-10700 CPU @ 2.90GHz
[I] 18903572582 cpuinfo.c:37 | lgDebugCPU | CPU: 8 cores, 16 threads
[I] 18903577152 main.c:840 | lg_run | Using font: /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
[I] 18903577190 ivshmem.c:128 | ivshmemOpenDev | KVMFR Device : /dev/shm/looking-glass
[I] 18903594062 egl.c:246 | egl_initialize | Double buffering is off
[I] 18903594069 main.c:807 | tryRenderer | Using Renderer: EGL
[I] 18903594930 x11.c:378 | x11Init | X11 XInput 2.0 in use
[I] 18903594994 x11.c:389 | x11Init | count=7
[I] 18903594997 x11.c:395 | x11Init | [0]=1, XIMasterPointer=1
[I] 18903594998 x11.c:395 | x11Init | [1]=2, XIMasterPointer=1
[I] 18903594999 x11.c:395 | x11Init | [2]=3, XIMasterPointer=1
[I] 18903595015 x11.c:395 | x11Init | [3]=4, XIMasterPointer=1
[I] 18903595016 x11.c:395 | x11Init | [4]=4, XIMasterPointer=1
[I] 18903595017 x11.c:395 | x11Init | [5]=3, XIMasterPointer=1
[I] 18903595018 x11.c:395 | x11Init | [6]=3, XIMasterPointer=1
[E] 18903595041 x11.c:438 | x11Init | Failed to find the master pointing device
[E] 18903595123 main.c:985 | lg_run | Failed to initialize the displayserver backend

I modify this code to find why there is no masterpoiner:


diff --git a/client/displayservers/X11/x11.c b/client/displayservers/X11/x11.c
index f2a35220..293f7592 100644
--- a/client/displayservers/X11/x11.c
+++ b/client/displayservers/X11/x11.c
@@ -386,12 +386,13 @@ static bool x11Init(const LG_DSInitParams params)
 
   Atom rel_x = XInternAtom(x11.display, "Rel X", True);
   Atom rel_y = XInternAtom(x11.display, "Rel Y", True);
-
+  DEBUG_INFO("count=%d", count);
   bool havePointer  = false;
   bool haveKeyboard = false;
   for(int i = 0; i < count; ++i)
   {
     /* look for the master pointing device */
+    DEBUG_INFO("[%d]=%d, XIMasterPointer=%d", i, devinfo[i].use, XIMasterPointer);
     if (!havePointer && devinfo[i].use == XIMasterPointer)
     {
       for(int j = 0; j < devinfo[i].num_classes; ++j)