Giter VIP home page Giter VIP logo

Comments (9)

xaiki avatar xaiki commented on May 18, 2024

getting the same error, but can't make mpv.js do anything on electron 2.0.2, the example doesn't work if updated.

from mpv.js.

Kagami avatar Kagami commented on May 18, 2024

Can reproduce it. Probably Chrome broken something in PPAPI implementation.

from mpv.js.

Kagami avatar Kagami commented on May 18, 2024

Though plugins seems to be working normally in latest Chromium.
Might be something electron-related.

from mpv.js.

Kagami avatar Kagami commented on May 18, 2024

Tested a bit more.

  • Works fine with electron 1.x
  • Shows error for electron 2.0.x
  • Works fine with electron 3.0.0-beta.x

Seems to be either regression in Electron or Chrome 61. Does anyone know for how long electron 2.x is going to be supported? I.e. is it worth the efforts.

from mpv.js.

Kagami avatar Kagami commented on May 18, 2024

Might be related electron/electron#12937

from mpv.js.

Kagami avatar Kagami commented on May 18, 2024

Tested Chrome 61÷66, issue seems to be fixed somewhere between 64 and 65.

from mpv.js.

Kagami avatar Kagami commented on May 18, 2024

Found commit which fixes error: https://chromium.googlesource.com/chromium/src.git/+/37924baf9ac8f3ce7811508bc650efe965bb50b2^!/

from mpv.js.

Kagami avatar Kagami commented on May 18, 2024

Closing because it was fixed in latest electron/Chrome (3+/65+) and doesn't affect functionality.
As far as I can understand it happens because Chrome reports support for 16bit textures, mpv tries to create 16bit FBO and that fails, so it fallbacks to usual dumb mode.

There is one more issue which I thought was related to this one, but it seems to be happen only on Linux: electron/electron#13624

from mpv.js.

itshaadi avatar itshaadi commented on May 18, 2024

on 2.0.x ARM releases for raspberry pi you can fix this issue by enabling hardware graphics acceleration.

from mpv.js.

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.