LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-07-2013, 09:58 AM   #1
crfr33r1d3r
LQ Newbie
 
Registered: Oct 2012
Posts: 21

Rep: Reputation: Disabled
Angry Lose audio from soundcard when connect video card


Hi,

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
 
Old 08-07-2013, 11:23 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,349

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
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.
 
Old 08-07-2013, 01:19 PM   #3
crfr33r1d3r
LQ Newbie
 
Registered: Oct 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
Command input response

:~$ 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
 
Old 08-08-2013, 01:26 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,349

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
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.
 
Old 08-08-2013, 03:04 PM   #5
crfr33r1d3r
LQ Newbie
 
Registered: Oct 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
You can find the following line on alsa-base.conf:

install sound-slot-0 /sbin/modprobe snd-card-0

and added the following line:

options snd-card-0 index=0 model=ref

When restart the PC it displays a message saying Input not supported then need to restart again and it goes back the same. No sound.

Is there anything else you can try to make video card work?
 
Old 08-08-2013, 03:28 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,349

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Re post #5, I wouldn't change the stuff in there at all.
The line you added, I'm not sure where you got it from.

This line
preinstall module1 /sbin/modprobe -i module2

just instructs it on which kernel module to load first. Your last 'cat /proc/asound/cards' showed

0 SB Audigy (The creative thing, I presume?)
1 HDA Intel (which I take to be the video card)

If you want it to load the hda intel as card 0, module 2 is hda_intel. The video card usually only gives sound when you're playing hdmi.

Google for switching sound between 2 soundcards - this site is a good place to include
 
Old 08-08-2013, 06:44 PM   #7
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi.

What kind of video card did you connect?
Are you using a HDMI cable for display and speakers?

and please post the output of,
Code:
lsmod | grep snd
.

I don't use HDMI, atm.
My nvidia card supplies an audio output to hdmi header.

I usually have to block the hdmi-snd- module from loading

to allow the usb-snd module to load and to be heard working at kde4 startup.
 
Old 08-08-2013, 06:52 PM   #8
crfr33r1d3r
LQ Newbie
 
Registered: Oct 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
0 SB Audigy
1 HDA Intel

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.
 
Old 08-08-2013, 06:57 PM   #9
crfr33r1d3r
LQ Newbie
 
Registered: Oct 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
Its an Nvidia video card with DVI cable.

When video card is inserted lose audio from speakers.

:~$ lsmod | grep snd
snd_hda_codec_idt 44792 1
snd_hda_intel 21856 2
snd_hda_codec 63477 2 snd_hda_intel,snd_hda_codec_idt
snd_hwdep 12943 1 snd_hda_codec
snd_ca0106 33022 2
snd_ac97_codec 84201 1 snd_ca0106
snd_seq_midi 12744 0
snd_seq_midi_event 13124 1 snd_seq_midi
snd_rawmidi 18376 2 snd_seq_midi,snd_ca0106
snd_pcm 53390 4 snd_ac97_codec,snd_ca0106,snd_hda_codec,snd_hda_intel
snd_page_alloc 12867 3 snd_pcm,snd_ca0106,snd_hda_intel
snd_seq 39487 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 13016 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 22356 2 snd_seq,snd_pcm
snd 42691 19 snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_rawmidi,snd_ac97_codec,snd_ca0106,snd_hwdep,snd_hda_cod ec,snd_hda_intel,snd_hda_codec_idt
ac97_bus 12462 1 snd_ac97_codec
soundcore 12921 1 snd
 
Old 08-08-2013, 07:23 PM   #10
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
OK, rule out hdmi. :-)

My entire case was based on the hdmi port.

All the best.
 
Old 08-12-2013, 11:54 AM   #11
crfr33r1d3r
LQ Newbie
 
Registered: Oct 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
Solution

You need to choose the appropriate soundcard for your apps.
System -> Preferences -> Sound
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ACER Aspire 5542 - No Sound but debian picks up sound card nicholls15 Linux - Laptop and Netbook 3 02-26-2010 01:06 PM
Video without sound; sound without video - in Debian, KDE with SB Live headisdead Linux - Hardware 0 06-20-2004 07:43 AM
Suggestions for Sound Card & Video Card DoubleLetter Linux - Hardware 2 07-23-2003 08:48 AM
Suggestions for Sound Card & Video Card DoubleLetter Linux - Hardware 1 07-23-2003 06:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration