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? |
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.
|
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? |
See this thread: http://www.linuxquestions.org/questi...ware64-728558/
Maybe it can help. |
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 |
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+"$@"} |
Quote:
|
Thanks a lot!
I did exactly what the Alien Bob's blog says and now I have a working flash for firefox. really thanks. |
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??? |
Flash Plugin don't work
Quote:
|
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 { That's a lot of information, some of it simplified beyond recognition, but it should get you started anyway. |
Quote:
|
2 Attachment(s)
Quote:
--------------------------------------------------------------------------------------- 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. |
@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. |
Quote:
But, i have Multilib and KDE 4.4.1, maybe this is development an thats the reason, something crashes. |
All times are GMT -5. The time now is 06:04 PM. |