i-rinat / freshplayerplugin

ppapi2npapi compatibility layer
MIT License
727 stars 52 forks source link

Facebook Games #71

Closed MALLER-LAGOON closed 9 years ago

MALLER-LAGOON commented 10 years ago

Hi I'm a debian wheezy user, your plugin is really cool. it works beautifully with most pages of videos that I've tried with my firefox 32.0.3 and nightly as well. the only problem that i found was using some facebook games. i guess because is much more complex that a video or audio player. the game which it fails to me was the Mutants: Genetic gladiators, Angry birds, and Song pop (was just for testing purpose, i swear).

is not a permanent failure, because after it fails (with adobe screen and all those stuff), i refresh the page and sometimes it works perfect, and others it works fine and then it get stick with some particular image or screen.

i don't know what kind of information do u need that i give u to help u to improve this.

and finally, thank u very much for this plugin. u have done a magnificent work here, congratulations. :+1: :)

i-rinat commented 10 years ago

Please try recent version from the master branch (after 69804fb2d65db9a4a609bf180f7b78c8e1beb531 commit).

MALLER-LAGOON commented 10 years ago

ok, i did it. some games work perfect, but it still having problems with some applications like angry birds, getting hardly frozen.

other problem that i detect, was in a very child and silly page called youporn, the player flashes when its on the page: captura-you the problem dissapears when its fullscreen. but, after some time, the video get frozen, and then -like angry birds- the flash plugin falls down. i don't know if u prefer that i open a new issue about this, or its fine here?

i-rinat commented 10 years ago

with some applications like angry birds, getting hardly frozen.

How can I find that app on facebook?

the player flashes when its on the page:

Should be fixed with dddf1af4f1f76060b6634c77fc0c1a254aeb2824. However transparency still not implemented for 3d accelerated output, so if you enable 3d there still be glitches on that site. Its player renders images in an odd way.

MALLER-LAGOON commented 10 years ago

this is the address to the app: https://apps.facebook.com/angrybirds

the problem can be reproduce after it loads the game, get into fullscreen, and try to play. there its going to get frozen (sometimes to fullscreen, and sometimes when u get to play). if u wait a bit, the flash plugin falls, and if u reload the page, the game loads and sometimes works fine, and others won't.

by the way, the fix to the player works beautifully. i'm going to keep searching for player bugs.

you are doing a great job with this. thank u very much for you effort and patience.

i-rinat commented 10 years ago

the problem can be reproduce after it loads the game, get into fullscreen, and try to play.

How often does this happen to you? (I'm trying to reproduce, but there are no any freezes yet. Probably I just run it too few times).

get frozen <...>if u wait a bit, the flash plugin falls

Firefox kills plugin if it fails to response in a certain amount of time. Anyway, hangs are bugs too.

If you run Firefox from a terminal emulator, are there any "warning" or "error" messages appears after plugin freezes?

MALLER-LAGOON commented 10 years ago

yeap

this:

NOT SANDBOXED libEGL warning: DRI2: failed to authenticate [fresh 7799] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0

[fresh] [warning] audio_player_thread, snd_pcm_writei error -32 [fresh] [warning] audio_player_thread, snd_pcm_avail error -32

!!! [Parent][MessageChannel::Call] Error: Channel timeout: cannot send/recv

MALLER-LAGOON commented 10 years ago

this are new:

NOT SANDBOXED libEGL warning: DRI2: failed to authenticate [fresh 7803] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0

\ (firefox:7335): CRITICAL **: gst_app_src_set_size: assertion `GST_IS_APP_SRC (appsrc)' failed

\ (firefox:7335): CRITICAL **: gst_app_src_set_size: assertion `GST_IS_APP_SRC (appsrc)' failed

\ (firefox:7335): CRITICAL **: gst_app_src_set_size: assertion `GST_IS_APP_SRC (appsrc)' failed

\ (firefox:7335): CRITICAL **: gst_app_src_set_size: assertion `GST_IS_APP_SRC (appsrc)' failed

\ (firefox:7335): CRITICAL **: gst_app_src_set_size: assertion `GST_IS_APP_SRC (appsrc)' failed

\ (firefox:7335): CRITICAL **: gst_app_src_set_size: assertion `GST_IS_APP_SRC (appsrc)' failed

\ (firefox:7335): CRITICAL **: gst_app_src_set_size: assertion `GST_IS_APP_SRC (appsrc)' failed

\ (firefox:7335): CRITICAL **: gst_app_src_set_size: assertion `GST_IS_APP_SRC (appsrc)' failed

\ (firefox:7335): CRITICAL **: gst_app_src_set_size: assertion `GST_IS_APP_SRC (appsrc)' failed plugin-container: Fatal IO error 11 (Recurso no disponible temporalmente) on X server :0.0. [7796] ###!!! ABORT: X_PutImage: BadDrawable (invalid Pixmap or Window parameter); 15 requests ago: file /builds/slave/rel-m-rel-l64_bld-000000000000/build/toolkit/xre/nsX11ErrorHandler.cpp, line 157 [7796] ###!!! ABORT: X_PutImage: BadDrawable (invalid Pixmap or Window parameter); 15 requests ago: file /builds/slave/rel-m-rel-l64_bld-000000000000/build/toolkit/xre/nsX11ErrorHandler.cpp, line 157

!!! [Parent][MessageChannel::InterruptCall] Error: Channel error: cannot send/recv

!!! [Parent][OnMaybeDequeueOne] Error: Channel error: cannot send/recv

it happens while i was reproducing a external youtube player video, trying to getting out of the fullscreen, on this exact page: http://www.lossimpsonsonline.com.ar/capitulos-online/espanol-latino/temporada-19/capitulo-6

i tried to reproduce it, but i had no lucky with that :(

i-rinat commented 10 years ago

However transparency still not implemented for 3d accelerated output, so if you enable 3d there still be glitches on that site

Now with introduced 3d transparency support, mentioned video player doesn't have any noticeable glitches on my machine

MALLER-LAGOON commented 10 years ago

i'll let u know if i find something strange or buggy. but putting a side some details, your project works beautifully.

Really thank u for u'r effort and time on it. :)

i-rinat commented 9 years ago

As cad62a05aa0d6e137536db1732780927723b1eca makes X errors non-fatal, crashes should be gone now.