LinuxMCE Forums
May 24, 2013, 09:34:51 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: 1004 zotac MAG and ZBOX video playback problems - SOLVED!  (Read 3151 times)
tompin2
Veteran
***
Posts: 59


View Profile
« Reply #30 on: July 05, 2012, 02:41:13 am »

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:
speaker-test -D hdmi -c2
  nor kde desktop

Once I run
Code:
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

Logged
bushtech
Veteran
***
Posts: 82


View Profile
« Reply #31 on: July 10, 2012, 07:05:57 am »

Mine's the same. Sound started working a couple of weeks ago with L3's guidance, but after some reboots no more sound. Currently on mine the soundtest on 0,7 works but no sound when trying to play something on my media drive.Doing a lot of scratching around to try and find how it all fits together. Doing the change in webadmin didn't help but not sure that I have undone all the changes.
Logged

Core:Asus P5P43TD, Intel core 2 quad Q9550, Inno 3D Nvidia 240 GT (DVI+VGA+HDMI), 2Gb ram,10/100/1000 2nd NIC
MD: Zotax Zbox ID41
bushtech
Veteran
***
Posts: 82


View Profile
« Reply #32 on: July 13, 2012, 08:37:08 pm »

Thanks to L3 my sound is working again.!

Some notes to get it working:

Add these 2 lines to /etc/modprobe.d/alsa-base.conf
options snd-hda-intel model=auto
options snd-hda-intel enable_msi=0 index=-2
hash one out and do the following:
reboot, and  run sudo aplay -l
Check that your nvidia is at card 0, then test with speakertest
If no sound go back to alsa-base.conf. remove hash from line and hash out the other line.
reboot, and  run sudo aplay -l, recheck and speakertest

You should have sound now. Grin

L3, please correct me if I've got it wrong.
Logged

Core:Asus P5P43TD, Intel core 2 quad Q9550, Inno 3D Nvidia 240 GT (DVI+VGA+HDMI), 2Gb ram,10/100/1000 2nd NIC
MD: Zotax Zbox ID41
tompin2
Veteran
***
Posts: 59


View Profile
« Reply #33 on: July 19, 2012, 02:26:39 am »

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



}
Logged
tompin2
Veteran
***
Posts: 59


View Profile
« Reply #34 on: July 19, 2012, 02:33:46 am »

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!

Logged
l3mce
NEEDS to work for LinuxMCE
***
Posts: 1031



View Profile
« Reply #35 on: July 19, 2012, 04:13:37 am »

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

I never quit... I just ping out.
tompin2
Veteran
***
Posts: 59


View Profile
« Reply #36 on: July 19, 2012, 05:52:20 am »

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  Undecided

 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
Logged
tompin2
Veteran
***
Posts: 59


View Profile
« Reply #37 on: July 19, 2012, 06:06:54 am »

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
Logged
l3mce
NEEDS to work for LinuxMCE
***
Posts: 1031



View Profile
« Reply #38 on: August 06, 2012, 02:25:07 am »

RayBe and I have created a wiki that I believe adresses these things in their totality.
http://wiki.linuxmce.org/index.php/NVidia_HDMI_Audio_on_LinuxMCE_1004

I would appreciate it if people would try it out and let me know how it works for them. I am specifically curious about whether or not the change is necessary to the template file, I don't think it is. I am also very curious if the last addition to the /usr/pluto/bin/LaunchOrbiter.sh script works to persist through reboots.

If it does not work, try:
aplay -Dplughw:0,7 /usr/share/sounds/pop.wav
where 7 is your device #

You might hear a small cartoonish pop when orbiter loads lol... but the test is to play a file and see that you have audio.

Thanks as always.
« Last Edit: August 06, 2012, 03:56:48 am by l3mce » Logged

I never quit... I just ping out.
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!