r-c-f / waynergy

A synergy client for Wayland compositors
MIT License
394 stars 17 forks source link

Error sending request: Resource temporarily unavailable #59

Closed ackstorm23 closed 1 year ago

ackstorm23 commented 1 year ago

As much as 3 times a day, Waynergy stops responding.

Each time it happens, I receive this error.

Oct 15 11:56:49 aut waynergy[3632477]: Error sending request: Resource temporarily unavailable

waynergy version v0.0.13-8-g2a01d0c

debug logs don't seem to show anything leading up to it:

Oct 15 11:18:38 ___ waynergy[3096172]: 37379.859496375: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:18:38 ___ waynergy[3096172]: 37379.859570461: [DEBUG] Keycode: 38, state 1
Oct 15 11:18:38 ___ waynergy[3096172]: 37379.920527134: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:18:38 ___ waynergy[3096172]: 37379.920592639: [DEBUG] Keycode: 28, state 1
Oct 15 11:18:38 ___ waynergy[3096172]: 37379.982302380: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:18:38 ___ waynergy[3096172]: 37379.982368037: [DEBUG] Keycode: 26, state 0
Oct 15 11:18:38 ___ waynergy[3096172]: 37380.003165854: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:18:38 ___ waynergy[3096172]: 37380.003254401: [DEBUG] Keycode: 38, state 0
Oct 15 11:18:38 ___ waynergy[3096172]: 37380.040993350: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:18:38 ___ waynergy[3096172]: 37380.041008969: [DEBUG] Keycode: 28, state 0
Oct 15 11:18:39 ___ waynergy[3096172]: 37380.627466313: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:18:39 ___ waynergy[3096172]: 37380.627498768: [DEBUG] Keycode: 36, state 1
Oct 15 11:18:39 ___ waynergy[3096172]: 37380.779162039: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:18:39 ___ waynergy[3096172]: 37380.779199304: [DEBUG] Keycode: 36, state 0
Oct 15 11:18:43 ___ waynergy[3096172]: 37384.685211977: [DEBUG] Got CALV
Oct 15 11:18:48 ___ waynergy[3096172]: 37389.692372210: [DEBUG] Got CALV
Oct 15 11:18:53 ___ waynergy[3096172]: 37394.704767181: [DEBUG] Got CALV
Oct 15 11:18:58 ___ waynergy[3096172]: 37399.710597987: [DEBUG] Got CALV
Oct 15 11:19:03 ___ waynergy[3096172]: 37404.721642384: [DEBUG] Got CALV
Oct 15 11:19:08 ___ waynergy[3096172]: 37409.727076131: [DEBUG] Got CALV
Oct 15 11:19:13 ___ waynergy[3096172]: 37414.738020010: [DEBUG] Got CALV
Oct 15 11:19:18 ___ waynergy[3096172]: 37419.739389877: [DEBUG] Got CALV
Oct 15 11:19:23 ___ waynergy[3096172]: 37424.749771166: [DEBUG] Got CALV
Oct 15 11:19:28 ___ waynergy[3096172]: 37429.750675494: [DEBUG] Got CALV
Oct 15 11:19:33 ___ waynergy[3096172]: 37434.754660639: [DEBUG] Got CALV
Oct 15 11:19:38 ___ waynergy[3096172]: 37439.767009125: [DEBUG] Got CALV
Oct 15 11:19:43 ___ waynergy[3096172]: 37444.769570708: [DEBUG] Got CALV
Oct 15 11:19:48 ___ waynergy[3096172]: 37449.770699700: [DEBUG] Got CALV
Oct 15 11:19:53 ___ waynergy[3096172]: 37454.775850234: [DEBUG] Got CALV
Oct 15 11:19:58 ___ waynergy[3096172]: 37459.782846833: [DEBUG] Got CALV
Oct 15 11:20:03 ___ waynergy[3096172]: 37464.782980751: [DEBUG] Got CALV
Oct 15 11:20:08 ___ waynergy[3096172]: 37469.797500409: [DEBUG] Got CALV
Oct 15 11:20:13 ___ waynergy[3096172]: 37474.800918102: [DEBUG] Got CALV
Oct 15 11:20:18 ___ waynergy[3096172]: 37479.802890621: [DEBUG] Got CALV
Oct 15 11:20:23 ___ waynergy[3096172]: 37484.807882735: [DEBUG] Got CALV
Oct 15 11:20:28 ___ waynergy[3096172]: 37489.810620489: [DEBUG] Got CALV
Oct 15 11:20:33 ___ waynergy[3096172]: 37494.815709556: [DEBUG] Got CALV
Oct 15 11:20:38 ___ waynergy[3096172]: 37499.815766111: [DEBUG] Got CALV
Oct 15 11:20:43 ___ waynergy[3096172]: 37504.828505265: [DEBUG] Got CALV
Oct 15 11:20:48 ___ waynergy[3096172]: 37509.832341679: [DEBUG] Got CALV
Oct 15 11:20:53 ___ waynergy[3096172]: 37514.840126246: [DEBUG] Got CALV
Oct 15 11:20:58 ___ waynergy[3096172]: 37519.849008705: [DEBUG] Got CALV
Oct 15 11:21:03 ___ waynergy[3096172]: 37524.856946349: [DEBUG] Got CALV
Oct 15 11:21:08 ___ waynergy[3096172]: 37529.857002151: [DEBUG] Got CALV
Oct 15 11:21:13 ___ waynergy[3096172]: 37534.857259611: [DEBUG] Got CALV
Oct 15 11:21:18 ___ waynergy[3096172]: 37539.859715073: [DEBUG] Got CALV
Oct 15 11:21:23 ___ waynergy[3096172]: 37544.859800651: [DEBUG] Got CALV
Oct 15 11:21:28 ___ waynergy[3096172]: 37549.871977853: [DEBUG] Got CALV
Oct 15 11:21:33 ___ waynergy[3096172]: 37554.872023808: [DEBUG] Got CALV
Oct 15 11:21:38 ___ waynergy[3096172]: 37559.879484549: [DEBUG] Got CALV
Oct 15 11:21:43 ___ waynergy[3096172]: 37564.887790906: [DEBUG] Got CALV
Oct 15 11:21:48 ___ waynergy[3096172]: 37569.898335056: [DEBUG] Got CALV
Oct 15 11:21:53 ___ waynergy[3096172]: 37574.910428716: [DEBUG] Got CALV
Oct 15 11:21:58 ___ waynergy[3096172]: 37579.910485560: [DEBUG] Got CALV
Oct 15 11:21:58 ___ waynergy[3096172]: 37580.126022798: [DEBUG] Superfluous release of raw key 199
Oct 15 11:21:58 ___ waynergy[3096172]: 37580.150949918: [DEBUG] Superfluous release of raw key 199
Oct 15 11:21:59 ___ waynergy[3096172]: 37580.796173999: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Oct 15 11:21:59 ___ waynergy[3096172]: 37580.899024216: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Oct 15 11:22:01 ___ waynergy[3096172]: 37582.638071789: [DEBUG] Modifiers: depressed: 4 latched: 0 locked: 0 group: 0
Oct 15 11:22:01 ___ waynergy[3096172]: 37582.638112015: [DEBUG] Keycode: 37, state 1
Oct 15 11:22:01 ___ waynergy[3096172]: 37582.816280804: [DEBUG] Modifiers: depressed: 4 latched: 0 locked: 0 group: 0
Oct 15 11:22:01 ___ waynergy[3096172]: 37582.816322143: [DEBUG] Keycode: 28, state 1
Oct 15 11:22:01 ___ waynergy[3096172]: 37582.900059138: [DEBUG] Modifiers: depressed: 4 latched: 0 locked: 0 group: 0
Oct 15 11:22:01 ___ waynergy[3096172]: 37582.900089960: [DEBUG] Keycode: 28, state 0
Oct 15 11:22:01 ___ waynergy[3096172]: 37582.910071539: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:01 ___ waynergy[3096172]: 37582.910101655: [DEBUG] Keycode: 37, state 0
Oct 15 11:22:01 ___ waynergy[3096172]: 37583.024097975: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:01 ___ waynergy[3096172]: 37583.024141781: [DEBUG] Keycode: 42, state 1
Oct 15 11:22:01 ___ waynergy[3096172]: 37583.082055030: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:01 ___ waynergy[3096172]: 37583.082107844: [DEBUG] Keycode: 42, state 0
Oct 15 11:22:01 ___ waynergy[3096172]: 37583.172119699: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:01 ___ waynergy[3096172]: 37583.172183914: [DEBUG] Keycode: 28, state 1
Oct 15 11:22:02 ___ waynergy[3096172]: 37583.244124833: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:02 ___ waynergy[3096172]: 37583.244155435: [DEBUG] Keycode: 28, state 0
Oct 15 11:22:02 ___ waynergy[3096172]: 37583.261169148: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:02 ___ waynergy[3096172]: 37583.261201702: [DEBUG] Keycode: 45, state 1
Oct 15 11:22:02 ___ waynergy[3096172]: 37583.373117626: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:02 ___ waynergy[3096172]: 37583.373155847: [DEBUG] Keycode: 45, state 0
Oct 15 11:22:02 ___ waynergy[3096172]: 37583.967268892: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:02 ___ waynergy[3096172]: 37583.967297827: [DEBUG] Keycode: 20, state 1
Oct 15 11:22:02 ___ waynergy[3096172]: 37584.058223718: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:02 ___ waynergy[3096172]: 37584.058268366: [DEBUG] Keycode: 20, state 0
Oct 15 11:22:02 ___ waynergy[3096172]: 37584.145442139: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:02 ___ waynergy[3096172]: 37584.145504959: [DEBUG] Keycode: 46, state 1
Oct 15 11:22:02 ___ waynergy[3096172]: 37584.209195102: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:02 ___ waynergy[3096172]: 37584.209226322: [DEBUG] Keycode: 46, state 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.314303380: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.314353818: [DEBUG] Keycode: 32, state 1
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.400397607: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.400432563: [DEBUG] Keycode: 32, state 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.469430511: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.469464259: [DEBUG] Keycode: 32, state 1
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.555230026: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.555266867: [DEBUG] Keycode: 32, state 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.651354321: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.651380632: [DEBUG] Keycode: 45, state 1
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.709314889: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.709345809: [DEBUG] Keycode: 45, state 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.821280344: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.821316517: [DEBUG] Keycode: 60, state 1
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.913460892: [DEBUG] Got CALV
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.915115548: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37584.915128414: [DEBUG] Keycode: 60, state 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37585.101486606: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37585.101516229: [DEBUG] Keycode: 32, state 1
Oct 15 11:22:03 ___ waynergy[3096172]: 37585.221285463: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37585.221318576: [DEBUG] Keycode: 32, state 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37585.232347471: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:03 ___ waynergy[3096172]: 37585.232380979: [DEBUG] Keycode: 27, state 1
Oct 15 11:22:04 ___ waynergy[3096172]: 37585.334460413: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:04 ___ waynergy[3096172]: 37585.334502490: [DEBUG] Keycode: 42, state 1
Oct 15 11:22:04 ___ waynergy[3096172]: 37585.423411159: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:04 ___ waynergy[3096172]: 37585.423443280: [DEBUG] Keycode: 27, state 0
Oct 15 11:22:04 ___ waynergy[3096172]: 37585.451411371: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:04 ___ waynergy[3096172]: 37585.451440005: [DEBUG] Keycode: 42, state 0
Oct 15 11:22:04 ___ waynergy[3096172]: 37586.162899294: [DEBUG] Modifiers: depressed: 1 latched: 0 locked: 0 group: 0
Oct 15 11:22:04 ___ waynergy[3096172]: 37586.162939223: [DEBUG] Keycode: 50, state 1
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.412537345: [DEBUG] Modifiers: depressed: 1 latched: 0 locked: 0 group: 0
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.412577244: [DEBUG] Keycode: 110, state 1
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.424283287: [DEBUG] Accepting
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.424322523: [DEBUG] Clipboard data read for p: 12 bytes
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.424849823: [DEBUG] Accepting
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.424870726: [DEBUG] Clipboard data read for p: 0 bytes
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.496402777: [DEBUG] Modifiers: depressed: 1 latched: 0 locked: 0 group: 0
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.496437754: [DEBUG] Keycode: 110, state 0
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.556416797: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.556449054: [DEBUG] Keycode: 50, state 0
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.634560186: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.634599017: [DEBUG] Keycode: 42, state 1
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.706508293: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.706548820: [DEBUG] Keycode: 44, state 1
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.723590794: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.723624767: [DEBUG] Keycode: 42, state 0
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.770572501: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:05 ___ waynergy[3096172]: 37586.770603103: [DEBUG] Keycode: 44, state 0
Oct 15 11:22:05 ___ waynergy[3096172]: 37587.022540279: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:05 ___ waynergy[3096172]: 37587.022580184: [DEBUG] Keycode: 33, state 1
Oct 15 11:22:05 ___ waynergy[3096172]: 37587.142543300: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:05 ___ waynergy[3096172]: 37587.142595712: [DEBUG] Keycode: 33, state 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.373726475: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.373763948: [DEBUG] Keycode: 22, state 1
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.461918514: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.461949549: [DEBUG] Keycode: 22, state 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.550719901: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.550745596: [DEBUG] Keycode: 22, state 1
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.615596069: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.615631889: [DEBUG] Keycode: 22, state 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.702359120: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.702399027: [DEBUG] Keycode: 57, state 1
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.763600544: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.763640492: [DEBUG] Keycode: 57, state 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.862665519: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.862710665: [DEBUG] Keycode: 32, state 1
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.903683399: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.903713623: [DEBUG] Keycode: 58, state 1
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.984736002: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.984769883: [DEBUG] Keycode: 26, state 1
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.995697055: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37587.995729689: [DEBUG] Keycode: 32, state 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37588.027690616: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37588.027732157: [DEBUG] Keycode: 58, state 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37588.052055584: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:06 ___ waynergy[3096172]: 37588.052089722: [DEBUG] Keycode: 26, state 0
Oct 15 11:22:07 ___ waynergy[3096172]: 37588.247913578: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:07 ___ waynergy[3096172]: 37588.247953583: [DEBUG] Keycode: 36, state 1
Oct 15 11:22:07 ___ waynergy[3096172]: 37588.431638396: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:07 ___ waynergy[3096172]: 37588.431663991: [DEBUG] Keycode: 36, state 0
Oct 15 11:22:08 ___ waynergy[3096172]: 37589.913411291: [DEBUG] Got CALV
Oct 15 11:22:08 ___ waynergy[3096172]: 37590.187994334: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Oct 15 11:22:09 ___ waynergy[3096172]: 37590.288007031: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Oct 15 11:22:13 ___ waynergy[3096172]: 37594.924144203: [DEBUG] Got CALV
Oct 15 11:22:13 ___ waynergy[3096172]: 37595.056590326: [DEBUG] Modifiers: depressed: 4 latched: 0 locked: 0 group: 0
Oct 15 11:22:13 ___ waynergy[3096172]: 37595.056623448: [DEBUG] Keycode: 37, state 1
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.326510467: [DEBUG] Modifiers: depressed: 4 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.326540605: [DEBUG] Keycode: 28, state 1
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.402470749: [DEBUG] Modifiers: depressed: 4 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.402503216: [DEBUG] Keycode: 28, state 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.428514889: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.428544868: [DEBUG] Keycode: 37, state 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.581694786: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.581727143: [DEBUG] Keycode: 39, state 1
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.644548808: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.644578977: [DEBUG] Keycode: 39, state 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.774691614: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.774722807: [DEBUG] Keycode: 25, state 1
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.804624950: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.804663315: [DEBUG] Keycode: 38, state 1
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.855548617: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.855591638: [DEBUG] Keycode: 25, state 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.907660961: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.907700911: [DEBUG] Keycode: 38, state 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.962604523: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37595.962634053: [DEBUG] Keycode: 29, state 1
Oct 15 11:22:14 ___ waynergy[3096172]: 37596.011533829: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37596.011564755: [DEBUG] Keycode: 29, state 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37596.115712854: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37596.115745314: [DEBUG] Keycode: 25, state 1
Oct 15 11:22:14 ___ waynergy[3096172]: 37596.224714651: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37596.224753730: [DEBUG] Keycode: 58, state 1
Oct 15 11:22:14 ___ waynergy[3096172]: 37596.233618418: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:14 ___ waynergy[3096172]: 37596.233647908: [DEBUG] Keycode: 25, state 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.331743193: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.331772612: [DEBUG] Keycode: 65, state 1
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.351964289: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.351994668: [DEBUG] Keycode: 58, state 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.449723233: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.449753794: [DEBUG] Keycode: 42, state 1
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.478089449: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.478130118: [DEBUG] Keycode: 65, state 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.526602510: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.526645580: [DEBUG] Keycode: 42, state 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.535817678: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.535845671: [DEBUG] Keycode: 31, state 1
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.635694907: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.635727421: [DEBUG] Keycode: 28, state 1
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.647718336: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.647754589: [DEBUG] Keycode: 31, state 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.713766406: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37596.713829520: [DEBUG] Keycode: 28, state 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37597.033988715: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37597.034017939: [DEBUG] Keycode: 43, state 1
Oct 15 11:22:15 ___ waynergy[3096172]: 37597.112758868: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37597.112802333: [DEBUG] Keycode: 30, state 1
Oct 15 11:22:15 ___ waynergy[3096172]: 37597.176782225: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37597.176818008: [DEBUG] Keycode: 43, state 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37597.191827336: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37597.191851532: [DEBUG] Keycode: 56, state 1
Oct 15 11:22:15 ___ waynergy[3096172]: 37597.199763652: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:15 ___ waynergy[3096172]: 37597.199798637: [DEBUG] Keycode: 30, state 0
Oct 15 11:22:16 ___ waynergy[3096172]: 37597.284755736: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:16 ___ waynergy[3096172]: 37597.284801770: [DEBUG] Keycode: 56, state 0
Oct 15 11:22:16 ___ waynergy[3096172]: 37597.484875587: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:16 ___ waynergy[3096172]: 37597.484915297: [DEBUG] Keycode: 36, state 1
Oct 15 11:22:16 ___ waynergy[3096172]: 37597.628962821: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Oct 15 11:22:16 ___ waynergy[3096172]: 37597.628998288: [DEBUG] Keycode: 36, state 0
Oct 15 11:22:17 ___ waynergy[3096172]: 37598.698048876: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Oct 15 11:22:17 ___ waynergy[3096172]: 37598.810174946: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Oct 15 11:22:18 ___ waynergy[3096172]: 37599.924160580: [DEBUG] Got CALV
Oct 15 11:22:23 ___ waynergy[3096172]: 37604.933884074: [DEBUG] Got CALV
Oct 15 11:22:28 ___ waynergy[3096172]: 37609.945194164: [DEBUG] Got CALV
Oct 15 11:22:33 ___ waynergy[3096172]: 37614.953029497: [DEBUG] Got CALV
Oct 15 11:22:38 ___ waynergy[3096172]: 37619.953101012: [DEBUG] Got CALV
Oct 15 11:22:43 ___ waynergy[3096172]: 37624.300320177: [DEBUG] Superfluous release of raw key 199
Oct 15 11:22:43 ___ waynergy[3096172]: 37624.332250120: [DEBUG] Superfluous release of raw key 199
Oct 15 11:22:43 ___ waynergy[3096172]: 37624.953069203: [DEBUG] Got CALV
Oct 15 11:22:44 ___ waynergy[3096172]: 37626.141570760: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Oct 15 11:22:44 ___ waynergy[3096172]: 37626.231816919: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Oct 15 11:22:47 ___ waynergy[3096172]: 37629.135439271: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Oct 15 11:22:48 ___ waynergy[3096172]: 37629.273538929: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Oct 15 11:22:48 ___ waynergy[3096172]: 37629.965997304: [DEBUG] Got CALV
Oct 15 11:22:51 ___ waynergy[3096172]: 37633.159002702: [DEBUG] Mouse button: 3 (mapped to 273), state: 1
Oct 15 11:22:52 ___ waynergy[3096172]: 37633.257000225: [DEBUG] Mouse button: 3 (mapped to 273), state: 0
Oct 15 11:22:52 ___ waynergy[3096172]: 37633.593106516: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Oct 15 11:22:52 ___ waynergy[3096172]: 37633.683973785: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Oct 15 11:22:53 ___ waynergy[3096172]: 37634.966083382: [DEBUG] Got CALV
Oct 15 11:22:58 ___ waynergy[3096172]: 37639.966409833: [DEBUG] Got CALV
Oct 15 11:23:03 ___ waynergy[3096172]: 37644.980631273: [DEBUG] Got CALV
Oct 15 11:23:08 ___ waynergy[3096172]: 37649.980683003: [DEBUG] Got CALV
Oct 15 11:22:16 ___ waynergy[3096172]: 37597.628998288: [DEBUG] Keycode: 36, state 0
Oct 15 11:22:17 ___ waynergy[3096172]: 37598.698048876: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Oct 15 11:22:17 ___ waynergy[3096172]: 37598.810174946: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Oct 15 11:22:18 ___ waynergy[3096172]: 37599.924160580: [DEBUG] Got CALV
Oct 15 11:22:23 ___ waynergy[3096172]: 37604.933884074: [DEBUG] Got CALV
Oct 15 11:22:28 ___ waynergy[3096172]: 37609.945194164: [DEBUG] Got CALV
Oct 15 11:22:33 ___ waynergy[3096172]: 37614.953029497: [DEBUG] Got CALV
Oct 15 11:22:38 ___ waynergy[3096172]: 37619.953101012: [DEBUG] Got CALV
Oct 15 11:22:43 ___ waynergy[3096172]: 37624.300320177: [DEBUG] Superfluous release of raw key 199
Oct 15 11:22:43 ___ waynergy[3096172]: 37624.332250120: [DEBUG] Superfluous release of raw key 199
Oct 15 11:22:43 ___ waynergy[3096172]: 37624.953069203: [DEBUG] Got CALV
Oct 15 11:22:44 ___ waynergy[3096172]: 37626.141570760: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Oct 15 11:22:44 ___ waynergy[3096172]: 37626.231816919: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Oct 15 11:22:47 ___ waynergy[3096172]: 37629.135439271: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Oct 15 11:22:48 ___ waynergy[3096172]: 37629.273538929: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Oct 15 11:22:48 ___ waynergy[3096172]: 37629.965997304: [DEBUG] Got CALV
Oct 15 11:22:51 ___ waynergy[3096172]: 37633.159002702: [DEBUG] Mouse button: 3 (mapped to 273), state: 1
Oct 15 11:22:52 ___ waynergy[3096172]: 37633.257000225: [DEBUG] Mouse button: 3 (mapped to 273), state: 0
Oct 15 11:22:52 ___ waynergy[3096172]: 37633.593106516: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Oct 15 11:22:52 ___ waynergy[3096172]: 37633.683973785: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Oct 15 11:22:53 ___ waynergy[3096172]: 37634.966083382: [DEBUG] Got CALV
Oct 15 11:22:58 ___ waynergy[3096172]: 37639.966409833: [DEBUG] Got CALV
Oct 15 11:23:03 ___ waynergy[3096172]: 37644.980631273: [DEBUG] Got CALV
Oct 15 11:23:08 ___ waynergy[3096172]: 37649.980683003: [DEBUG] Got CALV
Oct 15 11:23:13 ___ waynergy[3096172]: 37654.994890965: [DEBUG] Got CALV
Oct 15 11:23:18 ___ waynergy[3096172]: 37660.002181765: [DEBUG] Got CALV
Oct 15 11:23:23 ___ waynergy[3096172]: 37665.002847045: [DEBUG] Got CALV
Oct 15 11:23:28 ___ waynergy[3096172]: 37670.005189145: [DEBUG] Got CALV
Oct 15 11:23:33 ___ waynergy[3096172]: 37675.005096937: [DEBUG] Got CALV
Oct 15 11:23:33 ___ waynergy[3096172]: 37675.128097314: [DEBUG] Superfluous release of raw key 199
Oct 15 11:23:33 ___ waynergy[3096172]: 37675.129962703: [DEBUG] Superfluous release of raw key 199
Oct 15 11:23:38 ___ waynergy[3096172]: 37680.015624242: [DEBUG] Got CALV
Oct 15 11:23:43 ___ waynergy[3096172]: 37684.644050273: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Oct 15 11:23:43 ___ waynergy[3096172]: 37684.732071388: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Oct 15 11:23:43 ___ waynergy[3096172]: 37685.018657185: [DEBUG] Got CALV
Oct 15 11:23:45 ___ waynergy[3096172]: Error sending request: Resource temporarily unavailable

It does not recover on it's own and must be killed/restarted each time.

How can I help you debug this?

r-c-f commented 1 year ago

That appears to originating from libwayland. Running with environment variable $WAYLAND_DEBUG set to 1 would give a better idea of which message is triggering the problem (though be prepared for ridiculously verbose output), and in turn whether there is a viable workaround here or a bug upstream.

r-c-f commented 1 year ago

Actually, given https://gitlab.freedesktop.org/wayland/wayland/-/issues/316 this is likely expected behavior and the only solution is a workaround here, so there's that at least.

ackstorm23 commented 1 year ago

Interesting.

This is only triggered when I am moving from the synergy server's screen to a waynergy client's screen. Most of the time it works fine. A small percentage out of the many times I go back and forth (in a day) my cursor will disappear from the server screen but fail to show up on the client screen. When I check the logs - that is the error.

This might imply that the flurry of events that is causing this condition is happening as a result of switching from server to client.

r-c-f commented 1 year ago

Despite running for several days now I've not managed to reproduce, but I'll have a go at handling it anyway. Does https://github.com/r-c-f/waynergy/tree/eagain_fix at least lead to waynergy exiting properly, rather than hanging?

ackstorm23 commented 1 year ago

I built the branch and I'm running it now. I will let you know.

ackstorm23 commented 1 year ago

It has not happened quite as often lately, but when it does.

Oct 28 15:48:26 aut waynergy[2233]: 21416.360848965: [DEBUG] Property wl_keyboard_map not found in INI
Oct 28 15:48:26 aut waynergy[2233]: 21416.360856602: [DEBUG] Could not read current keymap from fd
Oct 28 15:48:26 aut waynergy[2233]: 21416.360863773: [DEBUG] Property wl_keyboard_map not found in INI
Oct 28 15:48:26 aut waynergy[2233]: 21416.360871117: [DEBUG] Could not read current keymap from fd
Oct 28 15:48:26 aut waynergy[2233]: 21416.360888187: [DEBUG] Property wl_keyboard_map not found in INI
Oct 28 15:48:26 aut waynergy[2233]: 21416.360896399: [DEBUG] Could not read current keymap from fd
Oct 28 15:48:26 aut waynergy[2233]: 21416.629446440: [DEBUG] Got CALV
Oct 28 15:48:26 aut waynergy[2233]: Error sending request: Resource temporarily unavailable
Oct 28 15:48:27 aut waynergy[2233]: 21417.018918334: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Oct 28 15:48:27 aut waynergy[2233]: 21417.089182514: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
ackstorm23 commented 1 year ago

wait.. I just realized I might have rebuilt waynergy without the branch between 10 days ago and now.

I've rebuilt and deployed the branch again and will monitor to see if the error pops up.

ackstorm23 commented 1 year ago
Nov 04 10:21:48 ___ waynergy[148725]: [2715519.646]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715520.767]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835344, 1906, 728, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715520.770]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715521.727]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835345, 1909, 727, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715521.739]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715522.866]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835346, 1911, 727, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715522.871]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715523.718]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835347, 1913, 727, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715523.725]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715524.722]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835348, 1916, 726, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715524.728]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715525.677]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835349, 1919, 726, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715525.683]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715526.688]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835350, 1922, 725, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715526.695]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715527.730]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835351, 1925, 725, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715527.736]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715528.709]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835352, 1929, 725, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715528.715]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715529.628]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835353, 1931, 725, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715529.634]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715530.705]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835354, 1934, 724, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715530.711]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715531.706]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835355, 1935, 724, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715531.712]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715532.814]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835356, 1937, 724, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715532.821]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715533.684]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835357, 1941, 724, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715533.687]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715534.735]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835358, 1944, 723, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715534.742]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715535.673]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835359, 1946, 723, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715535.676]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715536.697]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835360, 1950, 723, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715536.708]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: [2715537.774]  -> zwlr_virtual_pointer_v1@12.motion_absolute(298835361, 1953, 723, 5120, 2400)
Nov 04 10:21:48 ___ waynergy[148725]: [2715537.780]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 04 10:21:48 ___ waynergy[148725]: Error sending request: Resource temporarily unavailable
Nov 04 10:21:48 ___ waynergy[148725]: 64645.702205717: [DEBUG] Got CALV
Nov 04 10:21:53 ___ waynergy[148725]: 64650.713439659: [DEBUG] Got CALV
Nov 04 10:21:58 ___ waynergy[148725]: 64655.713978905: [DEBUG] Got CALV
Nov 04 10:22:03 ___ waynergy[148725]: 64660.727651058: [DEBUG] Got CALV
ackstorm23 commented 1 year ago

It's still doing it.

I did get waylay debugging going but so much data spits out that journald rotates the log very quickly.

r-c-f commented 1 year ago

Latest eagain_fix branch (rebased on master) goes slightly further in handling all discrete flushes about as well as one possibly can without blocking (and should give better timing information relative to wayland events with a proper wayland client log handler, should the error occur again).

r-c-f commented 1 year ago

Which compositor (with version) are you using? That might more easily enable a proper reproduction on my end, maybe (nothing with arch sway package has managed thus far)

ackstorm23 commented 1 year ago

Thanks I'll pull it down and rebuild.

I'm running Sway 1.7 on wlroots 0.15.1. I've run sway-and wlroots git before and I could go back up to that if it would help.

ackstorm23 commented 1 year ago

I have not seen RTU error, yet. But I have seen a ton of these lately

Nov 08 19:33:55 ___ waynergy[2941182]: 23.942764070: [WARN] Attempted to flush before pending flush completed
Nov 08 19:33:55 ___ waynergy[2941182]: 23.943707164: [WARN] Attempted to flush before pending flush completed
Nov 08 19:33:55 ___ waynergy[2941182]: 23.944731429: [WARN] Attempted to flush before pending flush completed
Nov 08 19:33:55 ___ waynergy[2941182]: 23.945722019: [WARN] Attempted to flush before pending flush completed
Nov 08 19:33:55 ___ waynergy[2941182]: 23.946884739: [WARN] Attempted to flush before pending flush completed
Nov 08 19:33:55 ___ waynergy[2941182]: 23.947601558: [WARN] Attempted to flush before pending flush completed
Nov 08 19:33:55 ___ waynergy[2941182]: 23.948582741: [WARN] Attempted to flush before pending flush completed
Nov 08 19:33:55 ___ waynergy[2941182]: 23.949729117: [WARN] Attempted to flush before pending flush completed

https://github.com/r-c-f/waynergy/compare/master...eagain_fix#diff-959d4c490756bcdda6e735a9cb03e72f9413a581f08d3ef4019638000f0d10bbR66

ackstorm23 commented 1 year ago

Here we go

Nov 09 09:40:12 ___ waynergy[3130984]: 24902.422062951: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.423071975: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.424104070: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.425077439: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.426078215: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.427089959: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.428086069: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.429161280: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: [2028726.502]  -> zwlr_virtual_pointer_v1@12.motion_absolute(256737187, 681, 756, 2560, 2400)
Nov 09 09:40:12 ___ waynergy[3130984]: [2028726.505]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.375055331: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: [2028727.513]  -> zwlr_virtual_pointer_v1@12.motion_absolute(256737188, 684, 758, 2560, 2400)
Nov 09 09:40:12 ___ waynergy[3130984]: [2028727.518]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.376068350: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: [2028728.542]  -> zwlr_virtual_pointer_v1@12.motion_absolute(256737189, 685, 761, 2560, 2400)
Nov 09 09:40:12 ___ waynergy[3130984]: [2028728.548]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.377097935: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: [2028729.536]  -> zwlr_virtual_pointer_v1@12.motion_absolute(256737190, 687, 762, 2560, 2400)
Nov 09 09:40:12 ___ waynergy[3130984]: [2028729.540]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.378090746: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: [2028730.524]  -> zwlr_virtual_pointer_v1@12.motion_absolute(256737191, 689, 764, 2560, 2400)
Nov 09 09:40:12 ___ waynergy[3130984]: [2028730.528]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.379077943: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: [2028731.541]  -> zwlr_virtual_pointer_v1@12.motion_absolute(256737192, 691, 766, 2560, 2400)
Nov 09 09:40:12 ___ waynergy[3130984]: [2028731.545]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.380095457: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: [2028732.532]  -> zwlr_virtual_pointer_v1@12.motion_absolute(256737193, 693, 768, 2560, 2400)
Nov 09 09:40:12 ___ waynergy[3130984]: [2028732.537]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.381086866: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: [2028733.530]  -> zwlr_virtual_pointer_v1@12.motion_absolute(256737194, 695, 771, 2560, 2400)
Nov 09 09:40:12 ___ waynergy[3130984]: [2028733.535]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.382084934: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: [2028734.554]  -> zwlr_virtual_pointer_v1@12.motion_absolute(256737195, 697, 772, 2560, 2400)
Nov 09 09:40:12 ___ waynergy[3130984]: [2028734.560]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.383110171: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: [2028735.554]  -> zwlr_virtual_pointer_v1@12.motion_absolute(256737196, 699, 774, 2560, 2400)
Nov 09 09:40:12 ___ waynergy[3130984]: [2028735.559]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.384109149: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: [2028736.498]  -> zwlr_virtual_pointer_v1@12.motion_absolute(256737197, 700, 775, 2560, 2400)
Nov 09 09:40:12 ___ waynergy[3130984]: [2028736.502]  -> zwlr_virtual_pointer_v1@12.frame()
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.385054898: [ERROR] Error sending request: Resource temporarily unavailable
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.385059626: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.386046662: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.387087090: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.388053722: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.389088556: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.390065729: [WARN] Attempted to flush before pending flush completed
Nov 09 09:40:12 ___ waynergy[3130984]: 24902.391090275: [WARN] Attempted to flush before pending flush completed
r-c-f commented 1 year ago

The latest commits should be fairly comprehensive hopefully. In addition to fixing the normal polling, all log handler calls are now treated as fatal by default (because wayland-client isn't using them for anything that is not horribly broken on our side). Should that be hypervigilant and lead to too many interruptions, there is also new option wayland/flush_timeout which can be set to a nonzero value to force blocking behavior for the given time period in seconds, to try and give it a chance to complete before any further calls are made.

I thank you immensely for the continued information, for issues I can't reproduce (yet are clearly still valid) it is invaluable.

ackstorm23 commented 1 year ago

The latest commits should be fairly comprehensive hopefully. In addition to fixing the normal polling, all log handler calls are now treated as fatal by default (because wayland-client isn't using them for anything that is not horribly broken on our side). Should that be hypervigilant and lead to too many interruptions, there is also new option wayland/flush_timeout which can be set to a nonzero value to force blocking behavior for the given time period in seconds, to try and give it a chance to complete before any further calls are made.

Sounds good to me. I've built and am running the latest as of this moment.

I thank you immensely for the continued information, for issues I can't reproduce (yet are clearly still valid) it is invaluable.

It has been my pleasure

ackstorm23 commented 1 year ago

This is the latest "Resource temporarily unavailable"

waynergy version v0.0.13-24-g660092c

Nov 13 18:18:57 ___ waynergy[255158]: 50.150238224: [DEBUG] Got CALV
Nov 13 18:19:02 ___ waynergy[255158]: 55.162650161: [DEBUG] Got CALV
Nov 13 18:19:07 ___ waynergy[255158]: 60.162517353: [DEBUG] Got CALV
Nov 13 18:19:12 ___ waynergy[255158]: 65.168394138: [DEBUG] Got CALV
Nov 13 18:19:17 ___ waynergy[255158]: 70.170562262: [DEBUG] Got CALV
Nov 13 18:19:22 ___ waynergy[255158]: 75.170702384: [DEBUG] Got CALV
Nov 13 18:19:26 ___ waynergy[255158]: 78.498664934: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Nov 13 18:19:26 ___ waynergy[255158]: 78.571622854: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Nov 13 18:19:27 ___ waynergy[255158]: 80.183795622: [DEBUG] Got CALV
Nov 13 18:19:30 ___ waynergy[255158]: 83.113603422: [DEBUG] Flush completion now pending
Nov 13 18:19:30 ___ waynergy[255158]: 83.114637685: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.114651534: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.115620333: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.115631331: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.116603606: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.116616781: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.117629665: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.117640124: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.118619610: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.118629946: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.119603564: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.119615819: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.120595993: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.120606381: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.121591969: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.121597138: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.122591947: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.122597383: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.123593227: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.123604138: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.124652845: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.124658057: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.125602661: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.125614981: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.126627284: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.126641129: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.127597719: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.127608084: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.128619429: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.128624596: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.129616721: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.129628726: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.130631764: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.130642289: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.131597108: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.131607247: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.132607481: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.132619786: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.133598940: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.133609373: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.134609111: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.134619441: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.135641782: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.135653881: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.136618007: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.136631318: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.137704759: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.137715154: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.138628463: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.138640624: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.139864859: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.139877209: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.140622081: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.140632358: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.141617490: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.141622692: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.142615165: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.142630307: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.143616059: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.143626689: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.144666646: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.144671716: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.145614091: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.145628911: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.146607218: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.146612463: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.147636447: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.147646786: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.148645238: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.148657714: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.149622906: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.149630541: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.150626222: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.150636571: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.151636817: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.151647456: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.152619469: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.152631601: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.153618346: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.153628833: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.155175613: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.155180701: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.155611773: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.155623432: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.156631723: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.156636720: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.157624778: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.157635290: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.158626378: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.158639012: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.159641737: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.159655420: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.160633499: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.160644085: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.161638336: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.161648526: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.162602116: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.162614250: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.163624604: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.163635139: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.164643623: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.164655205: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.165605717: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.165618243: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.166607269: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.166612237: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.167637814: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.167648452: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.169615962: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.169628200: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.170830801: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.170841739: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.171617883: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.171622985: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.172611345: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.172616690: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.173606962: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.173612561: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.174611570: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.174621701: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.175615964: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.175630332: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.176628602: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.176633595: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.177619674: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.177630186: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.178611103: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.178623877: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.179644134: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.179657934: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.180642120: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.180652407: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.181641842: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.181647111: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.182643393: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.182655475: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.183615238: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.183620550: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.184632856: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.184638042: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.185698800: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.185711055: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.186734254: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.186745956: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.187634896: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.187640179: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.188618150: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.188630818: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.189646365: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.189659083: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.190618576: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.190629626: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.191609990: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.191615361: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.192624427: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.192636551: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.193618233: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.193629153: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.194600855: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.194606164: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.195609797: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.195620409: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.196633626: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.196646846: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.197626969: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.197632242: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.198637313: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.198642600: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.199624855: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.199636822: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.200640859: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.200645862: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.202101064: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.202106316: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.202640430: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.202652383: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.203614953: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.203625490: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.204672289: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.204682245: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.205652022: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.205687221: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.206644022: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.206655881: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.207632251: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.207643000: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.208617082: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.208630226: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.209644544: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.209658634: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.210616749: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.210627392: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.211613968: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.211619395: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.212623894: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.212636834: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.213634820: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.213645580: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.214638453: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.214644120: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.215617259: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.215630220: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.216798481: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.216811198: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.217725719: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.217735744: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.218706323: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.218719008: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.219698431: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.219712438: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.220718314: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.220727915: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.221686260: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.221696085: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.222716286: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.222726847: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.223680912: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.223690973: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.224708506: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.224718275: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.225711988: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.225724596: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.226720258: [WARN] Attempted to flush before pending flush completed
Nov 13 18:19:30 ___ waynergy[255158]: 83.226730723: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.227711887: [ERROR] Error sending request: Resource temporarily unavailable
Nov 13 18:19:30 ___ waynergy[255158]: 83.227721132: [DEBUG] Section wayland not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.227728685: [ERROR] Logged wayland errors set to fatal
Nov 13 18:19:30 ___ waynergy[255158]: 83.227737734: [DEBUG] Property restart_on_fatal not found in INI
Nov 13 18:19:30 ___ waynergy[255158]: 83.227752686: [DEBUG] Got idle inhibit request: off
Nov 13 18:19:30 ___ waynergy[255158]: 83.227755909: [DEBUG] No idle inhibition support, ignoring request
Nov 13 18:19:30 ___ waynergy[255158]: 83.227925397: [DEBUG] SIGCHLD sent without exit
Nov 13 18:19:30 ___ waynergy[255158]: 83.227935506: [DEBUG] SIGCHLD sent without exit

It does indeed die and a new pid is started up by systemd.

This happened 4 times in 30 minutes today so it was a bit annoying but still a lot less annoying than having to kill waynergy myself in order to restart it.

ackstorm23 commented 1 year ago

I have added the following to my config and will test to see what difference that makes, if any.

[wayland]
flush_timeout = 5
ackstorm23 commented 1 year ago

With a 5 second flush timeout, this is what it looks like

Nov 13 19:26:11 ___ waynergy[265455]: 3388.500854513: [DEBUG] Got CALV
Nov 13 19:26:12 ___ waynergy[265455]: 3389.262421752: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Nov 13 19:26:12 ___ waynergy[265455]: 3389.363626933: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Nov 13 19:26:13 ___ waynergy[265455]: 3390.294648162: [DEBUG] Mouse button: 1 (mapped to 272), state: 1
Nov 13 19:26:13 ___ waynergy[265455]: 3390.377704788: [DEBUG] Mouse button: 1 (mapped to 272), state: 0
Nov 13 19:26:16 ___ waynergy[265455]: 3393.503461423: [DEBUG] Got CALV
Nov 13 19:26:21 ___ waynergy[265455]: 3397.639913227: [DEBUG] Flush completion now pending
Nov 13 19:26:21 ___ waynergy[265455]: 3397.640955524: [WARN] Attempted to flush before pending flush completed
Nov 13 19:26:21 ___ waynergy[265455]: 3397.640967970: [DEBUG] Got value from INI: wayland/flush_timeout: 5
Nov 13 19:26:21 ___ waynergy[265455]: 3397.640974317: [DEBUG] Using INI value for wayland/flush_timeout: 5
Nov 13 19:26:21 ___ waynergy[265455]: 3397.646035032: [ERROR] blocking display flush timed out
Nov 13 19:26:21 ___ waynergy[265455]: 3397.646057841: [DEBUG] Property restart_on_fatal not found in INI
Nov 13 19:26:21 ___ waynergy[265455]: 3397.646075796: [DEBUG] Got idle inhibit request: off
Nov 13 19:26:21 ___ waynergy[265455]: 3397.646080159: [DEBUG] No idle inhibition support, ignoring request
Nov 13 19:26:21 ___ waynergy[265455]: 3397.652834539: [DEBUG] SIGCHLD sent without exit
ackstorm23 commented 1 year ago

I have also added restart_on_fatal into my config to see how that ends up working.

r-c-f commented 1 year ago

It seems I misspoke here, the timeout value is supposed to be in milliseconds, not seconds. So trying 5000 instead of 5 should yield the more sensible behavior.

r-c-f commented 1 year ago

@ackstorm23 I've put this in a proper PR (#63) and simplified it slightly (it will now also default to a five second timeout). Is there a chance you could test that?

ackstorm23 commented 1 year ago

I would be happy to, however I am not sure how to build from a PR?

r-c-f commented 1 year ago

Just need to use the latest from the branch you already have

ackstorm23 commented 1 year ago

Just need to use the latest from the branch you already have

Yes of course :rofl: my brain was not connecting the dots last night. I've built it and I am running it.

ackstorm23 commented 1 year ago

I've noticed the following behavior and log messages when I dock/undock my laptop and the network connection moves from wireless to ethernet. The issue is that it does not progress into officially disconnecting and trying to reconnect, at least not for the first 1-2 minutes before I lose patience and kill it.

If you feel this is unrelated, I can post it as a new issue to be worked separately.

Nov 19 16:08:26 aut waynergy[747913]: 449.449598367: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
Nov 19 16:08:26 aut waynergy[747913]: 449.449668992: [DEBUG] Keycode: 36, state 0
Nov 19 16:08:38 aut waynergy[747913]: 460.825189381: [ERROR] Poll timeout encountered -- disconnecting synergy
Nov 19 16:08:38 aut waynergy[747913]: 460.825506638: [INFO] Going to connect to 10.1.0.12 at port 24800
Nov 19 16:08:38 aut waynergy[747913]: 460.826651895: [DEBUG] Section tls not found in INI
Nov 19 16:08:38 aut waynergy[747913]: 460.841890559: [WARN] Oversized packet: 'DMMV' (length 16779272)
Nov 19 16:08:48 aut waynergy[747913]: 470.842971656: [ERROR] Alarm timeout encountered -- probably disconnecting
r-c-f commented 1 year ago

That is indeed likely a separate issue.

ackstorm23 commented 1 year ago

I've filed it as a new issue, feel free to cleanup the comments on this one to avoid confusion.

r-c-f commented 1 year ago

Have there been any further instances of this error lately?

ackstorm23 commented 1 year ago

I haven't noticed any. It's been smoother than ever.

r-c-f commented 1 year ago

I'll merge the fix the fix for this in that case; if it ever re-appears feel free to re-open this.