jdpc patrickkfkan can you provide output of following commands during playback of video with 48kHz audio?
I would still like to resolve this issue, if possible.
My apologies for the late reply. Anyway here's the output I got from running the above commands during playback of a video with 48Khz audio:
Code
LibreELEC:~ # cat /sys/kernel/debug/clk/clk_summary
enable prepare protect duty
clock count count count rate accuracy phase cycle
---------------------------------------------------------------------------------------------
iosc 0 0 0 16000000 300000000 0 50000
ext_osc32k 1 1 0 32768 50000 0 50000
osc32k 1 1 0 32768 50000 0 50000
osc32k-out 0 0 0 32768 50000 0 50000
osc24M 21 21 1 24000000 50000 0 50000
ir 1 1 0 8000000 50000 0 50000
ar100 1 1 0 24000000 50000 0 50000
ahb0 1 1 0 24000000 50000 0 50000
apb0 3 3 0 24000000 50000 0 50000
apb0-twd 0 0 0 24000000 50000 0 50000
apb0-i2c 1 1 0 24000000 50000 0 50000
apb0-uart 0 0 0 24000000 50000 0 50000
apb0-timer 0 0 0 24000000 50000 0 50000
apb0-ir 1 1 0 24000000 50000 0 50000
apb0-pio 1 1 0 24000000 50000 0 50000
hdmi-ddc 2 2 0 24000000 50000 0 50000
avs 0 0 0 24000000 50000 0 50000
csi-mclk 0 0 0 24000000 50000 0 50000
csi-misc 0 0 0 24000000 50000 0 50000
usb-ohci3 1 1 0 24000000 50000 0 50000
usb-ohci2 1 1 0 24000000 50000 0 50000
usb-ohci1 1 1 0 24000000 50000 0 50000
usb-ohci0 1 1 0 24000000 50000 0 50000
usb-phy3 1 1 0 24000000 50000 0 50000
usb-phy2 1 1 0 24000000 50000 0 50000
usb-phy1 1 1 0 24000000 50000 0 50000
usb-phy0 1 1 0 24000000 50000 0 50000
spi1 0 0 0 24000000 50000 0 50000
spi0 0 0 0 24000000 50000 0 50000
ce 0 0 0 24000000 50000 0 50000
ts 0 0 0 24000000 50000 0 50000
mmc2 0 0 0 24000000 50000 0 50000
mmc2_output 0 0 0 24000000 50000 180 50000
mmc2_sample 0 0 0 24000000 50000 180 50000
mmc1 0 0 0 24000000 50000 0 50000
mmc1_output 0 0 0 24000000 50000 180 50000
mmc1_sample 0 0 0 24000000 50000 180 50000
nand 0 0 0 24000000 50000 0 50000
ths 0 0 0 24000000 50000 0 50000
apb2 1 1 0 24000000 50000 0 50000
bus-scr0 0 0 0 24000000 50000 0 50000
bus-uart3 0 0 0 24000000 50000 0 50000
bus-uart2 0 0 0 24000000 50000 0 50000
bus-uart1 0 0 0 24000000 50000 0 50000
bus-uart0 1 1 0 24000000 50000 0 50000
bus-i2c2 0 0 0 24000000 50000 0 50000
bus-i2c1 0 0 0 24000000 50000 0 50000
bus-i2c0 0 0 0 24000000 50000 0 50000
pll-de 1 1 0 432000000 50000 0 50000
de 2 2 0 432000000 50000 0 50000
wb-div 0 0 0 432000000 50000 0 50000
wb 0 0 0 432000000 50000 0 50000
mixer1-div 0 0 0 432000000 50000 0 50000
mixer1 0 0 0 432000000 50000 0 50000
mixer0-div 1 1 0 432000000 50000 0 50000
mixer0 1 1 0 432000000 50000 0 50000
tve 0 0 0 432000000 50000 0 50000
pll-periph1 0 0 0 600000000 50000 0 50000
pll-gpu 1 1 0 384000000 50000 0 50000
gpu 1 1 0 384000000 50000 0 50000
pll-periph0 3 3 0 600000000 50000 0 50000
mmc0 3 3 0 50000000 50000 0 50000
mmc0_output 1 1 0 50000000 50000 90 50000
mmc0_sample 1 1 0 50000000 50000 120 50000
csi-sclk 0 0 0 600000000 50000 0 50000
deinterlace 0 0 0 600000000 50000 0 50000
ahb1 13 13 0 200000000 50000 0 50000
bus-dbg 0 0 0 200000000 50000 0 50000
bus-ephy 1 1 0 200000000 50000 0 50000
bus-spinlock 0 0 0 200000000 50000 0 50000
bus-msgbox 0 0 0 200000000 50000 0 50000
bus-gpu 1 1 0 200000000 50000 0 50000
bus-de 2 2 0 200000000 50000 0 50000
bus-wb 0 0 0 200000000 50000 0 50000
bus-mixer1 0 0 0 200000000 50000 0 50000
bus-mixer0 1 1 0 200000000 50000 0 50000
bus-hdmi 2 2 0 200000000 50000 0 50000
bus-tve 0 0 0 200000000 50000 0 50000
bus-csi 0 0 0 200000000 50000 0 50000
bus-deinterlace 0 0 0 200000000 50000 0 50000
bus-tcon1 0 0 0 200000000 50000 0 50000
bus-tcon0 1 1 0 200000000 50000 0 50000
bus-ve 1 1 0 200000000 50000 0 50000
bus-ohci0 2 2 0 200000000 50000 0 50000
bus-ehci0 2 2 0 200000000 50000 0 50000
bus-otg 1 1 0 200000000 50000 0 50000
bus-spi1 0 0 0 200000000 50000 0 50000
bus-spi0 0 0 0 200000000 50000 0 50000
bus-hstimer 0 0 0 200000000 50000 0 50000
bus-ts 0 0 0 200000000 50000 0 50000
bus-dram 0 0 0 200000000 50000 0 50000
bus-nand 0 0 0 200000000 50000 0 50000
bus-mmc2 0 0 0 200000000 50000 0 50000
bus-mmc1 0 0 0 200000000 50000 0 50000
bus-mmc0 1 1 0 200000000 50000 0 50000
bus-dma 1 1 0 200000000 50000 0 50000
bus-ce 0 0 0 200000000 50000 0 50000
ahb2 7 7 0 200000000 50000 0 50000
bus-ohci3 2 2 0 200000000 50000 0 50000
bus-ohci2 2 2 0 200000000 50000 0 50000
bus-ohci1 2 2 0 200000000 50000 0 50000
bus-ehci3 2 2 0 200000000 50000 0 50000
bus-ehci2 2 2 0 200000000 50000 0 50000
bus-ehci1 2 2 0 200000000 50000 0 50000
bus-emac 2 2 0 200000000 50000 0 50000
apb1 3 3 0 100000000 50000 0 50000
bus-i2s2 1 1 0 100000000 50000 0 50000
bus-i2s1 0 0 0 100000000 50000 0 50000
bus-i2s0 0 0 0 100000000 50000 0 50000
bus-ths 0 0 0 100000000 50000 0 50000
bus-pio 1 1 0 100000000 50000 0 50000
bus-spdif 0 0 0 100000000 50000 0 50000
bus-codec 1 1 0 100000000 50000 0 50000
pll-periph0-2x 1 1 0 1200000000 50000 0 50000
mbus 1 1 0 300000000 50000 0 50000
pll-ddr 1 1 0 1248000000 50000 0 50000
dram 2 2 0 1248000000 50000 0 50000
dram-ts 0 0 0 1248000000 50000 0 50000
dram-deinterlace 0 0 0 1248000000 50000 0 50000
dram-csi 0 0 0 1248000000 50000 0 50000
dram-ve 1 1 0 1248000000 50000 0 50000
pll-ve 1 1 0 402000000 50000 0 50000
ve 1 1 0 402000000 50000 0 50000
pll-video 3 3 1 297000000 50000 0 50000
hdmi-phy-clk 1 1 0 148500000 50000 0 50000
hdmi 1 1 0 148500000 50000 0 50000
tcon 1 1 1 148500000 50000 0 50000
pll-audio-base 1 1 0 22579200 50000 0 50000
pll-audio-8x 0 0 0 45158400 50000 0 50000
i2s1 0 0 0 45158400 50000 0 50000
i2s0 0 0 0 45158400 50000 0 50000
pll-audio-4x 1 1 0 22579200 50000 0 50000
i2s2 1 1 0 22579200 50000 0 50000
pll-audio-2x 0 0 0 11289600 50000 0 50000
pll-audio 0 0 0 22579200 50000 0 50000
ac-dig 0 0 0 22579200 50000 0 50000
spdif 0 0 0 22579200 50000 0 50000
pll-cpux 1 1 0 1008000000 50000 0 50000
cpux 1 1 0 1008000000 50000 0 50000
axi 0 0 0 336000000 50000 0 50000
LibreELEC:~ # cat /sys/kernel/debug/regmap/1c22800.i2s/registers
00: 00060115
04: 00081f57
08: 00000000
0c: 00000044
10: 00000000
14: 020400f5
18: 00000000
1c: 00000080
20: 00000000
24: 00000152
28: 00201101
2c: 00000000
30: 00000011
34: 00001031
38: 00000000
3c: 00000000
40: 00000000
44: 00000010
48: 00000000
4c: 00000000
50: 00000000
54: 00001001
58: 00003210
LibreELEC:~ #
Display More
Note that I have limited audio resampling to 44.1Khz but, unlike jdpc, I still get broken HDMI audio. If I choose other sampling rates (e.g. 48Khz) or set output configuration to "Optimized", then there is no audio at all. If I choose "ALSA: H3 Audio Codec, Analog" as output device and connect a pair of speakers to the headphone jack on the board, audio plays smoothly (no stuttering).
Hope this helps. Thanks.