Quote:
Originally Posted by damgar
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
