i-rinat / freshplayerplugin

ppapi2npapi compatibility layer
MIT License
727 stars 52 forks source link

Can' watch Twitch streams. Sound work but I see only back screen video #344

Open AngryPenguinPL opened 8 years ago

AngryPenguinPL commented 8 years ago

Like in title, when I trying watch Twitch streams I not see anything in player. Player start fine with loading circle and after that I see only black screen video but sound play fine. This happend only on Twitch (other Flash site with video content workinig fine).

Anyone know how to fix it?

i-rinat commented 8 years ago

I tried now, video is visible on my setup. I even tried to remove old NPAPI Flash, but it still works. (Last time, in #273, presence of NPAPI Flash masked issue for me).

Various bits of environment can affect the issue. I'll try to list what I believe is relevant:

(I can't think about anything else related.)

AngryPenguinPL commented 8 years ago

Thanks for reply.

I trying with Adobe Flash installed and also without Adobe flash installed, still the same.

When I start Firefox in terminal I get this:

@localhost firefox]$ ./firefox
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/fglrx_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
NOT SANDBOXED
[fresh  7314] not implemented: PPB_FileRef;1.2
[fresh  7314] not implemented: PPB_OpenGLES2VertexArrayObject;1.0
[fresh  7314] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0
Vector smash protection is enabled.
[fresh  7314] not implemented: PPB_BrokerTrusted;0.3
[fresh  7314] not implemented: PPB_BrokerTrusted;0.3

and after this console spaming with only one message - still.

[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 8

In other question.

Browser version: Firefox 48 x64 from Mozilla site (Official Mozilla build, not from system repo) Freshplayerplugin version: freshplayerplugin-0.3.4-1.mga5 (only this version I can get fromn system repo) PepperFlash version: latest from Chrome Desktop environment: KDE4 +KWIN Presence of NPAPI Flash (11.2): Yep, but I trying also remove it and still is the same Enabled addons: Yep, uBlock but with disabled it is still the same. Linux: Mageia 5 x64 (derivates from Mandriva, it use urpmi+rpm)

Also I use AMD Radeon HD GPU with fglrx driver (Catalyst 15.9). In evening I will try to check another computer with Ubuntu + Mageia 6 development.

i-rinat commented 8 years ago

Freshplayerplugin version: freshplayerplugin-0.3.4-1.mga5

Could you try to build version from repository?

[fresh] [error] [NP] caught Xlib error 8

I think, some Xlib call fails due to unsupported combination of parameters. But before going there, it's worth to try newer freshplayerplugin version. Perhaps, some of the changes fixed that. Last released version was 0.3.5, and there were changes after that.

ahjolinna commented 8 years ago

doesn't Twitch use HTML5 playback nowdays...or was it still optional/beta? I haven't checked that for a while when I moved to orion (3rd-party twitch app, qt5 based)

i-rinat commented 8 years ago

doesn't Twitch use HTML5 playback nowdays...or was it still optional/beta?

Checked right now — Twitch now offers HTML5 player as a beta test. HTML5 is now enabled by default, and it works. Old Flash-based player is still available, but one needs to explicitly turn it on.