Kodi Community Forum

Full Version: MiniTop ION2 + Frodo = No HDMI audio
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Issue is pretty simple...

I have a JetWay MiniTop PC, model # HBJC600C99-52W-BW. I recently installed xbmc Frodo. It all seems to be OK, except that there is no HDMI audio output.

From what I can tell, analog audio and the spdif work through the onboard "usb audio device". The audio hardware in the nVidia HDMI hardware does not seem to be detected.

Here are my XMBC logs.

ALSA mixer sees two devices, HDA NVidia (default) and USB PnP Sound Device. NVidia shows only a SPDIF connection and it is not muted. The USB device has speaker, Mic and Auto Gain Control.

Can I get some help as to how to get HDMI audio output working on this machine, please?

Edit: Adding a few more details...

I've tried updating as shown in this post.

root@minitop:/# apt-cache policy xbmc
xbmc:
Installed: 2:13.0~git20130213.2107-1d92d14-0quantal
Candidate: 2:13.0~git20130213.2107-1d92d14-0quantal
Version table:
*** 2:13.0~git20130213.2107-1d92d14-0quantal 0
500 http://ppa.launchpad.net/wsnipex/xbmc-xvba/ubuntu/ quantal/main i386 Packages
100 /var/lib/dpkg/status
2:11.0~git20120510.82388d5-1ubuntu2 0
500 http://ca.archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
root@minitop:/#


steve@minitop:~/.xbmc/temp$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0


steve@minitop:~/.xbmc/temp$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample snooping device
hw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Hardware device with all software conversions
default:CARD=Device
USB PnP Sound Device, USB Audio
Default Audio Device
sysdefault:CARD=Device
USB PnP Sound Device, USB Audio
Default Audio Device
front:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
Front speakers
surround40:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
Direct sample mixing device
dsnoop:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
Direct sample snooping device
hw:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
Direct hardware device without any conversions
plughw:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
Hardware device with all software conversions


steve@minitop:~$ lsmod
Module Size Used by
snd_hda_codec_hdmi 31457 1
lirc_dev 18671 0
autofs4 27436 1
gpio_ich 13160 0
snd_usb_audio 105029 0
dm_multipath 22403 0
scsi_dh 14214 1 dm_multipath
snd_hda_intel 32516 0
snd_hda_codec 111548 2 snd_hda_codec_hdmi,snd_hda_intel
snd_pcm 80235 4 snd_hda_codec_hdmi,snd_usb_audio,snd_hda_intel,snd_hda_codec
snd_hwdep 13273 2 snd_usb_audio,snd_hda_codec
snd_usbmidi_lib 24226 1 snd_usb_audio
microcode 18210 0
nvidia 10236406 40
arc4 12474 2
snd_seq_midi 13133 0
psmouse 84878 0
serio_raw 13032 0
snd_rawmidi 25383 2 snd_usbmidi_lib,snd_seq_midi
snd_seq_midi_event 14476 1 snd_seq_midi
ath9k 116588 0
snd_seq 51281 2 snd_seq_midi,snd_seq_midi_event
mac80211 461203 1 ath9k
snd_timer 24412 2 snd_pcm,snd_seq
snd_seq_device 14138 3 snd_seq_midi,snd_rawmidi,snd_seq
nfsd 212040 2
ath9k_common 13784 1 ath9k
ath9k_hw 376193 2 ath9k,ath9k_common
snd 62146 11 snd_hda_codec_hdmi,snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
nfs 253408 0
ath 19188 3 ath9k,ath9k_common,ath9k_hw
lockd 65626 2 nfsd,nfs
fscache 50235 1 nfs
auth_rpcgss 35365 2 nfsd,nfs
nfs_acl 12734 2 nfsd,nfs
cfg80211 175574 3 ath9k,mac80211,ath
mac_hid 13038 0
soundcore 14600 1 snd
snd_page_alloc 14037 2 snd_hda_intel,snd_pcm
sunrpc 193108 6 nfsd,nfs,lockd,auth_rpcgss,nfs_acl
lpc_ich 16926 0
lp 13300 0
parport 40754 1 lp
coretemp 13169 0
btrfs 735359 0
zlib_deflate 26446 1 btrfs
libcrc32c 12544 1 btrfs
dm_raid45 75358 0
xor 26091 1 dm_raid45
dm_mirror 21666 0
dm_region_hash 16013 1 dm_mirror
dm_log 18138 3 dm_raid45,dm_mirror,dm_region_hash
vesafb 13478 1
hid_generic 12485 0
usbhid 41734 0
hid 82179 2 hid_generic,usbhid
r8169 55977 0
steve@minitop:~$
screenshot of audio settings in xbmc please. (hint, press prtscr on keyboard)

debug log (wiki)
(2013-02-19, 07:12)nickr Wrote: [ -> ]screenshot of audio settings in xbmc please. (hint, press prtscr on keyboard)
All the settings don't fit on one full screen. It also doesn't make a difference which I select. I will grab the screen shots and upload them when I get back home tomorrow morning.

From what I remember, the three settings I think are important on the audio screen have the following choices:

Audio output: HDMI / Analog / SPDIF
Audio output device: Analog / SPDIF
Passthrough output device: SPDIF

I can SSH to the XBMC machine now if there are any files or settings that I can see from a command prompt. Otherwise I have to wait until tomorrow to get more info.

One item to note... This is booting from an SSD and I am reading online that XBMC can start too quickly - before the audio hardware is initialized. I am seeing the following message at the end of the dmesg log:

[ 12.204488] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1c.0/0000:01:00.1/sound/card0/input5

Could 12 seconds(?) be too late for XBMC to see and utilize the NVidia audio hardware?
Ahh OK well that explains it. There is a hack to change your autologin to wait a while which fixes this. I'll be right back when I find the link.

Here it is

http://wiki.xbmc.org/index.php?title=XBM...io_devices
Thanks!

I've updated the file but won't be able to test until tomorrow.
xbmc was changed to wait at least for "one" audio device. If nothing helps, blacklist your analog stuff :-)
(2013-02-19, 10:03)fritsch Wrote: [ -> ]xbmc was changed to wait at least for "one" audio device. If nothing helps, blacklist your analog stuff :-)
frodo or post frodo?
post.

uNi
I think many people don't want to go beyond stable, so the lightdm fix is still relevant to many people.
I think your right, but I dont agree "stable" is actually best and these many people, are only basing their decision on information available.

Considering the maturity of AE I would say it has long way to go and the more ppl testing and working with current fixes the better chances bugs are fixed if these things are reported in first place.

uNi
(2013-02-19, 07:39)nickr Wrote: [ -> ]Ahh OK well that explains it. There is a hack to change your autologin to wait a while which fixes this. I'll be right back when I find the link.

Here it is

http://wiki.xbmc.org/index.php?title=XBM...io_devices
Thank you very much. That fixed my issue.

I now see the NVidia hardware in the output device and passthrough device.
Sorry for piggybacking on your post OP, I have the exact same box but I'm struggling with a similar problem.

In my case I'm not using the HDMI audio rather the analog output labelled, "USB PnP Sound Device"

Code:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Sporadically while coming out of resume, the "USB PnP Sound Device" device is no longer in Audio output device (System->Audio Ouput). Instead I see, "Playback/recording through the PulseAudio sound server" and I get no audio.

I'm on xbmcbuntu 12.2,
"Linux jetway 3.5.0-42-generic #65-Ubuntu SMP Tue Oct 1 21:38:59 UTC 2013 i686 i686 i686 GNU/Linux"

Please help, as I need to use the analog output.

I tried to alter the /etc/init/lightdm.conf as per above post, same...
Your lightdm.conf won't help coming back from resume. It only governs initial login.