Nvidia 8300, no HDMI audio under live Dharna
#1
Hi there.

I managed go get HDMI audio from Avalon and Babylon with quite a lot of work and from Camelot quite easily. When Dharma was released, I decided to go from full blown Ubunto installation on a HD to Live installation on a DoK - and now I have no audio, no matter what I try.

I'm using the on-board 8300 IGP. aplay -l :
Quote:**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC1200 Analog [ALC1200 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC1200 Digital [ALC1200 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0

aplay -L :
Quote:null
Discard all samples (playback) or generate zero samples (capture)
front:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
Front speakers
surround40:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, NVIDIA HDMI
HDMI Audio Output

Log file :
Quote:23:02:54 T:2495609712 M:2979491840 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(42000.000000, 0)
23:02:54 T:2495609712 M:2976251904 NOTICE: (VDPAU) Creating the video mixer
23:02:54 T:2495609712 M:2960601088 NOTICE: fps: 23.976025, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
23:02:54 T:2495609712 M:2963267584 DEBUG: OutputPicture - change configuration. 1280x720. framerate: 23.98. format: VDPAU
23:02:54 T:2384051056 M:2963394560 DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
23:02:54 T:2384051056 M:2963394560 DEBUG: RemoveActiveDevice - Removing device 0
23:02:54 T:3079153536 M:2963394560 DEBUG: CAnnouncementManager - Announcement: PlaybackStarted from xbmc
23:02:54 T:2384051056 M:2963394560 DEBUG: Initialize - using alsa device plug:hdmi
23:02:54 T:2384051056 M:2963394560 DEBUG: CALSADirectSound::Initialize - packet size:6144, packet count:10, buffer size:5120
23:02:54 T:2384051056 M:2963394560 DEBUG: CALSADirectSound::Initialize - Channels: 6 - SampleRate: 48000 - SampleBit: 16 - Resample false - IsMusic false - IsPassthrough false - audioDevice: plug:hdmi
23:02:54 T:2384051056 M:2963394560 DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback
23:02:54 T:2207865712 M:2963394560 DEBUG: thread start, auto delete: 1

I tried setting the audio to HDMI, IEC958, plughw:0,3, hdmi:CARD=NVidia, nothing worked. Made sure all three IEC958 devices in alsamixer are unmuted (I seems to remember I had an HDMI device there as well previously, but I may be wrong) and the one in the internal mixer. Tried with passthrou enabled and disabled.

As a Linux newbie, I've no idea how to continue. Any helpers?
Reply
#2
try to change for this

Audio Output Device - custom
and write
hdmi:CARD=NVidia,DEV=0

Passthrough Output Device - custom
and write
hdmi:CARD=NVidia,DEV=0
Reply
#3
Please - first trie rikardo1979Confused solution, ha has answered several post and seams to know this stuff.

Hovever I had a very simular output from aplay -L and rikardo1979Confused solution didnt work for me. Instead I had to create a sound config file on the system. You could do that on the computer but i used SSH to connect to the XBMC-box:
Now create this file: /etc/asound.conf
And in this file put:
pcm.!default {
type plug
slave {
pcm "hdmi"
}
}


Get a consol on your local XBMC-box (ctrl + alt + f1)
type: alsamixer
and check that no iec or spif is muted - if it stands mm it means it is muted (of so press "m" to unmute)

Reboot and it should work!

Good luck!

/Oscar

Ops: forgot - in audio setting inside XBMC all 3 should after this be set to HDMI
Reply
#4
I'll try both suggestions, thanks. But in the meantime, I realized something: I used to have IEC958 devices in the alsamixer and now I don't.

Edit: Tried, still no sound.

I've hooked up the old HD, with full-blown Ubuntu 9.10 and XBMC Camelot and sounf throu HDMI works just fine - it's set to HDMI in XBMC and there are no asound.conf or .asoundrc files. alsamixer shows three IEC958 devices instead of the three S/PDIF.

root@HTPC:/etc# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.20.

root@HTPC:/etc# cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 195.36.15 Fri Mar 12 00:29:13 PST 2010
GCC version: gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9)

Any other ideas?
Reply
#5
More info:

I've compared the old, working Camelot with the new Dharma.

aplay -l and aplay -L are identical.

ALSA was ver. 1.0.20, now it's 1.0.23.

nVidia driver was x86_64 Kernel Module 195.36.15, now it's x86 Kernel Module 195.36.24.

Quote:root@HTPC:~# lsmod | grep -i nvidia
nvidia 10804424 40

root@XBMCLive:~# lsmod | grep -i nvidia
nvidia 9961216 38
agpgart 31724 1 nvidia


root@HTPC:~# cat /proc/asound/card0/codec#* | grep Codec
Codec: Realtek ALC1200
Codec: Nvidia MCP78 HDMI

root@XBMCLive:~# cat /proc/asound/card0/codec#* | grep Codec
Codec: Realtek ALC1200
Codec: Nvidia MCP77/78 HDMI

/etc/modprobe.d/alsa-base.conf files are identical with one exception: the last two lines from the Camelot ver were missing in the Dharma one:
Quote:# Power down HDA controllers after 10 idle seconds
options snd-hda-intel power_save=10 power_save_controller=N

But adding those had no effect.

I have two IEC958 devices in the XBMC mixer and both are not muted, but the volume control inside any video is grayed and not responding, stock on -42dB.

I have no idea on what to try next.
Reply
#6
Strange.... My solution has worked on 2 motherboards with integrated nvidia hdmi output (zotac and asus). Since my english is not so god - just to be shure check:

1. In the folder /etc/
you have created a file named asound.conf
and in that file pasted:
pcm.!default {
type plug
slave {
pcm "hdmi"
}
}

2. Check that you dont have any other asound.conf or any other soundconfigurationfilefile in your home directorys (because that one will override the newly created)

3. Unmuted everything in alsamixer (several IEC devices)

4. Rebooted - this is important - otherwise the new asound.conf wont be loaded.

5. Checked that alsamixer is still unmuted

6. In XBMC set everything to HDMI (before reboot)

I like this solution since it is simple. Hovever - then I first tried to solve the problem I tried this solutin in post number 4 and it also worked for me:
http://forum.xbmc.org/showthread.php?tid...ate+nvidia
might be worth a try.

Good luck!

/O
Reply
#7
Thanks, but still no audio. I've made sure to follow your instructions to the letter, but the receiver still gets no audio signal.

I then tried the suggestion in the 4th message you've linked to. Updated the nVidia driver and 5 other packages but still no audio.

I ran the ALSA test script on both the old, working config and the new one. Since each is rather long, here are the links:

Old: http://www.alsa-project.org/db/?f=5641ec...2f5f8074a4

New: http://www.alsa-project.org/db/?f=c46458...85b7e03661

There are two lines in the new modprobe options that doesn't exist in the old:
Quote:snd-hda-intel: model=auto
snd-hda-intel: enable_msi=0

These were added by me, one at a time, as part of my attempts to get some audio out of tmy HTPC. I've removed it later, so now both modeprobes are identical.

Another difference, this time one that could have significance, is at the sound module options.

Old:
Quote:!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : 0
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
power_save : 10
power_save_controller : N
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
probe_only : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
single_cmd : N

new:
Quote:!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1
beep_mode : 1,1,1,1,1,1,1,1
enable : Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : 0
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
index : -1,-1,-1,-1,-1,-1,-1,-1
model : auto,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
patch : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
position_fix : 0,0,0,0,0,0,0,0
power_save : 10
power_save_controller : N
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
probe_only : 0,0,0,0,0,0,0,0
single_cmd : N

I have no idea what's the significance, if any, of those.

Just to play it safe, I ran the script a 3rd time, after updating the nVidia driver: http://www.alsa-project.org/db/?f=143c41...6f1cd57b21

So, any thoughts? I have absolutely no idea what to do next.
Reply
#8
Sorry, Im completly out of ideas. And I fought that I had have every possible problem related to sound and pulseaudio....
What manufacurer and model is it on your motherboard (and grafic card if not internal)? Thinking it might be an idee to look on some ubuntu-forum.

/O

Update: Just thinking loud - if we dont find anything after searching on motherboard and no one else has some better idee it might be worth a try to install XBMCLive 10.04 (with working sound) and then change repoistories so you can upgrade to Eden (or go the route with XBMC minimal -there are several great guides for that on this forum).
Reply
#9
It's an ASUS M3N78-EM, using the IGP.
Reply
#10
SpiffBB Wrote:it might be worth a try to install XBMCLive 10.04 (with working sound) and then change repoistories so you can upgrade to Eden (or go the route with XBMC minimal -there are several great guides for that on this forum).

you mean to do a camelot XBMCbuntu install and then upgrade to dharma? Cool

one idea left: when it was working, you had a full ubuntu install with pulseaudio. now with dharma live, there's no pulseaudio anymore, only alsa left which, obviously, does not work.

honestly, I'd give up trying the live image and go the XBMCbuntu installation route instead.
OpenElec Standalone --> Asus Chromebox 'Panther' --> Onkyo TX-NR709 --> Sony 55" X85C Android TV (also with Kodi!)
Asus Chromebox EZ Script
Kodi on Sony Bravia Android TVs
Reply
#11
Well there are a few more thinks I'd like to try (Google to the rescue! Laugh), but if all else fails, i'll try XBMCbuntu. It can be used from a DoK, right?

Edit: Oh dear. That XBMCbuntu seems too rich for my blood. If I can't get the Live to work properly, I think I'll just stay with the current Camelot.
Reply
#12
This fixed it for me, DTS and DD are working 100% as well !:

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current nvidia-current-modaliases nvidia-settings
sudo wget http://pastebin.com/download.php?i=f5f9654bb -O /etc/asound.conf
sudo wget http://pastebin.com/download.php?i=f2e38265 -O /usr/share/alsa/cards/HDA-Intel.con

rebooted, chose HDMI, 5.1, hdmi, hdmi and it was perfect.

Thanks.

Kim
Reply
#13
kimattree Wrote:This fixed it for me, DTS and DD are working 100% as well !:

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current nvidia-current-modaliases nvidia-settings
sudo wget http://pastebin.com/download.php?i=f5f9654bb -O /etc/asound.conf
sudo wget http://pastebin.com/download.php?i=f2e38265 -O /usr/share/alsa/cards/HDA-Intel.con

rebooted, chose HDMI, 5.1, hdmi, hdmi and it was perfect.

Thanks.

Kim

One suggestion, instead of hdmi on the first setting choose digital. I had the problem that files with the wmapro audio codec wouldn't play very well. Choosing for digital solved the problem for me.

I've also a 8300 nvidia onboard chip
update: Now i've changed xbmc to the English language i see that in English the setting is called optical/coax
Reply
#14
SpiffBB Wrote:Strange.... My solution has worked on 2 motherboards with integrated nvidia hdmi output (zotac and asus). Since my english is not so god - just to be shure check:

1. In the folder /etc/
you have created a file named asound.conf
and in that file pasted:
pcm.!default {
type plug
slave {
pcm "hdmi"
}
}

2. Check that you dont have any other asound.conf or any other soundconfigurationfilefile in your home directorys (because that one will override the newly created)

3. Unmuted everything in alsamixer (several IEC devices)

4. Rebooted - this is important - otherwise the new asound.conf wont be loaded.

5. Checked that alsamixer is still unmuted

6. In XBMC set everything to HDMI (before reboot)

I like this solution since it is simple. Hovever - then I first tried to solve the problem I tried this solutin in post number 4 and it also worked for me:
http://forum.xbmc.org/showthread.php?tid...ate+nvidia
might be worth a try.

Good luck!

/O

Thanks for the Help. I finally decided to upgrade from beta 1 of Dharma and figured that sense beta 1 had worked so well that I it would be a snap to upgrade. As you can guess no audio was my problem. But thanks to this post everything was fixed in short order. Now both the kids and the wife are happy again.
So long and thanks for all the fish.
Reply
#15
Tried quite a few things, including disabling the audio chip and leaving HDMI as the only viable option, nothing helped.

At one time i got some navigation sounds, but not when I tried to play a video. XBMC always recognizes the audio as AC3, perhaps the problem is only there? The XBMCbuntu page mentioned there's a problem with that on nVidia drivers past 159.

I think I'll install again this weeked. If that doesn't work, I'll try a full version of Ubuntu.
Reply

Logout Mark Read Team Forum Stats Members Help
Nvidia 8300, no HDMI audio under live Dharna1