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 ... 3 4 [5] 6 7
61
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

62
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

63
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

64
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

65
Thanks L3mce,

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

Cheers,

T

66
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!

67
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

68
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

69
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.

70
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

71
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

72
Dear all,

I have created this new Post so it help other to find information about his issue.  I started a post about Video issues and ended up with 1 page for video and two more about audio problems.  I hope this help other to share and get all the information needed.

So far my problem is more or less described in post http://forum.linuxmce.org/index.php/topic,12594.0.html  give it a look, there is good information.

So far my problem is that for ZOTAC ZBOX aka ID41 is working half way now, speaker-test works and with some modifications at asound.conf I get the sound working but no ac3 nor DTS (regardless of the pass-through check on web admin).  Other might find this information useful for nvidia hda soundcards using hdmi

On the next post I'll try to copy information from the post above and condense it properly so all the information related to this issue stays in one place.

Cheers,

T
 

73
See /usr/pluto/templates/asound.conf tompin2.

Hi L3mce, apologies for my ignorance but, what do you want me to see?, my ignorance is making me blind  :-\

 I have checked the asound.conf template and I know that it will be used every time you reboot but
Quote
pcm. !default asym_hdmi
is not in that template, who adds it to the asound.conf @ /etc ?
Can you help me on getting the surround working.  It seems that it is not following the pass-through check at the lmce web admin.

Im really thinking on opening a new post only dedicated to ID41's hdmi sound issues, the title of this post is missleading for all the good information it is in here.

Thanks for all your help

74
Ups! I pressed Post by mistake

This is what I use to get sound

Quote
pcm.!default {
     type plug
     slave {
         pcm "plughw:0,7"
    }
}

Adding this at the end of the file makes it work.  The only problem is that I Can't get any of my videos to be multichanel, they are all forced to 2ch, I don't know why, and also It won't stick.

Everytime I reboot, it will add

Quote
pcm. !default asym_hdmi
and mess things up!


75
Hi Bushtech,

I disable the intel HDA at the bios so I always get card 0 without doing the alsa-base.conf trick.
I always get sound using speakertest.  Right now I get sound using plughw:0,7.
I even run
Code: [Select]
speaker-test -c8 -r 48000 -D plughw:0,7 this is pink noise 8 channels so I can test my DENON 7.1ch setup without problems. 
I believe my problem is at the asound.conf, it always adds
Quote
pcm. !default asym_hdmi
at the end of the file and I don't know where it comes from
since the device "asym_hdmi" is not working I get no sound. 

If I modify the asound template and change "plughw:0,7" like this:

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

The only way to get audio in kdesktop an xine is by putting this at the end of asound

pcm.!default {



}

Pages: 1 ... 3 4 [5] 6 7