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 01-11-2012, 08:38 PM   #1
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
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.
 
Old 01-12-2012, 03:51 AM   #2
pino_otto
Member
 
Registered: Dec 2005
Location: Italy
Distribution: Slackware
Posts: 89

Rep: Reputation: 19
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.
 
1 members found this post helpful.
Old 01-12-2012, 04:16 AM   #3
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 59
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.

Last edited by Nikosis; 01-12-2012 at 04:21 AM.
 
Old 01-12-2012, 04:45 AM   #4
pino_otto
Member
 
Registered: Dec 2005
Location: Italy
Distribution: Slackware
Posts: 89

Rep: Reputation: 19
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.

 
  


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
No Sound From Flash Player (Slackware) kwikness Linux - Software 7 06-04-2012 05:23 PM
Flash Player: no sound J_Szucs Linux - Software 1 06-01-2011 02:49 PM
no sound from flash player rob.rice Linux - General 1 06-29-2008 11:46 PM
No Real Player Sound after Flash Player hroit Linux - Software 4 01-16-2007 02:05 PM
Flash player sound problems sw67 Slackware 3 03-16-2005 05:34 AM

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

All times are GMT -5. The time now is 04:39 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