Return to Level1Techs.com

Timer Drift detected

Having an issue with looking glass on Ubuntu 19.10 under Wayland. i’m using the same git commit for the client/windows exe. This has happened to me on the past few commits I’ve happened to try.

[email protected]:~$ sudo chrt --rr 99 looking-glass-client -s  win:noScreensaver=yes
14525399664 [I]               main.c:1564 | main                           | Looking Glass (B1-155-g7cc305c2f5+1)
14525399677 [I]               main.c:1565 | main                           | Locking Method: Atomic
14525453803 [I]            ivshmem.c:180  | ivshmemOpenDev                 | KVMFR Device     : /dev/shm/looking-glass
14525460565 [I]                egl.c:187  | egl_initialize                 | Double buffering is on
14525474710 [I]               main.c:1060 | try_renderer                   | Using Renderer: EGL
14525497566 [I]               main.c:1394 | lg_run                         | Using Clipboard: X11
14525499146 [I]                egl.c:372  | egl_render_startup             | Supported extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_wayland EGL_EXT_platform_x11 EGL_MESA_platform_gbm EGL_MESA_platform_surfaceless EGL_EXT_platform_device
14525499163 [I]                egl.c:378  | egl_render_startup             | use native: false
14525512997 [I]                egl.c:467  | egl_render_startup             | Vendor  : X.Org
14525513007 [I]                egl.c:468  | egl_render_startup             | Renderer: AMD Radeon Pro WX2100 (POLARIS12, DRM 3.33.0, 5.3.0-29-generic, LLVM 9.0.1)
14525513008 [I]                egl.c:469  | egl_render_startup             | Version : OpenGL ES 3.2 Mesa 19.3.3 - kisak-mesa PPA
14525580106 [I]               main.c:1450 | lg_run                         | Host ready, starting session
14539729972 [I]               main.c:178  | renderThread                   | Timer drift detected, 54503648 is > 8333333
14541299236 [I]               main.c:178  | renderThread                   | Timer drift detected, 2735913445 is > 8333333
14542672671 [I]               main.c:178  | renderThread                   | Timer drift detected, 540086752 is > 8333333
14571124613 [I]               main.c:178  | renderThread                   | Timer drift detected, 118585900 is > 8333333
14572691643 [I]               main.c:178  | renderThread                   | Timer drift detected, 2733683071 is > 8333333
14573965510 [I]               main.c:178  | renderThread                   | Timer drift detected, 440516271 is > 8333333
14579103686 [I]               main.c:178  | renderThread                   | Timer drift detected, 2138160005 is > 8333333
14589256052 [I]               main.c:178  | renderThread                   | Timer drift detected, 152350428 is > 8333333
14590893043 [I]               main.c:178  | renderThread                   | Timer drift detected, 803641627 is > 8333333
14592148353 [I]               main.c:178  | renderThread                   | Timer drift detected, 2421961518 is > 8333333
14598189471 [I]               main.c:178  | renderThread                   | Timer drift detected, 2207768827 is > 8333333
14599742343 [I]               main.c:178  | renderThread                   | Timer drift detected, 719523802 is > 8333333
14600929497 [I]               main.c:178  | renderThread                   | Timer drift detected, 353805299 is > 8333333
14602948232 [I]               main.c:178  | renderThread                   | Timer drift detected, 352053921 is > 8333333
14604551819 [I]               main.c:178  | renderThread                   | Timer drift detected, 2770241350 is > 8333333
14610646340 [I]               main.c:178  | renderThread                   | Timer drift detected, 261172552 is > 8333333
14612249693 [I]               main.c:178  | renderThread                   | Timer drift detected, 2770005824 is > 8333333
14613104651 [I]               main.c:178  | renderThread                   | Timer drift detected, 21608305 is > 8333333
14616941226 [I]               main.c:178  | renderThread                   | Timer drift detected, 503219556 is > 8333333
14624506452 [I]               main.c:178  | renderThread                   | Timer drift detected, 65210887 is > 8333333
14626593465 [I]               main.c:178  | renderThread                   | Timer drift detected, 420334025 is > 8333333
14628229183 [I]               main.c:178  | renderThread                   | Timer drift detected, 2802333330 is > 8333333
14649138357 [I]               main.c:178  | renderThread                   | Timer drift detected, 75826369 is > 8333333
14657901657 [I]               main.c:178  | renderThread                   | Timer drift detected, 429951169 is > 8333333
14659371240 [I]               main.c:178  | renderThread                   | Timer drift detected, 2636236009 is > 8333333
14665466680 [I]               main.c:178  | renderThread                   | Timer drift detected, 262092361 is > 8333333
14667052053 [I]               main.c:178  | renderThread                   | Timer drift detected, 2752026170 is > 8333333
14670157845 [I]               main.c:178  | renderThread                   | Timer drift detected, 2605781000 is > 8333333
14671730412 [I]               main.c:178  | renderThread                   | Timer drift detected, 2739222094 is > 8333333
14679008043 [I]               main.c:178  | renderThread                   | Timer drift detected, 2610949991 is > 8333333
14680777991 [I]               main.c:178  | renderThread                   | Timer drift detected, 103262660 is > 8333333
14682364024 [I]               main.c:178  | renderThread                   | Timer drift detected, 2752688526 is > 8333333
14683501900 [I]               main.c:178  | renderThread                   | Timer drift detected, 304524921 is > 8333333
14687006483 [I]               main.c:178  | renderThread                   | Timer drift detected, 2171212622 is > 8333333
14688893092 [I]               main.c:178  | renderThread                   | Timer drift detected, 219925657 is > 8333333
14690479981 [I]               main.c:178  | renderThread                   | Timer drift detected, 2753540755 is > 8333333
14691405467 [I]               main.c:178  | renderThread                   | Timer drift detected, 92138665 is > 8333333

My keyboard and mouse are being passed in through evdev (switch with left+right ctrl)

Not sure what is causing this. Thanks. I encounter the same issue without chrt.

I have noticable microstuttering in looking glass.

My hardware:

AMD 3900x
Host GPU WX2100
Guest GPU 580X with latest amd drivers
32 gigs of 3200mhz ram

It’s not an error, it’s informational output, please ignore it.