Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: Mike7 on April 13, 2014, 07:47:36 AM

Title: videos crash chromium-browser
Post by: Mike7 on April 13, 2014, 07:47:36 AM
Hi, all.

I installed chromium-browser.tcz and it works fine for most websites. But it crashes when trying to watch videos on Youtube and elsewhere. Can anyone tell me why?

If it's a RAM issue (I have only 1GB RAM in my netbook), will I have to use a swap file? (I don't really want to do this on a flash drive.)

Suggestions appreciated.

Cheers.

Mike
Title: Re: videos crash chromium-browser
Post by: volkerp on April 13, 2014, 10:50:30 AM
Hi Mike7,

you didn't write, if you tried to watch exact the same videos with another browser. If you didn't do so, please do it now and post the results.

Volker
Title: Re: videos crash chromium-browser
Post by: Mike7 on April 18, 2014, 08:41:39 AM
Hi, volkerp. Happy Easter!

Yes, I checked with Firefox (in WinXP) and Chrome (in Puppy Linux) and was able to watch them.

With Chromium in TCL, they play for a few seconds and then the video frame goes black and says "An error occurred, please try again later."

M.
Title: Re: videos crash chromium-browser
Post by: volkerp on April 18, 2014, 11:02:58 AM
Hi Mike7,

now please install another browser in TC and use it to watch the videos. Post, if it crashes or not.

Happy Easter too!

Volker

Title: Re: videos crash chromium-browser
Post by: Mike7 on April 18, 2014, 03:27:26 PM
Can I install another browser without interfering with Chromium? What about when I go to uninstall one of them? Won't there be a dependencies problem?

Also, I really like Chromium. I'd like to make it work and keep it.

But I will co-install Firefox, for example, if you say so.
Title: Re: videos crash chromium-browser
Post by: volkerp on April 19, 2014, 01:10:02 AM
Hi Mike7,

you should avoid to load more than one browser of the firefox/mozilla family  simultaneously. Indeed there seem interfering and/or dependency problems possible.

But chromium does not belong to the firefox/mozilla family.

My personal favored browser is GNU Icecat (--> icecat.tcz). It is the GNU version of firefox.

So I suggest you to give it a try. But caution: Before watching streaming videos you must disable the preinstalled add-on "GNU LibreJS". Don't forget to reenable it later and read what it does mean!

Should it crash as well, please post it. Than we have to look for a reason outside the browser.

Volker

Title: Re: videos crash chromium-browser
Post by: Mike7 on April 19, 2014, 10:26:47 AM
Hi, volkerp.

Quote
you should avoid to load more than one browser of the firefox/mozilla family  simultaneously. Indeed there seem interfering and/or dependency problems possible.

But chromium does not belong to the firefox/mozilla family.

Okay.

Quote
My personal favored browser is GNU Icecat (--> icecat.tcz). It is the GNU version of firefox.

Sounds good.

Quote
Before watching streaming videos you must disable the preinstalled add-on "GNU LibreJS". Don't forget to reenable it later and read what it does mean!

Understood.

Quote
Should it crash as well, please post it. Than we have to look for a reason outside the browser.

Icecat and Chromium don't have any shared dependencies, which could cause problems when I uninstall one of them?

Mike
Title: Re: videos crash chromium-browser
Post by: coreplayer2 on April 19, 2014, 12:07:38 PM
There is no need to worry about deps.  Use the Apps gui to remove chromium-browser from the onboot.lst  then browse for another browser and install onboot  as per the depictions in corebook, then reboot

;)

Title: Re: videos crash chromium-browser
Post by: Mike7 on April 22, 2014, 11:31:49 AM
coreplayer2-

Quote
There is no need to worry about deps.

Uninstalling extensions still worries me. I tried minefield before chromium and I had a hard time uninstalling it. I still don't know if I got rid of all its dependencies.

Quote
Use the Apps gui to remove chromium-browser from the onboot.lst

Just chromium-browser.tcz? Nothing else?

Quote
then browse for another browser and install onboot  as per the depictions in corebook, then reboot

Okay, I'll read what Corebook has to say about it.

M.
Title: Re: videos crash chromium-browser
Post by: volkerp on April 22, 2014, 03:02:04 PM
Hi Mike7,

Quote
I installed chromium-browser.tcz and it works fine for most websites. But it crashes when trying to watch videos on Youtube and elsewhere.

Quote
Uninstalling extensions still worries me. I tried minefield before chromium and I had a hard time uninstalling it. I still don't know if I got rid of all its dependencies.

Question: Did you watch videos with minefield succesfully?

I wonder that uninstalling minefield was a problem. Using the Apps tool an extension is marked for deletion and all of its dependencies that aren't needed by anything else will also be removed. After rebooting then all is gone.

If you remember details of what happened when uninstalling minefield and you post it, it could maybe help solve your problem.

Cheers

Volker
Title: Re: videos crash chromium-browser
Post by: Mike7 on April 22, 2014, 04:12:16 PM
Hi, Volker.

Quote
Question: Did you watch videos with minefield succesfully?

I wish I could remember <sheepish grin>.

Quote
I wonder that uninstalling minefield was a problem. Using the Apps tool an extension is marked for deletion and all of its dependencies that aren't needed by anything else will also be removed.

When you're not used to it, it doesn't seem so easy. I realize that' s the way it's supposed to work, but somehow it didn't seem to do that. Maybe I did something wrong. I don't know. I can no longer remember.

Quote
If you remember details of what happened when uninstalling minefield and you post it, it could maybe help solve your problem.

I'm afraid my memory of that unpleasant episode is gone. At my age (I'm 70), you tend to quickly forget everything that wasn't fun.

Cheers.

Mike
Title: Re: videos crash chromium-browser
Post by: volkerp on April 23, 2014, 02:35:21 AM
Hi Mike,

now please install the firefox browser (--> firefox.tcz), don't uninstall anything, start firefox, watch a video and tell us what happens.

Volker
Title: Re: videos crash chromium-browser
Post by: coreplayer2 on April 23, 2014, 09:13:34 AM
It's easy,  simply open Apps gui, go to  the Apps button and select Maintenance > Dependencies and Deletions (allow a minute or two to build the list.
Then select the extension you wish to delete. 
Then while the app you wish to delete is selected open the dependencies button > and select "Mark for Deletion"

On next reboot the extension will be deleted, additionally any dependencies which are not required by any other extension will also be deleted.
End of story.


There is however a fail-safe mechanism.  In the event you have manually accidentally removed/deleted a needed extension, use the "Fetch missing Dependencies" from the same Dependencies button.  Run that to resolve missing deps.
Title: Re: videos crash chromium-browser
Post by: Mike7 on April 23, 2014, 12:26:54 PM
Hi, Volker.

Quote
now please install the firefox browser (--> firefox.tcz), don't uninstall anything, start firefox, watch a video and tell us what happens.

Is there some reason why you suggest Firefox now, rather than Icecat?

Also, coreplayer2 told me to remove chromium from onboot.lst first. Isn't that necessary, to avoid browser conflicts?

Mike
Title: Re: videos crash chromium-browser
Post by: gerald_clark on April 23, 2014, 12:40:50 PM
I don't see any conflicts.
Title: Re: videos crash chromium-browser
Post by: volkerp on April 23, 2014, 01:47:09 PM
Hi Mike7,

Quote
Is there some reason why you suggest Firefox now, rather than Icecat?

In firefox you needn't disable any preinstalled add-ons. I thought it's easier for you. That's all. No further reason.

Volker
Title: Re: videos crash chromium-browser
Post by: coreplayer2 on April 23, 2014, 02:25:31 PM
Also, coreplayer2 told me to remove chromium from onboot.lst first. Isn't that necessary, to avoid browser conflicts?
There might not be any conflict with Chromium and Firefox, but it's a mindset to get into for the day you try various Mozilla based browsers that might conflict.. 
Title: Re: videos crash chromium-browser
Post by: Mike7 on April 26, 2014, 12:46:15 AM
Hi, all.

Okay, this weekend when I have a moment I will take chromium of onboot.lst and downlaod and install onboot Firefox.tcz. Then check if videos play in Firefox, and report back.

One thing that occurred to me yesterday was that maybe it's a problem with flashplayer., which seems a likely culprit.

But we'll know more this weekend.

Thanks, and cheers all.

Mike

I
Title: Re: videos crash chromium-browser
Post by: Mike7 on April 26, 2014, 01:25:23 PM
Volker, coreplayer2, and all-

Regarding flashplayer and switching browsers:

The wiki says: "If you install a different browser after installing Flash Player, and want Flash Player on it, delete the flash extension in the tce directory, and install Flash Player again."

This is unclear. Does it mean running getFlash11.tcz after deleting flash11.tcz? If so, how do I do that? (It did it automatically when it was first downloaded, but that is not the case here.) Can getFlash11.tcz be run like an application, using the Run program?

Furthermore:
- Should I do this before installing Firefox or after? (The wiki says that a browser should be installed and run at least once before installing flashplayer.)
- If so, do I need to run through the getFlash11.tcz process again? Both getFlash11.tcz and flash11.tcz are in my tce/optional/ folder. flash11.tcz is in onboot.lst, getFlash11.tcz is not. (Is this the way it should be?)

So, what do I do?

I'd like to get it right so that this test of a different browser is worthwhile. I don't want Firefox to not play videos because of a flashplayer installation error. So please answer these questions if you can.

As a matter of fact, maybe Chromium won't play videos because of an error in the flashplayer installation. So please help me do this the right way this time.

Thanks.

Mike
Title: Re: videos crash chromium-browser
Post by: coreplayer2 on April 26, 2014, 04:02:50 PM
getFlash11.tcz  never needs to be in your onboot.lst file.

It can be loaded as needed via Apps,  or ondemand, or command line
tce-load -i getFlash11

After loading, run getFlash11 from the desktop menu, or enter getFlash11 at the commandline




Sent from my iPhone using Tapatalk
Title: Re: videos crash chromium-browser
Post by: volkerp on April 27, 2014, 12:49:35 AM
Hi Mike7,

for your information: I have flash11.tcz in my onboot.lst. getflash11.tcz I uninstalled already a long time ago, just because i don't need it anymore.

Just now I installed chromium browser additional to my icecat browser for testing purposes. Both are OnDemand. I started watching different streaming videos in each of both browsers in the same time. All worked perfectly! Even sound. (Listening to two sound tracks simultaneously is not really a pleasure, but, as has been said, it's for testing purposes only).

Now I ask you: What do you want more?

Volker
Title: Re: videos crash chromium-browser
Post by: Mike7 on April 28, 2014, 01:26:21 AM
coreplayer2-

Quote
getFlash11.tcz  never needs to be in your onboot.lst file.

It isn' t.

Quote
It can be loaded as needed via Apps,  or ondemand, or command line
tce-load -i getFlash11

No need to download it again since it' s still in tce/optional/ and appears in "Load Apps Locally" in Apps, right?

Quote
After loading, run getFlash11 from the desktop menu, or enter getFlash11 at the commandline

That's what I needed to know. Thanks!

M.
Title: Re: videos crash chromium-browser
Post by: Mike7 on April 28, 2014, 01:44:12 AM
Hi, Volker.

Quote
for your information: I have flash11.tcz in my onboot.lst. getflash11.tcz I uninstalled already a long time ago, just because i don't need it anymore.

So your experience is that what the wiki says - that you have to reinstall flashplayer for every new browser - isn't true? I'd be glad to know that, if it's really so.

Quote
Just now I installed chromium browser additional to my icecat browser for testing purposes. Both are OnDemand. I started watching different streaming videos in each of both browsers in the same time. All worked perfectly!

I'm happy for you <grin>. My chromium browser won't play videos, at least not Youtube ones. Plus when I try to watch a Youtube video, Tools>TaskManager shows flashplayer installed. Weird, huh?

Quote
Now I ask you: What do you want more?

I want mine to work.

Mike
Title: Re: videos crash chromium-browser
Post by: volkerp on May 01, 2014, 10:18:17 AM
Hi Mike7,

you can't watch videos in your chromium browser. Whatever might be the reason for it, if you install a second browser and try to watch a video in it, one of two things will happen: Either it does work or it doesn't. If it does, something with your chromium browser or interaction between chromium and flash is wrong. If it doesn't as well, there must be another reason.

Alternatively you can never-ending speculate about what could be the reason.

Volker
Title: Re: videos crash chromium-browser
Post by: Mike7 on May 02, 2014, 04:38:56 PM
Hi, Volker.

Quote
if you install a second browser and try to watch a video in it, one of two things will happen: Either it does work or it doesn't. If it does, something with your chromium browser or interaction between chromium and flash is wrong.

I already know there's a problem with Chromium-browser. Could be flash, could be RAM, could be a lot of things. I'm trying to narrow it down. Installing flash properly for each browser is part of the narrowing-down process.

Quote
you can never-ending speculate about what could be the reason.

I'm trying not to speculate. Installing various browsers without knowing if flash is working properly with each would be speculating.

I'm going to try the Firefox substitution, I just want to get the flash thing right first. I like controlled experiments. You get more useful results from them. If I download Firefox and try it without flash set up properly, it won't matter whether it works or not, I still won't know anything about the Chromium problem. See what I mean?

As soon as I have the time, I will do all these things, which come from good suggestions by you and others in this forum. At the moment I'm preparing for an extended trip back to the States, where I hope to get the new therapy for hepatitis C, of which I am a victim. I have cirrhosis of the liver and probably won't live much longer without therapy.

So while I sIncerely appreciate the help and advice I'm getting here, I would ask you and the others to allow me to do things in my own way and at my own speed, and to respect me. After all, I'm 70 years old, have three university degrees, worked as a researcher and journalist for many years, and am published in three languages. In brief, nobody's fool.

Okay?

Cheers.

Mike
Title: Re: videos crash chromium-browser
Post by: volkerp on May 03, 2014, 08:44:26 AM
Hi Mike7,

take a CD or a USB pen drive with a bootable CorePlus iso-image on it and boot from it. Choose "Boot Core with X/GUI (Tiny Core) + Wifi + Firmware".

Don't install TC.

Install the following extensions onboot in the given order preferably using the Apps tool:

chromium-browser.tcz
getflash11.tcz
alsa.tcz

Check out, if sound does work. If it doesn't, install additionally

alsamixergui.tcz

and make sound working.

After having achieved this, try to watch a video on Youtube and post what happened. It did work for me.

Volker

Title: Re: videos crash chromium-browser
Post by: Mike7 on May 03, 2014, 07:57:50 PM
Hi, Volker.

That's an interesting idea and a worthwhile experiment. I will try it as soon as I have the time. But I think you left one step out: I have to run getFlash11.tcz after installing it, no?

I assume your procedure won't modify the pendrive that the iso is on, as long as I don't try to do a backup, right?

One last thing: I don't have any sound installed yet on this TCL installation that I've been running. Do you think that could be the cause of the videos not playing?

Thanks.

Mike
Title: Re: videos crash chromium-browser
Post by: tinypoodle on May 03, 2014, 08:37:42 PM
One last thing: I don't have any sound installed yet on this TCL installation that I've been running. Do you think that could be the cause of the videos not playing?

No.
Title: Re: videos crash chromium-browser
Post by: Mike7 on May 03, 2014, 09:02:24 PM
tinypoodle-

Quote
No.

Whew! One less variable in the equation <grin>.

M.
Title: Re: videos crash chromium-browser
Post by: volkerp on May 04, 2014, 02:23:45 AM
Hi tinypoodle,

sorry, I disagree. I did the experiment described above.

At first I didn't install sound and watched a video at http://www.zdf.de. Ok, it was "silent movie", but no further problems appeared.

Then I switched to Youtube. I tried several videos. The same phenomenon appeared regularly: After playing a few  seconds the video stopped playing and an error message similiar to "An error occured"... was shown. Several hints were given like waiting for half a minute, browser update, flash update and so on.

After installing sound I watched all these videos without any issues.


Hi Mike7,

Quote
One last thing: I don't have any sound installed yet on this TCL installation that I've been running. Do you think that could be the cause of the videos not playing?

Might be, there are other reasons as well. Chromium browser did not crash in my case as you wrote in your first post. But according to my findings the few videos I checked you can't see without sound support.

Volker
Title: Re: videos crash chromium-browser
Post by: coreplayer2 on May 04, 2014, 09:26:54 AM
http://www.zdf.de  (http://www.zdf.de)  might not be the best sample site because it appears to serve up various versions of the site depending on the capabilities of the browser.

looking at the code there doesn't appear to be any flash content served up for the Chromium browser ?? (but I could be wrong, haven't done much with HTML5 to be deterministic  of the difference)
yep, was wrong about that
Title: Re: videos crash chromium-browser
Post by: coreplayer2 on May 04, 2014, 09:50:35 AM
Quote
In a virtual machine with single core cpu and 512MB RAM I can run flash video with sound all day long in either Chromium or firefox using Xorg or Xvesa and flash v11.2    With a little less memory Firefox will just barely run flash video but Flash in Chromium will not likely run at all.

Interestingly, I didn't attempt an installation without sound support
Title: Re: videos crash chromium-browser
Post by: Mike7 on May 04, 2014, 12:05:00 PM
Volker-

Quote
After installing sound I watched all these videos without any issues.

Very interesting.

Quote
Chromium browser did not crash in my case as you wrote in your first post.

I should not have posted that, it was not a correct description of the problem. Chromium does not crash when I try to play Youtube videos. What does happen is exactly as you described.

Quote
according to my findings the few videos I checked you can't see without sound support.

So that may be the answer.

I'm saving up all these possible solutions for when I have the time to try them out (after I get to New York and deal with my medical issues).

Here's my file:


Mike
Title: Re: videos crash chromium-browser
Post by: volkerp on May 04, 2014, 02:14:03 PM
Hi Mike7,

Quote
But I think you left one step out: I have to run getFlash11.tcz after installing it, no?

No.

Quote
I assume your procedure won't modify the pendrive that the iso is on, as long as I don't try to do a backup, right?

There's no filesystem on the pendrive to write into. All installations are lost after shutdown.

Quote
Chromium does not crash when I try to play Youtube videos. What does happen is exactly as you described.

Very interesting.

Quote
So that may be the answer.

That may be so.

Volker


Title: Re: videos crash chromium-browser
Post by: tinypoodle on May 05, 2014, 04:56:09 PM
Hi tinypoodle,

sorry, I disagree. I did the experiment described above.

At first I didn't install sound and watched a video at http://www.zdf.de (http://www.zdf.de). Ok, it was "silent movie", but no further problems appeared.

Then I switched to Youtube. I tried several videos. The same phenomenon appeared regularly: After playing a few seconds the video stopped playing and an error message similiar to "An error occured"... was shown. Several hints were given like waiting for half a minute, browser update, flash update and so on.

Truth is, when it comes to youtube specifically, since many years I haven't used flashplayer with it but either mplayer or html5.
AFAIK mplayer works perfectly well without a sound system, and as you say yourself flashplayer could on other sides than youtube as well.
Title: Re: videos crash chromium-browser
Post by: Mike7 on May 08, 2014, 07:02:54 AM
Hi, Volker.

Quote
Quote
But I think you left one step out: I have to run getFlash11.tcz after installing it, no?

No.

I forgot that getFlash11.tcz installs flash. It's kinda hard to remember how everything works.

Quote
There's no filesystem on the pendrive to write into. All installations are lost after shutdown.

Of course. Sometimes I'm a little thick.

I've been very busy preparing for my trip to the States and will be likewise occupied when I get there. So I won't be able to get back to the forum for a while. But I will be back.

Thanks for all your help.

Cheers.

Mike
Title: Re: videos crash chromium-browser
Post by: Mike7 on May 08, 2014, 07:05:49 AM
All-

I will be absent from the forum for a while due to my trip to the States. I want to thank everyone here for your generous help. I'll be back as soon as time permits.

Cheers!

Mike
Title: Re: videos crash chromium-browser
Post by: volkerp on May 09, 2014, 02:21:14 AM
Hi tinypoodle,

...
Quote
since many years I haven't used flashplayer with it but either mplayer or html5
...

Flashplayer is proprietary software which I don't value. I didn't forgo to use it until now, because I feared too heavy lost of performance. But if you can live without it, why not me?

I'm going to look for alternative solutions.

Thank you for your food for thought! :)

Volker