bpa wrote: > I don't think that make sense - sync is done on the stream that comes > from transcoding - so vlc etc. shouldn't matter. Enable logging of sync > protocol to see what is happening. Are all the sync players the exact > same hardware and network connections.
Thanks. So if my understanding is correct, the sync protocol is dependant on the players reporting accurate syncd clock signals? In my case (until the ALSA rpi changes to allow both HDMI and analog to work at the same time), I'm continuing to use 3 Squeezelite clients running as virtual machines, and I suspect the issue I'm experiencing is that there doesn't seem to be an easy of of having a stable clock source in virtual machines. I have disabled VMware forced time sync to the debian guests and I have disabled NTP in the guests and have switched to ptp (precision time protocol), so on my clock master; ptpd -c -h -D and on the clients I'm running; ptpd -c -h -g -D so the clocks are kept in sync. I have added clock=pit to the grub settings to supposedly prevent lost ticks; vi /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet clock=pit" update-grub I switch up the debugging on LMS for the sync protocol in debug mode but I'm still see skips that are just happening too often. I have my sync adjustment set to 10ms. Has anyone ever had perfect sync on LMS over an extended period of time (like hours etc) on not squeezebox equipment? I'm not talking nearly perfect, I'm talking Sonos quality multi zone sync without echo etc? I'm just trying to understand if I'm battling with clock stability under virtual machines (highly likely) or if I'm also battling with flaws in the LMS sync protocols? Any comments would be appreciated. Maybe this is the first type of workload that I've come across that isn't suited to running under virtual machines. Code: -------------------- [15-03-09 09:58:46.0024] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.097, 00:0c:29:b3:3e:85: -3, 00:0c:29:e9:46:6a: +12 [15-03-09 09:58:46.0030] Slim::Player::StreamingController::_CheckSync (559) 00:0c:29:e9:46:6a resync: skipAhead 15ms [15-03-09 09:58:48.0049] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.107, 00:0c:29:b3:3e:85: -4, 00:0c:29:e9:46:6a: -15 [15-03-09 09:58:48.0051] Slim::Player::StreamingController::_CheckSync (559) 00:0c:29:d8:dc:f7 resync: skipAhead 15ms [15-03-09 09:58:48.0054] Slim::Player::StreamingController::_CheckSync (559) 00:0c:29:b3:3e:85 resync: skipAhead 11ms [15-03-09 09:58:51.0035] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.088, 00:0c:29:b3:3e:85: -3, 00:0c:29:e9:46:6a: +9 [15-03-09 09:58:51.0039] Slim::Player::StreamingController::_CheckSync (559) 00:0c:29:e9:46:6a resync: skipAhead 12ms [15-03-09 09:58:53.0074] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.087, 00:0c:29:b3:3e:85: +5, 00:0c:29:e9:46:6a: +5 [15-03-09 09:58:54.0021] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.086, 00:0c:29:b3:3e:85: +14, 00:0c:29:e9:46:6a: +3 [15-03-09 09:58:54.0027] Slim::Player::StreamingController::_CheckSync (559) 00:0c:29:b3:3e:85 resync: skipAhead 14ms [15-03-09 09:58:56.0054] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.095, 00:0c:29:b3:3e:85: -11, 00:0c:29:e9:46:6a: -8 [15-03-09 09:58:56.0056] Slim::Player::StreamingController::_CheckSync (559) 00:0c:29:d8:dc:f7 resync: skipAhead 11ms [15-03-09 09:58:58.0030] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.083, 00:0c:29:b3:3e:85: +6, 00:0c:29:e9:46:6a: +10 [15-03-09 09:58:58.0035] Slim::Player::StreamingController::_CheckSync (559) 00:0c:29:e9:46:6a resync: skipAhead 10ms [15-03-09 09:59:00.0057] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.082, 00:0c:29:b3:3e:85: +5, 00:0c:29:e9:46:6a: -2 [15-03-09 09:59:01.0066] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.081, 00:0c:29:b3:3e:85: +14, 00:0c:29:e9:46:6a: +6 [15-03-09 09:59:01.0068] Slim::Player::StreamingController::_CheckSync (559) 00:0c:29:b3:3e:85 resync: skipAhead 14ms [15-03-09 09:59:03.0041] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.090, 00:0c:29:b3:3e:85: -10, 00:0c:29:e9:46:6a: -4 [15-03-09 09:59:03.0061] Slim::Player::StreamingController::_CheckSync (559) 00:0c:29:d8:dc:f7 resync: skipAhead 10ms [15-03-09 09:59:05.0108] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.078, 00:0c:29:b3:3e:85: -3, 00:0c:29:e9:46:6a: +13 [15-03-09 09:59:05.0110] Slim::Player::StreamingController::_CheckSync (559) 00:0c:29:e9:46:6a resync: skipAhead 16ms [15-03-09 09:59:07.0018] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.077, 00:0c:29:b3:3e:85: +3, 00:0c:29:e9:46:6a: -4 [15-03-09 09:59:08.0037] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.086, 00:0c:29:b3:3e:85: -15, 00:0c:29:e9:46:6a: -14 [15-03-09 09:59:08.0053] Slim::Player::StreamingController::_CheckSync (559) 00:0c:29:d8:dc:f7 resync: skipAhead 15ms [15-03-09 09:59:10.0101] Slim::Player::StreamingController::_CheckSync (526) playPoints: 00:0c:29:d8:dc:f7: 1425847660.070, 00:0c:29:b3:3e:85: +16, 00:0c:29:e9:46:6a: +8 [15-03-09 09:59:10.0103] Slim::Player::StreamingController::_CheckSync (559) 00:0c:29:b3:3e:85 resync: skipAhead 16ms -------------------- Code: -------------------- [10:11:23.002654] process_strm:256 strm command t [10:11:23.002662] sendSTAT:171 STAT: STMt [10:11:23.004429] process:496 strm [10:11:23.004447] process_strm:256 strm command a [10:11:23.004455] process_strm:302 skip ahead interval: 15 [10:11:23.016641] _output_frames:67 skip 661 of 661 frames [10:11:24.006377] sendSTAT:171 STAT: STMt [10:11:25.016425] sendSTAT:171 STAT: STMt -------------------- ------------------------------------------------------------------------ ashleyw's Profile: http://forums.slimdevices.com/member.php?userid=58923 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix