You are not logged in.
I moved over from "Dual Booting Windows 7 and AV-Linux 5.0.3", Its working as a dual booting system
Now I need the sound to work so I can get on with my mixing down of my Music. Please if you can Help
My system: Asus p8z68deluxe/gen3 w/Intel i7 chip and 16gb of ram, also a wd sata drv 1tb and a dvd/bluray writer cd player and a nVidia GeForce560 GTX Ti 1040 Graphics Card using the HDMI for Video and Sound going thru my Pioneer Receiver for speakers.
Operating system: DualBoot; Windows 7 and AV-Linux 5.0.3, But the only way I could get av5 to boot off the CD or to Install on my hard drive was to enter this bit of code “pci=noacpi acpi=off”without the quotation marks, why? I would like to know, But it seems to work.
But:
The Problem is av5, I have NO SOUND and av5 can't see the CD player, also av5 can't see my network printer HPOfficejet pro 8600 plus
Windows on thee other hand works great, and that's what my wife likes to use for her stuff. AV-Linux, well it runs?
I gave up my
Apple and ProTools becauseI saw Ardour and liked what I saw. Can I Get This To Work?
I would have to take baby steps - step by step instructions for I'm a Newbie
Thanks
Elvisb 
Last edited by Elvis (2012-04-03 18:57:06)
Offline
Hi,
yeah .. this is a very great problem
.. I know it from my setup for the HTPC (Home theater PC) .. and that's why I would recommend you to search the xbmc (http://xbmc.org/) forums (http://forum.xbmc.org/) since it's a very common and often discussed problem there .. setting up ALSA for HDMI is real torture 
The XBMC forum is very useful for every multimedia related software problem with windows and linux ...
Here one hint to get it very easy running with pulseaudio:
http://forum.xbmc.org/showthread.php?tid=119203
direct link ..
http://www.piggott.me.uk/blog/2011/03/2 … nd-ubuntu/
So long
LastCoder
PS: btw .. never heard about AV-Linux but sounds interesting too ..
Last edited by Lastcoder (2012-04-03 19:23:35)
Offline
I have the exact same card. If you are using the proprietary nvidia driver, pulse is not installed, and you have the hdmi output as your only sound card, you will have 4 sound devices installed: (0,3)(0,7)(0,8)(0,9). The one you want is (0,7) but unfortunately it will default to (0,3). There are three methods for fixing this, editing /etc/modprobe.d/alsa-base.conf, editing /etc/asound.conf, or making a ~/.asoundrc. The suggested method IMO is to use the .asoundrc, note that this will only pertain to the user who's home directory the file is placed in. Verify that the nvidia card is 0 by using
aplay -lIf it is, you can put this in ~/.asoundrc:
pcm.!default {
type hw
card 0
device 7
}
ctl.!default {
type hw
card 0
device 7
}If your HDMI card isn't card 0, you can ether change card 0 to card 1 or 2 or whatever it is, or you can go into your BIOS and disable the other sound cards. Once you think that you have configured everything correctly, you can restart the machine, or to save time you can just restart alsa from the command line:
sudo service alsa-utils stop
sudo alsa force-reload
sudo service alsa-utils startLast edited by mynis01 (2012-04-03 20:26:33)
Offline
lastcoder - Pulse Audio is out, I need to do multi tracking for mixing down music, thats why I need Ardour.
Nice fix but not the one for me.
mynis01 - I'll try this but it could take me a little time, I'm going to call a friend and have him help me with this, I'm a Newbie and I have cold feet. He can break this down for me, step by step so I don't make any misstakes.
my card is 0 and the four do show up 03 07 08 09
Offline
mynis01
I typed - gedit .asoundrc [Return] gedit came up with .asoundrc at the top, then I typed in;
pcm.!default {
type hw
card 0
device 7
}
ctl.!default {
type hw
card 0
device 7
}
When I was done I went to the dropdown menu "File" then "Save" and then "Exit" - then I Re-Booted
After it came back up I went into qjack and tried differant combo's and errors can't find jack
Last edited by Elvis (2012-04-04 00:31:21)
Offline
Please give us the output of
aplay -lOffline
Pulse Audio is out, I need to do multi tracking for mixing down music, thats why I need Ardour.
You can have pulse audio and jack installed at the same time. When you start up jack it will take over from pulse.
Also please post the errors you are getting from jack, the stuff that is in the message window should help explain what is going wrong.
I'm not sure what kind of performance you will get with that card though, do you use a dedicated input device for audio?
I gave up my Apple and ProTools because I saw Ardour and liked what I saw.
That may have been a bit hasty, you know Ardour runs on Macs as well right?
Audio recording on Linux is doable and it works great, but it is really nowhere near other platforms in terms of easy-to-set-up and usability (as I am sure you are aware right now).
Offline
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC889 Analog [ALC889 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC889 Digital [ALC889 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
I think that I have found the impossible task for Linux or do you think its possible? I'm a newbie so what do I know, But I do like AvLinux. If I get Familiar with Linux, well I think I'm going to drag some of my friends over to this side. Any recommendations on books that will help me.
Offline
Edit ~/.asoundrc
and replace 'card 0' by 'card 1'
save the file
sudo service alsa-utils restartWhat kernel version are you using?
uname -rDid you install the nvidia kernel module?
lsmod|grep nvidiahth
Last edited by xaos52 (2012-04-05 18:08:55)
bootinfoscript - emacs primer - I ♥ #!
Online
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC889 Analog [ALC889 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC889 Digital [ALC889 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
:~$ gedit .asoundrc
pcm.!default {
type hw
card 1
device 7
}
ctl.!default {
type hw
card 1
device 7
}
elvis@elvis-av:~$ uname -r
3.2.12-avl-1
Did you install the nvidia kernel module? YES
tried different combinations still no sound
Driver=Alsa
Dither=None
Audio=Dulplex
Input Device=hw:1
Output Device=hw:1.7
everything else is set to Defaults
Press"OK" and Start Jack (I also tried other combinations to as well) same thing (Error)
Error - JACK Audio Connection Kit
Could not connect to JACK server as client.
- Overall operation failed.
- Unable to connect to server.
Please check the messages window for more info.
MESSAGES:
16:07:05.460 Patchbay deactivated.
16:07:05.476 Statistics reset.
16:07:05.477 ALSA connection change.
16:07:35.650 JACK is starting...
16:07:35.651 /usr/bin/jackd -dalsa -r48000 -p1024 -n3 -D -Chw:1 -Phw:1,7
jackd 0.121.3
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
apparent rate = 48000
creating alsa driver ... hw:1,7|hw:1|1024|3|48000|0|0|nomon|swmeter|-|32bit
control device hw:1
16:07:35.666 JACK was started with PID=2702.
ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 3 periods
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: got smaller periods 2 than 3 for playback
ALSA: cannot configure playback channel
cannot load driver module alsa
16:07:35.674 JACK was stopped successfull
16:07:37.722 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
also I noticed that when I go to my terminal and type "alsamixer", the mixer does not come up.
All the messing around could I have messed up Jack and/or Alsa, can you reinstall just jack and/or Alsa?
Offline
ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
Well I'd guess the reason it is not working is that your card does not have any inputs, so is failing when you ask it to connect to these inputs.
Try changing from duplex to playback only.
Offline
I have changed from duplex to playback only still no sound
Have we gone where no Linux user has gone before?
Have we travel into Linux's dark abyss, with no light in sight?
With people like yourselves belonging to a vast / wide Linux
community, Linux will prevail. Strengths are in Numbers.
Am I allowed to ramble on?, Well I guess I'm just scared of
the unknown and you saying that it can't be done.
Offline
I know it might seem esoteric right now, but if you keep troubleshooting, you will eventually get things going the way you want. If you've got the time and patience for it that is (half the time I do not).
When you get stuck with something, take a look at the error messages, look for a relevant phrase, then google it. If you get stuck, then just post a question on the forums with as much info as you can.
In this case, we need more info to help. Does jack still display the same message? If it is different, what does it say now?
Offline
Perhaps simplifying things first, and adding components when the base is working is the way to go?
First thing it seems to me is get sound working using pure alsa. No jack, nor anything more complicated, just alsa.
If you can not get that working, then it becomes worriesome.
hth
bootinfoscript - emacs primer - I ♥ #!
Online
What xaos54 said, get vlc or some youtube videos playing through the hdmi port first, then we can worry about jack configs. I have the exact same video card as you do and have used it with JACK and ALSA on more than one occasion with both AVLinux and #!, so don't fret. The message
ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only modeis actually a warning, not an error. It doesn't indicate that JACK isn't going to start, it just means that you won't be able to use your hdmi port as a recording device.
Last edited by mynis01 (2012-04-06 14:15:50)
Offline
I only have one card in my computer and its the NVidia GeForce560 GTX Ti 1040 HDMI card.
When I bring up a Youtube Video w/out Jack or with Jack running still No Sound. Something seems to be blocking the sound from using the HDMI. When I run windows it see's everything. But I don't want all that crap thats on windows, I just want my sound on my AvLinux, I don't need to watch movies, I just want to hear.
Offline
Post output of
lspci -knn|grep -iA4 audio
cat /proc/asound/cardsplease
bootinfoscript - emacs primer - I ♥ #!
Online
Thank you for getting back to me and Helping
~$ lspci -knn|grep -iA4 audio
00:1b.0 Audio device [0403]: Intel Corporation Cougar Point High Definition Audio Controller [8086:1c20] (rev 05)
Subsystem: ASUSTeK Computer Inc. Device [1043:8418]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation Cougar Point PCI Express Root Port 1 [8086:1c10] (rev b5)
Kernel driver in use: pcieport
--
02:00.1 Audio device [0403]: nVidia Corporation Device [10de:0e0c] (rev a1)
Subsystem: eVga.com. Corp. Device [3842:1563]
Kernel driver in use: snd_hda_intel
04:00.0 USB Controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 04)
Subsystem: ASUSTeK Computer Inc. Device [1043:8413]
~$ cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xfad20000 irq 43
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfa080000 irq 18
By the way how did you get a picture to come up under your name?
Offline
You also have an onboard intel hdmi port on your motherboard, which also supports sound via hdmi. Try and disable it in the BIOS. Then try using the command "alsamixer" from the command line and make sure all of your hdmi channels are unmuted (ALSA mutes all channels by default usually, don't ask me why). Use mplayer, vlc, or some other media player that lets you manually select a sound card other than the one ALSA defaults to in order to test out the various outputs you have. Almost always with Nvidia cards, the right one will be device 7, so it will say something like "HDA Nvidia 0,7" or if you haven't yet disabled the intel card, it will be "HDA Nvidia 1,7".
Offline
@OP: To get a picture under your name, click on 'PROFILE' in the second line from the top, then 'avatar'...
bootinfoscript - emacs primer - I ♥ #!
Online
I tured off my on board sound, still no sound.
What is PCM? Alsa can't open it anyway because I don't think Alsa is working.
ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
I type "alsamixer" says it can't find it.
My ".asoundcr" is:
pmc. !default {
type hw
card 0
device 8
}
ctl.!default {
type hw
card 0
device 8
}
Last edited by Elvis (2012-04-07 19:55:36)
Offline
AVL might not come with the command line mixer installed. You can try and install the GUI one from the repos like this:
sudo apt-get update && sudo apt-get install alsamixerguiThe reason for suggesting the GUI one is that the cli one is part of alsa-utils, and you probably don't want to mess with any of AVL's default ALSA binaries. You need to use some kind of mixer to verify that the channels you are trying to use aren't muted, because that could be the cause of the problem you are having.
As I pointed out, that error message doesn't mean that ALSA isn't working, it shows up because your HDMI port is an output only, it can't be used for microphones and such. Thus it can be used for playback but it can not be used for capture.
Your .asoundrc should be pointing to device 7, not device 8.
If you want to get this working, you need to quit messing around with JACK for now. JACK sends sound output to ALSA or OSS devices, so if you can't get some kind of sound coming out of your ALSA device first, it's pointless to mess around with JACK. We know you aren't interested in watching youtube videos, it's just part of the troubleshooting procedure. Have you tried using vlc and specifing hdmi 0,7 as the device in the preferences? Once you get that part working, I can generate a working JACK configuration from my machine for you.
Also, PCM stands for "Pulse-code modulation" it's a way of representing analog signals as digital code. I wouldn't worry yourself with that for now though 
Offline
Once you get ALSA working without using JACK, you can implement these settings from the qjackctl setup tab:
or you can run JACK from the command line with the same settings using this command:
/usr/bin/jackd -p1024 -t2000 -dalsa -dhw:0 -r96000 -p1024 -n2 -D -Phw:0,7The annoying part about using JACK from the command line is, a lot of apps don't create connections to the JACK server without your intervention. You can use the patchage app in order to edit connections, but it's probably best for you to just use qjackctl for now.
Offline
:~$ su
Password:XXXX
:/home/elvis# sudo apt-get update && sudo apt-get install alsamixergui
and I've tried it without the "sudo" in front, if I don't do "su" then a password at the "main promp :~$" and I try and type "sudo apt-get update && sudo apt-get install alsamixergui" at the ":~$" it asks me for a password that I don't know.
This is what I get?
Err http://download.tuxfamily.org dev Release.gpg
Connection failed [IP: 88.191.250.18 80]
99% [Waiting for headers]
Tried running it again
Hit http://ftp.us.debian.org squeeze-proposed-updates/contrib i386 Packages
Hit http://mozilla.debian.net squeeze-backports/iceweasel-release i386 Packages
93% [Waiting for headers]
Last edited by Elvis (2012-04-08 00:54:08)
Offline
Do I need to reinstall alsa or the mixer? I don't think alsa is working, and if I do have to reinstall, the question would be, how do you reinstall? Synaptic Package Manager lets you delete or install, not reinstall. I would hate to have to reinstall av-linux all over again.
CHECK OUT PAGE TWO
Last edited by Elvis (2012-04-08 02:48:46)
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.