LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   problems with flashplugin in Slackware x86_64 (https://www.linuxquestions.org/questions/slackware-14/problems-with-flashplugin-in-slackware-x86_64-a-794665/)

guthan 03-11-2010 05:18 AM

problems with flashplugin in Slackware x86_64
 
I have installed Slackware x86_64 in my computer and everything was fine until I realized that the flashplugin didn't work well. When I want to play a video on youtube the browser crashes.
I installed the flashplugin from Slackbuilds. In the Slacbuild file I just check the version and set ARCH to x86_64, What can I do?

Martinezio 03-11-2010 05:38 AM

Go to http://labs.adobe.com and get beta version of flash player plugin for x86_64 arch. It doesn't work fine, but it work and doesn't crash the browser.

rmjohnso 03-11-2010 08:38 AM

The flash plugin on SBo is the same version as the Adobe Labs site.

guthan, what error messages do you get when you launch the browser from a terminal and it crashes after going to youtube?

gabim 03-11-2010 05:38 PM

See this thread: http://www.linuxquestions.org/questi...ware64-728558/
Maybe it can help.

Alien Bob 03-11-2010 05:54 PM

Please check if this is your problem: http://alien.slackbook.org/blog/flas...fox-on-x86_64/ - there is a solution too at that URL if indeed you have an Athlon64 CPU without the “lahf_lm” processor flag.

Eric

guthan 03-11-2010 10:38 PM

Hi, thank you for responding....
This is the error that I've got from the terminal:
/usr/lib64/firefox-3.5.2/run-mozilla.sh: line 131: 4508 Illegal instruction "$prog" ${1+"$@"}

koenigdavidmj 03-12-2010 01:29 AM

Quote:

Originally Posted by guthan (Post 3895216)
Hi, thank you for responding....
This is the error that I've got from the terminal:
/usr/lib64/firefox-3.5.2/run-mozilla.sh: line 131: 4508 Illegal instruction "$prog" ${1+"$@"}

Guthan, see the above link on Alien Bob's blog. That has the fix for you.

guthan 03-13-2010 10:38 PM

Thanks a lot!
I did exactly what the Alien Bob's blog says and now I have a working flash for firefox.
really thanks.

slackcracker 03-25-2010 10:56 PM

I have tried everything nothing give me a solution. I don't no why. Please help.

My System is Slackware64-current latest update.

Firefox 3.6

1.tried both version (which one is the best ??):
flashplayer-plugin-10.0.42.34-x86_64
flash-player-plugin-10.0_r45-x86_64

2.then i tried aliens solution although my cpu has "lahf_lm" see here
cat /proc/cpuinfo give me:

processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 43
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping : 1
cpu MHz : 1994.905
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good extd_apicid pni lahf_lm cmp_legacy
bogomips : 3989.81
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 43
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping : 1
cpu MHz : 1994.905
cache size : 512 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good extd_apicid pni lahf_lm cmp_legacy
bogomips : 3989.50
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

3. after that i installed:
depencies for pulseaudio like described on SlackBuilds.org
and then
libflashsupport-20080328-x86_64 (without pulseaudio, because with pulsaudio won't build)

I can play Flash, but no Sound. Why?

Anywere else like in Amarok, i have Sound.

What can i do???

slackcracker 03-26-2010 05:14 PM

Flash Plugin don't work
 
Quote:

Originally Posted by slackcracker (Post 3912740)
I have tried everything nothing give me a solution. I don't no why. Please help.

Any ideas?

T3slider 03-26-2010 07:50 PM

Flash should be configured to use ALSA by default (without the additional flash library), so if you're not getting sound it probably means that something is hogging your sound device. Anything configured to use OSS instead of ALSA will steal your sound device directly and you will not be able to get any sound from another application, so that is one thing to look into. I am much more versed in artsd than phonon, but since you're using -current I'm assuming you're using KDE4. I only use KDE4 on one user account and that is pretty rarely, but sound has 'just worked' with Flash there. I would check any settings you have for any software sound mixers or other sound daemons, as well as any applications you may have running (music players, for example, even if they're paused) and check to make sure that you are using ALSA as the output device and not OSS or any other software device. You should also make sure you user is a member of the audio group if you haven't already.

If you really do want to use the additional library with pulse audio, you would *need* pulse to build properly for it to work, since it uses pulse as an engine. You would of course then need to start the pulseaudio daemon to grab the sound from Flash. If it is not building properly on -current it is likely because of the switch to bash 4, so you may need to adjust the SlackBuild script to stop exiting from non-crucial errors. Search these forums for that. If it is still not working with pulse you may wish to take the easy way out and configure pulse to act as the backend for all audio...but I have not tested this on KDE4 (just 3.5 and other WMs) so I don't know what conflicts it would have with phonon. Just create a .asoundrc file with the following:

Code:

pcm.!default {
    type pulse
}
ctl.!default {
    type pulse
}

And restart X (or possibly your PC). Make sure pulse is running or you will get no sound at all.

That's a lot of information, some of it simplified beyond recognition, but it should get you started anyway.

slackcracker 03-27-2010 04:04 AM

Quote:

Originally Posted by T3slider (Post 3913895)
Flash ...

Thank you for advice, i will give it a try.

slackcracker 03-29-2010 09:25 PM

2 Attachment(s)
Quote:

Originally Posted by T3slider (Post 3913895)
Flash should be configured to use ALSA by default (without the additional flash library), so if you're not getting sound it probably means that something is hogging your sound device.

Yes you are right! Here my Story or Solution :-)

---------------------------------------------------------------------------------------

some tests to get flash:
user@slack64:~/Downloads$ lsof | grep /dev/snd
amarok 22381 user mem CHR 116,6 4171 /dev/snd/pcmC1D0p
amarok 22381 user 13u CHR 116,9 0t0 4174 /dev/snd/controlC1
amarok 22381 user 72r CHR 116,2 0t0 3744 /dev/snd/timer
amarok 22381 user 73u CHR 116,6 0t0 4171 /dev/snd/pcmC1D0p

root@slack64:~# lsof | grep /dev/snd
knotify4 2286 user 12u CHR 116,9 0t0 4178 /dev/snd/controlC1
kmix 2348 user 12u CHR 116,4 0t0 3947 /dev/snd/controlC0
kmix 2348 user 14u CHR 116,9 0t0 4178 /dev/snd/controlC1
( try to get more but exit )

root@slack64:/mnt/movies/Musik/2010# mpg321 Caribou\ -\ Odessa.mp3
Segmentation fault

root@slack64:/mnt/movies/Musik/2010# lsof | grep mpg321
mpg321 9240 root 4w CHR 14,19 6670 /dev/dsp1

----------------------------------long Story short-------------------------------------
I use hda_intel, because i have onboard sound.

root@slack64:~# lspci
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
In Kde 4.4.1 Multimedia i see HDA NVidia (ALC 888 Analog) i use Backend Xine.


I created a new user "test" and added too group audio

root@slack64:~# adduser test

check /etc/group
audio:x:17:root,test

After then i restart X an login to new user "test", kde sound appear ,because user is in group audio.

But this new Session created a new /etc/asound.state !!! This was the fix, to get flash in Firefox.

I login in my old user and here also flash is fine, Yeah!

Now i can also play mp3 files with mpg123 without Segmenationt fault

root@slack64:~# mpg123 File.mp3
High Performance MPEG ...
...

now there are no dsp1 anymore:
root@slack64:~# ls -al /dev/dsp
crw-rw---- 1 root audio 14, 3 2010-03-30 02:00 /dev/dsp

my sound devices beginning now at zero! (...0D...):
root@slack64:~# ls -al /dev/snd/
total 0
drwxr-xr-x 3 root root 200 2010-03-30 02:00 ./
drwxr-xr-x 14 root root 5760 2010-03-30 02:00 ../
drwxr-xr-x 2 root root 60 2010-03-30 03:59 by-path/
crw-rw---- 1 root audio 116, 7 2010-03-30 03:59 controlC0
crw-rw---- 1 root audio 116, 6 2010-03-30 03:59 hwC0D0
crw-rw---- 1 root audio 116, 5 2010-03-30 03:59 pcmC0D0c
crw-rw---- 1 root audio 116, 4 2010-03-30 02:22 pcmC0D0p
crw-rw---- 1 root audio 116, 3 2010-03-30 03:59 pcmC0D2c
crw-rw---- 1 root audio 116, 8 2010-03-30 02:00 seq
crw-rw---- 1 root audio 116, 2 2010-03-30 03:59 timer

my packages:
root@slack64:~# ls -al /var/log/packages/alsa-*
-rw-r--r-- 1 root root 5157 2010-03-30 01:57 /var/log/packages/alsa-lib-1.0.22-x86_64-1
-rw-r--r-- 1 root root 1083 2010-03-30 01:57 /var/log/packages/alsa-oss-1.0.17-x86_64-1
-rw-r--r-- 1 root root 2895 2010-03-30 01:58 /var/log/packages/alsa-utils-1.0.21-x86_64-1


my flash plugin:
root@slack64:~# ls -al /var/log/packages/flash*
-rw-r--r-- 1 root root 506 2010-03-30 02:22 /var/log/packages/flash-player-plugin-10.0_r45-x86_64-1

my asound.state:
root@slack64:~# cat /etc/asound.state
state.NVidia {
control.1 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
comment.dbmin -4650
comment.dbmax 0
iface MIXER
name 'Front Playback Volume'
value.0 31
value.1 31
}
control.2 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Front Playback Switch'
value.0 true
value.1 true
}
control.3 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
comment.dbmin -4650
comment.dbmax 0
iface MIXER
name 'Surround Playback Volume'
value.0 31
value.1 31
}
control.4 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Surround Playback Switch'
value.0 true
value.1 true
}
control.5 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
comment.dbmin -4650
comment.dbmax 0
iface MIXER
name 'Center Playback Volume'
value 31
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
comment.dbmin -4650
comment.dbmax 0
iface MIXER
name 'LFE Playback Volume'
value 31
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Center Playback Switch'
value true
}
control.8 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'LFE Playback Switch'
value true
}
control.9 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
comment.dbmin -4650
comment.dbmax 0
iface MIXER
name 'Side Playback Volume'
value.0 31
value.1 31
}
control.10 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Side Playback Switch'
value.0 true
value.1 true
}
control.11 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
comment.dbmin -3450
comment.dbmax 1200
iface MIXER
name 'Mic Playback Volume'
value.0 30
value.1 30
}
control.12 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Mic Playback Switch'
value.0 false
value.1 false
}
control.13 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
comment.dbmin -3450
comment.dbmax 1200
iface MIXER
name 'Line Playback Volume'
value.0 31
value.1 31
}
control.14 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Line Playback Switch'
value.0 false
value.1 false
}
control.15 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 3'
comment.dbmin 0
comment.dbmax 3000
iface MIXER
name 'Mic Boost'
value.0 3
value.1 3
}
control.16 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Capture Switch'
value.0 true
value.1 true
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Capture Switch'
index 1
value.0 true
value.1 true
}
control.18 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
comment.dbmin -1650
comment.dbmax 3000
iface MIXER
name 'Capture Volume'
value.0 0
value.1 0
}
control.19 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
comment.dbmin -1650
comment.dbmax 3000
iface MIXER
name 'Capture Volume'
index 1
value.0 0
value.1 0
}
control.20 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Mic
comment.item.1 Line
iface MIXER
name 'Input Source'
value Mic
}
control.21 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Mic
comment.item.1 Line
iface MIXER
name 'Input Source'
index 1
value Mic
}
control.22 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
comment.dbmin -4650
comment.dbmax 0
iface MIXER
name 'Master Playback Volume'
value 29
}
control.23 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Master Playback Switch'
value true
}
control.24 {
comment.access 'read write user'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.tlv '0000000100000008ffffec1400000014'
comment.dbmin -5100
comment.dbmax 0
iface MIXER
name 'PCM Playback Volume'
value.0 255
value.1 255
}
}
state.U0x46d0x805 {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Mic Capture Switch'
value true
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 6144'
comment.dbmin 600
comment.dbmax 3000
iface MIXER
name 'Mic Capture Volume'
value 0
}
}

root@slack64:~#

(U0x46d0x805 is my Webcam)

my modules:
root@slack64:~# lsmod
Module Size Used by
vboxnetadp 5041 0
vboxnetflt 12143 0
vboxdrv 1729270 2 vboxnetadp,vboxnetflt
snd_seq_dummy 1487 0
snd_seq_oss 29991 0
snd_seq_midi_event 5620 1 snd_seq_oss
snd_seq 52679 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 5459 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 39975 0
snd_mixer_oss 16022 1 snd_pcm_oss
ipv6 273781 31
lp 10049 0
ppdev 6315 0
parport_pc 21139 0
parport 29827 3 lp,ppdev,parport_pc
fuse 59800 7
nvidia 10607150 38
processor 30196 0
thermal 12593 0
snd_hda_codec_realtek 257222 1
thermal_sys 14060 2 processor,thermal
k8temp 3489 0
hwmon 1449 2 thermal_sys,k8temp
rtc_cmos 9310 0
rtc_core 14834 1 rtc_cmos
rtc_lib 1922 1 rtc_core
wmi 6275 0
button 4957 0
snd_hda_intel 21672 2
agpgart 29764 1 nvidia
usblp 11299 0
snd_hda_codec 65095 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 6456 1 snd_hda_codec
snd_pcm 72131 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 19512 2 snd_seq,snd_pcm
snd 57492 15 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd _hda_codec,snd_hwdep,snd_pcm,snd_timer
i2c_nforce2 5568 0
soundcore 5839 1 snd
psmouse 47142 0
snd_page_alloc 7145 2 snd_hda_intel,snd_pcm
forcedeth 52541 0
i2c_core 18551 2 nvidia,i2c_nforce2
evdev 9315 10
serio_raw 4622 0
sg 26028 0

last test if you can see firefox here all is fine:
root@slack64:~# lsof | grep /dev/snd
knotify4 2252 jeffrey 12u CHR 116,7 0t0 4016 /dev/snd/controlC0
kmix 2304 user 12u CHR 116,7 0t0 4016 /dev/snd/controlC0
firefox-b 3594 user mem CHR 116,4 4013 /dev/snd/pcmC0D0p
firefox-b 3594 user 105r CHR 116,2 0t0 3603 /dev/snd/timer
firefox-b 3594 user 106u CHR 116,4 0t0 4013 /dev/snd/pcmC0D0p
firefox-b 3594 user 107u CHR 116,7 0t0 4016 /dev/snd/controlC0

---------------------------------------------------------------------------------------



The only thing i couldn't find out is, why the mixer are not visible in kmix in my old account?
In the new account "test" i can see these in HDA NVidia mixer and can set up these under channels settings.

lumak 03-29-2010 10:58 PM

@slackcracker

did you do a full install of Slackware?

flash and or fire fox may require a compile time and or run time dependency that you excluded from your install of Slackware.

slackcracker 03-30-2010 06:33 AM

Quote:

Originally Posted by lumak (Post 3917455)
@slackcracker

did you do a full install of Slackware?

Yes, in the past i updated my maschine from Slackware64-13.0 to Slackware64-current, included aaa_elflibs-13.013-x86_64-4 from my local mirror, so this is a 100% full install of Slackware64.

But, i have Multilib and KDE 4.4.1, maybe this is development an thats the reason, something crashes.

slackcracker 04-15-2010 01:30 PM

after my sound was broken again i did this:

remove all other files beginning with sound in /etc/modprobe.d/
only keep sound.conf

edit sound.conf so it looks like this

root@slack64:~# more /etc/modprobe.d/sound.conf
alias sound-slot-0 snd-hda-intel

options snd-hda-intel index=0 id=default

reboot and all is fine hopefully :)

TwinReverb 04-17-2010 05:45 AM

ok, so tonight none of this helped. i guess i didn't check the website google sent me to when i searched for "64bit flash for linux". somehow i accidentally downloaded the 32bit version.

If your flash plugin doesn't show on about:plugins, and nothing seems to work, run:

"file ~/.mozilla/plugins/libflashplayer.so"

If it returns "32bit executable", etc, you got the wrong version if you're on Slackware64 (and visa versa).

PEBKAC

damgar 04-17-2010 07:17 PM

Flash for 64 bit linux is trash. To get decent flash on 64 bit Slack, I installed the multilib files and then installed 32 bit browsers (Firefox and google chrome from slackbuilds--the 32 bit chrome now comes with it's own flash plugin).

Nothing else that I tried really worked.

slackcracker 04-19-2010 02:58 PM

Quote:

Originally Posted by damgar (Post 3938918)
Flash for 64 bit linux is trash. ...
Nothing else that I tried really worked.

Ok, that is an solution. I don't know really (maybe 80%) why my sound was broken the last weeks so often, but as long as i use slackware64 i had no problems with flash 64bit. I only use multilib for some programs, where no 64bit is available.


1. check your bios features for sound, try auto

2. check your hardware, to see if the kernel see them, for my intel-hd-onboard-sound ALC888 (ASRock 939N68PV-GLAN) it looks like this

root@slack64:~# lspci
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)

root@slack64:~# dmesg | grep hd
hda_codec: ALC888: BIOS auto-probing.

root@slack64:~# dmesg | grep HD
HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 21 (level, low) -> IRQ 21
HDA Intel 0000:00:07.0: irq 31 for MSI/MSI-X
HDA Intel 0000:00:07.0: setting latency timer to 64

3. check your sounddevices, if you use only alsa (recommended) like me

root@slack64:~# ls -al /dev/dsp
crw-rw---- 1 root audio 14, 3 2010-04-19 19:52 /dev/dsp

root@slack64:~# ls -al /dev/snd/*
crw-rw---- 1 root audio 116, 7 2010-04-19 21:51 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 6 2010-04-19 21:51 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116, 5 2010-04-19 21:51 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 4 2010-04-19 21:12 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 3 2010-04-19 21:51 /dev/snd/pcmC0D2c
crw-rw---- 1 root audio 116, 8 2010-04-19 19:52 /dev/snd/seq
crw-rw---- 1 root audio 116, 2 2010-04-19 21:51 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 60 2010-04-19 21:51 ./
drwxr-xr-x 3 root root 200 2010-04-19 19:52 ../
lrwxrwxrwx 1 root root 12 2010-04-19 21:51 pci-0000:00:07.0 -> ../controlC0


4. try playing, to check your sound, and sounddevices by playing

root@slack64:~# mpg123 Test.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.11.0; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes

Playing MPEG stream 1 of 1: Test.mp3 ...
Title: Artist: Test
Comment: Album: Test
Year: 2010 Genre: Unknown
MPEG 1.0 layer III, VBR, 44100 Hz stereo
^C
[0:04] Decoding of Test.mp3 finished.

root@slack64:~# aplay Front_Center.wav
Playing WAVE 'Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

mplayer and amarok works in most cases, but mpg123 shows me often when sound was broken

5. If no sound try using the programm alsaconf, an choose your soundcard

root@slack64:~# alsaconf

6. But i figured out that sometimes not all or wrong modules was loaded from the kernel. So check the modules loaded by the kernel, here my modules

root@slack64:~# lsmod | grep snd
snd_seq_dummy 1487 0
snd_seq_oss 29991 0
snd_seq_midi_event 5620 1 snd_seq_oss
snd_seq 52679 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 5459 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 39975 0
snd_mixer_oss 16022 1 snd_pcm_oss
snd_hda_codec_realtek 257222 1
snd_hda_intel 21704 5
snd_hda_codec 65095 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 6456 1 snd_hda_codec
snd_pcm 72035 4 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 19512 3 snd_seq,snd_pcm
snd 57492 19 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd _hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 5839 1 snd
snd_page_alloc 7145 2 snd_hda_intel,snd_pcm

7. and yes, check your flash version if it is 64bit
root@slack64:~# file /usr/lib64/mozilla/plugins/libflashplayer.so
/usr/lib64/mozilla/plugins/libflashplayer.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

8. i also tried to remove alsound.state, alsaconf generate a new one
root@slack64:~# rm /etc/asound.state

9. my last solution was to remove all sound modules an rerun alsaconf, after this sound was also ok, because alsaconf load the right modules for you, try this

hopefully this helps :)

slackcracker 05-12-2010 05:17 PM

Quote:

Originally Posted by slackcracker (Post 3936745)
after my sound was broken again i did this:

My Sound was broken again. :-( after a little Update.

I tried to play root@slack64:~# mpg123 Test.mp3 but an Error occured:
[oss.c:182] error: Can't open default sound device!

First i go to http://www.slackware.com/faq/do_faq.php?faq=distro#4
and reading Q: How do I get my sound card to work?

1. looking my configuration with: cat /proc/asound/oss/sndstat
2. changed my /etc/modprobe.d/sound.conf and disabled OSS

root@slack64:~# cat /etc/modprobe.d/sound.conf
#ALSA
alias snd-card-0 snd-hda-intel
#OSS
#alias sound-slot-0 snd-hda-intel

3. after reboot my Audio devices changed, before change my USB Audio (my Webcam) was 0: see bottom
Audio devices:
0: ALC888 Analog (DUPLEX)
1: USB Audio

4. now my alsamixer points to my soundcard!
before it points to my USB Audio (my Webcam) which hasn't volume control, maybe that was the conflict

5. now i have sound again in Flash-Plugin, hope this help

root@slack64:~# cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.21 emulation code)
Kernel: Linux slack64 2.6.33.3 #2 SMP Fri Apr 30 23:50:51 CDT 2010 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA NVidia at 0xfbf78000 irq 22
USB Device 0x46d:0x805 at usb-0000:00:04.1-1, high speed

Audio devices:
0: ALC888 Analog (DUPLEX)
1: USB Audio

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
31: system timer

Mixers:
0: Realtek ALC888
1: USB Mixer

Edit:
After a Reboot Sound was broken again :-(

slackcracker 05-14-2010 04:24 PM

First Solution Flash Plugin No Sound
 
Quote:

Originally Posted by Alien Bob (Post 3894951)
Please check if this is your problem:

After probing and testing much with Alsa /etc/modprobe.d/sound.conf nothing helps, but i found a first solution for me. :-) Flash-Plugin and Alsa are not the Problem! The Audio Device Order is my problem. How can i fix this better?

My Logitech Usb-Webcam C300 block the first sound-device /dev/dsp, because it is loaded first by the module snd_usb_audio,
then my onboard sound card Realtek ALC888 hda-intel is loaded by the module snd_hda_intel as second device

then it looks like this:
root@slack64:~# cat /proc/asound/oss/sndstat
...
Audio devices:
0: USB Audio
1: ALC888 Analog (DUPLEX)
...

mpg123 can't play on /dev/dsp

----------------------------------------------------------------------------------------------
here my Solution:
1. blacklist snd_usb_audio in /etc/modprobe.d/blacklist.conf (prevent to load the module first)
2. modprobe snd_usb_audio & in /etc/rc.d/rc.local (load the module later)
----------------------------------------------------------------------------------------------

So my sound card is the first audio device and Flash-Plugin works! :-)

then it looks like this:
oot@slack64:~# cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.21 emulation code)
Kernel: Linux slack64 2.6.33.3 #2 SMP Fri Apr 30 23:50:51 CDT 2010 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA NVidia at 0xfbf78000 irq 22
USB Device 0x46d:0x805 at usb-0000:00:04.1-1, high speed

Audio devices:
0: ALC888 Analog (DUPLEX)
1: USB Audio

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
31: system timer

Mixers:
0: Realtek ALC888
1: USB Mixer

mpg123 can play now on /dev/dsp

An interesting wiki is here: http://wiki.ubuntuusers.de/Soundkarten_installieren/HDA

budman85 07-09-2010 09:15 PM

SB Live working again
 
Thanks for the blacklist idea.

Sound was working fine, then one reboot and the HDMI sound onboard soundcard took precedence over the other modules.

A quick way to remove snd modules without rebooting:

lsmod|awk '/snd/{print "modprobe -r "$1}'|sh

Run it a few times, it will unload modules as they no longer have any deps. I use XFCE, so I needed to remove the Mixer app from the panel to free the binding for the Intel sound driver. Then I ran the above again and it removed the remaining modules.

Then I updated /etc/modprobe.d/blacklist.conf
added:
blacklist snd_hda_codec_atihdmi
blacklist snd_hda_intel

Then I reran alsaconf - Bingo!
I readded the mixer to the panel and it now picked up SB Live mixer.

mpg321 now worked fine and sound was all back.

cat /proc/asound/oss/sndstat

Sound Driver:3.8.1a-980706 (ALSA v1.0.21 emulation code)
Kernel: Linux mars 2.6.33.4-smp #2 SMP Wed May 12 22:47:36 CDT 2010 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
SB Live! 5.1 (rev.7, serial:0x80641102) at 0xe800, irq 20

Thanks for the tip.

Rich


All times are GMT -5. The time now is 06:57 PM.