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

32
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

33
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

34
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
 

35
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

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


37
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 {



}

38
Can you try undoing those changes to the template, and in web admin, under media directors, try changing HDMI-0   to HDMI-0,7  and report back? A reload will likely be in order.

Hi, L3mce
No sound, here is the what have I done

linux-backports-modules-alsa-`uname -r`    This enabled card detection by alsa

Everything else is left as defaults, no asound changes.

No sound trying
Code: [Select]
speaker-test -D hdmi -c2  nor kde desktop

Once I run
Code: [Select]
speaker-test -c 2 -l 1 -t sine -D hw:0,7
Everything else works, even using speaker-test -D hdmi -c2 or KDE, lmce etc until reboot

I have to note that asound @ etc says

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

It does not says 0,7

Any hints?

T


39
Hi to all,

No luck with ID41 aka Zotac Zbox,

What have I done.

Modified asound.conf  both at /etc and /pluto/template to point hdmi to hw:0,7
apt-get update and upgrade last night

What is the behaviour:  After fresh start or reboot, there is no sound unless I run at the console:

speaker-test -c 2 -l 1 -t sine -D hw:0,7 .  Making sure there is proper output at the speakers

Once I run speaker test, it works perfectly everywhere until next reboot.

Any hints?

Cheers,

Tomás

40
Please don't state "latest snapshot" but the version number of the snapshot

Sorry, it's true, the snapshot was LMCE-1004-20120630133526148

I already found how to solve it by using this post   http://forum.linuxmce.org/index.php/topic,12418.0.html  on the ZOTAC MAG.  I trying on the ZBOX and post results

Cheers,


41
It is a bit of a pain. I am working on fixing it all.
apt-get install linux-backports-modules-alsa-`uname -r`
reboot
This will get them listed (aplay -l | grep -i 'hdmi')

You will likely have hw0 devices 3,7,8, and 9. It is almost always 3 or 7 on the id41, and seems to be completely random which. Others output on 9... others output on everything. Should look something like:
Code: [Select]
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
card 0: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
card 0: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
card 0: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
You can test with:
Code: [Select]
speaker-test -c 2 -l 1 -t sine -D hw:0,7etc based on the output of aplay where the 0 is the card and 7 is the device.

Now getting that to stick is another trick. In /usr/pluto/templates/asound.conf I would replace %MAIN_CARD% with 0,7    or whatever yours is.
pcm.asym_hdmi {
        type asym
        playback.pcm "hdmi_playback"
        capture.pcm "plughw:%MAIN_CARD%"
}


You may also have to add
options snd-hda-intel model=auto  or
options snd-hda-intel enable_msi=0 index=-2
to /etc/modprobe.d/alsa-base

Please report back with your results.

Hi L3,
I decided to upgrade the core and start all from scratch.  I downloaded the latest snapshot (yesterday) and video is no issue for neither MAG or ZBOX, It is the audio that is driving me crazy.  On the MAG, I get audio with speaker test, and also within the multimedia kde controle module, but no sound at all when playing the videos, not even if the video is open directly at the kde desktop.  With the ZBOX, I get no sound until I run the speaker test.  Once I run the speakertest at the konsole, everything works perfect.  Any hints?

T

42
Hi Tompin2

thanks fior the info.

Please can you just confirm what versions of alsa & Nvidia you are using in the ID41.

Thanks



Hi Bushtech,

When I got it running (I'll explain that later), I got it running with Alsa 1.25 and Nvidia 295.   The alsa that came with the snapshot I used came with Alsa 1.22 and that one did not detected the nvidia hda at all.  After upgrading to 1.25 , it got listed as it should in aplay.  When I got it running means that I did apt get upgrade last week and rebuild the image for the zotac mag and worked perfectly.  I am doing apt upgrade tonight and going to try rebuilding the image ID41 and see how it handles audio and video.

I hope this info helps.  Keep everyone posted on how it goes.

Cheers,

T

43
Hello,

I guess someone went ahead of me because the problem is fixed.  After doing (today) apt-get upgrade at the core and image rebuild of the zotac mag.  Video issues are corrected!

Greate Job!!!!  Was it you L3mce????

For the  hdmi sound I guess it is better to start a new post so people is not confused or lost by this post subject but in a few words I can mention what I did.

1. Figure out which port was for HDMI sound.  Check xorg log to understand hdmi "monitor" capabilities, in my case for for the MAG was no issue, for the ZBOX it was because I have a DENON receiver so the nvidia driver did not detected HDMI audio capabilities on him.
In my case device 7 was the one used for hdmi audio, like L3mce mentioned.  I modified the asound template under user pluto and that was it.  Of course that before that I did some testing to make sure that device 7 was the one.
I erased the line "options snd-hda-intel model=auto " at the modprobe/alsa-base.conf because it was causing problems with the asound.conf file.  Disabled the Intel audio board at the bios so only the NVIDIA HDA was seen.  Also for the zotac ZBOX I needed to update the alsa drivers because it was not recognize at the begining.  If anyone have any questions I will try to do my best to share my little knowledge

Ill try to post (if necesary) a new post with detailed step by step.
 

Cheers,

T

44
Dear Followers of this post.  I'm making a step by step guide to get the sound working.  With some information from the web and help with LMCE gurus, I will try to do a for dummy's guide (like me ;) ).  This guide will solve sound issues and video hopefully.  On the next reply.

Cheers,

T

45
Hi L3mce,

I guess I got the info too late  ;D, I guess I fix it the hard way, since I had nothing to do last night until 1 am for the next feeding of my son (2 weeks old) I decided to make a drastic test, just like the zbox


Code: [Select]
sudo apt-get --purge remove nvidia-*
KBOOM! nvidia!
Then,

Code: [Select]
sudo sh NVIDIA-Linux-x86-295.53.run
Reboot, after it, avwizard was displayed, follow it without any problems and voila!.  Did the same with the zbox and both are working perfectly (video issues,  alpha and opengl tricks etc), the audio @ the zbox will try it later.

I tried the zsync without success, it dumped an error (did not record it, sorry) and started downloading the entire image again.!  That is when I decided to wipe nvidia stuff and start from scratch!.  I hope this helps other.  I´m willing to do more test if you want in order to help as much as possible for MAG AND zboxes for future users and snapshots.

Cheers,

T


Pages: 1 2 [3] 4 5