Author Topic: Peppermint 2 flash update failed  (Read 5886 times)

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Peppermint 2 flash update failed
« Reply #15 on: May 10, 2012, 02:53:09 pm »
Glad you've found a solution .. and that info may be of use to others, so thanks :)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1833
  • Karma: 142
  • Gender: Male
    • View Profile
    • Awards
Re: Peppermint 2 flash update failed
« Reply #16 on: May 10, 2012, 03:24:02 pm »
Glad it worked out for you. Couple questions (just being curious)
Quote
However the problem was resolved by removing flash and using lightspark instead.

Are you using Gnash now as a plugin?
To check this in Firefox tipe in the URL bar:
Code: [Select]
about:plugins

Also I find it curious why your LXDE system is using 400mb out of 500 at idle (this might be a Peppermint2 issue).

As a comparison (at idling after first boot) my desktop LMDE (xfce) uses around 135mb out of 1 gb
On my AA1 ArchBang (openbox) uses 73mb out of 1.5gb with wireless enabled.
« Last Edit: May 10, 2012, 03:53:26 pm by SeZo »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Peppermint 2 flash update failed
« Reply #17 on: May 10, 2012, 03:42:59 pm »
Memory usage "at idle" is a bit nondescript .. and can depend on daft things like size of wallpaper image, what tasks are running in the background (which may depend on "when" you check) .. it can be a useful pointer if you know how to read/make sense of the readings, or it can drive you insane if you don't ;)

To make more sense out of memory usage "at idle", it would be best to do a reboot, check top .. check what processes are running .. then decide if they are necessary or not.

Then you'd need to keep a close eye out for runaway (maybe leaking) processes later on.

My point is .. "at idle" doesn't mean much on its own, and means different things at different times to different people :)

Though depending on what was running at the time .. 400MB does (maybe) seem a little excessive.

[EDIT]

What would be more interesting would be to know if flash was causing the swap file to be used.

@ SeZo

It would seem the answer to your gnash/plugin question is probably YES, "sort of", "sometimes" .. see here:
http://en.wikipedia.org/wiki/Lightspark

I'd not heard of Lightspark either  :-[

Quote
Lightspark is a free and open source SWF player released under the terms of the GNU Lesser General Public License (LGPL) version 3.

Lightspark supports most of ActionScript 3.0 and has a Mozilla-compatible plug-in. It will fall back on Gnash, a free SWF player on ActionScript 1.0 and 2.0 (AVM1) code.


Nice to know about though .. nice find Tramink :)
« Last Edit: May 10, 2012, 04:08:27 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1833
  • Karma: 142
  • Gender: Male
    • View Profile
    • Awards
Re: Peppermint 2 flash update failed
« Reply #18 on: May 10, 2012, 05:43:50 pm »
Quote
Memory usage "at idle" is a bit nondescript ..

You are right of course,  I might have been a bit vague about the measuring of the ram used by the DE.

For reference see the output on my desktop after boot up:
Quote
free -m
                    total       used       free     shared    buffers     cached
Mem:          1010        349        660          0         41        180
-/+ buffers/cache:       127        883
Swap:         3999          0       3999

In this case it is 127MiB used. Not counting buffers & cached.

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Peppermint 2 flash update failed
« Reply #19 on: May 10, 2012, 05:53:27 pm »
Just for comparison .. PeppermintOS Two after a reboot, with wireless enabled, connected to 3 VPN tunnels, and running monitoring software:-

Quote
mark@mark-AA1 ~ $ free -m
             total       used       free     shared    buffers     cached
Mem:          1498        249       1248          0         29        126
-/+ buffers/cache:         93       1404
Swap:          497          0        497

and what it climbed to when I opened Firefox and played a 360p flash video on youtube:-

Quote
mark@mark-AA1 ~ $ free -m
             total       used       free     shared    buffers     cached
Mem:          1498        587        910          0         31        253
-/+ buffers/cache:        303       1194
Swap:          497          0        497

But it's the CPU usage that really goes through the roof when flash is used  :o

;)
« Last Edit: May 10, 2012, 06:17:24 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1833
  • Karma: 142
  • Gender: Male
    • View Profile
    • Awards
Re: Peppermint 2 flash update failed
« Reply #20 on: May 10, 2012, 07:20:26 pm »
That is a good reading Mark, (though fully expected from a light DE)
Mine reading with Firefox running a 360p flash video:
Quote
$ free -m
                   total       used       free     shared    buffers     cached
Mem:          1010        619        390          0         44        292
-/+ buffers/cache:        282        728
Swap:         3999          0       3999

Which is comparable to yours.

I still question why tramlink's system would report 400mb used, specially as it is quite low on resources.
Unless it is including cache+buffers, but even then that would be quite high.

As for Lightspark I have not heard of it before, but it is good to know about it.
 

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Peppermint 2 flash update failed
« Reply #21 on: May 10, 2012, 07:30:59 pm »
Yeh, I'd assume he read the Mem: line  .. or at least I'd hope so :)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Tramlink

  • Hero Member
  • *****
  • Posts: 949
  • Karma: 12
  • Gender: Male
  • Is the mist clearing
    • View Profile
    • Awards
Re: Peppermint 2 flash update failed
« Reply #22 on: May 11, 2012, 09:57:21 am »
I checked what was starting at boot and removed a number of programs that did not have to start.

Now at idle system reports CPU 12% 153mb of RAM in use.  When running Chromium CPU 12% 192mb RAM  if running fire fox CPU 8% 212mb RAM  when streaming a video without flash on fire fox CPU 65% 215mb RAM in use.

I reinstalled flash when I tried to open same video in flash CPU went to 100% 450mb RAM and plugin crashed.

The sooner flash is dumped the better it would seem.

As an added bonus there is a newer version of lightspark available from there web site.  After installing the update I was able to watch flash on sites running flash 10 but still not the latest flash version 11 on Chromium.
« Last Edit: May 11, 2012, 11:37:50 am by Tramlink »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Peppermint 2 flash update failed
« Reply #23 on: May 11, 2012, 12:59:40 pm »
Do you want to try putting an earlier version of flash 11 into the ~/.mozilla/plugins directory  and see if it works in firefox ?

But I'd tend to agree "flash must go" .. or them improve the flashplugn "a lot".
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Tramlink

  • Hero Member
  • *****
  • Posts: 949
  • Karma: 12
  • Gender: Male
  • Is the mist clearing
    • View Profile
    • Awards
Re: Peppermint 2 flash update failed
« Reply #24 on: May 11, 2012, 03:01:45 pm »
I think it is a resource issue my pet 4 with 2mb Ram crashes on some intensive sites mint 10.

Even my main desk top with duel core and 4mb RAM is running at CPUs 65% on both cores and 500mb RAM..........

would be good if lightspark produced a replacement for flash that worked on most sites or more sites went to HTML5.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1833
  • Karma: 142
  • Gender: Male
    • View Profile
    • Awards
Re: Peppermint 2 flash update failed
« Reply #25 on: May 11, 2012, 09:21:46 pm »
Have you tried the Firefox plugin FlashVideoReplacer (FVR)
https://addons.mozilla.org/en-US/firefox/addon/flashvideoreplacer/
and
http://www.webgapps.org/add-ons/flashvideoreplacer
I wonder how would it perform with the resources available.


Offline Tramlink

  • Hero Member
  • *****
  • Posts: 949
  • Karma: 12
  • Gender: Male
  • Is the mist clearing
    • View Profile
    • Awards
Re: Peppermint 2 flash update failed
« Reply #26 on: May 16, 2012, 11:17:47 pm »
Yes tried the fire fox plug-in and was able to watch you tube OK.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal