LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   libpepflashplayer.so high cpu usage (https://www.linuxquestions.org/questions/slackware-14/libpepflashplayer-so-high-cpu-usage-4175652277/)

3rensho 04-17-2019 01:44 AM

libpepflashplayer.so high cpu usage
 
Running Slack64-current, latest Plasma5 and Eric's latest versions of Chromium and Pepperflash. When I start Chromium a number of instances of libpepflashplayer.so start as well (as seen in glances). Everything is fine for about 15 minutes or so and then one of the instances of libpepflashplayer.so starts consuming 100% of three (of eight) cores of the cpu. I have to do a kill -9 of the errant PID and everything is fine after that until I shutdown for the night. Has anyone else experienced this or know of a fix?

business_kid 04-20-2019 04:20 AM

No, but I'm not surprised. Flash players have been based on Adobe's proprietary code, and Adobe's reputation for linux support is very poor indeed.

So, one instance of several is crashing. What's new? The last guy(I can't imagine any team) they had supporting it couldn't even make the code secure. Then the bug fixes stopped, (I presume the 'team' got fired or ran away) and we later jumped 13 versions together (going from 11.202.bugfix in 32 bit to 24.x.x), and offering 64bit in the process. I have 32r0 now.

If you're not up that far, I'd try it. Pepperflash (with chrome) is always worth trying as google is taking on firefox and seems to be updating flash from windows faster than Adobe so Adobe have had to up their game.

But it's still a POS. I have the flash plugin, but it has to ask permission to play with a web page, and it hasn't asked any time recently. What website still needs flash?

3rensho 04-20-2019 05:01 AM

Thanks for the input. Sorta thought that might be the case. I'm running Pepperflash-32.0.0.156. Will remove it and see if anything untoward happens.

3rensho 04-20-2019 05:17 AM

Well, this is interesting. I removed flashplayer and chromium-pepperflash. Now when I start chromium I get a number of instances of the following starting and after about 15 min one is hogging three cores.

gen --field-trial-handle=12720406797401694041,12802357106915503496,131072 --ser

Any idea what that is??

3rensho 04-20-2019 12:55 PM

Next attempt - removed Eric's chromium with slackpkg, downloaded Eric's build files from his repository built a copy from scratch. Took a couple of hours, installed it and the problem remains with this

gen --field-trial-handle=12720406797401694041,12802357106915503496,131072 --ser

run away process after about 15 minutes. Had been hoping that building on my system might help but no such luck. Any ideas anyone?????

dugan 04-20-2019 01:29 PM

Have you looked into whether you could set up Pepperflash to the GPU?

This is the best link I could find after one search:

https://apple.stackexchange.com/a/150217

regis_n_bits 04-20-2019 07:41 PM

Is the process Chrome/Chromium field trial?

Doing a Google search brings up some links about this:
https://www.ghacks.net/2013/04/05/fi...or-force-them/

https://textslashplain.com/2017/10/1...-field-trials/

The first link mentions some command line parameters that you could try to control them. I cannot say if the links would be helpful for you (I really don't use chromium that much, and I do not see any of these field trials when I look at chrome://version on my system.)

3rensho 04-21-2019 12:59 AM

Thank you for the links. Unfortunately did not find a remedy. Started Chromium from a command line with --disable-field-trial-config on the command line but the gen process started racing after about 10-15 minutes. Enabled hardware acceleration to no avail. I guess I'll just have to live with it as continue looking. Thanks again.

Did notice that "gen" is mentioned in the command line -

Chromium 73.0.3683.75 (Developer Build) (64-bit)
Revision 909ee014fcea6828f9a610e6716145bc0b3ebf4a-refs/branch-heads/3683@{#803}
OS Linux
JavaScript V8 7.3.492.22
Flash (Disabled)
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36
Command Line /usr/lib64/chromium/chromium --file-url-path-alias=/gen=/usr/lib64/chromium/gen --flag-switches-begin --ignore-gpu-blacklist --flag-switches-end
Executable Path /usr/lib64/chromium/chromium
Profile Path /home/tom/.config/chromium/Default

3rensho 07-01-2019 03:18 AM

The problem has disappeared and I am not sure why. Some combination of recent updates? Was still present after the latest libflashplayer update then simply disappeared after further general updates. Will light a joss stick.


All times are GMT -5. The time now is 07:35 PM.