Hallo,
ich habe es nun endlich geschafft meine Hifiberry DAC+ zu installieren. Allerdings muss ich nach jedem "reboot" via ssh XBMC stoppen und dann wieder starten, damit die Soundkarte in XBMC erkannt wird.
Kann man dort etwas programmieren, dass dieser Stop/Start-Vorgang nach jedem reboot automatisch durchgeführt wird?
Nun aber zum Problem.
Ich höre bei Wiedergabe einer Audiodatei (mp3) und auch bei video aus der Mediathek nur ein lautes Rauschen bzw. ein extrem verzerrtes SIgnal. Verschiedene Einstellungen im alsamixer brachten keine Besserung.
Was kann ich jetzt tun?
Gunnar
hello,
I finally made it my Hifiberry DAC + to install. However, I must stop and then start XBMC via ssh again to make the sound card in XBMC is detected after a "reboot".
Can you program something there that this stop / start operation is performed automatically after each reboot?
Now to the problem.
I hear when playing an audio file (mp3) and also in video from the library only a loud noise or an extremely distorted SIgnal. Various settings in alsamixer brought no improvement.
What can I do now?
Gunnar
Date
Votes
12 comments
-
HiFiBerry team Hi Gunner,
what does "aplay -l" show?
Sometimes raspbmc load an additional module for the HiFiBerry DAC and you will see 2 sound cards. This might cause problems.
The workaround is deleting the snd_soc_hifiberry_dac module.
Best regards
Daniel -
ghauschild Hi,
Aplay - l shows only one sound card, the correct hifiberry dac+.
I have deleted the file.
Gunnar -
HiFiBerry team What is your kernel version (uname -a)
Best regards
Daniel -
rajah Hi Gunnar,
regarding the xbmc restart, I answered here: http://forum.osmc.tv/showthread.php?tid=15674 (just noticed it was you that I was answering to on the other forum). Possibly someone will find a more elegant solution, but this works.
I have the same problem with audio, but if I set the xbmc audio very close to the minimum it works. Sound when playing a file is perfect; however upon pausing/stopping the sound, there is a constant noise. Please let me know if you observe the same behaviour. -
HiFiBerry team Hi,
it seems, XBMC handles 24bit audio wrong. Right now there are discussions and it looks like the XBMC guys found the bug. The OpenElec developers will test this soon.
Best regards
Daniel -
ghauschild @Daniel
What does this mean for us? Hopefully there will be a Bugfix in the next update from raspbmc?!
Kernel version is the newest 3.12.29+.
@rajah
Thanks for your answer and specially the script! I will try soon!
I will also try to change xbmc volume, thanks for this hint!
Gunnar -
ghauschild Ok, i got it!!!!
My device works now! Thanks Daniel and Rajah for the Help! Setting down the volume of xbmc is the right way.
BUT how can i set up the volume fix for next start up? when rebooting, the xbmc-volume is on highest level and the noise begins again. ... -
rajah Regarding the sound problems:
- When I reboot xbmc remembers the volume is set at the lowest level so I don't have the problem you have.
- I noticed that the problem is the same if i Airplay music from my iPhone: I have to set the iPhone at the lowest volume or I get only noise. If I understand correctly the iPhone volume supersedes the Xbmc volume as the source, and Alsa can only manage very low-volume input? I would like to find some setting in the Alsa configuration to fix this but have no idea how. The master volume in alsamixer / amixer seems entirely unrelated to this issue as turning it down does not affect it (it is useful in my case to lower master volume by 50% only because otherwise I have to turn down the amplifier's volume to get the right sound level).
- as for the noise I had when not playing anything, it is fixed simply by disabling Keep audio device alive in the Audio output settings. Now I have a perfectly functional system!
Daniel, in your understanding does it look like the bug you outlined above is related to this volume problem as described here?
Thanks for all the support -
rajah More information that could maybe help us find a solution:
the issue is much less present when I play a movie via dvdplayer:
1) I can use up to ca. 60-70% of the xbmc volume bar without having noise (as opposed to 5% when playing music)
2) the volume is much lower so I must bring back the master volume via alsamixer at 100% to have similar levels.
I tried this with several files so not an issue related to the audio in the video file.
My deduction from this would be that the culprit is paplayer, and that it's possibly paplayer's settings that we must play with.
Any thoughts? -
HiFiBerry team Dear Rajah & Gunnar
with the right kernel version (the one with 24bit playback disabled), it should also work at full volume. It looks like the XBMC developers think that they found the problem. Therefore I hope there is a good chance that XBMC will work in the future with any kernel. However it can still take some time.
On OpenElec, 4.1.6 works well with both DAC+ and Digi/Digi+, while 4.2 has problems with the DAC.
I have configured an image for this (you need at least a 4GB SD card):
http://www.hifiberry.com/files/images/openelec-4.1.6-preconfigured.zip
Best regards
Daniel -
ghauschild Hey Daniel,
Thanks for that! I will stay with raspbmc for now, everything is working. I know to toggle the volume when I use YouTube, video etc. But most of the time I'm using the pi for playing music with mpd. Mpd and hifiberry dac+ also works now, sounds great. Thanks for such a nice device ;) .
@rajah
I tried several videos via dvd player, I have to toggle volume between ~20-60% to get a great sound. That's OK, for music I use mpd. I will wait for kernel/xbmc update. I hope we'll get a note here...
Gunnar -
ghauschild Maybe I could try to downgrade my system. What to do?
Please sign in to leave a comment.