Re: No sound in Wheezy; Pulse audio through Nvidia graphics card to HDMI
How would I go about checking those? James On 24 March 2015 at 14:51, Eric Sharkey e...@lisaneric.org wrote: On Mon, Mar 23, 2015 at 6:31 PM, James Allsopp jamesaalls...@googlemail.com wrote: Sorry, didn't make myself clear, the sound card is an intel hda onboard and there's a small cable which takes this from the motherboard to the nvidia graphics card, which then connects to the HDMI cable. [] I've installed the nvidia drivers With cards like that, the drivers aren't involved and there is no software configuration required for the graphics card. The hardware takes any signal it receives on the SPDIF input and sends it to the HDMI output. If your hardware is working, whatever problem you're having is getting sound out of your SPDIF output on the Intel sound card and not related to anything nvidia or hdmi. Have you checked your mixer settings? Does it work without pulse audio? Eric
Re: No sound in Wheezy; Pulse audio through Nvidia graphics card to HDMI
On Tue, Mar 24, 2015 at 11:57 AM, James Allsopp jamesaalls...@googlemail.com wrote: How would I go about checking those? On the command line, alsamixer will give you an ncurses based mixer panel. If your outputs are muted or have 0% volume, you won't get sound. You can uninstall pulseaudio with: sudo dpkg --remove pulseaudio (You can always install it again if you want to.) If your audio works with pulseaudio uninstalled, but fails with it installed, then you'll know you have a pulseaudio problem. Eric -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cac73ar0wb_11rpftphcw6qhg3p1ozd8nb6sthyxtlaqj189...@mail.gmail.com
Re: No sound in Wheezy; Pulse audio through Nvidia graphics card to HDMI
On Mon, Mar 23, 2015 at 6:31 PM, James Allsopp jamesaalls...@googlemail.com wrote: Sorry, didn't make myself clear, the sound card is an intel hda onboard and there's a small cable which takes this from the motherboard to the nvidia graphics card, which then connects to the HDMI cable. [] I've installed the nvidia drivers With cards like that, the drivers aren't involved and there is no software configuration required for the graphics card. The hardware takes any signal it receives on the SPDIF input and sends it to the HDMI output. If your hardware is working, whatever problem you're having is getting sound out of your SPDIF output on the Intel sound card and not related to anything nvidia or hdmi. Have you checked your mixer settings? Does it work without pulse audio? Eric -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAC73aR1TvYV85SKmz6N-NCkZG_jLvnDY7sjOY=bipsnf4q1...@mail.gmail.com
No sound in Wheezy; Pulse audio through Nvidia graphics card to HDMI
Hi, Just reinstalled debian and are having lots of problems getting the sound to work through HDMI. I had it working but now it has just stopped. I'm watching the screen through the same HDMI so I presume hardware is good. Eventually I want to use this system to run MPD. Here's my setup as described by aplay; james@Hawaiian:~$ aplay -L null Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server default:CARD=Intel HDA Intel, ALC889A Analog Default Audio Device sysdefault:CARD=Intel HDA Intel, ALC889A Analog Default Audio Device front:CARD=Intel,DEV=0 HDA Intel, ALC889A Analog Front speakers surround40:CARD=Intel,DEV=0 HDA Intel, ALC889A Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, ALC889A Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, ALC889A Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0 HDA Intel, ALC889A Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0 HDA Intel, ALC889A Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=Intel,DEV=0 HDA Intel, ALC889A Digital IEC958 (S/PDIF) Digital Audio Output james@Hawaiian:~$ aplay -l List of PLAYBACK Hardware Devices card 0: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital] Subdevices: 0/1 Subdevice #0: subdevice #0 In my pulseaudio setup I added the first line here, and commented out the second. load-module module-alsa-sink device=hw:0,1 #load-module module-alsa-source device=hw:1,0 KDE is now giving me an error about internal devices removed; both output and capture on the pulse sound server. I'm not sure where I'm now going with this, so if anyone could help me debug this, I would greatly appreciate it. Thanks, James
Re: No sound in Wheezy; Pulse audio through Nvidia graphics card to HDMI
On Mon, Mar 23, 2015 at 9:41 AM, James Allsopp jamesaalls...@googlemail.com wrote: Hi, Just reinstalled debian and are having lots of problems getting the sound to work through HDMI. I had it working but now it has just stopped. I'm watching the screen through the same HDMI so I presume hardware is good. What kind of hardware is it? You've said nvidia but not which model. Here's my setup as described by aplay; james@Hawaiian:~$ aplay -L The fact that aplay -L never mentions NVidia in the CARD= sections should tell you that you have a problem. Does your kernel see an audio device associated with your card? It should look something like this in lspci: eddie% lspci | grep -i nvidia 01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 640] (rev a1) 01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1) Whatever you have for your PCI IDs for your graphics card, there should be a .1 device for the Audio Controller portion. If you don't see that, you may have an older card that doesn't support directing audio to HDMI with software. The older cards typically require a wire to connect the SPDIF output from the motherboard (or other) sound card to an SPDIF input on the graphics card. If you have that kind of card, check your cabling. Eric -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAC73aR2ST7vFcYB6gt19QNST+z8+aC7sREF=hbjrdpgn98e...@mail.gmail.com
Re: No sound in Wheezy; Pulse audio through Nvidia graphics card to HDMI
Included some more hardware information below, Thanks, James On 23 March 2015 at 21:26, Eric Sharkey e...@lisaneric.org wrote: On Mon, Mar 23, 2015 at 9:41 AM, James Allsopp jamesaalls...@googlemail.com wrote: Hi, Just reinstalled debian and are having lots of problems getting the sound to work through HDMI. I had it working but now it has just stopped. I'm watching the screen through the same HDMI so I presume hardware is good. What kind of hardware is it? You've said nvidia but not which model. Sorry, didn't make myself clear, the sound card is an intel hda onboard and there's a small cable which takes this from the motherboard to the nvidia graphics card, which then connects to the HDMI cable. These are shown in the lspci below. 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02) 00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02) 00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02) 00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02) 00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02) 00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02) 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02) 01:00.0 VGA compatible controller: NVIDIA Corporation G96 [GeForce 9500 GT] (rev a1) I've installed the nvidia drivers; here's the lsmod Module Size Used by cryptd 14517 0 aes_x86_64 16843 3 aes_generic33026 1 aes_x86_64 ppdev 12763 0 lp 17149 0 nfsd 216181 2 nfs 308353 0 nfs_acl12511 2 nfs,nfsd auth_rpcgss37143 2 nfs,nfsd fscache36739 1 nfs lockd 67306 2 nfs,nfsd sunrpc173730 6 lockd,auth_rpcgss,nfs_acl,nfs,nfsd loop 22641 0 hid_logitech 17472 0 ff_memless 12708 1 hid_logitech usblp 17343 0 snd_hda_codec_realtek 188851 1 snd_usb_audio 89083 0 joydev 17266 0 snd_usbmidi_lib23369 1 snd_usb_audio snd_hda_intel 26259 3 snd_seq_midi 12848 0 snd_seq_midi_event 13316 1 snd_seq_midi hid_logitech_dj17313 0 snd_hda_codec 78031 2 snd_hda_intel,snd_hda_codec_realtek usbhid 36418 2 hid_logitech_dj,hid_logitech snd_rawmidi23060 2 snd_seq_midi,snd_usbmidi_lib arc4 12458 2 hid81372 3 usbhid,hid_logitech_dj,hid_logitech gspca_ov53413440 0 gspca_main 22764 1 gspca_ov534 videodev 70889 1 gspca_main v4l2_compat_ioctl3216655 1 videodev media 18148 1 videodev nvidia 10492298 38 ath5k 129406 0 snd_hwdep 13186 2 snd_hda_codec,snd_usb_audio snd_pcm68083 3 snd_hda_codec,snd_hda_intel,snd_usb_audio snd_page_alloc 13003 2 snd_pcm,snd_hda_intel snd_seq45126 2 snd_seq_midi_event,snd_seq_midi ath21370 1 ath5k sg 25874 0 snd_seq_device 13176 3 snd_seq,snd_rawmidi,snd_seq_midi sr_mod 21899 0 snd_timer 22917 2 snd_seq,snd_pcm cdrom 35401 1 sr_mod snd52893 17 snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_hwdep,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_usbmidi_lib,snd_usb_audio,snd_hda_codec_realtek firewire_ohci 35772 0 mac80211 192806 1 ath5k ata_generic12479 0 cfg80211 137243 3 mac80211,ath,ath5k acpi_cpufreq 12935 0 firewire_core 48449 1 firewire_ohci i2c_i801 16870 0 psmouse69265 0 soundcore 13065 1 snd i2c_core 23876 3 i2c_i801,nvidia,videodev evdev 17562 15 serio_raw 12931 0 pcspkr 12579 0 parport_pc 22364 1 mperf 12453 1 acpi_cpufreq rfkill 19012 2 cfg80211 crc_itu_t 12347 1 firewire_core pata_jmicron 12472 0 uhci_hcd 26865 0 r8169 47008 0 mii
Re: No sound on Wheezy with HDA Intel PCH, ALC887-VD, MB Gygabyte Z77-DS3H
Ralf Mardorf ralf.mardorf at alice-dsl.net writes: On Tue, 2013-07-09 at 08:36 +, Borislav Sabev wrote: Next step would be compiling upstream alsa or? I would do this for testing purpose, or build a current kernel with current version of alsa included. Installing the latest ALSA on my current kernel (3.2.0) worked flawlessly so far. I did notice that after the first restart of the system the audio worked for some time and then stopped. This hasn't occured again so far but I am testing to see what will happen further. If the problem continues I may try with the 3.9 kernel. I uset the alsa-compile.sh script from alsa-project.org however it has a bug. On line 457 the script is trying to check if the current kernel source package (linux-source-3.2) is installed however the script is using: linux-source-$(uname --kernel-release | sed 's/-.*$//') to match against the kernel version. This will output: 3.2.N However in Debian the kernel source packege is: linux-source-3.2 or linux-source-3.9 so the pattern is 3.N. I changed the script to suit my needs locally - I actually hardcoded it to my package name and installed. I am trying to register with the ALSA project and report this bug but am unable to since I can't seem to find the answer to the captcha question... Anyway a correct sed regex in this case would be: uname --kernel-release | sed 's/.[0-9]-.*$//' in order to omit the last . (dot) and digit. Thanks for your help. Cheers, Borislav. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/loom.20130710t095357-...@post.gmane.org
No sound on Wheezy with HDA Intel PCH, ALC887-VD, MB Gygabyte Z77-DS3H
Hello to all. I am posting this to alsa-user and debian-user simultaneously, hope it is not a violation of the rules. It now seems that my original email to this newsgroup was not posted. I am now sending it through gmane. I have no sound of my freshly installed workstation. I did a trageted install. As listed: MB is: Gygabyte Z77-DS3H Sound Card is: ALC887-VD When I launch alsamixer it seems to work fine however when I try to switch sound cards via F6 and choose 0 HDA Intel PCH it exits and prints cannot load mixer controls: Invalid argument During boot the following line appears 36 times in my boot log: amixer: Mixer hw:0 load error: Invalid argument An additional warning I can see in the boot.log is: PulseAudio configured for per-user sessions ... Some more information: - I am a part of the audio group - ALSA Driver version is: 1.0.24. - 'aplay -l, aplay some WAV file, cat /proc/asound/cards , cat /proc/asound/modules, cat /proc/asound/card*/codec* | grep -i code': http://pastebin.com/85HU7TLV 'lspci -knnvv': http://pastebin.com/uaL65eR3 'amixer' output: http://pastebin.com/xXSp46x6 'lsmod | grep snd': http://pastebin.com/ZYJmc7s3 I tried to install (update) alsa from wheezy-backports but it seems that the version there is the same as the one ins stable? Next step would be compiling upstream alsa or? Any Ideas? I've been fiddling around with this for a day now an thought it is time to post for help. Do you need any additional info? How can anyone help me? :) Thanks in advance. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/loom.20130709t10333...@post.gmane.org
Re: No sound on Wheezy with HDA Intel PCH, ALC887-VD, MB Gygabyte Z77-DS3H
On Tue, 2013-07-09 at 08:36 +, Borislav Sabev wrote: Next step would be compiling upstream alsa or? I would do this for testing purpose, or build a current kernel with current version of alsa included. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1373366801.694.20.camel@archlinux
Re: Video and sound in Wheezy: Howto?
On Wed, 08 May 2013 20:34:23 -0600 Paul Condon pecond...@gmail.com wrote: I installed Wheezy on a HP computer which had been running Squeeze about a week or two ago. I've done installs of Debian many times before on other hardware, and earlier versions of Debian. This install went very smoothly, but ... I just noticed today that I can't play video clips in Iceweasel, no moving picture and no sound. And in Google Chrome, I can get the moving picture, but no sound. When it was running Squeeze, video clips were working fine, but I recall there was lots of magic in getting Squeeze video to work long ago. What kind of video clips? I suspect you may need to install flashplugin-nonfree for flash support on the web. This time I was hoping for a 'automagic' install, and until today when I discovered the video problem it had been fully automagic. What should I look for? Perhaps a package dependency is missing. Or what? What is the names of the video/sound packages that are used with Xfce4? (Come to think of it, I was running Gnome2 under Squeeze (and I don't remember tha package names from then)) As I remember, there were many competing video/sound packages with not much to distinguish them except that some worked for some people and others worked for other people. What is the situation now? I use vlc myself for audio and video. It will play most anything AV related. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130509005833.4e6d2...@debian.ok.shawcable.net
Re: Video and sound in Wheezy: Howto?
On Thu, 2013-05-09 at 00:58 -0700, Alan Ianson wrote: What kind of video clips? I suspect you may need to install flashplugin-nonfree for flash support on the web. I don't use flash anymore, it anyway is outdated and there will be no new versions for Linux released anymore. The OP's install likely is missing codecs: http://wiki.debian.org/MultimediaCodecs -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1368089982.3247.17.camel@archlinux
Video and sound in Wheezy: Howto?
I installed Wheezy on a HP computer which had been running Squeeze about a week or two ago. I've done installs of Debian many times before on other hardware, and earlier versions of Debian. This install went very smoothly, but ... I just noticed today that I can't play video clips in Iceweasel, no moving picture and no sound. And in Google Chrome, I can get the moving picture, but no sound. When it was running Squeeze, video clips were working fine, but I recall there was lots of magic in getting Squeeze video to work long ago. This time I was hoping for a 'automagic' install, and until today when I discovered the video problem it had been fully automagic. What should I look for? Perhaps a package dependency is missing. Or what? What is the names of the video/sound packages that are used with Xfce4? (Come to think of it, I was running Gnome2 under Squeeze (and I don't remember tha package names from then)) As I remember, there were many competing video/sound packages with not much to distinguish them except that some worked for some people and others worked for other people. What is the situation now? TIA -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/518b0b2f.9000...@gmail.com
Re: No sound on Wheezy
On Thu, Oct 25, 2012 at 2:00 PM, Darac Marjal mailingl...@darac.org.uk wrote: On Thu, Oct 25, 2012 at 11:45:35AM +, Artifex Maximus wrote: On Wed, Oct 24, 2012 at 9:02 AM, Andrei POPESCU andreimpope...@gmail.com wrote: On Mi, 24 oct 12, 10:22:57, Artifex Maximus wrote: # aplay -L default Playback/recording through the PulseAudio sound server sysdefault:CARD=Intel HDA Intel, ALC887-VD Analog Default Audio Device ... # speaker-test -c 2 -D sysdefault speaker-test 1.0.25 Playback device is sysdefault Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave Playback open error: -16,Device or resource busy It seems like pulseaudio is interfering. Try stopping it first. Thanks. I've tried but still no sound even I got no resource busy error this time. Just to be sure I reboot into Windows and there was sound so my audio card and the connection to the loudspeaker is good. Having recently run into this myself, try the following: # speaker-test -t wav -c 2 -D hw:0,0 # speaker-test -t wav -c 2 -D hw:1,0 # speaker-test -t wav -c 2 -D hw:2,0 (You have three devices, but perhaps not all of them are (say) capable of playing PCM sound. In my case, I had an analog and a digital output and the wrong one was device 0). Thank you. Where those hw numbers come from? I tried the following under Gnome: # speaker-test -t wav -c 2 -D hw:0,0 speaker-test 1.0.25 Playback device is hw:0,0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Playback open error: -16,Device or resource busy # /etc/init.d/pulseaudio stop [warn] PulseAudio configured for per-user sessions ... (warning). # speaker-test -t wav -c 2 -D hw:0,0 speaker-test 1.0.25 Playback device is hw:0,0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Playback open error: -16,Device or resource busy # speaker-test -t wav -c 2 -D hw:1,0 speaker-test 1.0.25 Playback device is hw:1,0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Playback open error: -2,No such file or directory # speaker-test -t wav -c 2 -D hw:2,0 speaker-test 1.0.25 Playback device is hw:2,0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Playback open error: -2,No such file or directory Just wondering what change does in second number: # speaker-test -t wav -c 2 -D hw:0,1 speaker-test 1.0.25 Playback device is hw:0,1 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Rate set to 48000Hz (requested 48000Hz) Buffer size range from 64 to 16384 Period size range from 32 to 8192 Using max buffer size 16384 Periods = 4 was set period_size = 4096 was set buffer_size = 16384 0 - Front Left 1 - Front Right Time per period = 2,730392 0 - Front Left 1 - Front Right Time per period = 2,986731 0 - Front Left 1 - Front Right Still no sound. So no success. # aplay -l List of PLAYBACK Hardware Devices card 0: Intel [HDA Intel], device 0: ALC887-VD Analog [ALC887-VD Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC887-VD Digital [ALC887-VD Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 I think this means that alsa detect my audio device. Bye, a -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/capkuxvgpnseiy4vdotd_urdw4s2ccpby4_tju9ls92uz176...@mail.gmail.com
Re: No sound on Wheezy
On Fri, Oct 26, 2012 at 01:53:05PM +0200, Artifex Maximus wrote: On Thu, Oct 25, 2012 at 2:00 PM, Darac Marjal mailingl...@darac.org.uk wrote: On Thu, Oct 25, 2012 at 11:45:35AM +, Artifex Maximus wrote: On Wed, Oct 24, 2012 at 9:02 AM, Andrei POPESCU andreimpope...@gmail.com wrote: On Mi, 24 oct 12, 10:22:57, Artifex Maximus wrote: # aplay -L default Playback/recording through the PulseAudio sound server sysdefault:CARD=Intel HDA Intel, ALC887-VD Analog Default Audio Device ... # speaker-test -c 2 -D sysdefault speaker-test 1.0.25 Playback device is sysdefault Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave Playback open error: -16,Device or resource busy It seems like pulseaudio is interfering. Try stopping it first. Thanks. I've tried but still no sound even I got no resource busy error this time. Just to be sure I reboot into Windows and there was sound so my audio card and the connection to the loudspeaker is good. Having recently run into this myself, try the following: # speaker-test -t wav -c 2 -D hw:0,0 # speaker-test -t wav -c 2 -D hw:1,0 # speaker-test -t wav -c 2 -D hw:2,0 (You have three devices, but perhaps not all of them are (say) capable of playing PCM sound. In my case, I had an analog and a digital output and the wrong one was device 0). Thank you. Where those hw numbers come from? I tried the following under Gnome: The parameters to hw:x,y are X = Card number and Y = Device on that card. I think I misread your output of aplay -l earlier. Looking at the one at the end of this email, I see you actually have hw:0,0 (the ALC887-VD Analog), hw:0,1 (the ALC887-VD Digital) and hw:1,3 (the HDMI 0). Hopefully you can see how I've worked out those device names from the output? As for the number to -c, I chose 2 because almost all devices support stereo. You may try a higher number if you want to test more speakers (e.g. rear speakers) [failures cut] Just wondering what change does in second number: # speaker-test -t wav -c 2 -D hw:0,1 speaker-test 1.0.25 Playback device is hw:0,1 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Rate set to 48000Hz (requested 48000Hz) Buffer size range from 64 to 16384 Period size range from 32 to 8192 Using max buffer size 16384 Periods = 4 was set period_size = 4096 was set buffer_size = 16384 0 - Front Left 1 - Front Right Time per period = 2,730392 0 - Front Left 1 - Front Right Time per period = 2,986731 0 - Front Left 1 - Front Right Still no sound. So no success. OK, but as far as ALSA's concerned, it's not playing out of your digital device. If you have an optical cable, it'll be using that. If you're wanting to use the analog output (i.e. normal, metal cables), then we still have an issue. I notice that pulseaudio gave a warning when you tried to stop it; pulseaudio -k should kill any user-initiated daemons. To be sure, try running sudo lsof|egrep 'snd|dsp|NAME' to see if anything else is using your sound device. # aplay -l List of PLAYBACK Hardware Devices card 0: Intel [HDA Intel], device 0: ALC887-VD Analog [ALC887-VD Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC887-VD Digital [ALC887-VD Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 I think this means that alsa detect my audio device. Bye, a -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/capkuxvgpnseiy4vdotd_urdw4s2ccpby4_tju9ls92uz176...@mail.gmail.com signature.asc Description: Digital signature
Re: No sound on Wheezy
On Vi, 26 oct 12, 13:53:05, Artifex Maximus wrote: Thank you. Where those hw numbers come from? They are hidden in the output of 'aplay -l' ;) I tried the following under Gnome: # speaker-test -t wav -c 2 -D hw:0,0 speaker-test 1.0.25 Playback device is hw:0,0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Playback open error: -16,Device or resource busy # /etc/init.d/pulseaudio stop [warn] PulseAudio configured for per-user sessions ... (warning). # speaker-test -t wav -c 2 -D hw:0,0 speaker-test 1.0.25 Playback device is hw:0,0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Playback open error: -16,Device or resource busy Something else is keeping this output locked. Try 'lsof | grep snd' or reboot in recovery mode. # speaker-test -t wav -c 2 -D hw:1,0 speaker-test 1.0.25 Playback device is hw:1,0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Playback open error: -2,No such file or directory # speaker-test -t wav -c 2 -D hw:2,0 speaker-test 1.0.25 Playback device is hw:2,0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Playback open error: -2,No such file or directory Just wondering what change does in second number: # speaker-test -t wav -c 2 -D hw:0,1 speaker-test 1.0.25 Playback device is hw:0,1 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Rate set to 48000Hz (requested 48000Hz) Buffer size range from 64 to 16384 Period size range from 32 to 8192 Using max buffer size 16384 Periods = 4 was set period_size = 4096 was set buffer_size = 16384 0 - Front Left 1 - Front Right Time per period = 2,730392 0 - Front Left 1 - Front Right Time per period = 2,986731 0 - Front Left 1 - Front Right Still no sound. So no success. Yes, since this is a digital output. # aplay -l List of PLAYBACK Hardware Devices card 0: Intel [HDA Intel], device 0: ALC887-VD Analog [ALC887-VD Analog] ^^ ^^^ Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC887-VD Digital [ALC887-VD Digital] ^^ ^^^ Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] ^^ ^^^ Subdevices: 1/1 Subdevice #0: subdevice #0 I think this means that alsa detect my audio device. Yes. I'd say: Step 1: stop/get rid of whatever is blocking your analog output Step 2: if step 1. was not enough play around with the controls in alsamixer (or post output of 'amixer' for suggestions). Sometimes a harmless looking control is muted or has 0 (or too low) volume. Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: No sound on Wheezy
On Fri, Oct 26, 2012 at 2:20 PM, Darac Marjal mailingl...@darac.org.uk wrote: On Fri, Oct 26, 2012 at 01:53:05PM +0200, Artifex Maximus wrote: Thank you. Where those hw numbers come from? I tried the following under Gnome: The parameters to hw:x,y are X = Card number and Y = Device on that card. I think I misread your output of aplay -l earlier. Looking at the one at the end of this email, I see you actually have hw:0,0 (the ALC887-VD Analog), hw:0,1 (the ALC887-VD Digital) and hw:1,3 (the HDMI 0). Hopefully you can see how I've worked out those device names from the output? Thanks for make that clear. If you're wanting to use the analog output (i.e. normal, metal cables), then we still have an issue. I notice that pulseaudio gave a warning when you tried to stop it; pulseaudio -k should kill any user-initiated daemons. To be sure, try running sudo lsof|egrep 'snd|dsp|NAME' to see if anything else is using your sound device. I expand the command a little and the result is: # lsof +c0 | egrep 'snd|dsp' | cut -d' ' -f1 | sort | uniq alsa-sink alsa-source dconf gconf-helper gdbus gmain gnome-settings- gnome-shell pulseaudio sd_dummy threaded-ml I changed my pulseaudio to system mode instead of user mode in /etc/default/pulseaudio. Now I have Built-in audio under system audio settings and sound is working. In user mode there was no sound. Permission problem? Do I need some special permission to use audio device under pulseaudio? Previously I reboot my system into single user mode and was able to use speaker-test successfully. So ALSA definitely detect my card. alsamixer master volume was 0 so I need to change before. Under Gnome every audio slider is on max even alsamixer one. The output under single user mode: Hardware PCM card 0 'HDA Intel' device 0 subdevice 0 Its setup is: stream : PLAYBACK access : RW_INTERLEAVED format : S16_LE subformat: STD channels : 2 rate : 48000 exact rate : 48000 (48000/1) msbits : 16 buffer_size : 16384 period_size : 4096 period_time : 85333 tstamp_mode : NONE period_step : 1 avail_min: 4096 period_event : 0 start_threshold : 16384 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 boundary : 4611686018427387904 appl_ptr : 0 hw_ptr : 0 speaker-test 1.0.25 Playback device is hw:0,0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Rate set to 48000Hz (requested 48000Hz) Buffer size range from 64 to 16384 Period size range from 32 to 8192 Using max buffer size 16384 Periods = 4 was set period_size = 4096 was set buffer_size = 16384 0 - Front Left 1 - Front Right In short. Under single user mode I am able to use speaker-test after setting master volume to non zero value. Under Gnome there is sound in system mode pulseaudio but no sound in non system mode. Bye, a -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/capkuxvfspooo6tlwqwtc04euy94ekk0t--mv4_gegjavw58...@mail.gmail.com
Re: No sound on Wheezy
On Vi, 26 oct 12, 15:13:23, Artifex Maximus wrote: I changed my pulseaudio to system mode instead of user mode in /etc/default/pulseaudio. Now I have Built-in audio under system audio settings and sound is working. In user mode there was no sound. Permission problem? Do I need some special permission to use audio device under pulseaudio? No idea if pulseaudio is using system groups (not familiar with pulseaudio), but I would check that your user is a member of group 'audio'. AFAIK this is still needed for plain alsa. Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: No sound on Wheezy
Everytime my sound failed not work, I would try: # alsactl init Thanks, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/508aa3b1.7090...@gmail.com
Re: No sound on Wheezy
On Wed, Oct 24, 2012 at 9:02 AM, Andrei POPESCU andreimpope...@gmail.com wrote: On Mi, 24 oct 12, 10:22:57, Artifex Maximus wrote: # aplay -L default Playback/recording through the PulseAudio sound server sysdefault:CARD=Intel HDA Intel, ALC887-VD Analog Default Audio Device ... # speaker-test -c 2 -D sysdefault speaker-test 1.0.25 Playback device is sysdefault Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave Playback open error: -16,Device or resource busy It seems like pulseaudio is interfering. Try stopping it first. Thanks. I've tried but still no sound even I got no resource busy error this time. Just to be sure I reboot into Windows and there was sound so my audio card and the connection to the loudspeaker is good. Bye, a -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/capkuxvemejayzq_wzntwb83dqbwyt+0l-g+0g3omfxp0xn_...@mail.gmail.com
Re: No sound on Wheezy
On Thu, Oct 25, 2012 at 11:45:35AM +, Artifex Maximus wrote: On Wed, Oct 24, 2012 at 9:02 AM, Andrei POPESCU andreimpope...@gmail.com wrote: On Mi, 24 oct 12, 10:22:57, Artifex Maximus wrote: # aplay -L default Playback/recording through the PulseAudio sound server sysdefault:CARD=Intel HDA Intel, ALC887-VD Analog Default Audio Device ... # speaker-test -c 2 -D sysdefault speaker-test 1.0.25 Playback device is sysdefault Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave Playback open error: -16,Device or resource busy It seems like pulseaudio is interfering. Try stopping it first. Thanks. I've tried but still no sound even I got no resource busy error this time. Just to be sure I reboot into Windows and there was sound so my audio card and the connection to the loudspeaker is good. Having recently run into this myself, try the following: # speaker-test -t wav -c 2 -D hw:0,0 # speaker-test -t wav -c 2 -D hw:1,0 # speaker-test -t wav -c 2 -D hw:2,0 (You have three devices, but perhaps not all of them are (say) capable of playing PCM sound. In my case, I had an analog and a digital output and the wrong one was device 0). If you get one of those to work, you can tell ALSA to use that device as default by adding the following to /etc/asound.conf (assuming device 1 was the one that worked) #8 pcm.!default { type hw card 1 } ctl !default { type hw card 1 } #8 This should also (I think) route pulseaudio to the correct device, too. Bye, a -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/capkuxvemejayzq_wzntwb83dqbwyt+0l-g+0g3omfxp0xn_...@mail.gmail.com signature.asc Description: Digital signature
No sound on Wheezy
Hello! I am using a Wheezy 64 bit on a machine with integrated audio and ATI 5570 video card with HDMI (but I am using DVI-HDMI converter). Gnome audio find only HDMI audio which I cannot use because of converter. I search on Google find some solution and found how to disable HDMI audio. I add the following to the modprobe blacklist snd_hda_intel blacklist snd_hda_codec_hdmi Next start my system did not detect the HDMI audio and did not detect the internal audio as well so I have only Dummy Output for sound which is bad. I try to blacklist only the snd_hda_coded_hdmi but no success. What is the problem? I am using fglrx for video which was an another adventurous task to get work. lspci -v extract for audio: 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01) Subsystem: ASUSTeK Computer Inc. Device 8445 Flags: bus master, fast devsel, latency 0, IRQ 44 Memory at feafc000 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 2 Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 Capabilities: [100] Virtual Channel Capabilities: [130] Root Complex Link Kernel driver in use: snd_hda_intel 01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Redwood HDMI Audio [Radeon HD 5000 Series] Subsystem: Hightech Information System Ltd. Device aa60 Flags: bus master, fast devsel, latency 0, IRQ 45 Memory at febf8000 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 ? Capabilities: [150] Advanced Error Reporting Kernel driver in use: snd_hda_intel # cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xfeafc000 irq 44 1 [U0x46d0x824]: USB-Audio - USB Device 0x46d:0x824 USB Device 0x46d:0x824 at usb-:00:1d.7-4, high speed 2 [Generic]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfebf8000 irq 45 # cat /proc/asound/modules 0 snd_hda_intel 1 snd_usb_audio 2 snd_hda_intel # cat /proc/asound/hwdep 00-00: HDA Codec 0 02-00: HDA Codec 0 # cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.24. # cat /proc/asound/card0/pcm0c/info card: 0 device: 0 subdevice: 0 stream: CAPTURE id: ALC887-VD Analog name: ALC887-VD Analog subname: subdevice #0 class: 0 subclass: 0 subdevices_count: 1 subdevices_avail: 1 # cat /proc/asound/card2/codec#0 Codec: ATI ID aa01 Address: 0 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x1002aa01 Subsystem Id: 0x00aa0100 Revision Id: 0x100200 No Modem Function Group found Default PCM: rates [0x70]: 32000 44100 48000 bits [0x2]: 16 formats [0x1]: PCM Default Amp-In caps: N/A Default Amp-Out caps: N/A GPIO: io=0, o=0, i=0, unsolicited=0, wake=0 Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital Pincap 0x0094: OUT Detect HDMI Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Connection: 1 0x02 dmesg: [5.585011] usbcore: registered new interface driver snd-usb-audio [5.668845] snd_hda_intel :00:1b.0: PCI INT A - GSI 21 (level, low) - IRQ 21 [5.668886] snd_hda_intel :00:1b.0: irq 44 for MSI/MSI-X [5.668908] snd_hda_intel :00:1b.0: setting latency timer to 64 [5.729542] hda_codec: ALC887-VD: BIOS auto-probing. [5.736767] input: HDA Intel Headphone as /devices/pci:00/:00:1b.0/sound/card0/input5 [5.737778] snd_hda_intel :01:00.1: PCI INT B - GSI 17 (level, low) - IRQ 17 [5.737819] snd_hda_intel :01:00.1: irq 45 for MSI/MSI-X [5.737836] snd_hda_intel :01:00.1: setting latency timer to 64 I am not using audio every day but I think that I lost audio when installed fglrx but not sure. The USB audio is related to my webcam. I am looking for some solution probably others have same problem. Bye, a -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAPkuXvE0=kjeq8wAM=4rca5pnixdu-fud4spvqcpxt7uvm2...@mail.gmail.com
Re: No sound on Wheezy
On Mi, 24 oct 12, 09:38:08, Artifex Maximus wrote: Hello! I am using a Wheezy 64 bit on a machine with integrated audio and ATI 5570 video card with HDMI (but I am using DVI-HDMI converter). Gnome audio find only HDMI audio which I cannot use because of converter. I search on Google find some solution and found how to disable HDMI audio. I add the following to the modprobe blacklist snd_hda_intel blacklist snd_hda_codec_hdmi Instead of blacklisting I would try to route the audio through the non-HDMI device, if one exists. 'aplay -L' will show you all devices to route audio and you can test them one by one with speaker-test -c 2 -D device Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: No sound on Wheezy
On Wed, Oct 24, 2012 at 10:06 AM, Andrei POPESCU andreimpope...@gmail.com wrote: On Mi, 24 oct 12, 09:38:08, Artifex Maximus wrote: I am using a Wheezy 64 bit on a machine with integrated audio and ATI 5570 video card with HDMI (but I am using DVI-HDMI converter). Gnome audio find only HDMI audio which I cannot use because of converter. I search on Google find some solution and found how to disable HDMI audio. I add the following to the modprobe blacklist snd_hda_intel blacklist snd_hda_codec_hdmi Instead of blacklisting I would try to route the audio through the non-HDMI device, if one exists. 'aplay -L' will show you all devices to route audio and you can test them one by one with speaker-test -c 2 -D device Thanks for your answer. No sound on speaker even speaker-test says so. # aplay -L default Playback/recording through the PulseAudio sound server sysdefault:CARD=Intel HDA Intel, ALC887-VD Analog Default Audio Device front:CARD=Intel,DEV=0 HDA Intel, ALC887-VD Analog Front speakers surround40:CARD=Intel,DEV=0 HDA Intel, ALC887-VD Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, ALC887-VD Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, ALC887-VD Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0 HDA Intel, ALC887-VD Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0 HDA Intel, ALC887-VD Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=Intel,DEV=0 HDA Intel, ALC887-VD Digital IEC958 (S/PDIF) Digital Audio Output # speaker-test -c 2 -D default speaker-test 1.0.25 Playback device is default Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 96 to 1048576 Period size range from 32 to 349526 Using max buffer size 1048576 Periods = 4 was set period_size = 262144 was set buffer_size = 1048576 0 - Front Left 1 - Front Right Time per period = 12,492867 0 - Front Left # speaker-test -c 2 -D sysdefault speaker-test 1.0.25 Playback device is sysdefault Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave Playback open error: -16,Device or resource busy # speaker-test -c 2 -D front speaker-test 1.0.25 Playback device is front Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise Playback open error: -16,Device or resource busy Same error for other devices. As background information. Basically I have problem with my Windows XP ATI driver with HDMI cable as cannot set overscan right. Therefore I need to use DVI-HDMI converter. My monitor have audio output and able to output audio from selected HDMI (I am using my PS3 with that way) but because of XP driver problem I cannot use pure HDMI for Desktop PC. My bad but looking for other solution on Debian side. If I am remember correctly Debian was able to handle overscan perfectly on pure HDMI setup. Bye, a -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/capkuxvf4a-myw4fweym0gpzbdybmgi2bb0c4sa9mhermycn...@mail.gmail.com
Re: No sound on Wheezy
On Mi, 24 oct 12, 10:22:57, Artifex Maximus wrote: # aplay -L default Playback/recording through the PulseAudio sound server sysdefault:CARD=Intel HDA Intel, ALC887-VD Analog Default Audio Device ... # speaker-test -c 2 -D default speaker-test 1.0.25 Playback device is default Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 96 to 1048576 Period size range from 32 to 349526 Using max buffer size 1048576 Periods = 4 was set period_size = 262144 was set buffer_size = 1048576 0 - Front Left 1 - Front Right Time per period = 12,492867 0 - Front Left # speaker-test -c 2 -D sysdefault speaker-test 1.0.25 Playback device is sysdefault Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave Playback open error: -16,Device or resource busy It seems like pulseaudio is interfering. Try stopping it first. Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature