[solved] flash crashing in Firefox, new Porteus 3

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
MacGuges
White ninja
White ninja
Posts: 14
Joined: 12 Aug 2014, 21:59
Distribution: Porteus 3
Location: Rochester, NY

[solved] flash crashing in Firefox, new Porteus 3

Post#1 by MacGuges » 14 Aug 2014, 22:49

Since installing Porteus 3.0 last weekend I've observed that flash in Firefox will crash more often than not. While I can still watch videos or check the weather report, I've observed that any flash will eventually crash after switching to another tab. Of course Firefox has also, frequently, become unresponsive for several seconds at a time. Has anyone else encountered this?

Under the circumstances I consider I ought to switch back to Chrome. But I would like to help the devs here identify the problem, if there isn't something I can do right now to fix this problem.

Thanks in advance!
Last edited by MacGuges on 25 Oct 2014, 11:42, edited 1 time in total.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5576
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: flash crashing in Firefox, new Porteus 3

Post#2 by brokenman » 15 Aug 2014, 00:59

What graphics card are you using? Also what version of firefox? I have noticed this with previous versions but not so much with the latest version using intel onboard graphics.
How do i become super user?
Wear your underpants on the outside and put on a cape.

MacGuges
White ninja
White ninja
Posts: 14
Joined: 12 Aug 2014, 21:59
Distribution: Porteus 3
Location: Rochester, NY

Re: flash crashing in Firefox, new Porteus 3

Post#3 by MacGuges » 15 Aug 2014, 11:43

lspci reports my card as "NVIDIA Corporation GF108M [GeForce GT 540M] (rev a1)". My X.org version is "X Server 1.14.5". Also, my kernel version is "Linux porteus 3.14.15-porteus #1 SMP PREEMPT Sun Aug 3 12:01:20 Local time zone must be set--s x86_64 Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz GenuineIntel GNU/Linux"

User avatar
brokenman
Site Admin
Site Admin
Posts: 5576
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: flash crashing in Firefox, new Porteus 3

Post#4 by brokenman » 15 Aug 2014, 17:16

For me

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 745M] (rev a1)


I do experience this crash in the latest version of firefox too. I can't watch youtube videos. They play for 2 seconds and then restart about 5 times and then it errors out. Will dig deeper tonight.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5576
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: flash crashing in Firefox, new Porteus 3

Post#5 by brokenman » 15 Aug 2014, 18:21

I think the trouble is either with mesa or the nouveau driver. Unfortunately I can't boot porteus with the nVidia driver to test it. I have a dual graphics card setup and the i915 driver is used upon boot. lspci -k reports that the 3d controller is using nouveau kernel module. No youtube videos at all are watchable.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: flash crashing in Firefox, new Porteus 3

Post#6 by Bogomips » 15 Aug 2014, 18:59

With handful of apps open, mozilla crashes nouveau. Have to use nvidia driver in my case.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

MacGuges
White ninja
White ninja
Posts: 14
Joined: 12 Aug 2014, 21:59
Distribution: Porteus 3
Location: Rochester, NY

Re: flash crashing in Firefox, new Porteus 3

Post#7 by MacGuges » 15 Aug 2014, 20:29

So you suspect the nouveau driver? That's interesting, considering one other thing I changed last weekend besides my Porteus version was my graphics driver. I'll switch back to nVidia now; I'll report whether flash was any more stable tomorrow.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5576
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: flash crashing in Firefox, new Porteus 3

Post#8 by brokenman » 16 Aug 2014, 03:48

While I was playing around getting the 'bumblebee project' sorted for my system I noticed that after rebuilding libvdpau-0.8 my firefox happily ran youtube videos.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: flash crashing in Firefox, new Porteus 3

Post#9 by Slaxmax » 16 Aug 2014, 05:55

nouveau driver old new problem
I experimented crashes in virtualbox too.
I tested nvidia driver in old pc sempron 1.6GHz and very slow performance in fullscreen, nouveau works better, but crashes few times.
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
fanthom
Site Admin
Site Admin
Posts: 4621
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: flash crashing in Firefox, new Porteus 3

Post#10 by fanthom » 16 Aug 2014, 08:35

i think it's flash taking advantage of the VDPAU acceleration which does not work reliably for the nouveau driver. VDPAU should work well with nVidia proprietary.

could anyone who is experiencing crashes do a right mouse click on youtube video -> click on 'stats for nerds' -> check if you have 'hardware video decoding' or 'software video decoding' enabled.

thanks
Please add [Solved] to your thread title if the solution was found.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5576
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: flash crashing in Firefox, new Porteus 3

Post#11 by brokenman » 16 Aug 2014, 21:51

It reports software rendering. Just tested again and compiling libvdpau-0.8 fixes it for me.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4621
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: flash crashing in Firefox, new Porteus 3

Post#12 by fanthom » 17 Aug 2014, 07:45

i had a plan to bump whole Xorg/OpenGL/GPU acceleration stack in next release anyway so this bug will hopefully be fixed in rc1.
Please add [Solved] to your thread title if the solution was found.

MacGuges
White ninja
White ninja
Posts: 14
Joined: 12 Aug 2014, 21:59
Distribution: Porteus 3
Location: Rochester, NY

Re: flash crashing in Firefox, new Porteus 3

Post#13 by MacGuges » 20 Aug 2014, 14:54

fanthom wrote:i think it's flash taking advantage of the VDPAU acceleration which does not work reliably for the nouveau driver. VDPAU should work well with nVidia proprietary.

could anyone who is experiencing crashes do a right mouse click on youtube video -> click on 'stats for nerds' -> check if you have 'hardware video decoding' or 'software video decoding' enabled.

thanks
Switching back to the nouveau driver, I found 'software video decoding' when playing youtube videos with Firefox.

I'm now running with the nVidia driver, and flash hasn't crashed (yet) in Firefox.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4621
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: flash crashing in Firefox, new Porteus 3

Post#14 by fanthom » 21 Aug 2014, 07:54

good - please let us know if it crashes with nVidia as well.
Please add [Solved] to your thread title if the solution was found.

MacGuges
White ninja
White ninja
Posts: 14
Joined: 12 Aug 2014, 21:59
Distribution: Porteus 3
Location: Rochester, NY

[solved] Re: flash crashing in Firefox, new Porteus 3

Post#15 by MacGuges » 23 Oct 2014, 16:59

I've observed that Flash has not been crashing with the nVidia driver. (Please pardon my delay in replying.)

Post Reply