Dual AK4497 + Kali reclocker + RPI 4 => I2S output issue

Hi everyone, i’m kind of new here. I’ve used before Volumio with a RPI3 and and very cheap PCM5102a dac. Then I migrated to an ak4497 that i bought on aliexpress with Xmos u208 I2S daughter card. The all thing was put in an old tuner.
The setup was fine till the USb card stopped working, the DAC works the coax input…

IMG_20200513_194920.jpg

Luckily I had a RPI 4 2gb and a Kali reclocker. I set up properly volumio, mounted the nas drive, the pin out is correct between top kali GPIO and the I2S input on the dac, see the pict attached.

For now it sounds very distorded, i even fear for my speaker (Nice dali zensor 3) but i can recognise the music.

I’m better in hardware than software, and thus need your help. Here are the sofware détails :

Hardware

The RPI 4 is power through the Reclocker.

reclocker pin
12 => BCLK
35 => LRCLK
29 => MCLK
40 => DATA

IMG_20200513_194931.jpg

In the future, the RPI will be powered with an transformer and linear supply. For now it’s SMPS 10A power supply, which is far enough for an RPI.

The software :

Version V2.773
I tried the Generic I2S driver, the terra dac driver (as it uses an ak4490 chip), the hifi berry driver, I2S option is enabled

the boot.

initramfs volumio.initrd
gpu_mem=32
max_usb_current=1
dtparam=audio=on
audio_pwm_mode=2
dtparam=i2s=on
disable_splash=1
hdmi_force_hotplug=1

include userconfig.txt

Volumio i2s setting below: do not alter

dtoverlay=hifiberry-dac

The boot log :

[e[32m OK e[0m] Started Show Plymouth Boot Screen.
[e[32m OK e[0m] Reached target Paths.
[e[32m OK e[0m] Found device /dev/mmcblk0p1.
[e[32m OK e[0m] Reached target Sound Card.
Starting File System Check on /dev/mmcblk0p1…
[e[32m OK e[0m] Created slice system-ifup.slice.
[ 10.764744] systemd-fsck[384]: fsck.fat 3.0.27 (2014-11-12)
[ 10.766255] systemd-fsck[384]: /dev/mmcblk0p1: 230 files, 119245/123044 clusters
[e[32m OK e[0m] Started File System Check on /dev/mmcblk0p1.
Mounting /boot…
[e[32m OK e[0m] Created slice system-systemd\x2drfkill.slice.
Starting Load/Save RF Kill Switch Status of rfkill0…
[e[32m OK e[0m] Mounted /boot.
[e[32m OK e[0m] Started Load/Save RF Kill Switch Status of rfkill0.
[e[32m OK e[0m] Reached target Local File Systems.
Starting Tell Plymouth To Write Out Runtime Data…
[e[32m OK e[0m] Reached target Remote File Systems.
Starting Trigger Flushing of Journal to Persistent Storage…
Starting Create Volatile Files and Directories…
Starting LSB: Raise network interfaces…
[e[32m OK e[0m] Started Trigger Flushing of Journal to Persistent Storage.
[e[32m OK e[0m] Started Tell Plymouth To Write Out Runtime Data.
[e[32m OK e[0m] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown…
[e[32m OK e[0m] Started Update UTMP about System Boot/Shutdown.
[e[32m OK e[0m] Started LSB: Raise network interfaces…
Starting ifup for wlan0…
[e[32m OK e[0m] Started ifup for wlan0.
Starting ifup for eth0…
[e[32m OK e[0m] Started ifup for eth0.
[e[32m OK e[0m] Reached target Network.
[e[32m OK e[0m] Reached target Network is Online.
Starting LSB: RPC portmapper replacement…
[e[32m OK e[0m] Started LSB: RPC portmapper replacement.
[e[32m OK e[0m] Reached target RPC Port Mapper.
Starting LSB: NFS support files common to client and server…
[e[32m OK e[0m] Started LSB: NFS support files common to client and server.
[e[32m OK e[0m] Reached target System Initialization.
[e[32m OK e[0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[e[32m OK e[0m] Listening on mpd.socket.
[e[32m OK e[0m] Listening on D-Bus System Message Bus Socket.
[e[32m OK e[0m] Reached target Sockets.
[e[32m OK e[0m] Reached target Timers.
Starting Restore Sound Card State…
[e[32m OK e[0m] Reached target Basic System.
Starting Entropy daemon using the HAVEGE algorithm…
[e[32m OK e[0m] Started Entropy daemon using the HAVEGE algorithm.
Starting cd.service…
[e[32m OK e[0m] Started cd.service.
Starting Configure Bluetooth Modems connected by UART…
Starting Volumio Iptables Module…
[e[32m OK e[0m] Started Volumio Iptables Module.
Starting mount disks automatically with standby…
[e[32m OK e[0m] Started mount disks automatically with standby.
Starting UPnP Renderer front-end to MPD…
[e[32m OK e[0m] Started UPnP Renderer front-end to MPD.
Starting volumio-remote-updater.service…
[e[32m OK e[0m] Started volumio-remote-updater.service.
Starting Volumio Log Rotation Service…
[e[32m OK e[0m] Started Volumio Log Rotation Service.
Starting Volumio SSH enabler…
[e[32m OK e[0m] Started Volumio SSH enabler.
Starting Wireless Services…
Starting Xbindrc…
[e[32m OK e[0m] Started Xbindrc.
Starting OpenBSD Secure Shell server…
Starting /etc/rc.local Compatibility…
Starting Login Service…
Starting LSB: start Winbind daemon…
Starting LSB: start Samba daemons for the AD DC…
Starting LSB: Start NTP daemon…
Starting LSB: start Samba NetBIOS nameserver (nmbd)…
Starting LSB: Load kernel modules needed to enable cpufreq scaling…
Starting LSB: Brings up/down network automatically…
Starting LSB: Advanced IEEE 802.11 management daemon…
Starting LSB: IPv4 DHCP client with IPv4LL support…
Starting Avahi mDNS/DNS-SD Stack…
Starting Music Player Daemon…
Starting D-Bus System Message Bus…
[e[32m OK e[0m] Started D-Bus System Message Bus.
[e[32m OK e[0m] Started Avahi mDNS/DNS-SD Stack.
Starting Permit User Sessions…
[e[32m OK e[0m] Started Restore Sound Card State.
[e[32m OK e[0m] Started OpenBSD Secure Shell server.
[e[32m OK e[0m] Started /etc/rc.local Compatibility.
[e[32m OK e[0m] Started LSB: Start NTP daemon.
[e[32m OK e[0m] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[e[32m OK e[0m] Started LSB: Brings up/down network automatically.
[e[32m OK e[0m] Started LSB: Advanced IEEE 802.11 management daemon.
[e[1;31mFAILEDe[0m] Failed to start LSB: IPv4 DHCP client with IPv4LL support.
See ‘systemctl status dhcpcd.service’ for details.
[e[32m OK e[0m] Started Permit User Sessions.
[e[32m OK e[0m] Started Configure Bluetooth Modems connected by UART.
[e[32m OK e[0m] Started Login Service.
Starting Disk Manager (legacy version)…
Stopping cd.service…
[e[32m OK e[0m] Stopped cd.service.
Starting cd.service…
[e[32m OK e[0m] Started cd.service.
Starting LSB: set CPUFreq kernel parameters…
Starting Hold until boot process finishes up…
Starting Terminate Plymouth Boot Screen…

I’m pretty lost on the software side, any help would be very much appreciated. :smiley: :smiley: :smiley:

have you tried a different bitrate…32 bit- 192000 kHz in settings / playback options / audio re-mastering.

Verstuurd vanaf mijn ONEPLUS A6003 met Tapatalk

Hi, thks for your answer, i Tried already and it doesn’t not work…

are you sure you have the correct pinout numbers, because I can’t see it very well in the picture.
I made that mistake once and then got a disturbed signal.
was at an audio gd nfb-1 2015 dac.

can you keep me informed about the progress, I have the same AK4497 dac and may want to try this but I will not just demolish things if it does not work.

ok i tried it with my AK4497 dac and also get sound distortion.
are you any further or know what the problem may be?

I also use raspberry pi 4 2gb and kali reclocker.

by the way, i have also tried picoreplayer but the same result also distortion.

The pinout is correct,
Yup, thus we need further help on this…
I may try moode audio. But, I like volumio, I’d like to keep it.

no one a solution what the problem may be?

Verstuurd vanaf mijn ONEPLUS A6003 met Tapatalk

@hugiz are you a bit further or have you solved the problem?

okay i have now tried an audio gd - hdmi lvds i2s module but exactly the same result, distortion.
And to top it all, my USB board no longer works, so it also broke during desoldering.

have you been able to tackle the problem?

Maybe should we try to update to last version,by luck might work, i had’nt time to focus on…