I just repeated the above experiment on my K5, using top instead of htop. It reported that gmplay used 15% CPU (as expected because the K5 sleeps while the K3 is inside the eink update call). The tones program immediately aborts with the following errors:
Code:
ALSA lib pcm_hw.c:1429:(_snd_pcm_hw_open) Unknown field hint
Playback open error: Invalid argument
It appears that the K3 eink update calls are the culprit, consuming all that CPU time during system calls (which was also reported by
hawhill some time ago). There must be some nasty wait loops or spinlocks, as mentioned before.
Those long busy eink updates on a K3 may interfere with sound, unless the sound is interrupt driven.
At least sound and video should work well together on a K4 or newer (after porting the sound code to the newer kindles).
FYI, the K3 spends about 140 msec full frame eink update calls, so sound buffering should be at least that long, and preferably synchronized to the framerate. On a DX and DXG, the 600x800 (not fullscreen) eink updates take about 650 msec to compete.