Hifiberry - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Hardware (/forum-7.html) +--- Forum: Video and Audio (/forum-28.html) +--- Thread: Hifiberry (/thread-2397.html) |
RE: Hifiberry - Skywatch - 31st Jul, 2015 06:10 PM firmware is here... http://apt.xbian.org/pool/devel/main/x/xbian-package-firmware/ 4.1.3 Kernel is here... http://apt.xbian.org/pool/devel/rpi2-jessie/l/linux-image-bcm2836/ Install firmware first, then the new kernel, reboot and report back if it works for you! Skywatch. RE: Hifiberry - -AB- - 31st Jul, 2015 09:31 PM Done and done. It works! Still some error messages (is that normal?), but the device is created and now I can listen to audio without passing it through the TV. Code: [ 12.562488] snd-hifiberry-digi sound: ASoC: CPU DAI (null) not registered Hoooowever, switching to the ALSA devicve degrades playback speed. Switching back to PI:HDMI, smooth playback. Switching to ALSA again, dropped frames every few seconds... I thought the digital/digital conversion was all hardware accelerated...? Anyway, this might be a bit off topic in here. RE: Hifiberry - Skywatch - 31st Jul, 2015 11:12 PM Can you post the output of the following... cat /etc/default/xbian-module-init-tools cat /etc/modules Skywatch. RE: Hifiberry - -AB- - 31st Jul, 2015 11:25 PM (31st Jul, 2015 11:12 PM)Skywatch Wrote: Can you post the output of the following... Sure thing. Terminal xbian@mumepc ~/.kodi/temp $ cat /etc/default/xbian-module-init-tools # Configuration for module-init-tools # Changes the CPUFreq governor just after boot, pretending it to be the default # governor. # Leave empty or commented out to use the actual default governor configured # in the kernel. #CPUFREQ_GOVERNOR="" xbian@mumepc ~/.kodi/temp $ cat /etc/modules # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Parameters can be specified after the module name. #13.06.15 testing - for sensors bcm2835-thermal uinput Pretty much default. The sensors-thingy didn't appear to work, but that's extremely offtopic, and not relevant //edit: Argh, and something is wrong with the volume after TV on/off. Oo. Even the audio level on the HDMI port is now wayyy louder than normal. Let's try a reboot. (something I've never said about a Linux system ) RE: Hifiberry - Skywatch - 1st Aug, 2015 01:20 AM Something I learned yesterday, change #CPUFREQ_GOVERNOR="" to CPUFREQ_GOVERNOR="ondemand" (you can also try 'performance' here too....). Also, check on the hifiberry site if the modules entries are correct and needed. I don't have a digi to test so can't say more on that one but here is their guide... https://www.hifiberry.com/guides/configuring-linux-3-18-x/. Skywatch. RE: Hifiberry - -AB- - 1st Aug, 2015 10:14 AM (1st Aug, 2015 01:20 AM)Skywatch Wrote: CPUFREQ_GOVERNOR="ondemand" (you can also try 'performance' here too....). Will that enable automatic "over"clocking? I'll test tomorrow. Still, it's not a matter of the new firmware/kernel, as using the HDMI output still produces smooth playback... Yup, followed their tutorial earlier. Still don't know why it cranked up the volume suddenly (and invisibly) after TV was switched off an on. Maybe disabling the HDMI communication will avoid that problem. //update: Changing the cpufreq governor did not affect the playback issues. Is this rather a Hifiberry issue (i.e., should I post in their forum?) or an xbian one? (As other distributions/users do not seem to have this problem?) RE: Hifiberry - Skywatch - 14th Aug, 2015 12:31 AM Yes it seems to clock between 600-900MHz depending on system requirements. I guess that there is an issue with the latest 4.1.x kernels that is causing this to happen. Unfortunately I don't own a digi+ to test with either, so can only help people with dacs. Still it should be resolved at some point. Do let us know if you find a solution by yourself as others are reporting the same issue. I'll open a ticket in github later today about this too, it might help. Skywatch. RE: Hifiberry - bonestaak - 14th Aug, 2015 04:18 AM (31st Jul, 2015 06:10 PM)Skywatch Wrote: firmware is here... http://apt.xbian.org/pool/devel/main/x/xbian-package-firmware/But how to install these files? where to put these files? RE: Hifiberry - -AB- - 14th Aug, 2015 09:16 AM (14th Aug, 2015 12:31 AM)Skywatch Wrote: Unfortunately I don't own a digi+ to test with either, so can only help people with dacs.Are the DACs running fine with abovementioned version? I can't imagine the problem to be beyond the i2s interface. (Why should using a different chip slow the CPU down/cause CPU usage?) But maybe that's just my lack of imagination. (14th Aug, 2015 12:31 AM)Skywatch Wrote: Still it should be resolved at some point.Thanks. Any new versions I can try? Debugging/Profiling while outputting audio/video? Post more config files? It's more an annoyance than a major issue, as I can still route the audio through my TV, but... Hey, I bought it, plus I don't want to have the TV running whenever I listen to music (14th Aug, 2015 04:18 AM)bonestaak Wrote: But how to install these files? where to put these files?wget them anywhere and then install using dpkg -i. Simple as that RE: Hifiberry - Skywatch - 14th Aug, 2015 05:50 PM @-AB- Yes I have no problems with both original pi and 9023 sabre dac board and pi 2 with PCM 5102A dac board (both incredible for the price) and working faultless for weeks now with the above mentioned kernel and firmware. I see that 4.1.5 kernel is already available for Rpi, so things are moving along and team Xbian are usually good at getting to the bottom of problems. Have you managed to get the digi running with any other software? Have you tried the Hifiberry support? Check that both alsa-base and alsa-utils are installed. One thing we haven't looked at is what is in your /etc/modules file? @Bonestaak.... 1 Download the .deb file you want to install (via browser, wget, curl or whatever OR download to another PC and copy to the /tmp folder on your pi), for example download linux-image-bcm2836_4.1.3+-1437860820_armhf.deb xbian-package-firmware_2.3.0_armhf.deb 2 Install firmware with sudo dpkg -i /tmp/xbian-package-firmware_2.3.0_armhf.deb 3 Install kernel with sudo dpkg -i /tmp/linux-image-bcm2836_4.1.3+-1437860820_armhf.deb Obviously change the above to the name and location of the files you downloaded if different, but those are the exact files I use with dacs (not digi+!) Skywatch. RE: Hifiberry - bonestaak - 15th Aug, 2015 12:03 AM A thats better thanks, i can understand that. i'll try it. As i have no /tmp anywhere on my raspberry i have /xbian-xbmc/temp so i changed sudo dpkg -i /xbian-xbmc/temp/xbian-package-firmware_2.3.0_armhf.deb xbian@xbian ~ $ sudo dpkg -i /xbian-xbmc/temp/xbian-package-firmware_2.3.0_armhf.deb dpkg: error processing /xbian-xbmc/temp/xbian-package-firmware_2.3.0_armhf.deb (--install): cannot access archive: No such file or directory Errors were encountered while processing: /xbian-xbmc/temp/xbian-package-firmware_2.3.0_armhf.deb xbian@xbian ~ $ xbian@xbian ~ $ sudo dpkg -i /xbian-xbmc/temp/linux-image-bcm2836_4.1.3+-1437860820_armhf.deb dpkg: error processing /xbian-xbmc/temp/linux-image-bcm2836_4.1.3+-1437860820_armhf.deb (--install): cannot access archive: No such file or directory Errors were encountered while processing: /xbian-xbmc/temp/linux-image-bcm2836_4.1.3+-1437860820_armhf.deb RE: Hifiberry - bonestaak - 15th Aug, 2015 01:20 AM Hmm now i did in Terminal: cd .xbmc cd temp now i did sudo dpkg -i linux-image-bcm2836_4.1.3+-1437860820_armhf.deb and sudo dpkg -i xbian-package-firmware_2.3.0_armhf.deb unpacking... some time .. but no errors. On this moment i can not look at my television but tonight i shall look if i can get now the Digi+ Thanks. RE: Hifiberry - CurlyMo - 15th Aug, 2015 01:48 AM As said in the other threads also. Use code tags. RE: Hifiberry - bonestaak - 16th Aug, 2015 12:02 AM Although installing of the 2 files worked, there is no possibility to choose for the digi+ i am afraid i must change to Openelec as it seemed that for Openelec there is support on the Hifiberry.com page. @CurlyMo What do you mean with code tags? RE: Hifiberry - CurlyMo - 16th Aug, 2015 03:20 AM These are code tags: http://forum.xbian.org/thread-2397-post-29554.html#pid29554 |