Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tompin2

Pages: 1 2 [3] 4 5 6
31
Hello to all,

Thanks for the quick reply.  I fixed it!!!! ;D, I was playing with the xine.conf.  To get it to work I had to change to be more direct with the device
Code: [Select]
audio.device.alsa_front_device:asym_hdmi
audio.device.alsa_default_device:asym_hdmi
audio.device.alsa_passthrough_device:plughw:1,7
audio.output.speaker_arrangement:Pass Through

Thanks anyways ardirtbiker, you guide me to the right place!!!!

What I did for testing was work with the xine on the kdesktop, it was faster that way, I started playing around with the .config under .xine folder in root user so I did not wasted time going back and forward to the orbiter.  Once I tested all the combinations, just copy and paste!!!!

32
No luck for me, no pass through  :(.  Ardirtbiker, can you post your xine.conf and your alsa.conf?

Cheers,


33
l3mce,

by only editing the following lines in /usr/share/alsa/alsa.conf, I have surround  (Dolby Digital and DTS) thru my HDMI:

Code: [Select]
#
# defaults.ctl.card 0
defaults.ctl.card NVidia
# defaults.pcm.card 0
defaults.pcm.card NVidia
# defaults.pcm.device 0
defaults.pcm.device 7

and this in /etc/pluto/xine.conf:
Code: [Select]
audio.device.alsa_passthrough_device:asym_hdmi
without the added line in xine.conf, lmce displays a message that it cannot play the audio track (or something like that).

The reason I did this is because the HDMI audio is NOT card 0 in my system.. but is card 1 (NVidia) as listed by cat /proc/asound/cards.

Should it be possible to get DTS-HD and True-HD from the .mkv files (they have the HD audio in them)?

Dennis

Excellent  Ardirtbiker! I will give it a try RIGHT NOW!!, I'll just do the proper adjustments of whatever my card is and post results!


34
An updated system should have done everything by itself. If this is an MD, delete it, upgrade your core, rerun /usr/pluto/bin/Diskless_CreateTBZ.sh and turn the MD on and it should "just work"™


L3mce,

Worked as expected!!! I enabled the Intel HDA let mce do the rest.  The only issue is that there is no AC3/DTS pass-through.

Excellent work, thanks.  I hope to figure out what is going on with ac3/dts stuff.

cheers,

T

35
I am sorry for the confusion...

I have changed all of the source code to try and get audio over HDMI for everything. I am trying my best to make that guide irrelevant.

All you need to do, is get your pciid
lspci -nn | grep -w 'VGA' | sed 's/.*://;s/\].*//'

and i will add that pciid to the Backports_Required section, and you never have to follow the wiki again. It will "just work" out of the box.

Hi L3mc3, no worries, I know that you only want to help.

Here is the result
Code: [Select]
root@moon50:~# lspci -nn | grep -w 'VGA' | sed 's/.*://;s/\].*//'
0a64

36
l3mc3,

With all the respect you deserve.  Can you explain me what I did wrong????.  I followed step by step the procedure @ the lmcewiki page you posted that was born because my post.  The only difference between your suggestions and what I have done is that I did disabled, just like you mentioned, the onboard intel sound card, but I did that a loooong time ago and it was working properly, so I never had the issue of card0 or card1, migrating to 1004 fixed may things but messed up the video and audio.  Maybe, you could consider that disabling the intel board could be another way to solve id41 randomness.    Am I following the wrong guide??? or i'm lost in translation. 
I do have sound, just not at lmce the way it should, well, to be honest, I do have the problem that I always have to run speaker-test everytime I restart.  Besides that, It seems to be something wrong in xine config file, just like phenigma posted. 
I will kill the md and try anything to help lmce community and of course myself, I believe in the product and the work you all do and I always wish I could help as much as you.  Right now I feel I can only complain  ;D , In the future, I hope might be able to help others as you do so kindly.

I will  continue to try some more with the setup I have just to learn more how stuff works and then, enable the onboard card and restart all over again and post results. 

Saludos,

T

37
Hi,

I forgot to mention that if I run a video directly on kde desktop, xine does use AC3/DTS pass through and Im able to listen to multichannel audio.  How xine is controlled by lmce? which is the config file used?  If the check to enable pass-through is activated, what does it does? what does it changes? which files are affected?

Cheers,

T

38
Hello to all,

Here is the feedback I can five.

Fresh MD image rebuild and apt-get upgrade to the lastest and I get nothing at aplay -l.  Follow the hdmi wiki and download backport drivers and my hda nvidia is detected as card0

aplay -l gives this:
Code: [Select]
oot@moon50:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
alsamixer, all the outputs are muted, unmute all and do
Code: [Select]
speaker-test -c 2 -l 1 -t sine -D hw:0,7 with success output.

Modify asound.conf @ pluto/template so it sticks and my asound @ etc is like this every time I reboot

Code: [Select]
pcm_slave.convert {
@args [ RATE CARD DEV ]
@args.RATE {
type integer
}
@args.CARD {
type string
}
@args.DEV {
type integer
default 0
}
pcm {
@func concat
strings [ $CARD "," $DEV ]
}
rate $RATE
}

pcm.spdif_playback {
type plug
slave {
@func concat
strings [ "convert:RATE=48000,CARD=spdif:0" ]
}
}

pcm.hdmi_playback {
type plug
slave {
@func concat
strings [ "convert:RATE=48000,CARD=hdmi:0" ]
}
}

pcm.asym_spdif {
type asym
playback.pcm "spdif_playback"
capture.pcm "plughw:0"
}

pcm.asym_hdmi {
type asym
playback.pcm "hdmi_playback"
capture.pcm "plughw:0,7"
}

pcm.asym_analog {
type asym
playback.pcm "plug:dmix:0"
capture.pcm "plughw:0"
}
pcm.!default asym_hdmi

The problem is when I reboot, there is no sound UNLESS I execute the speakertest at the console.  After speaker-test is run, I have sound but there is NO AC3/DTS pass-through working.  Only 2ch is sent to the receiver, regardless of the configuration at the webadmin
If I try:

Code: [Select]
speaker-test -c 8 -l 1 -t sine -D hw:0,7

speaker-test 1.0.22

Playback device is hw:0,7
Stream parameters are 48000Hz, S16_LE, 8 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 4096
Period size range from 8 to 2048
Using max buffer size 4096
Periods = 4
was set period_size = 1024
was set buffer_size = 4096
 0 - Front Left
 4 - Center
 1 - Front Right
 7 - Side Right
 3 - Rear Right
 2 - Rear Left
 6 - Side Left
 5 - LFE


The result is successful on all speakers.  Any hints?

Cheers,

T

39
Thanks L3mce,

I'm up to try anything, let us know if you need us to try anything.

Cheers,

T

40
Hi Ardirtbiker,

I haven't been able to get too far either.  No luck with the wiki page posted by l3mce.  Even if I follow step by step the wiki of hdmi audio on 1004, just after finish it.  I only get audio if I run speaker-test at the command first.  After that, kdesktop have sounds but xine doesn't and of course lmce neither.  I don't know what to do any more!

I hope to find the answer soon.

Cheers!

41
Installation issues / Re: Some problem - installation
« on: August 05, 2012, 04:51:46 am »
LOL... good catch
* l3mce thwaps tompin2

That is all.

LOL , you never know what you can find digging in the past  ;).  I like to give the old posts a chance before asking something that someone else already did  and get all of you lmce gods some hard time!... ;D

By the way, some knows the answer?????

Cheers to all and have a nice weekend,

T

42
Installation issues / Re: Some problem - installation
« on: August 02, 2012, 03:32:45 am »
Hi,

   One problem solved. To install the Leviton VRCS2 we need to include first the Scene control (pressing the 2 buttons) and after (to include the local switches) press each of then (one by one) by 5 sec to include. If necessary I can include this in wiki (like a how to).

Hi edbroni, can you explain a little bit more the procedure, I have the same configuration and want to get the leviton vrcs2 running.  What you mean is that you take the usb stick, press the button, It starts blinking and you go to the switch and press both at the same time, the stick shoud responde to that, put the stick back on the core and follow the wizard then, take the stick out, press the button again,  go back to the switch and  press each button one by one for 5 seconds, do the wizard again.   Is this correct?

cheers,

T

43
Tompin 2
Does your alsamixer also say s/pdif output? This bothers me as I can see my s/pdif out on the zbox is lit up red i.e transmitting.

Viking
I have had sound a couple of times but a reboot or 2 soon kills the sound. Although I have recently started suspecting that when I have sound it's not 5.1 dolby but the amp converting 2 channel sound to 5 channel stereo.

Hi Bushtech, Let me check on it write you back.

44
Still trying to figure out what's potting.When I play dvd from core I get sound from all speakers in 5.1 setup. If I do  speaker-test -D hdmi -c2 I get audio from 2 speakers (L+R). If I try  speaker-test -D hdmi -c7 I get : Playback open error: -16,Device or resource busy.

My old Denon amp (Fed by fiber from TV) is set on auto for input. I am thinking what I'm am actually getting is the equivalent of 5 channel stereo ???

Alsamixer (V1.0.22) outputting via S/pdif. Is this correct?

Hi Bushtech,

Sorry for the delay, I'm Having similar problems maybe worst, I don't even get 5.1 with playing DVDs from the core.  For some reason it is not sending 5.1 audio.  I had problem trying speaker test with alsa 1.0.22, in order to get perfect test regardless of the channel configuration I upgraded to 1.0.25.  I believe that my problem is on the device naming.  My systems believes that "hdmi" audio is something else than hw:0,7.  I need to know how to change correct that problem.   I hope it helps.

T

45
Dear all,

Post created dedicated to sound issues.

http://forum.linuxmce.org/index.php/topic,12696.0.html

I will continue there.

Thanks for your help

T

Pages: 1 2 [3] 4 5 6