[SOLVED] No sound on debian when connect video card
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was able to get a heat sink for my video card however when I connect it I lose sound on my PC.
I'm using a creative sound card
Ivan
$ aplay -L
default
Playback/recording through the PulseAudio sound server
sysdefault:CARD=Intel
HDA Intel, STAC92xx Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, STAC92xx Digital
IEC958 (S/PDIF) Digital Audio Output
sysdefault:CARD=CA0106
CA0106, CA0106
Default Audio Device
front:CARD=CA0106,DEV=0
CA0106, CA0106
Front speakers
rear:CARD=CA0106,DEV=0
CA0106, CA0106
Rear speakers
center_lfe:CARD=CA0106,DEV=0
CA0106, CA0106
Center and Subwoofer speakers
side:CARD=CA0106,DEV=0
CA0106, CA0106
Side speakers
surround40:CARD=CA0106,DEV=0
CA0106, CA0106
4.0 Surround output to Front and Rear speakers
surround41:CARD=CA0106,DEV=0
CA0106, CA0106
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CA0106,DEV=0
CA0106, CA0106
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CA0106,DEV=0
CA0106, CA0106
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CA0106,DEV=0
CA0106, CA0106
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CA0106,DEV=0
CA0106, CA0106
IEC958 (S/PDIF) Digital Audio Output
Last edited by crfr33r1d3r; 08-07-2013 at 10:14 AM.
Reason: Attcah file output
I had this with a hdmi capable video card, The video card has a soundcard, and plays out on hdmi. That becomes dsp0 and takes over, but you've probably no speakers on that. The real soundcard is dsp1.
I think I got out of it by doing a tweak in /etc/modprobe.d/sound.conf The trick is to get the sound card module loaded when it goes looking for the video one (Which usually is first in a bootup)
A Line like
preinstall module1 /sbin/modprobe -i module2
where module1 is the video and module2 is the sound module. You can check this is the issue with
ls -l /dev/dsp* There is some way of piping audio to each card, and /dev/dsp was supposed to be a summing point for all audio like /dev/mounse for all mice/mouses/meece(what is the plural anyhow?). I think some distros take shortcuts and just make /dev/dsp0 actually as /dev/dsp.
:~$ ls -l /dev/d*
crw-rw---T+ 1 root audio 14, 25 Aug 7 10:39 /dev/dmmidi1
lrwxrwxrwx 1 root root 3 Aug 7 10:39 /dev/dvd -> sr0
lrwxrwxrwx 1 root root 3 Aug 7 10:39 /dev/dvdrw -> sr0
There is no /etc/modprobe.d/sound.conf file,
:~$ ls /etc/modprobe.d
alsa-base-blacklist.conf alsa-base.conf fbdev-blacklist.conf i915-kms.conf radeon-kms.conf
If file needs to be created so loading modules are manually mounted instead of normal boot modules, how should the file look like?
_________________________________________________________________________________
There are none pci modules installed on the PC whatsoever:
:~$ ls -l /lib/modules/3.2.*-*-***-pae
total 2952
drwxr-xr-x 10 root root 4096 Oct 14 2012 kernel
-rw-r--r-- 1 root root 697991 Oct 14 2012 modules.alias
-rw-r--r-- 1 root root 683886 Oct 14 2012 modules.alias.bin
-rw-r--r-- 1 root root 3003 Jul 23 2012 modules.builtin
-rw-r--r-- 1 root root 4149 Oct 14 2012 modules.builtin.bin
-rw-r--r-- 1 root root 352010 Oct 14 2012 modules.dep
-rw-r--r-- 1 root root 488858 Oct 14 2012 modules.dep.bin
-rw-r--r-- 1 root root 325 Oct 14 2012 modules.devname
-rw-r--r-- 1 root root 117582 Jul 23 2012 modules.order
-rw-r--r-- 1 root root 131 Oct 14 2012 modules.softdep
-rw-r--r-- 1 root root 286437 Oct 14 2012~$ ls -l /lib/modules/3.2.0-3-686-pae/modules.pcimap
:~$ ls -l /lib/modules/3.2.0-3-686-pae/modules.pcimap
ls: cannot access /lib/modules/3.2.0-3-686-pae/modules.pcimap: No such file or directory
______________________________________________________________________________
:~$ lspci | grep audio
05:00.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster
:~$ lsmod | grep sound
soundcore 12921 1 snd
:~$ ls /dev/snd/
by-path controlC1 midiC0D0 pcmC0D0p pcmC0D1p pcmC0D2p pcmC0D3p pcmC1D0p pcmC1D1p timer
controlC0 hwC1D2 pcmC0D0c pcmC0D1c pcmC0D2c pcmC0D3c pcmC1D0c pcmC1D1c seq
:~$ ls /dev/dsp
ls: cannot access /dev/dsp: No such file or directory
:~$ cat /proc/asound/cards
0 [CA0106 ]: CA0106 - CA0106
Audigy SE [SB0570] at 0x1040 irq 21
1 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0x92100000 irq 44
:~$ cat /proc/asound/devices
1: : sequencer
2: [ 0- 0]: raw midi
3: [ 0- 3]: digital audio playback
4: [ 0- 3]: digital audio capture
5: [ 0- 2]: digital audio playback
6: [ 0- 2]: digital audio capture
7: [ 0- 1]: digital audio playback
8: [ 0- 1]: digital audio capture
9: [ 0- 0]: digital audio playback
10: [ 0- 0]: digital audio capture
11: [ 0] : control
12: [ 1- 1]: digital audio playback
13: [ 1- 1]: digital audio capture
14: [ 1- 0]: digital audio playback
15: [ 1- 0]: digital audio capture
16: [ 1- 2]: hardware dependent
17: [ 1] : control
33: : timer
:~$ cat /proc/asound/modules
0 snd_ca0106
1 snd_hda_intel
:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.24.
:~$ groups
ivan cdrom floppy audio dip video plugdev scanner bluetooth netdev
Last edited by crfr33r1d3r; 08-08-2013 at 08:59 AM.
Reason: Adding info
On the /dev/dsp - my bad. I'm giving my age away looking for OSS devices :-/.
This bit:
Quote:
:~$ cat /proc/asound/cards
0 [CA0106 ]: CA0106 - CA0106
Audigy SE [SB0570] at 0x1040 irq 21
1 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0x92100000 irq 44
tells you there is soundcard 0 and soundcard 1. If you pull one of them (soundcard or video card) one of those devices will vanish. I'm on the nail with the diagnosis.
in /etc/modprobe.d, stick the line on any suitable .conf file, e.g. alsa-base.conf
If you're aspiring, you can specify which soundcard is used. Don't ask me how.
Both lines happen to be soundcards. An Audigy Creative soundcard and Intel is the one on the motherboard chipset.-486-
Soundcards where working fine until video card was inserted. Video card is not shown on any line of this thread.
lose sound from speakers When insert video card
Last edited by crfr33r1d3r; 08-09-2013 at 10:51 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.