Raspi3 HifiBerry DAC+ - left right channel swaping/switching

Raspberry Pi related support

Re: Raspi3 HifiBerry DAC+ - left right channel swaping/switc

Postby surfninja » 19 Apr 2016, 15:13

This is interesting. I have a Wolfson DAC and noticed this same behavior. I was surprised and didn't think the recording was the same as what I'm hearing. Kind of forgot about it until I saw this post.

I'll have to pay closer attention to this. Lately I haven't been in front of the system but off to the side where Left and Right channel separation is not very noticeable.

I'll have to sit and listen to some music instead of web radio / background. When I hear it again, I'll listen to the same tune in audacity and see if the music swaps channels.
rAudio 1, Raspberry Pi 2B
rAudio 1, Raspberry Pi 4B
rAudio 1, Raspberry Pi Zero W
surfninja
 
Posts: 95
Joined: 13 Mar 2015, 22:06
Location: Minnesota

Re: Raspi3 HifiBerry DAC+ - left right channel swaping/switc

Postby surfninja » 23 Apr 2016, 17:23

tobvc wrote:FYI: the bug report.


Thanks Tobi for the link. I've verified on my system 16-bit flac is affected. I've ripped a CD to 32-bit wav and don't seem the have the same problem. This is only by ear, not by a scope.

ironically, my system is RunOs 0.3-beta (build 20141029) on a RP 1B+ (I think).

rune.png
rune.png (4.22 KiB) Viewed 2197 times
Selection_032.png
Selection_032.png (104.67 KiB) Viewed 2197 times


I'd be happy to update my version if others have a fix.
Last edited by surfninja on 23 Apr 2016, 20:03, edited 1 time in total.
rAudio 1, Raspberry Pi 2B
rAudio 1, Raspberry Pi 4B
rAudio 1, Raspberry Pi Zero W
surfninja
 
Posts: 95
Joined: 13 Mar 2015, 22:06
Location: Minnesota

Re: Raspi3 HifiBerry DAC+ - left right channel swaping/switc

Postby ingohz » 23 Apr 2016, 17:51

Looks like progress in this issue and the problem has been addressed. New upstream dma code seems to resolve it: https://github.com/raspberrypi/linux/issues/1417
  • HiFi 1: Alix/voyage-mpd, MusicalFidelity M1 DAC (RP2/HifiBerry Digi+), Accuphase DP-67, Accuphase E-212, Infinity Kappa 8.2i
  • HiFi 2: RP2/7" Touchscreen/IQaudIO Pi-DAC+, Philips Fidelio X1
ingohz
 
Posts: 45
Joined: 22 Feb 2016, 12:11

Re: Raspi3 HifiBerry DAC+ - left right channel swaping/switc

Postby Paul » 26 Apr 2016, 22:00

Hello

I have recently bought Rpi3 and Hifiberry digi + using runeaudio. I have the same issue with channels swapping at random. This thread says it is something to do with the Linux Kernal and that it will be fixed.

The question I have is who fixes this and how do we find out when it has been fixed - will Runeaudio let us know through this forum for example? Once fixed how do we update our RPi3 etc. I am very new to all of this and am not really sure how it all works.

Look forward to receiving any answers

Paul
Paul
 
Posts: 9
Joined: 26 Apr 2016, 21:19

Re: Raspi3 HifiBerry DAC+ - left right channel swaping/switc

Postby hondagx35 » 26 Apr 2016, 23:00

Hi Paul,

see the link posted by ingohz.

The manufacturer (Hifiberry) also is involved in that process.
We are waiting for a official statement from him.

You will get informed here.

BTW: If someone with linux knowledge has time to compile and test a patched kernel would be great.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Raspi3 HifiBerry DAC+ - left right channel swaping/switc

Postby Paul » 27 Apr 2016, 06:10

Hi Frank

Thanks for the information.

Paul
Paul
 
Posts: 9
Joined: 26 Apr 2016, 21:19

Re: Raspi3 HifiBerry DAC+ - left right channel swaping/switc

Postby sarucyel » 03 May 2016, 20:24

Hi

Are we still waiting on hifiberry to come back?

Thanks sarucyel
sarucyel
 
Posts: 6
Joined: 25 Apr 2016, 02:01

Re: Raspi3 HifiBerry DAC+ - left right channel swaping/switc

Postby robertzombie » 08 May 2016, 15:00

Apparently a fix has been identified: https://support.hifiberry.com/hc/en-us/ ... _207646769

Can someone please explain how to apply the kernel patch on Raspbian and Raspbian Lite to a rookie? The whole Pi 3 > Digi+ > Rune set-up is essentially useless with this channel swapping issue. Very frustrating!
robertzombie
 
Posts: 39
Joined: 08 May 2016, 14:57

Re: Raspi3 HifiBerry DAC+ - left right channel swaping/switc

Postby hondagx35 » 08 May 2016, 16:02

Hi robertzombie,

Can someone please explain how to apply the kernel patch on Raspbian and Raspbian Lite to a rookie? The whole Pi 3 > Digi+ > Rune set-up is essentially useless with this channel swapping issue. Very frustrating!

Also from here a friendly welcome to you! :)

digi-rune-and-usb-drive-channel-swapping-t3570.html#p14454

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Raspi3 HifiBerry DAC+ - left right channel swaping/switc

Postby hondagx35 » 08 May 2016, 16:05

Hi,

to fix the channel swapping please try:

- check if you have enough space on your sd card
Code: Select all
df -h

If not (10% or less) first resize your sd card.

- update the kernel and firmware
Code: Select all
pacman -Sy --force raspberrypi-firmware-bootloader linux-raspberrypi
sync

EDIT:
The packages have changed please use

Code: Select all
pacman -Sy --force raspberrypi-firmware raspberrypi-bootloader linux-raspberrypi
sync


- modify config.txt (add "dtparam=audio=on")
Code: Select all
......
#dtparam=i2c_arm=on
#dtparam=i2c_vc=on
#dtparam=i2s=on
#dtparam=spi=on
#dtparam=act_led_trigger=mmc
dtparam=audio=on

#dtparam=uart1=off
#dtoverlay=pi3-disable-bt-overlay
.......


- remove some files
Code: Select all
rm /usr/lib/modules-load.d/nfs-utils.conf
rm /etc/modules-load.d/raspberrypi.conf


- set kernel version and reboot
Code: Select all
redis-cli set kernel "Linux runeaudio 4.4.8-2-ARCH"
sync
reboot


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 2 guests
cron