Git Product home page Git Product logo

Comments (42)

i-rinat avatar i-rinat commented on August 13, 2024

I don't have any nVidia adapters at the moment to reproduce the issue. And probably will not have in observable future, it's hard to change video chip in notebook, especially if it's soldered :)

What do you mean by "doesn't work"? Does it fail at startup? Crashes, displays nothing, or maybe some garbage? Do es2_info and es2_gears work on your machine? (They are from mesa-utils or mesa-utils-extra package).

from freshplayerplugin.

i-mirror avatar i-mirror commented on August 13, 2024

does not display anything.
based version of libgl1-mesa-dev and libglu1-mesa-dev worked perfectly as the last version based on libegl1-mesa-dev and libgles2-mesa-dev in firefox does not display any video.

from freshplayerplugin.

i-mirror avatar i-mirror commented on August 13, 2024

I installed mesa-utils-extra

es2_info:
libEGL warning: DRI2: failed to authenticate
EGL_VERSION: 1.4 (DRI2)
EGL_VENDOR: Mesa Project
EGL_EXTENSIONS:
EGL_KHR_surfaceless_context
EGL_CLIENT_APIS: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3
GL_VERSION: OpenGL ES 3.0 Mesa 10.1.3
GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)
GL_EXTENSIONS:
GL_EXT_blend_minmax, GL_EXT_multi_draw_arrays,
GL_EXT_texture_compression_dxt1, GL_EXT_texture_format_BGRA8888,
GL_OES_compressed_ETC1_RGB8_texture, GL_OES_depth24,
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, GL_OES_mapbuffer,
GL_OES_rgb8_rgba8, GL_OES_standard_derivatives, GL_OES_stencil8,
GL_OES_texture_3D, GL_OES_texture_npot, GL_OES_EGL_image,
GL_OES_depth_texture, GL_OES_packed_depth_stencil,
GL_EXT_texture_type_2_10_10_10_REV, GL_OES_get_program_binary,
GL_APPLE_texture_max_level, GL_EXT_discard_framebuffer,
GL_EXT_read_format_bgra, GL_NV_fbo_color_attachments,
GL_OES_EGL_image_external, GL_OES_vertex_array_object,
GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5,
GL_EXT_texture_rg, GL_EXT_unpack_subimage, GL_NV_draw_buffers,
GL_NV_read_buffer, GL_EXT_map_buffer_range, GL_OES_depth_texture_cube_map,
GL_OES_surfaceless_context, GL_EXT_color_buffer_float

es2_gears:
it works perfectly

from freshplayerplugin.

i-mirror avatar i-mirror commented on August 13, 2024

output firefox while I try to view the videos:

NOT SANDBOXED
[7518] ###!!! ABORT: X_GLXVendorPrivateWithReply: BadLength (poly request too large or internal Xlib length error): file /build/buildd/firefox-30.0+build1/toolkit/xre/nsX11ErrorHandler.cpp, line 157
[7518] ###!!! ABORT: X_GLXVendorPrivateWithReply: BadLength (poly request too large or internal Xlib length error): file /build/buildd/firefox-30.0+build1/toolkit/xre/nsX11ErrorHandler.cpp, line 157

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

NOT SANDBOXED
[7522] ###!!! ABORT: X_GLXVendorPrivateWithReply: BadLength (poly request too large or internal Xlib length error): file /build/buildd/firefox-30.0+build1/toolkit/xre/nsX11ErrorHandler.cpp, line 157
[7522] ###!!! ABORT: X_GLXVendorPrivateWithReply: BadLength (poly request too large or internal Xlib length error): file /build/buildd/firefox-30.0+build1/toolkit/xre/nsX11ErrorHandler.cpp, line 157

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

EGL_VENDOR: Mesa Project

Now you have EGL implemetation from Mesa. Apparently they can't work together with proprietary driver. Please check again if your proprietary driver package have both libEGL.so and libGLESv2.so. They both should be from nVidia.

from freshplayerplugin.

i-mirror avatar i-mirror commented on August 13, 2024

both files are present in the proprietary drivers

/usr/lib/nvidia-340/libEGL.so

/usr/lib/nvidia-340/libGLESv2.so

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

Try to check with ldd if they actually used:

$ ldd /usr/bin/es2_info  | grep 'EGL\|GLES'
    libGLESv2.so.2 => /usr/lib/x86_64-linux-gnu/libGLESv2.so.2 (0x00007fdf18792000)
    libEGL.so.1 => /usr/lib/x86_64-linux-gnu/libEGL.so.1 (0x00007fdf1856e000)

from freshplayerplugin.

i-mirror avatar i-mirror commented on August 13, 2024

I tried uninstalling and reinstalling the nvidia driver, but the result is always the same

ldd /usr/bin/es2_info | grep 'EGL|GLES'

    libGLESv2.so.2 => /usr/lib/x86_64-linux-gnu/mesa-egl/libGLESv2.so.2 (0x00007fa4f8f64000)
    libEGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1 (0x00007fa4f8d3f000)

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

What Linux distribution do you use?

from freshplayerplugin.

i-mirror avatar i-mirror commented on August 13, 2024

use kubuntu 14.04

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

Try to make symlinks of both libGLESv2.so.2 and libEGL.so.1 from nVidia driver to /usr/lib/x86_64-linux-gnu

from freshplayerplugin.

mladoux avatar mladoux commented on August 13, 2024

Thanks so much. This fixed it for my proprietary nvidia on arch linux, there was no x86_64-linux-gnu folder under /usr/lib, so I created it manually ( experimentation ), and then I made symlinks to all the symlinks in the /usr/lib/nvidia path, re-installed fresh player, restarted my browser, and it all worked. I hope this fixes i-mirror's as well, but even if it doesn't, at least one person got some use out of it.

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

arch linux, there was no x86_64-linux-gnu folder under /usr/lib

As far as I know, Arch linux doesn't use library triplet paths as Debian does. But one can always add any directory to /etc/ld.so.conf.

Is hardware accelerated output working for you on nVidia? I had report about failures of GLES shader compiler on nVidia proprietary drivers before.

from freshplayerplugin.

i-mirror avatar i-mirror commented on August 13, 2024

I tried turning the alternative system, setting the egl libraries
those nvidia, but they are always set to the mesa libraries.

from freshplayerplugin.

i-mirror avatar i-mirror commented on August 13, 2024

We are finally able, after setting the egl libraries nvidia, with update-alternatives, I gave the command 'ldconfig' and restarting it worked.
Thank you very much.

from freshplayerplugin.

i-mirror avatar i-mirror commented on August 13, 2024

I enabled hardware acceleration in the file "freshwrapper.conf", but with the youtube video is rendering and decoding software.

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

but with the youtube video is rendering and decoding software.

ok, looks like something missing either in freshwrapper or in proprietary drivers.

from freshplayerplugin.

 avatar commented on August 13, 2024

It doesn't work for me to create symlinks of the Nvidia libGLESv2.so.2 and libEGL.so.1 to /usr/lib/x86_64-linux-gnu, it still uses the libGLESv2.so.2 and libEGL.so.1 from /usr/lib/x86_64-linux-gnu/mesa-egl/

I'm using Linux Mint 13.

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

It doesn't work for me to create symlinks

Did you run ldconfig after making symlinks?

from freshplayerplugin.

 avatar commented on August 13, 2024

Yes.

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

Looks like Ubuntu-based distributions should use alternative system: https://wiki.ubuntu.com/X/EGLDriverPackagingHOWTO

So delete manually created symlinks and try to use update-alternative to switch EGL and GLESv2 implementations. I haven't any nVidia adapter so can't test whenever this will work.

from freshplayerplugin.

 avatar commented on August 13, 2024

There is no option for EGL or GLESv2 in update-alternatives.

To get sure I tried --all.

update
Fixed by editing /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf content was /usr/lib/x86_64-linux-gnu/mesa-egl changed it to /usr/lib. Now the Nvidia libs will be used.

I'm not sure if this is a good idea, will see :)

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

I think no one seriously used GLES in proprietary drivers before. nVidia's drivers at least have libGLESv2.so/libEGL.so bundled. With AMD you have to download and install GLES wrappers.

from freshplayerplugin.

i-mirror avatar i-mirror commented on August 13, 2024

I solved by giving the following command:

sudo update-alternatives --install /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf \
x86_64-linux-gnu_egl_conf /usr/lib/DIRECTORY-NVIDIA-DRIVER/ld.so.conf 8604

sudo ldconfig

DIRECTORY-NVIDIA-DRIVER = THE DIRECTORY WHERE IS THE EGL NVIDIA

from freshplayerplugin.

gaining avatar gaining commented on August 13, 2024

Does that improve the performance in anyway? I also have a desktop with nvidia GPU. I installed freshplayer the normal way and it works initially without meddling with nvidia's config files but it was slower than flash 11.2 with no hardware acceleration enabled. (can't play 1080p youtube videos smoothly with freshplayer but can with flash 11.2). I'm wondering if I make the changes that you guys made, will freshplayer use the nvidia driver instead of the CPU for decoding? My nvidia desktop also use linux mint 16.

Note: On my intel hd 3000 laptop which I use most of the time, freshplayer is almost on par with flash player in terms of performance. I leave it enabled in both computers because more websites need flash 12 or higher for flash content to display.

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

if I make the changes that you guys made, will freshplayer use the nvidia driver instead of the CPU for decoding?

Nope. All this is about OpenGL ES 2. There is nothing about hardware video decoding.

from freshplayerplugin.

gaining avatar gaining commented on August 13, 2024

got it

from freshplayerplugin.

DissCent avatar DissCent commented on August 13, 2024

Can anyone please help me with this? I'm running openSUSE 13.1 x64 and I seem to have the same issue - the plugin stays white and I see no error message.

I'd like to try the update-alternatives thing, but I don't have any ld.so.confs from Mesa.
The libraries I've got are:

/usr/lib64/libEGL.so.1
/usr/lib64/libGLESv2.so.2

Those are from the packages Mesa-libGLESv2 and Mesa-libEGL1.
I also have those libraries in /usr/X11R6/lib - however, they are 32 bit instead of 64, which is why I can't symlink from /usr/lib64/... to /usr/X11R6/lib/... (I tried that and Firefox won't start anymore because it tries to load 32 bit libraries from a 64 bit application).

Isn't there any way not to use EGL?

Help? :)

from freshplayerplugin.

i-mirror avatar i-mirror commented on August 13, 2024

Apparently the nvidia drivers for opensuse egl have only 32bit.
You could try to take the 64bit deb packages
nvidia-331_331.89-0ubuntu1~xedgers14.10.1_amd64.deb from this site:
https://launchpad.net/~xorg-edgers/+archive/ppa/+packages
extract libraries egl and glesv2 and put them in:
/usr/X11R6/lib64/
and create links to these libraries.

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

Isn't there any way not to use EGL?

I've tried GLX before, but there was some unsolvable issues with shader versions. It's much easier to use actual EGL/GLES2 to provide GLES2 interface required by PPAPI. Chromium does have emulation layer, but it's too hard for me to integrate it into my project at the moment.

Open source drivers have EGL interface already, proprietary drivers are getting EGL support too. I believe those issues with proprietary drivers will be fixed soon.

from freshplayerplugin.

Asfhy avatar Asfhy commented on August 13, 2024

I can't seem to make it work. I have all dependencies, git pull synchronized, cmake and make works, copy the file on "~/.mozilla/plugins", Firefox list "Shockwave Flash 14" as one of it's addons, but I stuck with the propietary NVidiar driver problem. I use Debian Testing 64 bit and have NVidia propietary driver installed (I know they are working since I have Steam for Linux with a bunch of games, currently 101). When I enter a page with a flash plugin, I get nothing (A transparent square) where the flash should be. It seems to be the NVidia propietary drivers problem, but I can't seem to find a way to make ir work >.<

from freshplayerplugin.

Asfhy avatar Asfhy commented on August 13, 2024

Ok, I have news, freshplayerplugin wasn't working on XFCE desktop, but if I boot into KDE Plasma environment, it works perfectly, so it seems that GLES/EGL has something to do with the desktop you boot and log into, don't know if there's something that can be done for now.

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

but if I boot into KDE Plasma environment, it works perfectly

What echo $LD_LIBRARY_PATH output is under KDE? Probably KDE changes it so applications can find libraries which they were not able to find before. If output of previous command is not empty, is there libGLESv2.so somewhere on those paths?

from freshplayerplugin.

Asfhy avatar Asfhy commented on August 13, 2024

Sorry, having some bad days >.<
I tryed to echo LD_LIBRARY_PATH on "konsole" in KDE, but it seems to be empty, so I don't know why is it working on KDE but not XFCE.

from freshplayerplugin.

Asfhy avatar Asfhy commented on August 13, 2024

OK, LD_LIBRARY_PATH seems to not be afecting. I tryed "firefox" and plugin was not working throwing that error everytime a page with flash was loaded:
ABORT: X_GLXVendorPrivateWithReply: BadLength (poly request too large or internal Xlib length error)

Instead of that I executed "LANG=C LANG_ALL=C firefox" and the plugin starts to work (Although with some crashes now and then, but it works and entering on the info page from Adobe https://www.adobe.com/software/flash/about/ it tells me the correct version), so it seems that de LANG variable may have something to do with the plugin working or not. And may be this is the variable being modified by KDE but no XFCE.

from freshplayerplugin.

itrendafilov avatar itrendafilov commented on August 13, 2024

Proprietary driver is working for me with acceleration disabled. With "exp_enable_3d = 1" it is not working. I am using Gentoo. Firefox 31, nVidia drivers 340.24. Tested with youtube video (which works without acceleration). Output I see in terminal running Firefox.:

NOT SANDBOXED
[fresh 20259] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0
[20194] WARNING: pipe error (64): Connection reset by peer: file /var/tmp/portage/www-client/firefox-31.0/work/mozilla-release/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 450

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


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


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


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


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

from freshplayerplugin.

mittorn avatar mittorn commented on August 13, 2024

Got SIGSEGV in nvidia driver (340.17)

0x00007fffebc919a9 in glClearColor () from /usr/lib64/libGL.so.1
(gdb) bt full
#0  0x00007fffebc919a9 in glClearColor () from /usr/lib64/libGL.so.1
No symbol table info available.
#1  0x00007fffab4bd9d9 in ppb_graphics3d_create (instance=10, share_context=0, 
    attrib_list=0x7fffa4e01920)
    at /home/mittorn/freshplayerplugin/src/ppb_graphics3d.c:177
        pp_i = 0x7fffaa0c6540
        __func__ = "ppb_graphics3d_create"
        context = 11
        g3d = 0x7fffb010e180
        attrib_len = 25
        egl_attribute_list = 0x7fffafffca80
        done = 1
        k1 = 24
        k2 = 21
        nconfigs = 1
        ret = 1
        ctxattr = {12440, 2, 12344}

from freshplayerplugin.

mittorn avatar mittorn commented on August 13, 2024

On Allwinnerwith Mali400 works fine, but laggy.

from freshplayerplugin.

mittorn avatar mittorn commented on August 13, 2024

Is it possible to enable 3d only for stage3d?

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

Is it possible to enable 3d only for stage3d?

Here are switches relating to 3d:

var.value.as_bool = config.exp_enable_3d ? PP_TRUE : PP_FALSE; // TODO: turn on
You can try various combinations of them turned on and off.

from freshplayerplugin.

poplawskidaniel avatar poplawskidaniel commented on August 13, 2024

Thanks for this issue. I had same problem. I cloned git repository, set eclipse project and compile plugin. But did not work. Firefox did not loading flash app (e.g. on youtube). Then after reading this issue I checked GLES/EGL libraries and check es2_info. es2_info load "Mesa Project" version not from NVIDIA. I searched for nvidia versions in my system but without results. So I updated nvidia driver (I installed nvidia driver from nvidia website). After update it's working (es2_info shows NVIDIA EGL_Vendor ).
Maybe someone use this info.
My configuration:

  • Linux Debian jessie 64bit (with multiarch enabled)
  • GeForce 9500 GT with nvidia driver 340.32 (updated via nvidia run file (340.24) downloaded from nvidia website using --update command line option)
  • Firefox 32.0.2 64bit
  • libpepflashplayer.so from Google Chrome 37.0.2062.120 64bit downloaded from google.com
  • xfce 4.10.1

from freshplayerplugin.

i-rinat avatar i-rinat commented on August 13, 2024

I wonder if there are still compilation issues with proprietary nVidia driver. I switched from EGL back to GLX a while ago, so there is no need in libEGL.so anymore.

from freshplayerplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.