Good day! I have been looking for a bitperfect, hifi and multichannel audio player for a long time. I am hoping that Volumio will be the player for me
I’m running a VM dedicated to volumio-2.673-2019-12-01-x86. I’ve given it 8MB ram allocation and 2 threads on one core in the server. It has a dedicated Geforce GT710 with HDMI audio that is passed through to the VM and isolated from anything else. The video and audio portions of this card are specifically passed through. A VBIOS dump from this card is used in the passthrough.
This configuration installs and boots up fine logs.volumio.org/volumio/P7EA2TF.html but it does not play back any audio. The web interface works great. The HDMI video output on the TV mirrors my actions in the web interface. Every playback attempt shows the attached Alsa Error . The file time playback counter does not begin to count/spin and the file never appears to begin playback
I enabled SSH and checked the output of aplay -l with this result :
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 0/1
Subdevice #0: subdevice #0
When I look in the GUI for playback devices I only see - - There are no other options in the drop down.
I made some attempts to poke around via SSH. If I edit the config file sudo nano /etc/mpd.conf
to
audio_output {
type “alsa”
name “alsa”
device “hw:0,7”
or with the same results
audio_output {
type “alsa”
name “alsa”
device “hw:0,3”
I then execute the reboot command.
My desired mixer type is None and it is set as such.
If I SSH and check, those changes are temporarily persistent. The player then populates properly, the timer begins to count and the file encoding details display. Unfortunately there is still no audio. The volume is set at 100 and not adjustable.
If I then try to change the Mixer Type to Software it resets my changes above and the config changes to:
audio_output {
type “alsa”
name “alsa”
device “softvolume”
dop “no”
and I get this error -
If I change the mixer to Hardware it resets my config to this:
audio_output {
type “alsa”
name “alsa”
device “hw:0,0”
which I then edit to this
audio_output {
type “alsa”
name “alsa”
device “hw:0,3”
The mixer is now set to hardware.
If I SSH and check, those changes are temporarily persistent. The player then populates properly, the timer begins to count and the file encoding details display. Unfortunately there is still no audio. The volume is is adjustable to 100 and not muted. There is no output.
hi!
have a look at /data/configuration/audio_interface/alsa_controller/config.json to see what is configured in volumio.
changing mpd.conf is not the good way it is populate by volumio when you save config
One thing, your device is not hw:0,7 but hw:7,0…
hw:0,7 seems correct, because it is card 0, device 7
Not showing it in the volumio UI is because of a missing configuration entry, we would add that once the issue has been cleared and appears generic for that card.
But I’m a little puzzled because it does not give any sound after setting it in mpd.conf.
Just a thought, could you check alsamixer and verify the default on that device is not muted?
Sometimes that happens, in case you can change it with alsamixer and you reboot, it should have been be persisted.
Thank you for your prompt replies! I am extremely busy tonight and have to work early tomorrow, I hope to get into this again tomorrow evening or Saturday. I do not want you to feel like your efforts have been wasted. Thank you!!!
I assure you I will continue this. I was sent on the road for work and I don’t have access to this equipment for testing remotely… soon! I hope Friday night or Saturday next weekend I will have your tests complete and some data for a response. I look forward to relaxing and truly enjoying some hifi fruits of our efforts. Thank you.
I currently have the mpd.conf set to hardware 0,7 and mixer set to “none” via the GUI. This is the configuration where it will appear to play a file with volume fixed at 100 and no audio output.
It shows two outputs, correct? S/pdif and S/pdif1 with S/pdif 1 muted? I pressed right arrow, M and it changed to
Rebooting, the hw0,7 and the unmute of s/pdif1 stucks, but still no audio.
I edited the mpd.conf to hw0,3, rebooted and the unmute still sticks, the file still plays on the counter but no audio. HDMI output is functional this whole time. The back of the video card has VGA, DVI and HDMI.
don’t worry about the blocked posts, sometimes the forum software kicks in and blocks a post.
I have no idea what the criteria for such an action is, there was nothing wrong with your posts.
Back to the issue, I’m supposed to know the answer to this, but honestly, I don’t (yet)
As already written, the fact it does not show up in the playback configuration is a missing profile for the NVIDIA card.
That would be the smallest problem, for testing it is ok to change mpd.conf instead.
The config seems to be ok, just make sure you test as follows:
After changing mpd.conf, you need to make sure mpd gets restarted.
You can use “killall node” for that, it just takes a minute or so to restart volumio that way.
Otherwise you can’t test as after a reboot, the mpd setting will be set top the default again.
I like solving problems… I’m happy to help. I spent hours on this playing with settings, trying to load nvidia drivers, learning how to expand the image, trying to install the kernel headers, etc… I’m learning.
There is supposed to be an audio/alsa capabilities application here - volkerschatz.com/noise/alsa.html#alsacap It interested me but I had trouble figuring out how to install that.
I feel like the clue is in LSPCI how it is showing a single video card as two separate PCI devices, correct?
03:00.0 VGA compatible controller: NVIDIA Corporation Device 128b (rev a1)
04:00.0 Audio device: NVIDIA Corporation Device 0e0f (rev a1)
I feel like that should be displayed as 03:00.0 and 03:00.1, correct?
When I edit mpd.conf, the killall node command doesn’t make anything take effect.
If I start at hw0,0 with the red alsa error and I then edit mpd.conf, I can try to play again, I still get the red alsa error.
If I enter killall node, I try to play again I get the red alsa error, but my new setting hw0,7 has persisted.
I enter “reboot” command and the player fully reboots. Then the play counter will count and the mpd.conf still persists at hw0,7.
I’m really looking forward to winning this one!! Please let me know what else to check
Open alsamixer, select the nvidia soundcard (in case you have more than one) and make sure, your two outputs outputs are not muted.
When muted, they will show as “MM” instead of “00”. You can tab between the outputs, you can toggle mute/ unmute with the “m”-key.
Please be so kind and also google a little so that you know where alsamixer is used for.
Then open a terminal (see the documentation at https://volumio.github.io/docs/ )
The command to open the mixer is “alsamixer”, no worry you can’t break anything…
I am 100% sure they show 00. I’ll try and grab a screencap for you. Is there any plans to release in a newer kernel version of Debian or Ubuntu? Is it possible that my x86 hardware / soundcard combination is too new for this kernel/driver version?
yes, we’re working on a buster based x86 version, hope to pick this up in the next few weeks.
Too many other things got us stuck the last few weeks, sorry about that.
Thank you! I’m happy to help. I tried to send a PM but it says you have them disabled. I think I found your email on here - you should have an email sent to - volumio@bxxxxxn.xx I’ll run any tests, custom work or anything as directed. I greatly appreciate the support.