Firefox vs. Flash 9 Progress

How to do things, solutions, recipes, tutorials
Message
Author
EdFromHouston
Posts: 176
Joined: Fri 07 Apr 2006, 06:21

Firefox vs. Flash 9 Progress

#1 Post by EdFromHouston »

New Edit: This also works with Puppy 2.14 and Firefox/Flash9

UPDATE Edit:
I've viewed almost 100 flash 9 and java sites including the ones below using Firefox 2.0.0.1 and after updating, also version 2.0.0.2, also Seamonkey.. All are stable, my processor is running slow, and my processor fan is on low. I have a CeleronD with Puppy 2.13 being ran on the live CD with a FAT save file and plenty of RAM (768mb and an ATI 7000 64mb 3D card.)

http://home.disney.go.com/games/
http://www.youtube.com/
http://www.adobe.com/
http://www.google.com/
http://www.argosycruises.com/flash.cfm
http://www.geocities.com/TimesSquare/La ... linux.html
http://www.java.com/en/download/help/testvm.xml
http://www.javatester.org/enabled.html
http://www.java.com/en/dukeszone/index.jsp
http://www.v-workshops.com/java/
http://www.flash-game.net/
http://www.flash-game.net/game/2263/sup ... ikers.html
http://www.cbs.com/primetime/jericho/videos.php
And of course this page.

I'm using Puppy 2.13, Firefox 2.0.0.1.pup now updated online using auto update to 2.0.0.2, Flash9.pup, Jre 1.5.0.08.pup, Other plugins are Puppys' like Gxine, also the print plugin and the libnullplugin. I use Mozplugger 1.73 for embeded media for MPlayer.

I have my Flash 9 settings set to allow each website to store 100 kilobytes on my computer and flash set to deny access to my camera and microphone as explained further down the page. My firefox browser is set up as it was when I installed the dotpup a few days ago although I imported all my settings from Seamonkey at initial startup, cookies are allowed and is default, and last night it updated.

This is what made Firefox stop crashing. The three mozilla directories listed discribe the contents in full. I think it has to do with the relative links:

For Seamonkey relative links are in '/usr/lib/seamonkey-1.0.6/plugins' for 'libflashplayer.so' and 'flashplayer.xpt'
(Also libnullplugin.so, libunixprintplugin.so, gxineplugin.so, and mozplugger.so are located here and are not relative links)

For Firefox 2.0.0.1 relative links are in '/usr/local/firefox/plugins' for 'flashplayer.xpt' and 'libflashplayer.so'.
(Also libnullplugin.so, libunixprintplugin.so, gxineplugin.so, and mozplugger.so are located here and are not relative links but are copied from '/usr/lib/seamonkey-1.0.6/plugins') except libnullplugin.so which was installed by the firefox dotpup.

For all Mozilla browsers relative links are in '~/.mozilla/plugins' for 'libjavaplugin_oji.so', 'libflashplayer.so' and 'flashplayer.xpt'
(Notice the extra flash relative links. These three links are all I put here.)

The flash 'resource' directory, 'libflashplayer.so' and 'flashplayer.xpt' are located at '/usr/local/Flash9'

The JAVA plugin 'libjavaplugin_oji.so' is located at '/usr/local/Jre1.5.0_08/plugin/i386/ns7/libjavaplugin_oji.so'
------------------------------------------------------------------------------------------------

I CAN'T GET FLASH 9 TO CRASH with the links set up like I have them above.

What to do think?

I found additional information if you still have problems below this line but I haven't tried any of it because it seems so far (fingers crossed) that my problem with mozilla and flash9 may be solved:
----------------------------------------------------------------------------------------------
I found this here: https://launchpad.net/ubuntu/+source/firefox/+bug/14911

In the /etc/firefox/firefoxrc file, insert this line:
Code:
export XLIB_SKIP_ARGB_VISUALS=1

Note: Mark says this has been in Puppy since version 2.10 as explained further down the page.
------------------------------------------------------------------------------------------------
Change your color depth to 24 bit if possible.
-------------------------------------------------------------------------------------------------
From this site: http://kb.mozillazine.org/Problematic_extensions

"Do not use both FlashBlock and NoScript together (NoScript includes Flash-blocking functionality) NoScript blocks JavaScript which is required by FlashBlock."

Other useful information on extension compatability...
------------------------------------------------------------------------------------------------
Here is a link to 'Flashsupport' for delevopers:

http://labs.adobe.com/wiki/index.php/Fl ... _for_Linux

..."Adobe is delivering this support layer as an open-source dynamic library called flashsupport. This library will enable distributions not formally supported by Adobe to ensure that Flash Player functionality is fully preserved on those distributions."...
------------------------------------------------------------------------------------------------
I hope my system remains stable and I hope maybe this can help some of you.

Any suggestions to help me crash this thing?

Ed.
Last edited by EdFromHouston on Sun 04 Mar 2007, 03:51, edited 2 times in total.

User avatar
Artie
Posts: 448
Joined: Tue 04 Oct 2005, 17:45
Location: Norway
Contact:

#2 Post by Artie »

Thanks very much for this comprehensive, instructional and useful post! :-) I'll go through it thoroughly in the weekend and compare with my setup since Firefox is always crashing on me but SeaMonkey doesn't.

Artie

User avatar
fudgy
Posts: 86
Joined: Wed 07 Jun 2006, 09:40
Location: Berlin, Germany

#3 Post by fudgy »

- deleted -
Last edited by fudgy on Tue 06 Mar 2007, 22:52, edited 1 time in total.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#4 Post by Flash »

EdFromHouston,

That's really great news, but you left out some things needed to make it a useful HowTo. :)

For instance, I can't find a Flash dotpup in either of the two places listed in the wiki (where the desktop "install" icon takes me.) It would be great if you edited your original post so that "Flash9.pup", "Java 1.5.0.08.pup" and the various Gxine "plugins" are hot links to their respective download sites. If that's asking too much, at least tell us where you found them.

Also you mention that you adjusted your Flash9 settings but you don't give any details on how to do that.

But it's a good start on what could be a very welcome HowTo. :)
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69321][color=blue]Puppy Help 101 - an interactive tutorial for Lupu 5.25[/color][/url]

EdFromHouston
Posts: 176
Joined: Fri 07 Apr 2006, 06:21

#5 Post by EdFromHouston »

Flash wrote:EdFromHouston,

That's really great news, but you left out some things needed to make it a useful HowTo. :)

For instance, I can't find a Flash dotpup in either of the two places listed in the wiki (where the desktop "install" icon takes me.) It would be great if you edited your original post so that "Flash9.pup", "Java 1.5.0.08.pup" and the various Gxine "plugins" are hot links to their respective download sites. If that's asking too much, at least tell us where you found them.

Also you mention that you adjusted your Flash9 settings but you don't give any details on how to do that.

But it's a good start on what could be a very welcome HowTo. :)
Well I think I should answer your questions here because I'm not sure it is a die hard 'How-To' yet. My machine is working great this morning. I've gone to many other sites after leaving my machine on all night. I'm using Seamonkey right now as Firefox runs in the background. Everything seems ok. I have two other systems before me I want to test this on, a 6 year old PC and a 7 year old laptop with 64mb of ram. I'll do that today and post my results here.

I got the dotpups from the Puppy Software Installer Beta 05:
http://murga-linux.com/puppy/viewtopic.php?t=10960

It downloaded them from Marks' site http://dotpups.de which is down right now as seen here:
http://www.murga-linux.com/puppy/viewtopic.php?t=15568

Here is a link to Marks' temporary site:
http://puppyfiles.org/dotpupsde/dotpups/

I used the Firefox dotpup created by Todd I believe under 'Internet' and the Java dotpup under 'Libraries' in the above link.

I noticed the Flash dotpup isn't at the temporary site but here is a link to what I believe is the one I used. I downloaded it to a removable disk on 1/19/2007 and it is 2352K in size:
http://www.murga-linux.com/puppy/viewto ... 56&t=14566

The Flash Player sets the default amount of storage it allows on your computer at 100K and allows you to change that setting by right clicking while focusing on a flash 9 animation and clicking settings. This will bring up a popup within the flash animation to adjust the settings for that page. If you want to change the settings for all flash content click the 'Advanced' tab and this will bring up a popup in a new window so allow the popup. It will take you to the Adobe Settings Manager located here:
http://www.macromedia.com/support/docum ... nager.html

Here you can set it as you wish. A tip: If you don't want flash cookies stored on your system, (remember these are not browser cookies but are cookies only used by the flash player), you can set rhe amount of space that flash is allowed to store content on your computer for each site you visit to zero and this should cancel all the cookies from those sites as well. I think the settings manager will remember your settings but you should shut it down and run it again to make sure because I don't have mine set up that way. Note I may be wrong but it seems logical to me.

Gxine and the others came with Puppy except for Mozplugger which is what I use for embeded video. I don't know if this is helping flash be more stable or not. I like it because you can configure it. Here is a link to Mozplugger.pup:
http://www.murga-linux.com/puppy/viewto ... 2705#82705

I hope this helps.

EdFromHouston
Posts: 176
Joined: Fri 07 Apr 2006, 06:21

#6 Post by EdFromHouston »

Also Firefox 2.0.0.2 for Linux just came out. Link to download as this may help:

http://www.mozilla.com/en-US/firefox/all.html

Release notes:

http://www.mozilla.org/projects/securit ... fox2.0.0.2

Mine just updated on it's own.
Last edited by EdFromHouston on Sun 25 Feb 2007, 03:21, edited 1 time in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

It had gone lost creating the new server.
Here it is again:
http://puppyfiles.org/dotpupsde/dotpups ... Flash9.pup

(2.4 MB download)

Mark

EdFromHouston
Posts: 176
Joined: Fri 07 Apr 2006, 06:21

#8 Post by EdFromHouston »

Just an update. I've gone to about 50 or 60 other sites in Firefox 2.0.0.1 and Seamonkey. Still no crash. I'm still testing the other computers. Does anyone want to post problem sites and what led up to the crash? I'll check them and post later.

Ed

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

Re: Firefox vs. Flash 9 Progress

#9 Post by Sit Heel Speak »

EdFromHouston wrote:I found this here: https://launchpad.net/ubuntu/+source/firefox/+bug/14911

In the /etc/firefox/firefoxrc file, insert this line:
Code:
export XLIB_SKIP_ARGB_VISUALS=1
In Puppy, instead of
/etc/firefox/firefoxrc
I believe (someone correct me if wrong) the file is
/usr/local/firefox/firefox
(our firefox start script)
(***EDITED as indicated below, no need to put it in the firefox start script, because it's already in Puppy since 2.10, in /etc/profile...)
Last edited by Sit Heel Speak on Sun 25 Feb 2007, 17:42, edited 1 time in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#10 Post by MU »

export XLIB_SKIP_ARGB_VISUALS=1

This fix should already in Puppy since 2.10.
It should be in /etc/profile:
#v2.10 MU: rox crashes with DRI modules. solution:
export XLIB_SKIP_ARGB_VISUALS=1
This issue affected several applications, usually based on Gtk1, but maybe others, too.

Mark

EdFromHouston
Posts: 176
Joined: Fri 07 Apr 2006, 06:21

#11 Post by EdFromHouston »

MU wrote:export XLIB_SKIP_ARGB_VISUALS=1

This fix should already in Puppy since 2.10.
It should be in /etc/profile:
#v2.10 MU: rox crashes with DRI modules. solution:
export XLIB_SKIP_ARGB_VISUALS=1
This issue affected several applications, usually based on Gtk1, but maybe others, too.

Mark
Thanks Mark it's there in 2.13. I updated the first post. Everything is still running good. I haven't crashed once and have read plenty of online flash ads. I don't know if I should love it or hate it.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#12 Post by Sit Heel Speak »

EdFromHouston wrote:Everything is still running good. I haven't crashed once and have read plenty of online flash ads. I don't know if I should love it or hate it.
Speaking for myself: THANKS ED!!! I LOVE IT!!!
Firefox set up as you describe above, with AdBlock Plus (with the "AdBlock G Filterset" as you mention elsewhere), plus the NoScript add-on (to block unwanted Flash)...really kicks a**!--now if only I could get VideoDownloader to work...

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#13 Post by Sit Heel Speak »

...however, I still have trouble getting some YouTube videos to play.

By setting Firefox up to start from an rxvt window, I see in the window a message:

Flash Player: Warning: environment variable G_FILENAME_ENCODING is set and is not UTF-8

I see this variable in /etc/profile where it is set =@locale

Would it hurt anything (e.g. Sylpheed) to change this to =UTF-8?

Alternatively, could I "re-export" it as =UTF-8 in /usr/local/firefox/firefox?

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#14 Post by trapster »

now if only I could get VideoDownloader to work...
I also tried the videodownloader thing and gave up.

Went back to the 'ol tried and true:
mplayer -dumpstream -dumpfile <filename> <url>
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

EdFromHouston
Posts: 176
Joined: Fri 07 Apr 2006, 06:21

#15 Post by EdFromHouston »

Sit Heel Speak wrote:...however, I still have trouble getting some YouTube videos to play.

By setting Firefox up to start from an rxvt window, I see in the window a message:

Flash Player: Warning: environment variable G_FILENAME_ENCODING is set and is not UTF-8

I see this variable in /etc/profile where it is set =@locale

Would it hurt anything (e.g. Sylpheed) to change this to =UTF-8?

Alternatively, could I "re-export" it as =UTF-8 in /usr/local/firefox/firefox?
I wish I could help but I can't. I'm just a locksmith that managed to get this to work (no more crashing Firefox) on my time away from work. I'm one of those Jack of all trades types and I think I know enough about linux to be maybe helpful and quite possibly dangerous. :D

I do know your problem after doing a lot of reading on this, is the most common complaint about flash 9 other than the browser crashing. I can't get this to happen for me as YouTube plays fine for me so far without a single problem.

Sorry
Ed

EdFromHouston
Posts: 176
Joined: Fri 07 Apr 2006, 06:21

#16 Post by EdFromHouston »

Well Sit Heel Speak I found this about UTF8:

"The Internet Engineering Task Force (IETF) requires all Internet protocols to identify the encoding used for character data with UTF-8 as at least one supported encoding.[1] The Internet Mail Consortium (IMC) recommends[1] that all email programs be able to display and create mail using UTF-8. Of all the major email clients, only Eudora does not support UTF-8."

This I found here:

http://en.wikipedia.org/wiki/UTF8

Also I found this page about how UTF8 is used in linux:

http://www.cl.cam.ac.uk/~mgk25/unicode.html

The section: How should the UTF-8 mode be activated? makes for a good read.

How about opening about:config and typing utf8 in the search bar and toggle the three commands containing utf8 to true:

network.standard-url.encode-utf8 true
network.standard-url.escape-utf8 true
prefs.converted-to-utf8 true ( this is java script I think)

Then set 'View' 'Character Encoding' 'Unicode (UTF8)

It seems this wont hurt your e-mail program but it might not allow certain text to be displayed like characters mainly from S.E.Asia. It should display non-latin text fine like English and Polish.

Then set it to UTF8 in the profile folder.

I would think it is set to local because Puppy is used by a lot of people in S.E.Asia that don't use UTF8 yet.

Please correct me if I'm wrong because I may very well be.

Also if you want to post a link to the videos giving you problems I would like to see if I can play them on this machine.

Ed

EdFromHouston
Posts: 176
Joined: Fri 07 Apr 2006, 06:21

#17 Post by EdFromHouston »

I just found the official Flash 9 system requirements: 512mb ram, 800mb processor, Red Hat or Novell only supported. I'm sure this may be causing problems as well especially with Puppy.

http://www.adobe.com/products/flashplay ... ystemreqs/

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#18 Post by Sit Heel Speak »

EdFromHouston wrote:I wish I could help...
Yes, well, getting Firefox to not crash on Flash video is a big step forward!--although I haven't tried Muppy 007 or plinej's 2.13-multimedia-v03.iso Puppies as Firefox multimedia platforms yet...I have a P3-1GHz CPU and 1GB of RAM.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#19 Post by Sit Heel Speak »

network.standard-url.encode-utf8 was set false, toggled to true.
network.standard-url.escape-utf8 was already set true.
prefs.converted-to-utf8 was already set true.

I went ahead and added "export G_FILENAME_ENCODING=UTF-8" to the firefox start script. The rxvt window from which firefox starts no longer shows the warning message.

Youtube.com - category Comedy:

Help Wanted...no, although it worked ~12 hours ago.
why i got fired from apple computer: high resolution 6:43 version...no
Re: why i got fired from apple...2:12 works.

Settings in Adobe Flash Player:
Global Storage...100KB, allow third party is unchecked.
Global Security...always ask.

Nominal 512 kbps connection (real-world 380-400 kbps)

No hurry. Past my bedtime here...
Last edited by Sit Heel Speak on Mon 26 Feb 2007, 03:38, edited 1 time in total.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#20 Post by Sit Heel Speak »

(deleted by poster)
Last edited by Sit Heel Speak on Mon 26 Feb 2007, 05:45, edited 1 time in total.

Post Reply