LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-24-2010, 07:46 AM   #1
phi11ip
Member
 
Registered: Jul 2007
Location: Nottingham, UK
Distribution: Slackware64-current
Posts: 93

Rep: Reputation: 23
No sound with Flash Player in Firefox after adding NVIDIA GT 220 graphics card


Hi folks
Am running Slackware64 current with no problems, except I get no sound with Flash Player in Firefox. I can play CDs and DVDs and also can hear KDE system notifications. Have had this problem since adding my new Nvidia GT220 graphics card. Also if I use the "play" command I get no sound with error message below

Code:
$ play /usr/share/sounds/pop.wav 
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
play FAIL formats: can't open output file `default': snd_pcm_open error: No such file or directory
If I run "alsamixer" I get a screen that says "This sound device does not have any controls". It reports that the card is "HDA NVidia" and the chip "Nvidia ID a". If I select sound card with F6 key, then I can chose between "HDA NVidia" and "HDA VIA VT82xx". If I chose "HDA VIA", then a normal alsamixer screen appears with all the channels except "PCM".
Here are the outputs from various commands:-

Code:
# lspci | grep Audio
02:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
80:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10)

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: VT82xx [HDA VIA VT82xx], device 0: ALC660-VD Analog [ALC660-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: VT82xx [HDA VIA VT82xx], device 1: ALC660-VD Digital [ALC660-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=VT82xx
    HDA VIA VT82xx, ALC660-VD Analog
    Default Audio Device
front:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Analog
    Front speakers
surround40:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Digital
    IEC958 (S/PDIF) Digital Audio Output
Regards
Phil
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-24-2010, 09:02 AM   #2
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Maybe some other program has locked the audio device. Is anything running in background?
 
Old 05-24-2010, 09:26 AM   #3
phi11ip
Member
 
Registered: Jul 2007
Location: Nottingham, UK
Distribution: Slackware64-current
Posts: 93

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by ~sHyLoCk~ View Post
Maybe some other program has locked the audio device. Is anything running in background?
Not that I know of. This is just a Desktop system and the the problem is always there, even straight after a reboot. I have installed Slackware 13.0 on a spare partition and everything works. Here's the output of ps ax command - I can't see anything strange there

Code:
$ ps ax
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:00 init [4]  
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:00 [migration/0]
    4 ?        S      0:00 [ksoftirqd/0]
    5 ?        S      0:00 [watchdog/0]
    6 ?        S      0:00 [migration/1]
    7 ?        S      0:00 [ksoftirqd/1]
    8 ?        S      0:00 [watchdog/1]
    9 ?        S      0:00 [events/0]
   10 ?        S      0:00 [events/1]
   11 ?        S      0:00 [khelper]
   31 ?        S      0:00 [netns]
   34 ?        S      0:00 [async/mgr]
   35 ?        S      0:00 [pm]
  243 ?        S      0:00 [sync_supers]
  245 ?        S      0:00 [bdi-default]
  247 ?        S      0:00 [kblockd/0]
  248 ?        S      0:00 [kblockd/1]
  250 ?        S      0:00 [kacpid]
  251 ?        S      0:00 [kacpi_notify]
  252 ?        S      0:00 [kacpi_hotplug]
  384 ?        S      0:00 [ata/0]
  385 ?        S      0:00 [ata/1]
  386 ?        S      0:00 [ata_aux]
  387 ?        S      0:00 [ksuspend_usbd]
  392 ?        S      0:00 [khubd]
  395 ?        S      0:00 [kseriod]
  431 ?        S      0:00 [rpciod/0]
  432 ?        S      0:00 [rpciod/1]
  460 ?        S      0:00 [khungtaskd]
  461 ?        S      0:00 [kswapd0]
  511 ?        S      0:00 [aio/0]
  512 ?        S      0:00 [aio/1]
  535 ?        S      0:00 [nfsiod]
  546 ?        S      0:00 [jfsIO]
  547 ?        S      0:00 [jfsCommit]
  548 ?        S      0:00 [jfsCommit]
  549 ?        S      0:00 [jfsSync]
  557 ?        S      0:00 [xfs_mru_cache]
  558 ?        S      0:00 [xfslogd/0]
  559 ?        S      0:00 [xfslogd/1]
  560 ?        S      0:00 [xfsdatad/0]
  561 ?        S      0:00 [xfsdatad/1]
  562 ?        S      0:00 [xfsconvertd/0]
  563 ?        S      0:00 [xfsconvertd/1]
  566 ?        S      0:00 [ocfs2_wq]
  567 ?        S      0:00 [o2quot/0]
  568 ?        S      0:00 [o2quot/1]
  572 ?        S      0:00 [user_dlm]
  577 ?        S      0:00 [glock_workqueue]
  578 ?        S      0:00 [glock_workqueue]
  579 ?        S      0:00 [delete_workqueu]
  580 ?        S      0:00 [delete_workqueu]
  584 ?        S<     0:00 [kslowd000]
  585 ?        S<     0:00 [kslowd001]
  587 ?        S      0:00 [crypto/0]
  588 ?        S      0:00 [crypto/1]
  859 ?        S      0:00 [cciss_scan]
  865 ?        S      0:00 [scsi_tgtd/0]
  866 ?        S      0:00 [scsi_tgtd/1]
  880 ?        S      0:00 [iscsi_eh]
  888 ?        S      0:00 [fc_exch_workque]
  889 ?        S      0:00 [fc_rport_eq]
  890 ?        S<     0:00 [fcoethread/0]
  891 ?        S<     0:00 [fcoethread/1]
  894 ?        S      0:00 [fnic_event_wq]
  912 ?        S      0:00 [hpsa_scan]
  948 ?        S      0:00 [scsi_eh_0]
  951 ?        S      0:00 [scsi_eh_1]
 1001 ?        S      0:00 [scsi_eh_2]
 1004 ?        S      0:00 [scsi_eh_3]
 1017 ?        S      0:00 [exec-osm/0]
 1018 ?        S      0:00 [exec-osm/1]
 1024 ?        S      0:00 [block-osm/0]
 1025 ?        S      0:00 [block-osm/1]
 1094 ?        S      0:00 [kstriped]
 1096 ?        S      0:00 [ksnapd]
 1143 ?        S      0:00 [scsi_eh_4]
 1144 ?        S      0:00 [usb-storage]
 1149 ?        S      0:00 [jbd2/sdb1-8]
 1150 ?        S      0:00 [ext4-dio-unwrit]
 1151 ?        S      0:00 [ext4-dio-unwrit]
 1183 ?        S<s    0:00 /sbin/udevd --daemon
 1443 ?        S      0:00 [usbhid_resumer]
 1462 ?        S      0:00 [kpsmoused]
 1483 ?        S      0:00 [hd-audio0]
 1510 ?        S      0:00 [hd-audio1]
 1547 ?        S      0:00 [flush-8:16]
 1610 ?        S      0:00 [jbd2/sdb5-8]
 1611 ?        S      0:00 [ext4-dio-unwrit]
 1612 ?        S      0:00 [ext4-dio-unwrit]
 1613 ?        S      0:00 [kjournald]
 1614 ?        S      0:00 [jbd2/sdb8-8]
 1615 ?        S      0:00 [ext4-dio-unwrit]
 1616 ?        S      0:00 [ext4-dio-unwrit]
 1619 ?        Ss     0:00 /sbin/mount.ntfs-3g /dev/sda1 /win7 -v -o rw,umask=022
 1622 ?        Ss     0:00 /sbin/mount.ntfs-3g /dev/sdb4 /back-up -v -o rw,umask=022
 1649 ?        Ss     0:00 /usr/sbin/syslogd
 1653 ?        Ss     0:00 /usr/sbin/klogd -c 3 -x
 1781 ?        Ss     0:00 /usr/sbin/inetd
 1788 ?        S<     0:00 /sbin/udevd --daemon
 1789 ?        Ss     0:00 /usr/sbin/sshd
 1796 ?        Ss     0:00 /usr/sbin/acpid
 1807 ?        Ss     0:00 /usr/bin/dbus-daemon --system
 1812 ?        Ss     0:00 /usr/sbin/hald --daemon=yes
 1813 ?        S      0:00 hald-runner
 1835 ?        S      0:01 hald-addon-input: Listening on /dev/input/event5 /dev/input/event4 /dev/input/event1 /dev/inpu
 1849 ?        S      0:00 hald-addon-storage: polling /dev/sdd (every 2 sec)
 1850 ?        S      0:00 hald-addon-storage: polling /dev/sde (every 2 sec)
 1851 ?        S      0:00 hald-addon-storage: polling /dev/sdf (every 2 sec)
 1853 ?        S      0:01 hald-addon-storage: polling /dev/sr0 (every 2 sec)
 1854 ?        S      0:00 hald-addon-storage: polling /dev/sdc (every 2 sec)
 1856 ?        S      0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
 1890 ?        Ss     0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
 1895 ?        Ss     0:00 /usr/sbin/crond -l10
 1897 ?        Ss     0:00 /usr/sbin/atd -b 15 -l 1
 1903 ?        S<     0:00 /sbin/udevd --daemon
 1912 ?        Ss     0:00 /usr/sbin/gpm -m /dev/mouse -t imps2
 1914 tty6     Ss+    0:00 /sbin/agetty 38400 tty6 linux
 1915 ?        Ss     0:00 /usr/bin/kdm -nodaemon
 1917 tty7     Ss+    2:39 /usr/bin/X -br -novtswitch -quiet -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-zqENnb
 1924 ?        S      0:00 -:0                   
 1930 ?        S      0:00 dbus-launch --autolaunch 559cb438ed6cb9b42253f9550000000d --binary-syntax --close-stderr
 1931 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
 1939 ?        Sl     0:00 /usr/sbin/console-kit-daemon --no-daemon
 2009 ?        Ss     0:00 /bin/sh /usr/bin/startkde
 2065 ?        S      0:00 dbus-launch --sh-syntax --exit-with-session
 2066 ?        Ss     0:18 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
 2073 ?        S      0:00 /usr/lib64/kde4/libexec/start_kdeinit +kcminit_startup
 2074 ?        Ss     0:00 kdeinit4: kdeinit4 Running...                  
 2075 ?        S      0:00 kdeinit4: klauncher [kdeinit] --fd=9           
 2077 ?        S      0:00 kdeinit4: kded4 [kdeinit]                      
 2079 ?        S      0:00 /usr/libexec/gam_server
 2103 ?        S      0:00 kwrapper4 ksmserver
 2104 ?        Sl     0:00 kdeinit4: ksmserver [kdeinit]                  
 2106 ?        S      2:59 kwin -session 10dd616666000127257223900000025530000_1274626328_136128
 2108 ?        S      0:00 kdeinit4: kglobalaccel [kdeinit]               
 2111 ?        Sl     0:00 /usr/bin/knotify4
 2112 ?        S      1:26 kdeinit4: plasma-desktop [kdeinit]             
 2121 ?        S      0:00 kdeinit4: kaccess [kdeinit]                    
 2128 ?        Sl     0:00 kdeinit4: kxkb [kdeinit]                       
 2131 ?        Sl     0:00 kdeinit4: nepomukserver [kdeinit]              
 2134 ?        Sl     1:04 /usr/bin/nepomukservicestub nepomukstorage
 2135 ?        Sl     0:03 kdeinit4: krunner [kdeinit]                    
 2143 ?        Sl     1:19 /usr/bin/virtuoso-t +foreground +configfile /tmp/virtuoso_hX2134.ini +wait
 2150 ?        S      0:00 kdeinit4: kmix [kdeinit] -session 10dd616666000127257224400000025530010_1274626328_112623
 2154 ?        S      0:00 /usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1 -session 10dd61666600012725722440000
 2157 ?        S      0:00 /usr/bin/nepomukservicestub nepomukontologyloader
 2158 ?        S      0:00 /usr/bin/nepomukservicestub nepomukqueryservice
 2159 ?        S      0:00 /usr/bin/nepomukservicestub nepomukremovablestorageservice
 2160 ?        SNl    1:42 /usr/bin/nepomukservicestub nepomukstrigiservice
 2161 ?        Sl     0:00 /usr/bin/nepomukservicestub nepomukfilewatch
 2170 ?        S      0:00 /usr/libexec/polkitd
 2174 ?        S      0:00 /usr/bin/python /usr/bin/blueman-applet
 2187 ?        S      0:00 kdeinit4: klipper [kdeinit]                    
 2195 ?        S      0:00 /usr/bin/korgac -icon korgac
 2202 ?        S      0:00 /usr/bin/obex-data-server --no-daemon 
 2276 ?        S      0:00 /bin/sh /usr/bin/firefox
 2289 ?        S      0:00 /bin/sh /usr/lib64/firefox-3.6.3/run-mozilla.sh /usr/lib64/firefox-3.6.3/firefox-bin
 2293 ?        Sl    10:13 /usr/lib64/firefox-3.6.3/firefox-bin
 2468 ?        S      0:00 kdeinit4: kio_file [kdeinit] file local:/tmp/ksocket-philbev/klauncherMT2075.slave-socket loca
 2580 ?        Sl     0:08 konsole -e /bin/bash -l
 2620 pts/2    Ss     0:00 /bin/bash -l
 3223 pts/2    R+     0:00 ps ax
Regards
Phil
 
Old 05-24-2010, 12:09 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I'm guessing that your new nVidia card has support for HDMI or some other standard and thus contains an internal sound card as well, and this is getting priority. Are you planning on using the nVidia sound or do you want to stick with the old card (which I would guess is integrated on your motherboard, but that doesn't matter)? I could also be misreading this...it would also be possible for an nVidia HDA intel card to be integrated on your motherboard with an additional VIA sound card...but since this problem started when adding the graphics card I would guess not.

The easy way is to try to run alsaconf as root followed by alsamixer as your regular user (and then `alsactl store` as root if you wish). This may setup the cards properly, and I believe you can select the card to setup in alsaconf (assuming you will only be using one...if not then you may have to play around with /etc/modprobe.d/sound[.conf] manually). You can try to see if something else is using the audio device as ~sHyLoCk~ suggested but based on your error I don't think that would be it. However the following commands would tell you and certainly couldn't hurt:
Code:
$ fuser /dev/snd/
$ fuser /dev/dsp
 
Old 05-24-2010, 01:27 PM   #5
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 15.0 Multilib
Posts: 313

Rep: Reputation: 52
I can't offer much help other than the fact that I've got a P55-based motherboard with a GT220. The sound capabilities of the video card are detected, but the on-board Intel audio works fine. It works fine with the stock Slackware64 kernel and 2.6.32.7 which I compiled using the .config that was a part of -current at the time.
 
Old 05-24-2010, 02:01 PM   #6
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
As far as I know Flash only outputs sound to the default ALSA device, which is usually the first detected by ALSA. One way (and the only that worked reliably for me when i used 2 sound cards) of setting another device as default is in a ~/.asoundrc file. You will probably have to create the file as it is not normally used.
Code:
pcm.!default {
type hw
card 1
}

ctl.!default {
type hw
card 1
}
These might need changing depending on your cards.

aplay -l will list all configured ALSA sound devices on your machine, which I see you have done.

Last edited by Eternal_Newbie; 05-24-2010 at 03:36 PM.
 
3 members found this post helpful.
Old 05-24-2010, 02:27 PM   #7
JokerBoy
Member
 
Registered: Sep 2009
Posts: 140

Rep: Reputation: 24
you are a member of the audio group? type groups as a normal user to see if you are or not.

if not, gpasswd -a $USER audio and reboot your machine.
 
Old 05-24-2010, 02:38 PM   #8
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,499

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Quote:
Originally Posted by phi11ip View Post
Hi folks
Am running Slackware64 current with no problems, except I get no sound with Flash Player in Firefox. I can play CDs and DVDs and also can hear KDE system notifications. Have had this problem since adding my new Nvidia GT220 graphics card. Also if I use the "play" command I get no sound with error message below

Code:
$ play /usr/share/sounds/pop.wav 
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
play FAIL formats: can't open output file `default': snd_pcm_open error: No such file or directory
If I run "alsamixer" I get a screen that says "This sound device does not have any controls". It reports that the card is "HDA NVidia" and the chip "Nvidia ID a". If I select sound card with F6 key, then I can chose between "HDA NVidia" and "HDA VIA VT82xx". If I chose "HDA VIA", then a normal alsamixer screen appears with all the channels except "PCM".
Here are the outputs from various commands:-

Code:
# lspci | grep Audio
02:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
80:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10)

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: VT82xx [HDA VIA VT82xx], device 0: ALC660-VD Analog [ALC660-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: VT82xx [HDA VIA VT82xx], device 1: ALC660-VD Digital [ALC660-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=VT82xx
    HDA VIA VT82xx, ALC660-VD Analog
    Default Audio Device
front:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Analog
    Front speakers
surround40:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC660-VD Digital
    IEC958 (S/PDIF) Digital Audio Output
Regards
Phil
Well, Linux see the HDMI audio support from modern video-cards as an audio card. I think that your Linux, now make mistakes about WHERE is the real audio card.

If you don't use HDMI audio (i.e. you don't connect an HDTV TV set to PC), I think that you should disable the audio support on your video driver (kernel module) and everything will be fine.
 
Old 05-24-2010, 03:58 PM   #9
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
Quote:
Originally Posted by phi11ip View Post
<snip>
Code:
<snip>
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: VT82xx [HDA VIA VT82xx], device 0: ALC660-VD Analog [ALC660-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: VT82xx [HDA VIA VT82xx], device 1: ALC660-VD Digital [ALC660-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
<snip>
Regards
Phil
I see your sound card appears as card 1 . I have a nasty feeling Flash is trying to send it's sound to card 0 (the null alsa device perhaps?) even though the VT82xx is the default according to aplay -L. You may have to specifically set it as the default, either in ~/.asoundrc as I mentioned above, or some other way

PS more about setting default alsa device here: http://alsa.opensrc.org/index.php/FAQ026

Last edited by Eternal_Newbie; 05-24-2010 at 04:00 PM.
 
Old 05-24-2010, 06:09 PM   #10
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319
Quote:
Originally Posted by JokerBoy View Post
if not, gpasswd -a $USER audio and reboot your machine.
He wouldn't need to reboot. Logging out and logging back in would do.
 
Old 05-25-2010, 06:27 AM   #11
phi11ip
Member
 
Registered: Jul 2007
Location: Nottingham, UK
Distribution: Slackware64-current
Posts: 93

Original Poster
Rep: Reputation: 23
Thanks everybody for the replies, but my eternal thanks goes to Eternal_Newbie for the correct solution. Creating a ~/.asoundrc file without any modifications did the trick. Yup T3slider you guessed correctly that my graphics card has HDMI capabilities which currently I don't wish to use. Once again THANKS to all.

Regards
Phil
 
Old 08-08-2010, 07:23 AM   #12
notihnio
LQ Newbie
 
Registered: Oct 2009
Location: Greece
Distribution: slackware-current
Posts: 23

Rep: Reputation: 5
Quote:
Originally Posted by phi11ip View Post
Thanks everybody for the replies, but my eternal thanks goes to Eternal_Newbie for the correct solution. Creating a ~/.asoundrc file without any modifications did the trick. Yup T3slider you guessed correctly that my graphics card has HDMI capabilities which currently I don't wish to use. Once again THANKS to all.

Regards
Phil
i had the same problem!! same solution too!!! thanks Eternal_Newbie
 
Old 09-15-2010, 05:25 PM   #13
Jorek
Member
 
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65

Rep: Reputation: 16
Hi!
I'm in the exact same situation! Except the solution don't work...=(
I do have sound from one application at the time(except Flash, I don't get anything, anytime).
Before I added the GT 220 card, I had sound from different application, no problem. Now, I one get sound from one at the time.

This aplay -l
Code:
 aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
This is cat /proc/asound/cards
Code:
 cat /proc/asound/cards 
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xe4000000 irq 18
 1 [CK804          ]: NFORCE - NVidia CK804
                      NVidia CK804 with ALC850 at irq 22
An this is my .asoundrc
Code:
cat .asoundrc
pcm.!default {
type hw
card CK804
}

ctl.!default {
type hw
card CK804
}
Hmm... Does this make any sense to anyone?
 
Old 09-15-2010, 05:44 PM   #14
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Well, the modern video-cards have an little audio support built-in, for HDMI. In some cases, ALSA misunderstand where is the 'main' sound hardware. Try to disable the audio support of your video-card if you do not use HDMI or try to properly configure ALSA for these two 'sound-cards'...
 
Old 09-16-2010, 03:41 AM   #15
phi11ip
Member
 
Registered: Jul 2007
Location: Nottingham, UK
Distribution: Slackware64-current
Posts: 93

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by Jorek View Post
Hi!

An this is my .asoundrc
Code:
cat .asoundrc
pcm.!default {
type hw
card CK804
}

ctl.!default {
type hw
card CK804
}
Hmm... Does this make any sense to anyone?
My .asoundrc looks like:
Code:
pcm.!default {
type hw
card 1
}

ctl.!default {
type hw
card 1
}
Maybe changing card CK804 to card 1 will help. Not sure if CK804 is a valid entry

Regards
Phil
 
  


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
LXer: Flash Player gets multi-touch, graphics acceleration LXer Syndicated Linux News 0 11-18-2009 08:11 PM
What happened to Flash Player 9 sound after installing a video capture card? davegutz Linux - Desktop 5 02-09-2007 05:14 PM
Flash Player, Firefox: sound in blackbox but not KDE DaneM Slackware 11 11-21-2006 01:41 PM
Please help (can't get sound working with flash player and firefox in Mandriva 2006!) LaptopLinux Mandriva 1 12-07-2005 12:58 AM
poor sound in FLASH player 7 with Firefox 1.5 polemon Linux - Software 0 12-04-2005 05:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:11 AM.

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