Ok i Will give my DIY board a try thenI petitioned HifiBerry to see if they had any interest in producing a HDMI input HAT for the RPi5. Unfortunately, they said it wasn't feasible with HDMI licensing.
Michael
Ok i Will give my DIY board a try thenI petitioned HifiBerry to see if they had any interest in producing a HDMI input HAT for the RPi5. Unfortunately, they said it wasn't feasible with HDMI licensing.
Michael
Yes, this is only something for big Companies i guess Licensing is Expensive, also that why you can't do DIY Surround processors, they also need lots of Money for Dolbydigtal and DTS LicensingI petitioned HifiBerry to see if they had any interest in producing a HDMI input HAT for the RPi5. Unfortunately, they said it wasn't feasible with HDMI licensing.
Michael
Found an good Analogue Mux but cost 5€ (2,60€ 1500 Piece ) one Piece and has only 4 switches so 20€ for one Channel Volume ControlI agree, IMO the same effect is here - 120R of the mux vs. the 10k of the other resistor, times the mux THD => 0.2% THD * 0.01 ratio => some 0.002%, rough calculation. Absolutely inaudible. Yet IMO worse than performance of a good DAC chip.
IIRC Ivan talked about using FETs as input attenuator switches in his initial versions of his Cosmos Scaler attenuator, unmeasurable distortion. In the end he used relays anyway https://www.audiosciencereview.com/forum/index.php?attachments/dsc_1027-1-jpg.304240/
Back to that attenuator - probably it's not about distortion, but about whether this type of analog attenuator can further attenuate noise floor from a good DAC. If not, IMO no technical reason to avoid digital VC and complicate the design with these analog circuits.
@Nisse10000 @oomzay @phofman @MCH @gordoste@Nisse10000 @oomzay @phofman I see the channel swapping issue is getting the attention of the raspberry pi guys, thank you for that!!
Btw, the raspberry pi guy said it happens with rp5 as well
Hey @challenge i am MRamone from the post you quoted and that hack was the only workaround i have found. I was following most of the discussions at the time and i don't remember any working solution, but i am the less knowledgeable of the team, maybe others have tried something successfully.@Nisse10000 @oomzay @phofman @MCH
Sorry to pollute a bit this thread, and sorry to ping you all directly... but I have the same HDMI channel swapping issue since years.
I just realized now that you guys were discussing it here months ago...
I also saw the official rpi thread about the issue, but what's the best workaround till it's fixed?
Is there a working temp fix without having to hack and rebuild camilladsp to detect the buffer underrun?
I mean is there a working combo of config.txt, cmdline.txt, asound / camilla / other config files and/or swapping driver to set and forget (in moode+camilladsp) till it'll be fixed?
I read about the fkms/kms different options, saw old posts telling fkms with asoundrc was the solution, then it didn't work anymore, or people losing hw volume, having to loopback things or 24bits not working etc after applying some of these solutions...
I am not really scared to rebuild camilladsp code as per this post here... just want to know if there's a (dirty) proven workaround to prevent the issue instead of hacking camilladsp to restart on underruns. Also if it happens with both drivers or not, cause I am reading different opinions. Tried some and got confused, as there are many combinations once you start edit things here and there.
Just want to gather the information and write it down, cause every time I update moode I forget about it and the problem resurfaces every time, randomly, with no clear fix.
I have a Pi4 with suptronics x6000 7.1ch hat (explore chip) BTW.
thank you
Well, as you see those discussions, no new posts have been added. IMO it's safe to assume nothing has changed since then.I am not really scared to rebuild camilladsp code as per this post here... just want to know if there's a (dirty) proven workaround to prevent the issue instead of hacking camilladsp to restart on underruns.
Damn sad to hear! Always those proprietary things that have to ruin it for everyone :\I petitioned HifiBerry to see if they had any interest in producing a HDMI input HAT for the RPi5. Unfortunately, they said it wasn't feasible with HDMI licensing.
Michael
Are the driver + overlay already present in the Ubuntu kernel? It was added to RPi kernel in March 2024 https://github.com/raspberrypi/linux/commit/99e6cb05eaa2b133d9a2b7cb031fef2c19577cc1... Ubuntu 24.04 server LTS, but couldn't get the DAC8x to be recognized. After hours of struggling, it seems as though there is a bug with overlays. I reimaged the sd card with Raspberry Pi OS Lite 64, followed the tutorial again along with installing git ( sudo apt install git ), and added the overlay for config.txt: dtoverlay=hifiberry-dac8x and it seems to be working.
I'm no expert, but the overlay was present in the folder.Are the driver + overlay already present in the Ubuntu kernel? It was added to RPi kernel in March 2024 https://github.com/raspberrypi/linux/commit/99e6cb05eaa2b133d9a2b7cb031fef2c19577cc1
[ 6.342888] designware-i2s 1f000a0000.i2s: Missing dma channel for stream: 0
[ 6.344846] [drm] Initialized v3d 1.0.0 20180419 for 1002000000.v3d on minor 0
[ 6.353220] designware-i2s 1f000a0000.i2s: ASoC: error at snd_soc_pcm_component_new on 1f000a0000.i2s: -22
[ 6.363521] snd-rpi-simple soc:sound: ASoC: can't create pcm HifiBerry DAC8x HiFi :-22
[ 6.377484] snd-rpi-simple soc:sound: Failed to register card -22
[ 6.384223] snd-rpi-simple: probe of soc:sound failed with error -22
[ 6.534964] designware-i2s 1f000a4000.i2s: Missing dma channel for stream: 0
[ 6.542695] designware-i2s 1f000a4000.i2s: ASoC: error at snd_soc_pcm_component_new on 1f000a4000.i2s: -22
[ 6.550466] pispbe 1000880000.pisp_be: hog_output device node registered as /dev/video23
[ 6.552969] asoc-simple-card soc:sound: ASoC: can't create pcm 1f000a4000.i2s-dit-hifi :-22
[ 6.562225] asoc-simple-card: probe of soc:sound failed with error -22
It looks like the I2S driver is not correctly configured from device tree. It seems to be a problem of ubuntu only https://www.google.com/search?client=firefox-b-lm&q=designware-i2s+1f000a0000.i2s:+Missing+dma+channel+for+stream:+0[ 6.342888] designware-i2s 1f000a0000.i2s: Missing dma channel for stream: 0
Damn sad to hear! Always those proprietary things that have to ruin it for everyone :\
So what is the best and easiest way of getting multichannel PCM into the pi? USB? Some external HDMI extractor?