LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   No sound on flash player (https://www.linuxquestions.org/questions/slackware-14/no-sound-on-flash-player-923350/)

Nikosis 01-11-2012 08:38 PM

No sound on flash player
 
Hi
I have a strange problem with sound on my SB XF-I card, it seems like there is sound, but it doesn't work on YouTube or any flash site. I'm not quite sure what is it related to, flash drivers or audio drivers.

aplay -l
Code:

**** List of PLAYBACK Hardware Devices ****
card 1: Creative [HDA Creative], device 0: CA0110 Analog [CA0110 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Creative [HDA Creative], device 1: CA0110 Digital [CA0110 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lspci -k |grep -iA3 Audio
Code:

02:00.0 PCI bridge: Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG PCI to PCIe Bridge
        Kernel modules: shpchp
03:00.0 Audio device: Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG
        Subsystem: Creative Labs SB1040
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel
--
04:00.1 Audio device: nVidia Corporation Device 0e0c (rev a1)
        Subsystem: Device 196e:0895
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

lsmod
Code:

ipv6                  275315  56
snd_seq_dummy          1479  0
snd_seq_oss            30116  0
snd_seq_midi_event      5708  1 snd_seq_oss
snd_seq                52486  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          5473  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            40089  0
snd_mixer_oss          17282  1 snd_pcm_oss
snd_hda_codec_ca0110    7080  1
snd_hda_intel          21915  1
snd_hda_codec          71748  2 snd_hda_codec_ca0110,snd_hda_intel
snd_hwdep              6254  1 snd_hda_codec
snd_pcm                73762  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              19671  2 snd_seq,snd_pcm
snd                    58334  13 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_ca0110,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore              5681  1 snd
snd_page_alloc          7297  2 snd_hda_intel,snd_pcm
lp                      9781  0
ppdev                  6021  0
parport_pc            21214  0
parport                30087  3 lp,ppdev,parport_pc
fuse                  66651  1
nvidia              12065501  42
igb                  104552  0
processor              25982  0
ioatdma                37694  16
rtc_cmos                9374  0
agpgart                28874  1 nvidia
thermal_sys            13862  1 processor
psmouse                47222  0
ghes                    3815  0
i2c_i801                8230  0
shpchp                26821  0
rtc_core              14471  1 rtc_cmos
sg                    26495  0
dca                    5145  2 igb,ioatdma
i2c_core              19769  2 nvidia,i2c_i801
evdev                  9813  12
rtc_lib                1978  1 rtc_core
joydev                10279  0
serio_raw              4534  0
hed                    1715  1 ghes
hwmon                  1473  1 thermal_sys
button                  5013  0
usbhid                36859  0
hid                    77723  1 usbhid

It looks like Nvidia gets in the way.

pino_otto 01-12-2012 03:51 AM

It is strange that "aplay -l" shows that you have a "card 1", without showing a "card 0".

Usually the browser and flash use the "card 0" as default.

You can change the default card for ALSA with the following file (~/.asoundrc):

pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}

It worked for me.

Nikosis 01-12-2012 04:16 AM

I tried so many things already, this one too, at first it did not work, after reading your post, I wanted to check if that was the same thing I did, then I noticed that I made a simple mistake a typo "clt" instead ctl. Now it works.
Thanks a lot, I appreciate it, if it wasn't for your post I wouldn't probably go back to it for another couple of days at least.

pino_otto 01-12-2012 04:45 AM

You are welcome!

I also spent a couple of days to find that solution and I am very happy that I can save the time to other people.

By sharing knowledge, we all can improve better and faster.

:)


All times are GMT -5. The time now is 04:30 PM.