HDMI AUDIO a Success finally

  Thread Rating:
  • 4 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
GileraGFR Offline
Junior Member
Posts: 26
Joined: Nov 2007
Reputation: 0
Post: #41
Oh there's so many peeps to thank now everything is working - BLKMGK, Snowflake, Chaos_666, ashmaston, spozen, rodercot (from various threads)

I have the same board P5N7A-VM, with everything that has been posted here i have sound through HDMI including mp3's and menus.

Just so its clear, following the guide on page 1 of this thread.

Using this in /home/xbmc/.asoundrc:
Code:
pcm.dmixer {
   type dmix
   ipc_key 1024
   ipc_key_add_uid false
   ipc_perm 0660
   slave {
      pcm "hw:0,3"
      rate 48000
      channels 2
      format S32_LE
      period_time 0
      period_size 1024
      buffer_time 0
      buffer_size 4096
   }
}

pcm.!default {
   type plug
   slave.pcm "dmixer"
}

Audio settings:
digital
off
off
default
default

Thank-you everyone!!!

EDIT: Incase it matters for someone else, i had to unmute the 'IEC958 1' in alsamixer.
(This post was last modified: 2008-12-22 01:29 by GileraGFR.)
find quote
rodercot Offline
Donor
Posts: 795
Joined: Feb 2008
Reputation: 25
Location: Ottawa, Canada
Post: #42
Hey All,

Are you all running hdmi a/v to a TV. I am running the living room through my rcvr and the bedroom machine to a TV.

With DVD playback, I am still getting little skips or pauses here and there but only on DVD playback, Streaming over the network seems fine so far.

Have you guys noticed this at all.

Any ideas!

Thanks,

Dave
find quote
Snowflake Offline
Junior Member
Posts: 39
Joined: Dec 2008
Reputation: 0
Location: Langley, BC
Post: #43
My HDMI goes straight to the TV, I haven't put a receiver in my media room yet. Hope to run a set of surround speakers and get a proper receiver eventually so this will eventually become an issue.

For now, everthing sound-wise works. MP3 playback too.

Viewsonic N4285P, ASUS P5N7A-VM, Intel E8500, Mushkin PC28500 2x2GB, Antec Fusion Black 430, Logitech DiNovo Mini, Patriot X-Mini 8GB
Working: 1080p, hdmi audio
Partial: Logitech DiNovo Mini needs 'sudo rmmod usbhid;sudo modprobe usbhid' after boot to make cursor work
Not working: IMON display
find quote
BLKMGK Offline
Donor
Posts: 1,634
Joined: Jul 2006
Reputation: 3
Location: USA Virginia
Post: #44
In my case this box is straight to a TV, yeah I am seeing some skips with SD DVDs played from a mounted USB drive. Downloaded 720P content though plays quite smooth Sad I am having other issues with some other DVD played locally too -> http://forum.xbmc.org/showthread.php?tid=42462

Looks like with some tweaks folks have MP3 working, I will try for this tomorrow myself. I swear I'm going to have to get another of these boards for my system just so I can play along with everyone else lol!

Ubuntu 10.10, MCE USB receiver, ASROCK 330 (ION), DVDs fed from unRAID cataloged by DVD Profiler. HD-DVD encoding Added DiNovo Mini KBRD w/track
find quote
GileraGFR Offline
Junior Member
Posts: 26
Joined: Nov 2007
Reputation: 0
Post: #45
Mines going straight to my tv too.

Just tried a retail dvd (Matrix Revolutions) and a self encoded one (Taken) and no issues at all, both play flawlessly. Haven't done anything at all with regards to playing with settings, dvdrom cache is at 4096kb which is default i think, only fitted the drive today. Sorry rodercot no suggestions but if you want me to post any of my settings just let me know.

Your right BLKMGK, i'm glad i've had peeps progressing along at the same time as me with the same board, never happens to me too often, lol.

On a side note, my only issues now which aren't massively important is a loud psu (small form factor one so no decent replacements about) and hopefully getting my system to suspend and then power back on from remote.

XBMCLive, Acer REVO R3700, Philips SRM-5100 MCE Remote ~ 7TB unRaid Storage - HP ProLiant MicroServer
find quote
matyhaty Offline
Junior Member
Posts: 4
Joined: Dec 2008
Reputation: 0
Post: #46
Hi all.
Wasnt sure whether to put this in the main HDMI audio page - so played safe in here!

The Situation:
Want a nice media center - running XBMC. Ive run XBMC on xbox'es for years, and love its simplicity and stability. Have tried the windows alternative, but its just not as good.

The Hardware:
Shuttle SN68G2 with a quieter fan and PSU
Nvidia 9400GT with HDMI Out
Some ram and CPU!
500gb Harddrive.

The Progress:
Installed XBMC LIve 8.10 last night onto the HDD - perfect, runs though the HDMI - looks lovely.
Remote (MCE) works out of the box
ITs quick and stable

The Issue

NO SOUND!
Well not quite true, sound works fine out of the analog stuff, and the motherboard has no SPDIF onboard. Obvious choice here is to use HDMI Audio - but alas - I couldnt get it to work.I followed the tutorial through, but alas no joy:
- when installling the NVIDIA driver upgraded it error-ed. IS this meant to happen (presuming not). Said somthing about couldnt find a kernal match.
- Alsamixer, had no menchon of HDMI anywhere
- tried to alsa script with the -i three times.

The solution?
What is the best option?
Shall i plug away at the HDMI audio? Im not a skilled linux user tho.
- any advice over what could be causing it not to happen?

Do i buy a SPDIF sound card (like this one -is it going to work?)
http://www.amazon.co.uk/7-1-Surround-Sou...B0017QG0N2
(This post was last modified: 2008-12-23 10:52 by matyhaty.)
find quote
rodercot Offline
Donor
Posts: 795
Joined: Feb 2008
Reputation: 25
Location: Ottawa, Canada
Post: #47
BLKMGK Wrote:180.11xx NVIDIA drivers are still sort of beta yes? Will this work as well with 177.xx drivers? I am trying to get this working on a different ASUS board and was trying to stay away from the new accelerated drivers until they were more fully baked so am curious Smile

BLKMGK,

I found this one yesterday, with respect to hd (.mkv) playback where I was having issues I though with the rip itself, Thanks to harry and this little tidbit, I am now watching those same rips with less than 60% cpu usage and less than 20 dropped frames from like 200 before.

http://forum.xbmc.org/showthread.php?p=2...post260052


Dave
find quote
rodercot Offline
Donor
Posts: 795
Joined: Feb 2008
Reputation: 25
Location: Ottawa, Canada
Post: #48
matyhaty Wrote:The Issue
NO SOUND!
Well not quite true, sound works fine out of the analog stuff, and the motherboard has no SPDIF onboard. Obvious choice here is to use HDMI Audio - but alas - I couldnt get it to work.I followed the tutorial through, but alas no joy:
- when installling the NVIDIA driver upgraded it error-ed. IS this meant to happen (presuming not). Said somthing about couldnt find a kernal match.
- Alsamixer, had no menchon of HDMI anywhere
- tried to alsa script with the -i three times.

Hey!

Sorry you are having troubles. Is your nividia on-board or a separate card. This tut was wirtten for an on-board nvidia gpu and chipset. Not sure if your shuttle has that or not. if you are getting kernel header match errors, then you missed the sudo apt-get update and or the build-essential (headers install) from the tut.

The driver install will create those for you IF they find the match already installed in your case they did not.

your mainboard will likely have an spdif pinout on it and the same pinout input on the video card which would take a cable like an OLD CD rom style pc audio cable or very similar, to pass the digital to the hdmi output on the video card and then your bios would likely need to be set to route the hdmi audio this way.

anyhow, if you want to stick with it then I would suggest a clean re-install and start from the top of the tut line by line slowly. making sure as you proceed that each step installs without error.

I tried to look in the manual for your shuttle, I could not get any layouts of the m/b in it, but in specs it lists a spdif in and out. Also if you are running an nvidia pci-e card make sure and set your init first VGA to pci-e/x setting and up the frame buffers to at least 256 from 128.

rgds,

Dave
(This post was last modified: 2008-12-23 15:28 by rodercot.)
find quote
matyhaty Offline
Junior Member
Posts: 4
Joined: Dec 2008
Reputation: 0
Post: #49
rodercot

The graphics is PCI-E serpate card.
The shuttles does have geforce 7 on board, however no DVi or HDMI - so useless for my needs.

Ill look for the SPDIF out tho, i did see shuttle do a PC-17 part, which is a header bit for it, but if it can go straight to graphics card -even better.

I definatly did all lines of the tutorial, but no harm in re-doing thats for sure

Any other tips?
Is it worth me taking a picture of any errors and posting here?

Many many thanks
find quote
rodercot Offline
Donor
Posts: 795
Joined: Feb 2008
Reputation: 25
Location: Ottawa, Canada
Post: #50
matyhaty Wrote:rodercot

The graphics is PCI-E serpate card.
The shuttles does have geforce 7 on board, however no DVi or HDMI - so useless for my needs.

Ill look for the SPDIF out tho, i did see shuttle do a PC-17 part, which is a header bit for it, but if it can go straight to graphics card -even better.

I definatly did all lines of the tutorial, but no harm in re-doing thats for sure

Any other tips?
Is it worth me taking a picture of any errors and posting here?

Many many thanks

The thing I cannot get straight in my head is this, you do not have an onboard hdmi connector, hence you are not going to get the HDMI audio device in the alsamixer I would assume.

If the current NVIDIA driver did not install then your HDMI port on the NVIDIA is not likely active, you need to get the driver working sans errors.

I would link up the spdif out from the board and look for the spdif in on the card there must be one, there seems to be one on all the hdmi pci-e cards and then in alsamixer you will need to for sure unmute any iec958 devices you find to enable that on-board spdif output.

Then by changing the settings in xbmc to force hdmi I would think it would work for you.

you may need to create the asoundrc files as it seems some have had to do if you read through this post.

but first step I would start from scratch clean and setup the bios as a first step.

Dave
find quote
Post Reply