I upgraded recently both Windows and my WSL but I still get out of sync clock when restoring my session from sleep/hibernate. My versions: Kernel version: 5.15.57.1 WSLg version: 1.0.42 MSRDC version: 1.2.3401 Direct3D version: 1.606.4 DXCore version: 10.0.25131.1002-220531-1700.rs-onecor...
Obviously it is a pain in the butt to run this command constantly. I need either a solution or a workaround. I know how to program, so any ideas would be appreciated. I'm willing to write a script or whatever so my clock can stay synced! Thanks!
UPDATE: I was able to discern that the clock skew is about 0.43 to 0.45 seconds. I can sync windows time and try to 'make' right after, and the issue is still present. I wrote a program to workaround this problem:. Assuming you don't also need X11 forwarding, you can put [time]...
Bug fix: Clock sync This new kernel version also contains a bug fix for a clock sync issue(Github Issue #5324). This issue causes the clock inside of your WSL 2 instances to be different than the actual time on your host machine. This bug was fixed entirely by changes inside of ...
Clocks Throttle Reasons Idle : Active Applications Clocks Setting : Not Active SW Power Cap : Not Active HW Slowdown : Not Active HW Thermal Slowdown : Not Active HW Power Brake Slowdown : Not Active Sync Boost : Not Active SW Thermal Slowdown : Not Active ...
[ 0.446543] hv_utils: cannot register PTP clock: 0 ... [ 0.464916] Unstable clock detected, switching default tracing clock to "global" If you want to keep using the local clock, then add: "trace_clock=local" on the kernel command line Looked...
Enable support for the Precision Time Protocol (PTP) clock device Enable the Landlock Linux Security Module (LSM) https://landlock.io/ Enable the Miscellaneous Control Group (CGroup) https://www.kernel.org/doc/html/v5.15/admin-guide/cgroup-v2.html#misc ...
the clock sync viahwclockon resume from sleep. Originally a PowerShell script, I've recently updated it to a go binary (partly because that avoids the flash of a PowerShell window). Since implementing this workaround, I've not had any issues:https://github.com/stuartleeks/wsl-clock ...
Jul 07 16:28:05 * kernel: misc dxg: dxgk: dxgkio_create_sync_object: Ioctl failed: -75 Jul 07 16:28:31 * systemd-resolved[166]: Clock change detected. Flushing caches. The gnome-logs window works, but there is a margin area different from the actual window size. ...
[ 5.206428] hv_utils: cannot register PTP clock: 0 [ 5.206726] hv_utils: TimeSync IC version 4.0 [ 5.206903] drop_monitor: Initializing network drop monitor service [ 5.207337] hv_balloon: Using Dynamic Memory protocol version 2.0 [ 5.208921] hv_balloon: cold memory discard enabled [ ...