1
Users / Re: MD on Zotac Zbox ID42 Plus not playing audio
« on: January 05, 2014, 09:33:47 am »
L3top, thanks for helping to solve this problem.
Now, I can play video and hear audio successfully via lmce.
I can still not mute from lmce, but I can live with that (decrease / increase is not expected to work anyways because the digital signal via hdmi can only be controlled to on/off).
To summarize, the relevant settings that eventually worked for me were:
I also verified that /etc/pluto.conf does not contain the variable AlternateSC
The following tests / utilities helped me solve the problem:
1. Check the sound card
I used the following command to verify that nvidia hdmi maps to 1,3:
2. Generate some audio signal in the TV
I used the following command to verify that the moon can generate sound in the TV
3. Play xine via KDE
I used xine directly to see that I can play a video/audio using xine outside lmce.
Setting of moon MD in webadmin
# In Wizard / devices / Media Directors
moon MD is set to:
Audio settings
Selecting HDMI (or anyhting other than "Manual") causes to execute Setup_AsoundConf in /usr/pluto/bin/SetupAudioVideo.sh
Ideally this should set e.g. asound.conf, xine.conf correctly but, for some reasons it replaces the good settings with settings that break Xine_Player.
So instead, use:
Now, I can play video and hear audio successfully via lmce.
I can still not mute from lmce, but I can live with that (decrease / increase is not expected to work anyways because the digital signal via hdmi can only be controlled to on/off).
To summarize, the relevant settings that eventually worked for me were:
Code: [Select]
cat /etc/pluto/xine.conf
...
audio.device.alsa_front_device:asym_hdmi
audio.device.alsa_default_device:asym_hdmi
audio.device.alsa_passthrough_device:plughw:1,3
audio.output.speaker_arrangement:Pass Through
Code: [Select]
cat /etc/asound.conf
</etc/pluto/alsa/virtual_cards.conf>
pcm_slave.hdmi_convert48k {
pcm "plughw:1,3"
rate 48000
}
pcm.hdmi_playback {
type plug
slave hdmi_convert48k
}
pcm.asym_hdmi {
type asym
playback.pcm "hdmi_playback"
capture.pcm "plughw:1,3"
}
pcm.nvidia_hdmi {
type hw
card 1
device 3
}
pcm.!default asym_hdmi
Code: [Select]
cat /usr/pluto/diskless/35/usr/share/alsa/alsa.conf
...
defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 3
...
I also verified that /etc/pluto.conf does not contain the variable AlternateSC
The following tests / utilities helped me solve the problem:
1. Check the sound card
I used the following command to verify that nvidia hdmi maps to 1,3:
Code: [Select]
root@moon35:~# aplay -l
List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
2. Generate some audio signal in the TV
I used the following command to verify that the moon can generate sound in the TV
Code: [Select]
speaker-test -t sine -D plughw:1,3
3. Play xine via KDE
I used xine directly to see that I can play a video/audio using xine outside lmce.
Code: [Select]
root@moon35:~# xine /home/public/data/videos/movie.avi
Setting of moon MD in webadmin
# In Wizard / devices / Media Directors
moon MD is set to:
Code: [Select]
Hardware accelaration: vdpau
Deinterlace quality: vdpau
Video Card : Geoforce or TNT2
Audio settings
Selecting HDMI (or anyhting other than "Manual") causes to execute Setup_AsoundConf in /usr/pluto/bin/SetupAudioVideo.sh
Ideally this should set e.g. asound.conf, xine.conf correctly but, for some reasons it replaces the good settings with settings that break Xine_Player.
So instead, use:
Code: [Select]
Audio settings: Manual Settings (M)
This prevents /usr/pluto/bin/SetupAudioVideo.sh from overwriting (returns from Setup_AsoundConf)